writing-skills

Apply a RED-GREEN-REFACTOR cycle to SKILL.md authoring with pressure scenario testing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent or untested SKILL.md documentation leads agents to ignore rules, rationalize shortcuts, or apply incorrect workflows. Writing-skills provides a TDD-inspired process to detect those failure modes early and ensure skills reliably guide agent behavior under pressure.

Core Features & Use Cases

  • TDD for documentation: RED-GREEN-REFACTOR cycle applied to SKILL.md authoring so agents are observed failing before skills are written and verified after.
  • Pressure scenario testing: Templates and guidance for multi-pressure scenarios (time, sunk cost, authority) to reveal rationalizations agents use to bypass rules.
  • Rationalization defenses: Rationalization tables, red-flag lists, and explicit negations that close loopholes discovered during testing.
  • Support tools & references: Includes flowchart rendering guidance and persuasion-principles research to design discipline-enforcing skills.
  • Deployment checklist: A mandatory verification checklist to ensure each skill is tested, refactored, and committed before reuse.

Quick Start

Run a baseline pressure scenario without the skill, document agent failures verbatim, write the minimal SKILL.md addressing those failures, and re-run the scenario until agents comply.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I test agent skills to ensure they follow intended behaviors?

Testing agent skills requires applying a test-driven development cycle to SKILL.md files, documenting agent failures under pressure scenarios before writing rules, and verifying compliance through subagent re-runs. This ensures skills reliably guide agents.

What is test-driven documentation for agent skills?

Test-driven documentation applies a RED-GREEN-REFACTOR cycle to SKILL.md authoring, observing agents failing under pressure before writing minimal rules, then verifying they comply. It detects rationalizations and bypasses agents use to ignore instructions.

How do I prevent agents from bypassing SKILL.md rules under pressure?

Preventing agents from bypassing SKILL.md rules involves running multi-pressure scenario testing covering time, sunk cost, and authority pressures. You capture rationalizations agents use, then deploy rationalization tables and explicit negations to close loopholes.

What's the best way to structure SKILL.md files for deployment readiness?

Structuring SKILL.md files for deployment requires YAML frontmatter with a name and description, passing pressure scenario testing with subagents, adding rationalization defenses, and completing a mandatory verification checklist ensuring skills are tested and refactored.

Do I need supporting files when authoring test-driven agent skills?

Supporting files are optional but recommended when authoring agent skills, including flowchart rendering guidance to visualize workflows and persuasion-principles research documents to design discipline-enforcing skills that withstand pressure scenarios.

Why does my agent ignore SKILL.md instructions and take shortcuts?

Agents ignore SKILL.md instructions and take shortcuts because untested documentation allows rationalizations under pressure. Writing-skills addresses this by testing agents under multi-pressure scenarios, documenting failures verbatim, and writing minimal rules to close loopholes.