技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
cli-and-project-ops【数据与研究】Guides the PandasAI pai CLI, login and dataset-create commands, API-key validation, project-root behavior, and lightweight repo maintenance operations.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task involves the pai command, PandaBI API-key
login, guided CLI dataset creation, project-root/datasets layout, or maintainer
commands for a PandasAI checkout.
Verify the CLI is importable and visible:
pai --help
pai dataset --help
For login, validate the key format before writing .env:
pai login PAI-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
For interactive dataset creation, run from the intended project root because
.env and datasets/ paths are resolved relative to project-root discovery.
For programmatic schema creation or debugging, route to
../semantic-layer/SKILL.md.
For source-code edits or tests, use the maintainer notes and choose focused tests instead of all extension targets unless the user needs them.
references/cli-reference.md for command
syntax, prompts, and validation behavior.references/project-layout.md for project root,
.env, and datasets/ placement.references/maintainer-notes.md for Poetry,
Makefile, and focused test-selection guidance.references/troubleshooting.md for missing
CLI dependencies, invalid keys, interactive prompt issues, and existing
datasets.scripts/pai_cli_smoke.py for a safe no-credential
CLI diagnostic.pai.create, pai.load, schemas, views, and transformations to
../semantic-layer/SKILL.md..chat() failures to
../conversational-analysis/SKILL.md.../sandbox-and-security/SKILL.md.python sub-skills/cli-and-project-ops/scripts/pai_cli_smoke.py --show-help
python sub-skills/cli-and-project-ops/scripts/pai_cli_smoke.py --check-api-key PAI-59ca2c4a-7998-4195-81d1-5c597f998867
python sub-skills/cli-and-project-ops/scripts/pai_cli_smoke.py --isolated-login-smoke
The smoke uses Click's isolated runner and a fake valid-format key. It never uses real credentials.
click is missing from the active environment.pai login writes or updates PANDABI_API_KEY in .env under the detected
project root and preserves unrelated variables.pai dataset create is interactive. Automate it only with an isolated test
runner or a deliberate input stream.organization/dataset
contract used by the semantic layer.