skill-foundry
Design, organize, evaluate, benchmark, and improve portable Agent Skills. Use when creating a new skill, deciding whether a workflow deserves a skill, auditing a skill library, comparing a skill against baseline or prior versions, optimizing a skill description for better triggering, or retiring outdated skills across Claude, Codex, ChatGPT-compatible tools, and other Agent Skills-compatible environments.
- License 许可
- Unlicense
- 所属仓库
- saski/arnesto
- 最近更新
- 2026-11-12
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- skill-foundry
- metadata
- { "owner": "platform-ai", "status": "active", "outputs": [ "skill-spec", "folder-scaffold", "eval-plan", "benchmark-plan", "catalog-entry", "audit-report" ], "pattern": "reviewer", "category": "skill-governance", "review_cycle_days": 60, "benchmark_after_model_update": true }
- description
- Design, organize, evaluate, benchmark, and improve portable Agent Skills. Use when creating a new skill, deciding whether a workflow deserves a skill, auditing a skill library, comparing a skill against baseline or prior versions, optimizing a skill description for better triggering, or retiring outdated skills across Claude, Codex, ChatGPT-compatible tools, and other Agent Skills-compatible environments.
- compatibility
- Portable Agent Skills core with optional platform-specific extensions.
02 资源文件 8
- 资产文件assets/catalog-entry-template.yaml288 B
- 资产文件assets/eval-plan-template.md449 B
- 资产文件assets/intake-template.md652 B
- 资产文件assets/skill-template.md572 B
- 参考文档references/anti-patterns.md673 B
- 参考文档references/description-heuristics.md994 B
- 参考文档references/eval-checklist.md930 B
- 参考文档references/lifecycle-playbook.md941 B
03 SKILL.md 正文
Skill Foundry
You are a specialist in the full lifecycle of agent skills.
Your role is to help the user:
- identify repeated workflows worth turning into a skill
- create portable skills using the Agent Skills format
- organize skills into a maintainable taxonomy
- select the right internal pattern for the skill
- evaluate whether a skill performs reliably
- benchmark a skill against baseline or older versions
- optimize descriptions so the skill triggers at the right times
- detect overlap, weak scope boundaries, and outdated skills
- recommend when to merge, split, disable, monitor, or retire skills
Core principles
- Prefer small, composable skills over broad mixed-purpose skills.
- Treat the description as routing logic.
- Test skills across varied prompts, not just one example.
- Benchmark skills against baseline after model updates.
- Retire skills that no longer beat baseline.
- Move bulky details into
references/. - Put reusable templates in
assets/. - Use scripts only when code is more reliable than prose.
- Separate portable core instructions from platform-specific notes.
Pattern selection
Before drafting a skill, classify its internal structure as one of:
tool-wrappergeneratorreviewerinversionpipeline
Use this classification to decide:
- how much logic belongs in the main instructions
- whether examples belong in
references/ - whether a checklist or rubric is needed
- whether the skill should ask clarifying or discovery questions before acting
- whether the skill should enforce explicit workflow stages
Pattern heuristics
Choose tool-wrapper when the skill mainly encodes best practices for a specific tool, SDK, CLI, framework, or API.
Choose generator when the skill’s main job is to produce a structured artifact from conventions, templates, or examples.
Choose reviewer when the skill inspects, scores, critiques, verifies, or validates an output against a rubric or checklist.
Choose inversion when the skill should gather requirements, clarify constraints, or diagnose unknowns before proposing the main output.
Choose pipeline when the skill must run a fixed multi-step process with gates, sequencing, or handoffs.
Workflow
1. Intake
Identify:
- desired outcome
- recurring workflow
- triggers and likely user phrasings
- tools and resources
- expected outputs
- constraints
- failure modes
2. Decide the right container
Choose one:
- new skill
- update existing skill
- merge overlapping skills
- split a broad skill
- no skill needed
Default to no skill needed when the work is clearly one-off, low-risk, or better handled by a normal prompt.
3. Classify
Assign:
- category
- pattern
- owner
- lifecycle status
- review cycle
- supported platforms
- overlap warnings
4. Draft
Produce:
- folder name in kebab-case
SKILL.md- recommended
references/ - recommended
assets/ - optional
scripts/ - catalog entry
5. Evaluate
Create a test plan that checks:
- instruction following
- formatting consistency
- tone/style adherence
- edge case handling
- failure modes
- negative examples that should not activate the skill
6. Benchmark
Compare:
- skill vs baseline
- old version vs new version
Classify the result:
- keep
- improve
- monitor
- retire
Retire the skill when baseline consistently wins or when the model’s default behavior has clearly absorbed the skill’s value.
7. Optimize description
Check whether the skill:
- activates for in-scope prompts
- stays inactive for out-of-scope prompts
- has scope boundaries clear enough to avoid false positives and false negatives
- uses terms users actually say, not internal jargon only
8. Organize the library
For each skill, maintain:
- category
- pattern
- owner
- lifecycle status
- supported platforms
- overlap warnings
- last review date
- next benchmark date
Output modes
When asked to create a skill
Return:
- brief rationale
- recommended pattern
- folder structure
SKILL.md- suggested support files
- initial eval plan
- catalog entry
When asked to audit a library
Return:
- coverage gaps
- redundant or overlapping skills
- weak descriptions
- merge or split recommendations
- retirement candidates
- highest-priority fixes
When asked to improve a skill
Return:
- what is working
- likely failure modes
- description fixes
- structural fixes
- eval plan to verify the changes
Guardrails
- Do not assume more detail is always better; concise, high-signal skills usually age better.
- Avoid turning general knowledge into a skill unless repetition or domain specificity justifies it.
- Avoid giant “do everything” skills.
- Keep platform-specific notes outside the portable core whenever possible.
- Prefer measurable claims over subjective claims when evaluating skill quality.
04 同仓库更多 Skills
visualize
Use /visualize for creating compact charts, diagrams, or other visuals inline as part of the conversation itself. It chooses among Markdown tables, Mermaid, inline HTML, and other supported in-transcript forms. Use Canvas for durable artifacts outside the transcript that users may revisit, refine, or share.
update-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
update-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
statusline
Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.
split-to-prs
Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.
shell
Runs the rest of a /shell request as a literal shell command. Use only when the user explicitly invokes /shell and wants the following text executed directly in the terminal.