Dev: Skill with Code
When to use
开发者需要创建或修改包含可执行脚本(Python/Node)的 Skill。
Rules source
Read before creating:
skills/README.md-- OpenAIR-specific code-skill requirements (deps, file boundaries, security, sync, replay)
This skill extends openair-skill-guider -- read those docs first for base structure rules.
Pre-checks
- Confirm whether the skill truly needs code (vs. prompt-only skill)
- Validate dependency management (
requirements.txtorpackage.json) - Check file read/write boundaries -- scripts must not access paths outside their scope
- Ensure structured error returns and replay compatibility
Output
Code-type skill with scripts/ directory, dependency file, and replay test.