/rcc:writing-skillsfrom rcc
Creates and improves Claude Code skills following the official Anthropic spec and house standards. Use when creating new skills, modifying existing skills, or improving skill quality.
Ships in rcc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Writing skills IS structured documentation creation for process guidance.
Analyze requirements clearly, design skill structure thoughtfully, implement with precision, validate functionality, and iterate based on feedback.
Core principle: Clear requirements and structured design lead to effective skills that truly guide agent behavior.
Follow task initialization protocol.
Tasks: 0. Fetch latest official skill spec
Announce: "Created 8 tasks (0–7). Starting execution..."
| Phase | Focus | What You Do |
|---|---|---|
| Requirements | Understanding | Analyze what capability is needed and why |
| Design | Structure | Plan skill organization, triggers, and content |
| Implementation | Creation | Write skill following design and best practices |
| Validation | Testing | Verify skill works correctly in real scenarios |
| Improvement | Refinement | Iterate based on feedback and usage patterns |
Goal: Pull the current Anthropic skill spec before designing — never trust cached memory.
Action:
Skill tool: fetching-claude-docs
component: skill
question: "frontmatter fields (name, description), description trigger
format, SKILL.md structure, references/ progressive disclosure,
skill activation"
Verification: Received YAML with source: https://code.claude.com/docs/en/skills.md and non-empty spec_excerpt. Use as authoritative reference; if any rule in this SKILL conflicts with the fetched spec, the fetched spec wins.
Goal: Understand what skill to create and why. Present full analysis to user for confirmation.
Analyze and answer ALL questions below:
External search (optional): If claude-skills-mcp available, search for existing community skills to adapt.
MANDATORY: Present analysis to user. Display ALL answers above in full detail, then ask user to confirm before proceeding. Do NOT summarize into a single sentence. Do NOT skip to next task without explicit user approval.
Verification: User has reviewed the full analysis and confirmed the direction.
Goal: Plan the skill's organization, triggers, and content.
Before drafting, walk through prompt-design-principles.md:
Design considerations:
Structure planning:
Verification: Have clear design plan with triggers, tasks, and structure defined.
Goal: Create the skill following the design plan and best practices.
skill-name/
├── SKILL.md # Required (<300 lines)
├── scripts/ # Optional: executable tools
└── references/ # Optional: detailed docs
If the skill includes scripts: Use project's primary language if detectable (check package.json, go.mod, Cargo.toml, pyproject.toml, etc.); default to Python when unclear. Read cross-platform-scripts.md for mandatory cross-platform rules (paths, shell commands, line endings).
Gerund form (verb + -ing): writing-skills, processing-pdfs
helper, utils, anthropic, claudeSee references/spec.md for full frontmatter specification (fields, arguments, model selection, context:fork).
| Use Case | context | agent | Rationale |
|---|---|---|---|
| Inline knowledge (conventions, patterns) | (none) | (none) | Runs in main conversation, Claude applies alongside current context |
| Analysis or exploration task | fork | Explore | Isolated context, read-only tools, prevents context pollution |
| Planning task | fork | Plan | Isolated context, research-focused |
| Task with side effects (deploy, commit) | fork | (none) | Isolated from main conversation, uses general-purpose agent |
| Default for most skills | (none) | (none) | Runs inline, cheapest, fastest |
When to use context: fork:
When NOT to use context: fork:
Key rules:
[What it does]. Use when [triggers]. — third person, 1–2 sentences total; add capability detail only to disambiguate from a similar skill, not as a default third clause; does not enumerate workflow stepsreferences/Essential sections: Overview, Tasks (with verification each), References. Add only when they earn their place: Routing (only when the skill hands off to other skills — omit if Handoff/Next would be "none"), Task Initialization (multi-step flows), Red Flags / Common Rationalizations (real rationalization risks). No flowchart — a diagram that re-draws steps already stated in prose is a no-op for current models; reach for one only when the skill specifically targets a low-tier model that needs the extra visual scaffolding. See references/patterns.md for the template.
Can answer YES to all:
Goal: Move detailed content to references/ for progressive disclosure.
When to extract:
Keep in SKILL.md:
Verification: SKILL.md is < 300 lines. All detailed content has a reference link.
Goal: Verify skill structure is correct.
Use scripts/validate_skill.py to run automated validation:
python3 "${CLAUDE_SKILL_DIR}/scripts/validate_skill.py" <path/to/skill>
Manual checklist if script unavailable:
name and descriptioncontext: fork: model explicitly specified (inherit = anti-pattern in plugin skills)Verification: Validation passes with no errors.
Goal: Have skill reviewed by skill-reviewer subagent.
Agent tool:
- subagent_type: "rcc:skill-reviewer"
- prompt: "Review skill at [path/to/skill]"
Interpret YAML output:
pass: true → Proceed to Task 7pass: false → Fix all issues listed, re-run reviewer, repeat until pass: trueThis is the improvement phase: Address issues and refine quality based on reviewer feedback.
Verification: skill-reviewer returns YAML with pass: true.
Goal: Verify skill works in practice.
Process:
Verification:
These thoughts mean you're rationalizing. STOP and reconsider:
All of these mean: You're about to create a weak skill. Follow the process.
| Excuse | Reality |
|---|---|
| "I know what agents need" | You know what YOU think they need. Baseline reveals actual failures. |
| "Baseline testing takes too long" | 15 min baseline saves hours debugging weak skill. |
| "Description only needs triggers" | Description = what it does + when to load. Body = how. Claude picks among 100+ skills by capability statement. |
| "More content = better skill" | More content = more to skip. Concise + references = better. |
| "Red Flags are negative" | Red Flags prevent rationalization. Essential for discipline skills. |
| "TaskCreate is overhead" | TaskCreate prevents skipping steps. The overhead IS the value. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
skill-creation, skill-authoring, skill-spec, skill-development
npx claudepluginhub wayne930242/reflexive-claude-code --plugin rcc23 skills in this plugin
/advising-architectureValidates component-type choices for agent system work, classifying knowledge as CLAUDE.md vs rule vs skill vs agent vs hook and checking for conflicts. Use when starting any skill/agent/rule workflow to validate approach. Use when classifying knowledge type. Use when checking for component conflicts./analyzing-agent-systemsScans project structure and agent system components, runs 11-category weakness analysis, and produces actionable restructuring recommendations. Use when analyzing an existing agent system for weaknesses. Use when user says "analyze agent system", "check agent setup", "audit agent config". Use when called by migrating-agent-systems or refactoring-skills./applying-agent-systemsBuilds agent system components from a confirmed component plan. Use when executing a component plan to build agent system elements. Use when called by planning-agent-systems after plan is confirmed. Use when user says "apply agent plan", "build agent system"./brainstorming-workflowsExplores user workflows through targeted questions about pipeline modes, pain points, routine tasks, and human intervention points to inform agent system design. Use when exploring workflows after analysis. Use when user says "explore workflows", "brainstorm workflows", "what should I automate". Use when called by analyzing-agent-systems./creating-pluginsScaffolds a new Claude Code plugin package with manifest, skills, agents, and marketplace entry. Use when creating a new Claude Code plugin package. Use when user says "create plugin", "new plugin", "scaffold plugin", "plugin template"./dispatching-parallel-agentsFans out work across multiple agents — same prompt to many for Best-of-N, different prompts for parallel exploration, or a scout before committing. Use when user says "parallel agents", "fan out", "best of N", "scout", "race", "vote", "spawn workers".Other plugins' skills for the same job