用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/xinyuehtx/skill-module-example --skill writing-skills命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when you have a written implementation plan to execute in a separate session with review checkpoints
基于 SOC 职业分类
正在显示 SKILL.md
| name | writing-skills |
| version | 1.0.0 |
| description | Use when creating new skills, editing existing skills, or verifying skills work before deployment |
| dependencies | {"@skill-module-example/test-driven-development":"^1.0.0"} |
Writing skills IS Test-Driven Development applied to process documentation.
You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).
Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.
A skill is a reference guide for proven techniques, patterns, or tools. Skills help future AI instances find and apply effective approaches.
Skills are: Reusable techniques, patterns, tools, reference guides
Skills are NOT: Narratives about how you solved a problem once
Create when:
Don't create for:
skills/
skill-name/
SKILL.md # Main reference (required)
supporting-file.* # Only if needed
Frontmatter (YAML):
name: Use letters, numbers, and hyphens onlyversion: Semantic versiondescription: Third-person, starts with "Use when..." — describes ONLY when to use, NOT what it doesdependencies: Map of dependent skills with version rangesBody sections:
NO SKILL WITHOUT A FAILING TEST FIRST
This applies to NEW skills AND EDITS to existing skills.
Run pressure scenario WITHOUT the skill. Document exact behavior.
Write skill that addresses those specific rationalizations. Run same scenarios WITH skill.
Agent found new rationalization? Add explicit counter. Re-test until bulletproof.
| Excuse | Reality |
|---|---|
| "Skill is obviously clear" | Clear to you ≠ clear to other agents |
| "It's just a reference" | References can have gaps |
| "Testing is overkill" | Untested skills have issues. Always. |
| "I'll test if problems emerge" | Problems = agents can't use skill |
| "Too tedious to test" | Testing < debugging bad skill in production |
RED Phase:
GREEN Phase:
REFACTOR Phase:
Deployment: