writing-skills

Create and test agent skills using TDD-style pressure scenarios with subagents.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill writing-skills-avatar-arts
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/AvaTar-ArTs/.Agent-skills/tree/main/skills/writing-skills
Command: npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill writing-skills-avatar-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Untested skill documentation often fails in practice because agents rationalize around rules under time, sunk-cost, or authority pressure, and authors cannot know whether a skill teaches the right behavior without watching agents fail without it first. ## Core Features & Use Cases - TDD-based skill authoring: Applies the RED-GREEN-REFACTOR cycle to documentation by running baseline pressure scenarios with subagents before writing any skill content. - Rationalization bulletproofing: Provides rationalization tables, red-flag lists, and explicit loophole counters so discipline-enforcing skills resist agent workarounds. - Discovery optimization (CSO): Defines naming, description, keyword, and token-efficiency rules so future agents can find and correctly trigger the skill. - Use Case: When creating a new skill such as a verification-before-completion rule, run pressure scenarios without the skill, record the agent's exact excuses, write the minimal skill addressing them, and re-test until the agent complies under maximum pressure. ## Quick Start Ask the agent to help you create a new skill by first running baseline pressure scenarios with subagents, then writing and iteratively testing the SKILL.md 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 a new agent skill before deploying it?▼

Run pressure scenarios with subagents without the skill first to capture baseline failures verbatim, then write the skill addressing those specific rationalizations and re-test until agents comply. Combine three or more pressures such as time, sunk cost, and authority for realistic results.

What should a SKILL.md description field contain?▼

The description should state only when to use the skill, starting with "Use when..." plus concrete triggering conditions and symptoms, written in third person. Never summarize the skill's workflow, because agents may follow the description shortcut instead of reading the full skill body.

How do I stop agents from rationalizing around skill rules?▼

Close every loophole explicitly with negations, add a foundational principle like "violating the letter is violating the spirit," and maintain a rationalization table mapping each observed excuse to its counter. Re-test after each addition until no new rationalizations appear.

When should I not create a new skill?▼

Skip skill creation for one-off solutions, project-specific conventions that belong in AGENTS.md, well-documented standard practices, and mechanical constraints that can be enforced with validation or automation instead of documentation.

Can I render flowcharts from a SKILL.md file?▼

Yes, the included render-graphs.js script extracts dot blocks from a skill's SKILL.md and renders them to SVG files using graphviz. Run it with the skill directory path, optionally adding --combine to merge all diagrams into one SVG.