Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
sandbox-and-security【部署与运维】Guides PandasAI sandboxed code execution, the abstract Sandbox contract, Docker sandbox setup, and security troubleshooting for generated code.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks how to isolate PandasAI-generated code,
whether to use the Docker sandbox, or how the abstract Sandbox contract
behaves.
PandasAI executes LLM-generated Python locally by default. If the app is public, untrusted, or handling sensitive data, the user should consider a sandbox before running generated code.
Sandbox interface and verify it with the bundled
smoke script.references/sandbox-workflows.md for
Sandbox contract details, Docker lifecycle, and execution patterns.references/security-model.md for security
posture, code-execution expectations, and SQL-safety notes.references/troubleshooting.md for missing
Docker, missing package, subclass, or code-execution problems.scripts/sandbox_contract_smoke.py for a
no-Docker contract smoke.../conversational-analysis/SKILL.md.../cli-and-project-ops/SKILL.md.pandasai-docker package is present unless the
user explicitly asks for the Docker sandbox.python sub-skills/sandbox-and-security/scripts/sandbox_contract_smoke.py
The helper uses a tiny in-memory subclass of Sandbox. It checks start,
stop, execute, SQL query extraction, and syntax compilation without Docker.
Sandbox.start, stop, _exec_code, and transfer_file are abstract on the
base class.execute auto-starts a sandbox the first time it is called.