一键导入
writing-skills
Create and validate new skills using TDD methodology
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and validate new skills using TDD methodology
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Enable workflow discipline and behavioral expectations
Client-aware manual tiered-up adversarial advisor (claude subagent / codex exec), fired at the natural discretionary advisor points
Turn ideas into fully formed designs through collaborative dialogue
Execute implementation plans wave-by-wave via MCP state management
Create detailed step-by-step implementation plans
Review completed work for quality, bugs, and standards
| name | writing-skills |
| description | Create and validate new skills using TDD methodology |
Create and validate new IronClaude skills using test-driven development methodology. This skill guides you through the entire skill creation lifecycle: drafting, testing, and deploying.
/writing-skills to create a new skillStep 1: Gather requirements
Ask one question at a time:
Step 2: Generate SKILL.md template
Create the skill file at plugins/ironclaude/skills/<skill-name>/SKILL.md with:
---
name: <skill-name>
description: <purpose from user>
---
# <Skill Name Title>
## Purpose
[Detailed purpose]
## When to Use
[Invocation patterns]
## Process
[Step-by-step workflow]
## Key Principles
[Important guidelines]
Step 3: Create pressure scenario
Document a realistic scenario where Claude would need this skill:
Step 4: Test with subagent (no skill)
Spawn a subagent WITHOUT access to the new skill:
Create documentation file: plugins/<skill-name>/test-scenarios/01-without-skill.md
Expected failures might be:
Step 5: Write minimal skill content
Based on observed failures, write the minimal SKILL.md that addresses them:
Step 6: Test with subagent (with skill)
Spawn a subagent WITH access to the new skill:
Create documentation file: plugins/<skill-name>/test-scenarios/02-with-skill.md
Expected: Subagent follows skill workflow, addresses previous failures
Step 7: Identify loopholes
Review the skill content and subagent behavior:
Step 8: Add clarity and constraints
Refine the SKILL.md:
Step 9: Final validation test
Spawn one more subagent:
Create documentation file: plugins/<skill-name>/test-scenarios/03-edge-cases.md
Expected: Skill handles edge cases appropriately
Step 10: Format validation
Run validation checks:
# Check YAML frontmatter is valid
head -5 plugins/<skill-name>/skills/<skill-name>/SKILL.md | grep -E "^(---|name:|description:)"
# Check file is in correct location
test -f plugins/<skill-name>/skills/<skill-name>/SKILL.md && echo "✓ Location correct"
# Verify it's actually SKILL.md (uppercase)
ls plugins/<skill-name>/skills/<skill-name>/ | grep -E "^SKILL.md$" && echo "✓ Filename correct"
Expected: All checks pass
Step 11: Stage changes
Run:
git add plugins/<skill-name>/skills/<skill-name>/SKILL.md
git add plugins/<skill-name>/test-scenarios/
Expected: Changes staged (professional mode blocks commit)