writing-skills

Validate AI skill documentation with RED-GREEN-REFACTOR testing and YAML frontmatter standards.

1|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/xiaobin/superpowers-kimi --skill writing-skills-xiaobin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/xiaobin/superpowers-kimi/tree/main/.agents/skills/writing-skills
Command: npx skills add https://github.com/xiaobin/superpowers-kimi --skill writing-skills-xiaobin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Writing skills provide a structured, test-driven approach to documenting and validating AI skills, ensuring that new or updated skills are clear, verifiable, and resistant to rationalization under pressure.

Core Features & Use Cases

  • Guidelines for frontmatter, including required name and description, and a standardized three-section structure
  • Processes for RED-GREEN-REFACTOR testing, rationalization tracking, red flags, and cross-referencing with other skills
  • Clear deployment and verification workflows to ensure bulletproof skills before deployment

Quick Start

Follow the RED-GREEN-REFACTOR workflow to create, test, and bulletproof a new skill.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
What is test-driven skill documentation for AI workflows?

Test-driven skill documentation creates and validates AI skills using a RED-GREEN-REFACTOR workflow, ensuring skill docs are clear, verifiable, and resistant to rationalization under pressure before deployment.

How do I structure skill documentation with YAML frontmatter?

Skill documentation requires YAML frontmatter with a name and description, followed by a concise three-section structure that integrates tested workflows, pressure scenarios, and rationalization tracking.

How does the RED-GREEN-REFACTOR workflow apply to skill development?

The RED-GREEN-REFACTOR workflow applies to skill development by writing tests first, creating the skill to pass tests, then refining the documentation to ensure it remains bulletproof against rationalization.

When do I need to enforce rationalization tracking in process documentation?

You need rationalization tracking in process documentation when verifying skills under pressure scenarios, ensuring the AI resists rationalization and maintains disciplined behavior during deployment.

What are the limitations of using a three-section structure for skill writing?

The three-section structure is strictly limited to concise documentation with YAML frontmatter, meaning it may not accommodate complex skill designs requiring extensive multi-section explanations or nested sub-workflows.

Can I use this test-driven documentation approach for skills without dependencies?

Yes, this test-driven documentation approach works for skills without dependencies, focusing on frontmatter validation, rationalization tracking, and cross-referencing to ensure standalone skills remain bulletproof.