Use when creating new skills, modifying existing skills, or improving skill quality. Use when user says "create a skill", "write a skill", "add capability". Use when a repeated pattern should become reusable.
View on GitHubplugins/rcc/skills/writing-skills/SKILL.md
February 5, 2026
Select agents to install to:
npx add-skill https://github.com/wayne930242/Reflexive-Claude-Code/blob/main/plugins/rcc/skills/writing-skills/SKILL.md -a claude-code --skill writing-skillsInstallation paths:
.claude/skills/writing-skills/# Writing Skills ## Overview **Writing skills IS Test-Driven Development applied to process documentation.** Write baseline test (watch agent fail without skill), write skill addressing failures, verify agent now complies, refactor to 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. **Violating the letter of the rules is violating the spirit of the rules.** ## Task Initialization (MANDATORY) Before ANY action, create task list using TaskCreate: ``` TaskCreate for EACH task below: - Subject: "[writing-skills] Task N: <action>" - ActiveForm: "<doing action>" ``` **Tasks:** 1. Analyze requirements 2. RED - Run baseline test 3. GREEN - Write SKILL.md 4. Add references (if needed) 5. Validate structure 6. REFACTOR - Quality review 7. Test with real usage Announce: "Created 7 tasks. Starting execution..." **Execution rules:** 1. `TaskUpdate status="in_progress"` BEFORE starting each task 2. `TaskUpdate status="completed"` ONLY after verification passes 3. If task fails → stay in_progress, diagnose, retry 4. NEVER skip to next task until current is completed 5. At end, `TaskList` to confirm all completed ## TDD Mapping for Skills | TDD Phase | Skill Creation | What You Do | |-----------|----------------|-------------| | **RED** | Baseline test | Run scenario WITHOUT skill, watch agent fail | | **Verify RED** | Capture failures | Document exact rationalizations verbatim | | **GREEN** | Write skill | Address specific baseline failures | | **Verify GREEN** | Pressure test | Run scenario WITH skill, verify compliance | | **REFACTOR** | Close loopholes | Find new rationalizations, add counters | ## Task 1: Analyze Requirements **Goal:** Understand what skill to create and why. Questions to answer: - What capability does this skill teach? - What triggers should activate it? (specific phrases, symptoms) - Is this reusable across projects, or project-specific? - Does a sim