writing-skills

Apply the RED-GREEN-REFACTOR cycle to validate SKILL.md documentation.

1.5k|69|Updated Mar 13, 2025
One-click install
npx skills add https://github.com/UniClipboard/UniClipboard --skill writing-skills-uniclipboard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/UniClipboard/UniClipboard/tree/main/.claude/skills/writing-skills
Command: npx skills add https://github.com/UniClipboard/UniClipboard --skill writing-skills-uniclipboard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing skills as process documentation often lacks testability, repeatability, and clear evaluation criteria, leading to ambiguous guidance and low adoption.

Core Features & Use Cases

  • Test-driven writing: applies the RED-GREEN-REFACTOR cycle to skill documentation to validate guidance before deployment.
  • Structured SKILL.md: enforces YAML frontmatter with only name and description and concise inline instructions.
  • Evaluation patterns: provides pressure-scenario templates and rationalization tracking to harden skills against misuse.
  • Modular organization: supports references, scripts, and assets to manage heavy content without bloating the main SKILL.md.

Quick Start

Create a minimal SKILL.md with frontmatter and a concise description to begin the RED-GREEN-REFACTOR cycle.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
What is test-driven development for skill documentation?

Test-driven development for skill documentation applies the RED-GREEN-REFACTOR cycle to validate guidance before deployment. It requires baseline testing to ensure descriptions, structure, and frontmatter reliably validate discovery and harden skills against misuse.

How do I write a SKILL.md file using the RED-GREEN-REFACTOR cycle?

To write a SKILL.md using the RED-GREEN-REFACTOR cycle, create a minimal file with YAML frontmatter containing only name and description, write concise inline instructions, then run pressure-scenario templates to validate and refactor the documentation loop.

How does test-driven documentation improve skill reliability and discovery?

Test-driven documentation improves skill reliability by codifying evaluation patterns and rationalization tracking. It uses pressure-scenario templates to harden skills against misuse and ensures frontmatter validates discovery before deployment.

Do I need baseline tests before writing skill documentation?

Yes, you need baseline tests before writing skill documentation. The test-driven approach requires establishing baseline testing first to validate the structure, descriptions, and frontmatter before proceeding with the actual skill creation or editing.

What is the best way to structure skill documentation to avoid bloating?

The best way to structure skill documentation without bloating is using modular organization. Keep the main SKILL.md concise with inline instructions, and use references, scripts, and assets to manage heavy content separately.

Why does my skill documentation lack testability and repeatability?

Skill documentation lacks testability and repeatability when it misses clear evaluation criteria and structured testing. Applying test-driven development codifies the RED-GREEN-REFACTOR cycle to validate guidance and enforce structured frontmatter.