writing-skills

Apply test-driven development to SKILL.md documentation with frontmatter and safety checks.

Updated Apr 16, 2014
One-click install
npx skills add https://github.com/minhhh/dotfiles --skill writing-skills-minhhh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/minhhh/dotfiles/tree/main/ai/.ai/gemini-superpowers/skills/writing-skills
Command: npx skills add https://github.com/minhhh/dotfiles --skill writing-skills-minhhh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, test-driven approach to documenting and validating new or existing skills, ensuring clear requirements, verifiable tests, and safe deployment.

Core Features & Use Cases

  • Red-Green-Refactor workflow: Learn to document skills following a RED-GREEN-REFACTOR cycle with evidence-based testing.
  • Frontmatter & Use Structure rules: Enforce strict YAML frontmatter (name and description) and a concise, non-narrative SKILL.md body.
  • Progressive disclosure & testing: Organize content into inline guidance with references and tools loaded on demand.
  • Quality & safety checks: Maintain explicit rationalization tables, red flags, and deployment readiness criteria.

Quick Start

Draft a minimal SKILL.md for a new technique and outline a RED-GREEN-REFACTOR test plan.

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 a RED-GREEN-REFACTOR cycle to create, verify, and refactor skills. This enforces verifiable quality through evidence-based testing and explicit rationalization tracking.

How do I write a SKILL.md file with proper frontmatter and progressive disclosure?

Writing a SKILL.md file requires strict YAML frontmatter for name and description, followed by a concise, non-narrative body. Progressive disclosure organizes content into inline guidance with references and tools loaded on demand.

What's the best way to ensure quality assurance when creating new skills?

Ensuring quality assurance during skill creation involves maintaining explicit rationalization tables, checking for red flags, and validating deployment readiness criteria to guarantee safe and repeatable deployment.

Can I use the RED-GREEN-REFACTOR cycle to refactor existing skill documentation?

Yes, you can apply the RED-GREEN-REFACTOR cycle to existing skill documentation. This validates current requirements through evidence-based testing, verifies safety checks, and cleans up rationalization tracking.

When do I need rationalization tracking for skill writing?

Rationalization tracking is needed during skill writing when documenting verification and refactoring cycles. It maintains quality assurance by explicitly recording decisions, flagging safety risks, and ensuring deployment readiness.

Does progressive disclosure in SKILL.md work for complex skill creation?

Progressive disclosure scales for complex skill creation by organizing detailed content into on-demand references and tools. This keeps the core SKILL.md concise while ensuring comprehensive guidance remains accessible.