What problem does it solve? Writing effective Claude Code agents is hard: vague personas produce unpredictable behavior, missing scope boundaries cause scope creep, and untested agents fail on real tasks. This Skill applies a test-driven development cycle (RED-GREEN-REFACTOR) to agent authoring so each agent is validated against representative tasks before deployment. ## Core Features & Use Cases - Structured agent authoring workflow: Research domain best practices via web search, gather codebase context, then write persona, scope boundaries, anti-patterns, and coordination protocols. - Reusable templates: Includes specialist, reviewer, orchestrator, and minimal agent templates in agent-templates.md for common subagent patterns. - TDD-based validation: Baseline testing without the agent (RED), minimal agent to fix failures (GREEN), and edge-case refactoring to close loopholes (REFACTOR). - Use Case: You need a Laravel backend reviewer agent. The Skill guides you to research Laravel anti-patterns, explore your project structure, write the agent definition with clear deferral rules, test it on real review tasks, and place it in .claude/agents/. ## Quick Start Ask Claude to use the writing-agents skill to create a new code reviewer agent for your project and test it on a representative task.