writing-skills

Create and test Claude Code skills using a TDD-based RED-GREEN-REFACTOR methodology.

1|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/HarmAalbers/claude-requirements-framework --skill writing-skills-harmaalbers
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/HarmAalbers/claude-requirements-framework/tree/main/plugins/requirements-framework/skills/writing-skills
Command: npx skills add https://github.com/HarmAalbers/claude-requirements-framework --skill writing-skills-harmaalbers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Untested skills often fail in practice because authors never observe how agents behave without them, leading to unclear instructions, loopholes, and rationalized non-compliance. ## 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. - Discovery optimization guidance: Provides rules for writing descriptions, keywords, and naming so future Claude instances can find the skill via search. - Rationalization bulletproofing: Supplies reference guides on pressure testing, persuasion principles, and closing loopholes so discipline-enforcing skills hold up under stress. - Use Case: When adding a new skill to the requirements-framework plugin, run baseline subagent scenarios first, document the exact rationalizations agents use, then write the minimal SKILL.md that counters them and re-test until compliant. ## Quick Start Ask the agent to create a new skill for a chosen technique using the writing-skills TDD workflow, starting with baseline pressure scenarios before drafting the SKILL.md.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I create a new Claude Code skill?▼

Create a directory containing a SKILL.md file with YAML frontmatter defining name, description, and git_hash, followed by the instruction body. Run baseline pressure scenarios with subagents first, then write the minimal skill addressing observed failures.

How do I test a skill before deploying it?▼

Test skills by running pressure scenarios with subagents, first without the skill to capture baseline failures, then with the skill to verify compliance. Combine three or more pressures like time, sunk cost, and authority, and iterate until no new rationalizations appear.

What should go in a skill description field?▼

The description should only state triggering conditions, starting with "Use when..." and listing specific symptoms and situations. Never summarize the skill's workflow, because agents may follow the description instead of reading the full skill body.

When should I not create a skill?▼

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

Why do agents ignore skills under pressure?▼

Agents rationalize violations when facing time pressure, sunk costs, or authority conflicts. Counter this with explicit negations of each loophole, rationalization tables, red flag lists, and authority-based language like "No exceptions."