一键导入
skill-development
Design, build, validate, and deploy new skills for the agent skill library
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Design, build, validate, and deploy new skills for the agent skill library
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity
| name | skill-development |
| version | 1.0.0 |
| standalone | true |
| description | Design, build, validate, and deploy new skills for the agent skill library |
| uses | ["analysis/research","planning/strategic-planning"] |
| requires | {"tools":[],"env":[]} |
| security | {"risk_level":"write","capabilities":["file:write","skill:create"],"requires_approval":true} |
Design, build, validate, and deploy new skills for the agent skill library. Each skill is a single cognitive capability with two artifacts: SKILL.md (agent instructions) and tool.yaml (machine-readable contract).
This is an agent-handled skill (handler: type: agent). When develop_skill is invoked, you (the agent) follow the methodology below to create a complete, validated skill. There is no backing code — you follow these instructions directly. The tool schema in tool.yaml defines the external contract; this document guides how you fulfill it. An orchestrator may route this skill to any agent that has meta/skill-development in its skill list.
Before writing anything, answer these questions:
Granularity check:
Before building, investigate:
src/os/tools/loader.py) and executor (src/os/tools/executor.py) to understand what the framework parses and how it routesuses: and which skills might use: this oneDefine the tool.yaml contract first — this is the external API:
snake_case, action-oriented (e.g., research_query, analyze, create_plan)agent for cognitive skills (no backing code)Parameter design rules:
Structure the instructions following this template:
---
name: [skill-name]
version: 1.0.0
standalone: true
description: [One line — used for discovery, ~50 tokens max]
uses: [dependency skills]
requires:
tools: []
env: []
security:
risk_level: [read|write|execute|admin]
capabilities: []
requires_approval: [true|false]
---
# [Skill Name]
[One-paragraph description of what this skill does.]
## Execution Model
[State this is agent-handled, explain how invocation works.]
## When to Use
[Trigger conditions — 4-6 bullet points.]
## Methodology
### 1. [First Step]
### 2. [Second Step]
...
[The core teaching. Imperative voice. Domain-neutral examples.]
## Output Format
[Template showing expected structure.]
## Quality Criteria
[5-8 bullet points — how to evaluate output.]
## Common Mistakes
[Poka-yoke — 5-8 bullets preventing frequent errors.]
## Completion
[How to know when done — 4-6 checkable criteria.]
Writing rules:
name: [skill-name]
version: 1.0.0
standalone: true
description: [Brief description matching SKILL.md]
tools:
- name: [tool_name]
description: |
[Multi-line description. Must include:]
- What the tool does
- When to use it
- That it's agent-handled (no backing code)
- What it returns
input_schema:
type: object
properties:
[parameters]
required:
[required params]
handler:
type: agent
# [Comment explaining routing semantics]
config:
defaults:
[overridable settings with sensible defaults]
security:
risk_level: [read|write]
requires_approval: [true|false]
Run this checklist before considering the skill complete:
Format validation:
agent (for cognitive skills)config.defaults section with overridable settingsContent validation:
uses: are correct (no cycles, referenced skills exist)Framework validation:
discover_tools() parses the tool.yaml without errorsget_skill_instructions() loads the SKILL.md without errorshandler: type: agentskills/<category>/<skill-name>/.os/skills/<category>/<skill-name>/## Skill: [name]
### Capability
[One sentence description]
### Category
[category/skill-name]
### Files Created
- `skills/<category>/<skill-name>/SKILL.md` — [char count] chars, [section count] sections
- `skills/<category>/<skill-name>/tool.yaml` — tool: [tool_name], [param count] params
### Tool Interface
- Tool: [tool_name]
- Required params: [list]
- Optional params: [list]
- Handler: agent
- Config defaults: [count] overridable settings
### Dependencies
- Uses: [list or "none"]
- Used by: [list or "none yet"]
### Validation
- [ ] Format: [pass/fail]
- [ ] Content: [pass/fail]
- [ ] Framework: [pass/fail]
- [ ] Tests: [pass/fail]
handler: type: agent, not builtin. Builtin implies there's backing code in the executor — if there isn't, the tool call will error at runtime.config.defaults so it's overridable without editing SKILL.md.discover_tools(), get_skill_instructions(), and the test suite. The loader may reject malformed YAML silently.llm.provider: null and llm.model: null so the 5-layer config hierarchy resolves them. Hardcoding ties the agent to a specific provider and breaks portability.Skill development is complete when: