writing-skills

Automate test-driven documentation for skills using the RED-GREEN-REFACTOR workflow.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/softbreezee/claw-os --skill writing-skills-softbreezee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/softbreezee/claw-os/tree/main/temp_skills/superpowers-main/skills/writing-skills
Command: npx skills add https://github.com/softbreezee/claw-os --skill writing-skills-softbreezee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing skills as process documents that require discipline and testing can be error-prone and inconsistent; this Skill provides a structured, TDD-inspired workflow to ensure SKILL.md frontmatter and content are validated before deployment.

Core Features & Use Cases

  • Enforces a RED-GREEN-REFACTOR cycle for skill creation and updates
  • Documents best practices for SKILL.md structure, frontmatter, and progressive disclosure
  • Provides a repeatable template for testing and validating skills before deployment

Quick Start

Draft a minimal SKILL.md and run RED-GREEN-REFACTOR cycle to verify the skill with baseline tests.

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?

Skill documentation validation checks SKILL.md frontmatter against the YAML spec, requiring a valid name and description. This frontmatter validation ensures the document adheres to structural requirements before entering the RED-GREEN-REFACTOR testing phase.

What is the RED-GREEN-REFACTOR workflow for skill creation?

The RED-GREEN-REFACTOR workflow for skill creation is an iterative cycle that drafts a minimal SKILL.md, runs baseline tests, and refines the documentation progressively. It ensures structured, test-driven validation before skills are deployed to a skills library.

How do I validate SKILL.md frontmatter before deployment?

Validating SKILL.md frontmatter requires checking that the name and description fields exist and adhere to the YAML spec. This baseline validation is mandatory before progressing through the RED-GREEN-REFACTOR cycle to guarantee deploy-ready documentation.

Does the test-driven documentation process work for updating existing skills?

Yes, the test-driven documentation process applies to both skill creation and editing. It enforces a repeatable RED-GREEN-REFACTOR template for testing and validating updates across a skills library, ensuring iterative refinement maintains deploy-ready quality.

What is progressive disclosure in skill writing?

Progressive disclosure in skill writing is a best practice for structuring SKILL.md content to reveal information iteratively. It is documented within the test-driven workflow to ensure the skill documentation remains structured and deploy-ready.