writing-skills

Applies RED-GREEN-REFACTOR cycles to validate skill documentation and enforce structure.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/BryceRoberts13/superpowers-for-antigravity --skill writing-skills-bryceroberts13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/BryceRoberts13/superpowers-for-antigravity/tree/main/skills/writing-skills
Command: npx skills add https://github.com/BryceRoberts13/superpowers-for-antigravity --skill writing-skills-bryceroberts13

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing Skills provide a test-driven approach to documenting and validating agent skills, turning narrative guidance into verifiable guidance that agents can follow under pressure.

Core Features & Use Cases

  • TDD for documentation: apply RED-GREEN-REFACTOR to skill docs, ensuring real failures are captured and mitigated.
  • Pressure-based testing: define baseline scenarios to reveal rationalizations and gaps before deployment.
  • Discipline enforcement patterns: include red flags, rationalization tables, and deployment checklists to ensure compliance.
  • Guided skill authoring: structure SKILL.md with frontmatter and concise sections for discovery and execution.

Quick Start

Write a SKILL.md with name and description frontmatter, document the RED-GREEN-REFACTOR workflow, and run the testing workflow before deployment.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply test-driven development to skill documentation?

Test-driven documentation applies the RED-GREEN-REFACTOR cycle to skill docs, capturing real failures and mitigating gaps. You structure SKILL.md with frontmatter, document the testing workflow, and run pressure-based scenarios to verify narrative guidance before deployment.

What is the best way to prevent rationalization gaps in agent skills?

Preventing rationalization gaps requires discipline enforcement patterns like red flags and rationalization tables. You define baseline pressure scenarios to reveal where agents deviate from narrative guidance, then apply deployment checklists to ensure compliance before release.

How do I structure a SKILL.md file for agent discovery and execution?

Structuring SKILL.md requires adding name and description frontmatter followed by concise sections. You document the RED-GREEN-REFACTOR workflow within the file, ensuring the narrative guidelines and testing artifacts are structured for both agent discovery and reliable execution.

Can I verify skill documentation without writing actual code tests?

Verifying skill documentation without code tests uses pressure-based testing scenarios. You define baseline scenarios that reveal rationalizations and gaps in the narrative guidance, then enforce compliance through deployment checklists and rationalization tables instead of traditional code assertions.

When do I need to use the RED-GREEN-REFACTOR cycle for documentation?

The RED-GREEN-REFACTOR cycle is needed when transforming narrative skill documentation into verifiable guidance. You use it during skill creation and verification workflows to ensure real failures are captured, mitigated, and refined before agents operate under pressure.

Why does my agent skill fail to follow documentation under pressure?

Agent skills fail under pressure when narrative documentation lacks verifiable testing artifacts. You mitigate this by applying pressure-based testing to reveal rationalization gaps, then enforcing discipline patterns like red flags and deployment checklists to ensure compliance.