writing-skills

Apply test-driven development cycles to author and validate agent skills.

Updated May 9, 2026
One-click install
npx skills add https://github.com/kk20300113-png/my-claude-skills --skill writing-skills-kk20300113-png
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/kk20300113-png/my-claude-skills/tree/main/writing-skills
Command: npx skills add https://github.com/kk20300113-png/my-claude-skills --skill writing-skills-kk20300113-png

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating custom agent skills often results in untested, unreliable documentation that agents ignore or rationalize away under pressure, leading to wasted effort and inconsistent team workflows.

Core Features & Use Cases

  • TDD-Adapted Creation Workflow: Applies the RED-GREEN-REFACTOR cycle from test-driven development to skill documentation, ensuring skills are validated against real agent behavior before deployment.
  • Pressure Testing Framework: Provides structured methods for testing skills against common agent rationalizations under time, sunk cost, and authority pressures to make them bulletproof.
  • Authoring Best Practices: Covers skill structure, discovery optimization, anti-patterns to avoid, and efficient cross-referencing to minimize context usage.
  • Use Case: For example, use this skill to build a new TDD enforcement skill: first run baseline tests to observe agents skipping tests under pressure, write the skill to address those specific failures, then close loopholes until full compliance is achieved.

Quick Start

Follow the writing-skills TDD methodology to design, test, and deploy a new skill that enforces your team's mandatory code review process.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I test custom agent skills to ensure they work reliably?

Test custom agent skills using a test-driven development workflow that applies the RED-GREEN-REFACTOR cycle to skill documentation, validating skills against real agent behavior before deployment.

Why does my agent ignore custom skill documentation under pressure?

Agents ignore custom skill documentation under pressure because of untested rationalization loopholes. Pressure testing frameworks expose these failures by testing skills against time, sunk cost, and authority pressures.

What is test-driven development for agent skill authoring?

Test-driven development for agent skill authoring is a methodology that writes baseline behavior tests first, creates skill documentation to address those failures, and closes loopholes until full compliance is achieved.

How do I write agent skills that are compliant with official specifications?

Write compliant agent skills by following authoring best practices that cover skill structure, discovery optimization, anti-patterns, and cross-referencing to minimize context usage while meeting official agent skill specifications.

Can I use TDD principles to build a custom skill library for Claude?

You can use TDD principles to build a custom skill library for Claude by running baseline tests, writing skills to address specific failures, and deploying bulletproof skills optimized for metadata discovery.

What's the best way to prevent agents from rationalizing away skill instructions?

The best way to prevent agents from rationalizing away skill instructions is to apply structured pressure testing methods that close loopholes against common agent rationalizations before deployment.