writing-skills

Write and validate SKILL.md documentation using a TDD-based workflow.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/hetsheth-droid/toolbox-template --skill writing-skills-hetsheth-droid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/hetsheth-droid/toolbox-template/tree/main/incubating/superpowers-skills/writing-skills
Command: npx skills add https://github.com/hetsheth-droid/toolbox-template --skill writing-skills-hetsheth-droid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing skills are the backbone of reusable, safe agent behavior; untested or poorly documented processes lead to inconsistent outcomes. This Skill applies test-driven development to process documentation, ensuring skills are created, edited, and deployed with verifiable tests and guardrails.

Core Features & Use Cases

  • Establishes a RED-GREEN-REFACTOR workflow for skill creation, mirroring software TDD to guard against rationalizations and accidental drift.
  • Provides structured SKILL.md guidance (frontmatter, sections, testing patterns) to keep skills consistent, searchable, and loadable by Claude.
  • Guides ongoing maintenance, refactoring, and cross-skill references to prevent duplication and drift across the Skill library.
  • Use cases include creating new skills, editing existing ones, and verifying skills before deployment to production.

Quick Start

Create a new SKILL.md for a skill by including a YAML frontmatter with name and description, then write a concise body following the Skill structure.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply TDD to skill documentation?

Use a RED-GREEN-REFACTOR workflow to write and validate skill documentation, ensuring consistent, testable SKILL.md entries with verifiable tests and guardrails against rationalization and drift.

What is test-driven development for writing skills?

Test-driven development for writing skills applies software TDD principles to process documentation, enforcing discipline, guardrails, and consistent outcomes when creating reusable agent behaviors in SKILL.md entries.

How do I create a new SKILL.md file with proper frontmatter and structure?

Create a new SKILL.md by adding YAML frontmatter with name and description, then writing a concise body following required sections, testing patterns, and deployment criteria to keep skills consistent, searchable, and loadable.

How do I prevent skill duplication and drift across a documentation library?

Prevent skill duplication and drift by guiding ongoing maintenance, refactoring, and cross-skill references within the skill library, ensuring all SKILL.md entries remain consistent, testable, and free of rationalization.

Can I use this TDD workflow to edit and verify existing skills before deployment?

Yes, you can edit and verify existing skills before production deployment by validating frontmatter constraints, required sections, and testing patterns to ensure all SKILL.md entries meet deployment criteria and guardrails.

What are the limitations of using TDD for process documentation?

Using TDD for process documentation requires strict adherence to RED-GREEN-REFACTOR cycles and frontmatter constraints; SKILL.md entries that skip required sections or testing patterns will fail verification and block production deployment.