writing-skills

Create and test agent skills using test-driven development methodology.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/erwinv2k-TKG/AgentesVSC --skill writing-skills-erwinv2k-tkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/erwinv2k-TKG/AgentesVSC/tree/main/packs/superpowers/skills/writing-skills
Command: npx skills add https://github.com/erwinv2k-TKG/AgentesVSC --skill writing-skills-erwinv2k-tkg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Writing effective skills for AI agents is hard because untested documentation often fails under real-world pressure, and authors cannot know if a skill actually changes agent behavior without observing baseline failures 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 techniques to close loopholes, build rationalization tables, and create red flag lists so discipline-enforcing skills resist agent workarounds. - Discovery Optimization: Covers Claude Search Optimization (CSO) rules for names, descriptions, keywords, and token efficiency so skills are found when needed. - Use Case: When creating a new skill that enforces a rule like test-driven development, run pressure scenarios without the skill, document the agent's exact excuses, then write minimal content addressing those specific failures and re-test until compliant. ## Quick Start Ask the agent to help you create a new skill by first running a baseline pressure scenario without it, then drafting the SKILL.md and verifying compliance.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write a skill for Claude Code agents?

Create a directory containing a SKILL.md file with YAML frontmatter defining name and description, followed by markdown instructions. Test it first by running pressure scenarios without the skill to document baseline agent failures, then write content addressing those specific failures.

How to test if an agent skill actually works?

Run realistic pressure scenarios with subagents, combining three or more pressures like time constraints, sunk cost, and authority. Compare agent behavior with and without the skill loaded, and capture exact rationalizations verbatim to identify loopholes.

What should go in a SKILL.md description field?

The description should start with "Use when..." and describe only triggering conditions, symptoms, and situations in third person. Never summarize the skill's workflow, because agents may follow the description shortcut instead of reading the full skill body.

When should I not create a new skill?

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

Why do agents ignore skills under pressure?

Agents rationalize rule violations when facing time pressure, sunk costs, or authority figures. Skills must explicitly close each loophole with negations, rationalization tables, and red flag lists, then be re-tested until agents comply under maximum pressure.