writing-skills

Develop and maintain SKILL.md files using test-driven development cycles.

Updated May 21, 2026
One-click install
npx skills add https://github.com/jaehun0630/cline-superpowers --skill writing-skills-jaehun0630
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/jaehun0630/cline-superpowers/tree/main/packages/skills/writing-skills
Command: npx skills add https://github.com/jaehun0630/cline-superpowers --skill writing-skills-jaehun0630

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing skills is an applied form of test-driven development for process documentation, ensuring that skills are built and validated before deployment.

Core Features & Use Cases

  • Provides a structured template for SKILL.md with required frontmatter and a concise description to aid discovery.
  • Defines a disciplined workflow (RED-GREEN-REFACTOR) to test and iterate skills against agent behavior.
  • Facilitates progressive disclosure and cross-linking to heavy references, scripts, and tooling as needed.

Quick Start

Write a minimal SKILL.md for a new technique and follow RED-GREEN-REFACTOR, then expand with references as needed.

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 documentation?

Test-driven development for documentation involves writing minimal SKILL.md files and iterating through RED-GREEN-REFACTOR cycles, ensuring skills fail without tests and pass when implemented against agent behavior.

What is the best way to structure a SKILL.md file for agent discovery?

The best way to structure a SKILL.md file is using YAML frontmatter with name and description fields, keeping the document concise, and applying progressive disclosure by cross-linking to heavy references, scripts, and tooling.

How does the RED-GREEN-REFACTOR cycle work for skill writing?

The RED-GREEN-REFACTOR cycle for skill writing validates skills against agent behavior by tracking rationalization, ensuring documentation fails without tests initially and passes once the skill is correctly implemented and refactored.

Do I need YAML frontmatter to validate skill documentation?

Yes, YAML frontmatter containing name and description is required to validate skill documentation, as it enables progressive disclosure and ensures the skill unit is self-contained and discoverable by Claude agents.

Can I expand my skill documentation with external references and scripts?

Yes, you can expand skill documentation by adding optional references, scripts, and assets directories alongside the core SKILL.md file, facilitating progressive disclosure and cross-linking to heavy tooling as needed.

Why does my skill documentation fail validation without tests?

Skill documentation fails validation without tests because the test-driven development approach ensures skills are built and validated before deployment, requiring implementation to pass the RED-GREEN-REFACTOR verification workflow.