writing-skills

Automate test-driven documentation to verify skill definitions with RED-GREEN-REFACTOR workflows.

223|23|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/ReinaMacCredy/maestro --skill writing-skills-reinamaccredy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/ReinaMacCredy/maestro/tree/main/skills/writing-skills
Command: npx skills add https://github.com/ReinaMacCredy/maestro --skill writing-skills-reinamaccredy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Applies test-driven writing to skill documentation, ensuring Skills are discoverable, testable, and maintainable.

Core Features & Use Cases

  • Skill testing framework: Pressure scenarios with subagents to validate rules.
  • Red-Green-Refactor cycles: Documentation that evolves with verification.
  • Guidance on CSO/CSO-like practices: Claude discovery-focused patterns.

Quick Start

Write or edit a Skill, then run the skill through the TDD workflow: RED tests, GREEN compliance, REFACTOR to close gaps.

Frequently Asked Questions about writing-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply test-driven development to skill documentation?

Test-driven documentation automates verification of skill definitions by running pressure scenarios with subagents to surface baseline failures before writing. This RED-GREEN-REFACTOR workflow ensures your skill meets frontmatter constraints and SKILL.md structure requirements while closing compliance gaps.

Can I use TDD to verify skill definitions across different agent directories?

Yes. Test-driven skill documentation works across agent-specific directories by applying pressure scenarios to validate rules and structure. The workflow automates testing during skill creation, editing, and verification phases to ensure discoverable and maintainable skills.

What does the RED-GREEN-REFACTOR cycle accomplish in skill documentation?

RED-GREEN-REFACTOR evolves documentation alongside verification: RED tests expose failures, GREEN compliance brings the skill into spec, and REFACTOR closes loopholes. This cycle ensures skills satisfy frontmatter constraints and SKILL.md structure while remaining testable and discoverable.

How do I structure a skill to pass template-driven documentation tests?

Template-driven documentation defines a SKILL.md structure and frontmatter constraints that skills must satisfy. Run pressure scenarios with subagents to validate your skill against these templates; refactor based on failures until your documentation passes all compliance checks.

Why use pressure scenarios to test skill documentation?

Pressure scenarios with subagents surface baseline failures and compliance gaps that manual review misses. This testing approach reveals whether your skill definition is discoverable, testable, and maintainable before deployment.

What prerequisites do I need before documenting a skill with TDD?

You need a skill definition ready for documentation, access to subagent testing infrastructure, and familiarity with SKILL.md structure and frontmatter constraints. The TDD framework then automates verification of your documentation against these standards.