npx claudepluginhub robertphyatt/ironclaude --plugin ironclaudeThis skill uses the workspace's default tool permissions.
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.
Guides TDD process for creating, modifying, or improving Claude Code skills: baseline failure tests, skill writing, validation, refactoring. Use for 'create a skill' or reusable patterns.
Applies TDD to Claude Code skills: test pressure scenarios with subagents, document failures, write passing docs, refactor until agents comply without rationalizing.
Applies TDD principles to writing effective Claude Code skills using RED-GREEN-REFACTOR: identify failure scenarios, minimal SKILL.md content, aggressive trimming. For new skills, edits, reviews.
Share bugs, ideas, or general feedback.
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)