writing-skills

Enforce test-driven development for process-oriented skill documentation.

9|2|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/DmitriyPolukhin/antigravity-superpower --skill writing-skills-dmitriypolukhin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/DmitriyPolukhin/antigravity-superpower/tree/main/modules/writing-skills
Command: npx skills add https://github.com/DmitriyPolukhin/antigravity-superpower --skill writing-skills-dmitriypolukhin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents agents from treating skill documentation as “just reference” by forcing test-driven creation and verification before deployment, catching rationalizations that fail under real pressure.

Core Features & Use Cases

  • Test-driven skill authoring for process docs: Applies RED-GREEN-REFACTOR to writing skills so the documentation reliably enforces behavior.
  • Pressure-scenario compliance testing: Helps you design scenarios (time, sunk cost, authority, exhaustion, etc.) that reveal when agents try to bypass rules.
  • Anti-rationalization hardening: Builds explicit negations, rationalization tables, and “red flags” so the Skill stays compliant after loopholes are discovered.

Quick Start

Use the writing-skills Skill to create a new or edited Skill by first running a baseline pressure scenario without it, then updating the Skill to make the same scenario comply, and re-testing until no new rationalizations appear.

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

Test-driven skill documentation applies RED-GREEN-REFACTOR discipline to process docs by running baseline pressure scenarios first, updating rules to enforce compliance, then re-testing until no rationalizations appear.

What are pressure scenarios in documentation testing?

Pressure scenarios in documentation testing are designed situations involving time constraints, sunk cost, authority, or exhaustion that reveal when agents attempt to bypass skill rules and rationalize noncompliant behavior.

How do I harden skill rules against rationalized noncompliance?

Anti-rationalization hardening builds explicit negations, rationalization tables, and red flags into skill documentation to close discovered loopholes and ensure rules remain enforced under real operational pressure.

When should I use TDD for skill authoring instead of writing plain reference docs?

TDD for skill authoring is needed when documentation must enforce specific behavior rather than serve as passive reference, catching rationalizations that cause agents to bypass rules under real pressure.

Can I edit existing skill documentation using test-driven development?

Existing skill documentation can be edited using test-driven development by running a baseline pressure scenario without the updated rules, then modifying the skill to make the same scenario comply and re-testing.

Why does my skill documentation fail to enforce compliant behavior under pressure?

Skill documentation fails under pressure when it lacks explicit negations and documented baseline failures, allowing agents to rationalize rule bypasses that pressure scenarios involving time, authority, or sunk cost reveal.