writing-skills

Run RED-GREEN-REFACTOR compliance tests on agent Skills under pressure scenarios.

112|26|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/Wide-Moat/open-computer-use --skill writing-skills-wide-moat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/Wide-Moat/open-computer-use/tree/main/skills/examples/writing-skills
Command: npx skills add https://github.com/Wide-Moat/open-computer-use --skill writing-skills-wide-moat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams prevent documentation Skills from failing under real agent pressure by enforcing a test-driven workflow for skill authoring and edits, ensuring the resulting guidance is actually followed rather than merely understood.

Core Features & Use Cases

  • Process TDD for documentation: turns skill writing into RED-GREEN-REFACTOR iterations based on baseline agent failures and rationalizations.
  • Pressure-scenario compliance testing: validates that agents follow rules when incentivized to rationalize or cut corners (time pressure, sunk cost, authority, exhaustion, etc.).
  • Discovery-oriented authoring: improves Skill discoverability by requiring a rich, trigger-focused third-person description in YAML frontmatter (CSO).
  • Loophole closure: creates explicit negations, counters, red flags, and re-tests until compliance remains stable.

Quick Start

Use the writing-skills skill before deploying or updating any agent Skill you expect other agents to follow under pressure.

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 compliance with documentation skills before deployment?

Test agent compliance by running RED-GREEN-REFACTOR style pressure tests on real scenarios where agents may rationalize shortcuts or skip required steps. Observe baseline failures, apply minimal skill revisions targeting exact rationalizations, and iterate until verification shows consistent compliance.

What is pressure testing for skill authoring and when do I need it?

Pressure testing for skill authoring validates that agents follow documentation rules when incentivized to cut corners under time pressure, sunk cost, authority, or exhaustion. You need it before deploying or updating any agent Skill expected to be followed reliably under real conditions.

How do I close loopholes in agent documentation that agents exploit?

Close documentation loopholes by creating explicit negations, counters, and red flags for rationalizations agents use to bypass rules. Re-test with pressure scenarios after each revision until compliance remains stable and agents can no longer rationalize shortcuts.

What's the best way to improve skill discoverability through documentation?

Improve skill discoverability by requiring a rich, trigger-focused third-party description in YAML frontmatter. This discovery-oriented authoring approach ensures the Skill surfaces when relevant conditions arise, rather than relying on the Skill name alone for search visibility.

Can I use test-driven development for writing and editing skill docs?

Yes, you can apply test-driven development to skill authoring by turning documentation writing into RED-GREEN-REFACTOR iterations. Start by observing baseline agent failures, make minimal revisions addressing exact rationalizations, then refactor until pressure-scenario compliance tests pass consistently.

Why does my agent skip required steps in documentation skills under pressure?

Agents skip required steps under pressure because the documentation lacks explicit negations and counters for rationalizations like time pressure, sunk cost, or authority. Without iterative pressure-scenario testing and loophole closure, agents rationalize shortcuts even when they understand the intended rule set.