writing-skills

Create new Skills using test-driven RED-GREEN-REFACTOR cycles and frontmatter validation.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/esteban389/workout --skill writing-skills-esteban389
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/esteban389/workout/tree/main/.agents/skills/writing-skills
Command: npx skills add https://github.com/esteban389/workout --skill writing-skills-esteban389

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TDD for process documentation is hard to apply consistently; this Skill codifies a repeatable, test-driven approach to authoring reusable Skills, reducing ambiguity and misinterpretation.

Core Features & Use Cases

  • Provides a frontmatter-driven skeleton for Skill entries and a structured body that emphasizes triggers, patterns, and lightweight references.
  • Guides Skill authors through RED-GREEN-REFACTOR workflows, risk mitigation, and progressive disclosure to optimize Claude discovery.
  • Facilitates rapid creation and verification cycles for maintainable, battle-tested Skills that scale across teams and models.

Quick Start

Draft a new Skill by first writing a failing RED scenario, then implement the GREEN Skill and re-test under REFACTOR.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I use test-driven development for skill documentation?

Test-driven development for skill documentation involves writing a failing RED scenario first, implementing the GREEN skill to pass it, then refining through REFACTOR cycles. This approach reduces ambiguity and ensures reusable, battle-tested skills.

What is the best way to structure skill frontmatter for Claude discovery?

The best way to structure skill frontmatter is using a frontmatter-driven skeleton that enforces validation constraints on triggers, patterns, and references. This ensures concise, indexed content optimized for fast Claude discovery and low-token loading.

Can I apply RED-GREEN-REFACTOR cycles to process documentation?

Yes, you can apply RED-GREEN-REFACTOR cycles to process documentation by first drafting a failing scenario, implementing the skill to pass it, then refactoring. This workflow codifies a repeatable, test-driven approach to authoring reusable skills.

Does test-driven skill writing work for scaling documentation across teams?

Test-driven skill writing works for scaling documentation across teams by enforcing frontmatter constraints, progressive disclosure, and risk mitigation. It facilitates rapid creation and verification cycles for maintainable skills that scale across teams and models.

Why does my skill documentation load with high token usage?

Skill documentation loads with high token usage when it lacks concise, indexed content and lightweight references. Enforcing constraints on sections and frontmatter ensures low-token skills that load only when needed, optimizing discovery.

When should I not use test-driven development for skill authoring?

You should not use test-driven development for skill authoring when your documentation requires no repeatable structure or validation. This approach is designed for creating reusable, battle-tested skills needing frontmatter validation and progressive disclosure.