writing-skills

Apply RED-GREEN-REFACTOR workflow and baseline testing to write skills.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/haulcommand-max/haul-command --skill writing-skills-haulcommand-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/haulcommand-max/haul-command/tree/main/vendor/superpowers/skills/writing-skills
Command: npx skills add https://github.com/haulcommand-max/haul-command --skill writing-skills-haulcommand-max

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing Skills provides a structured, test-driven approach to creating, editing, and verifying skills, ensuring documentation is reusable, auditable, and aligned with deployment readiness.

Core Features & Use Cases

  • Applies the RED-GREEN-REFACTOR cycle (baselining, minimal skill, and loophole closure) to skill documentation.
  • Enforces YAML frontmatter with only name and description and guides on the progression from overview to implementation.
  • Supports progressive disclosure by pointing Claude to lightweight inline content and heavier references as needed, plus cross-skill references.
  • Defines naming, structure, and testing conventions to improve discovery and reliability of skills.

Quick Start

Draft a minimal SKILL.md that passes baseline tests and iterates until all validation criteria are met.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write test-driven documentation for Claude skills?

Skill documentation uses a RED-GREEN-REFACTOR cycle to baseline tests, draft a minimal SKILL.md, and refactor loopholes. This ensures documentation is reusable, auditable, and aligned with deployment readiness.

What is progressive disclosure in skill documentation?

Progressive disclosure in skill documentation is a structuring technique that points Claude to lightweight inline content first, then references heavier details as needed. This improves discovery and ensures efficient skill execution.

How do I structure YAML frontmatter for skill creation?

YAML frontmatter for skill creation should be concise, containing only the name and description fields. This enforces a strict frontmatter contract that improves skill discovery and maintains reliability across deployments.

Do I need to understand test-driven development to create skills?

Yes, creating skills requires an understanding of test-driven development principles. You must apply baseline testing and the RED-GREEN-REFACTOR cycle to verify behavior and ensure the skill meets post-deployment validation criteria.

What is the best way to validate skill behavior before deployment?

The best way to validate skill behavior before deployment is to enforce post-deployment validation criteria through baseline testing. Draft a minimal skill, run tests, and iterate until all validation requirements are met.

When should I use cross-skill references in documentation?

Use cross-skill references in documentation when you need to support progressive disclosure by pointing Claude to related skills. This provides lightweight inline content while linking heavier references as needed for broader context.