writing-skills

Enforce a red-green-refactor testing loop for skill documentation workflows.

1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/jokken79/YuKyuDATA-app1.0v --skill writing-skills-jokken79
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/jokken79/YuKyuDATA-app1.0v/tree/main/.agent/skills/writing-skills
Command: npx skills add https://github.com/jokken79/YuKyuDATA-app1.0v --skill writing-skills-jokken79

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing skills apply test-driven development to process documentation to ensure skills are created, tested, and refined under pressure, preventing rationalizations and untested changes.

Core Features & Use Cases

  • Enforces the RED-GREEN-REFACTOR loop for skill creation and editing
  • Captures baseline failures, rationalizations, and red-flag counters to close loopholes
  • Promotes progressive disclosure with YAML frontmatter, SKILL.md body, and lightweight references

Quick Start

Begin baseline testing without the skill, then implement the skill and re-test to ensure compliance.

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 documentation writing?

Test-driven documentation applies a red-green-refactor loop by capturing baseline agent failures, refining the skill text to eliminate rationalizations, and re-testing to ensure compliance. Baseline testing without the skill is performed first, then the skill is implemented and re-tested.

What is progressive disclosure in skill documentation?

Progressive disclosure in skill documentation organizes content using YAML frontmatter with name and description, a concise SKILL.md body, and optional support materials organized under scripts, references, and assets to prevent overwhelming the agent.

How do I stop AI agents from rationalizing when following documentation?

To stop rationalizing, capture baseline agent failures and build red-flag counters into the skill documentation to close loopholes. The skill is then refined under pressure through the red-green-refactor loop until the agent complies with the instructions.

Do I need YAML frontmatter to write a skill?

Yes, YAML frontmatter containing the name and description fields is required to write a skill. A concise SKILL.md body is also required, while optional support materials can be organized under scripts, references, and assets directories.

What is the best way to validate documentation quality under pressure?

The best way to validate documentation quality under pressure is to apply quality assurance testing by recording baseline failures, building red flags for rationalizations, and validating compliance through a progressive refinement loop.

When should I not use a red-green-refactor loop for skill writing?

You should avoid a red-green-refactor loop for skill writing when your documentation does not require strict quality assurance or when the skill operates without risk of agent rationalizations that need baseline failure capture and active loophole closure.