writing-skills

Apply the RED-GREEN-REFACTOR cycle to create and maintain skill documentation.

1|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/mcauduro0/Macro_Trading --skill writing-skills-mcauduro0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/mcauduro0/Macro_Trading/tree/main/.claude/skills/superpowers-writing-skills
Command: npx skills add https://github.com/mcauduro0/Macro_Trading --skill writing-skills-mcauduro0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that documentation (Skills) is created and maintained with the same rigor as code, preventing ambiguity and ensuring agents can reliably follow instructions.

Core Features & Use Cases

  • Test-Driven Documentation: Applies the RED-GREEN-REFACTOR cycle to Skill creation and updates.
  • Rationalization Prevention: Identifies and counters common excuses agents use to bypass documentation requirements.
  • Use Case: When creating a new skill for complex data validation, this Skill ensures that the documentation is written after observing an agent fail without it, and that the documentation explicitly addresses the observed failure points.

Quick Start

Use this skill when creating or editing any skill documentation to ensure it is rigorously tested and documented.

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 principles to AI agent documentation?

Test-Driven Development for agent documentation applies the RED-GREEN-REFACTOR cycle to skill creation, ensuring instructions are written only after observing agent failures and explicitly addressing those failure points.

What is the best way to prevent AI agents from bypassing documentation requirements?

Preventing rationalization in agent documentation requires identifying and countering common excuses agents use to bypass instructions, ensuring skills are robust, discoverable, and reliably followed under pressure.

When do I need to use a test-driven approach for creating agent skills?

You need test-driven documentation when creating or editing any skill documentation to ensure it is rigorously tested, preventing ambiguity and ensuring agents can reliably follow instructions.

How do I ensure my AI agent skills are robust and reliably followed under pressure?

Ensuring agent skills are robust requires adherence to specific testing protocols and documentation structures, applying TDD rigor to solve the problem of poorly documented or untested skills.

Does test-driven documentation work for maintaining existing agent skills?

Yes, test-driven documentation works for maintaining existing skills by applying the RED-GREEN-REFACTOR cycle to updates, ensuring documentation evolves with the same rigor as code.

Why does my AI agent fail to follow complex skill instructions correctly?

Agents fail to follow complex instructions due to poorly documented or untested skills, which test-driven documentation solves by explicitly addressing observed failure points during the creation process.