writing-skills

Automates creation and verification of Skills using a test-driven documentation workflow.

6|2|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/EricOo0/stock-trading-platform --skill writing-skills-ericoo0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/EricOo0/stock-trading-platform/tree/main/.codex/superpowers/skills/writing-skills
Command: npx skills add https://github.com/EricOo0/stock-trading-platform --skill writing-skills-ericoo0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drafting and maintaining Skills without a disciplined testing approach leads to brittle discovery and misapplication. This Skill provides a TDD-inspired framework to write skills that are concise, testable, and verifiable before deployment.

Core Features & Use Cases

  • Structured SKILL.md templates for rapid, repeatable Skill authoring
  • Red-Green-Refactor workflow adapted for documentation
  • Progressive disclosure guidance and references to best practices (CSO, CSO optimization)
  • Use cases: creating new Skills, editing existing ones, validating via pressure scenarios and testing scripts

Quick Start

To begin, draft a new SKILL.md following the structure in this guide, including a frontmatter with name and description and a minimal body that demonstrates RED-GREEN-REFACTOR testing flow.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write a SKILL.md file using test-driven development?

To write a SKILL.md file using TDD, draft frontmatter with name and description, then build the body following a RED-GREEN-REFACTOR testing flow, including optional scripts and references directories for validation.

What is test-driven documentation for skill creation?

Test-driven documentation for skill creation applies the RED-GREEN-REFACTOR workflow to skill-writing, ensuring structured sections and a runnable testing cycle are present to produce reliable, verifiable documentation.

Can I validate existing Skills without rewriting the entire documentation?

Yes, you can validate existing Skills by applying the test-driven documentation workflow to check for required frontmatter, structured sections, and a runnable testing cycle, editing only the missing elements instead of rewriting everything.

Does skill creation require specific dependencies or components to run tests?

No dependencies or components are required to run test-driven documentation, but the SKILL.md structure supports optional scripts, references, or assets directories to facilitate the testing cycle and progressive disclosure.

What's the best way to structure documentation for reliable skill deployment?

The best way to structure documentation for reliable skill deployment is using a SKILL.md template with frontmatter, a RED-GREEN-REFACTOR body, and optional directories, ensuring compliance and testability across disciplines.

When should I not use a test-driven workflow for writing documentation?

You should avoid a test-driven workflow for writing documentation if your Skills require rapid, informal drafting without compliance validation, as this framework strictly enforces structured sections and runnable testing cycles.