writing-skills

Guide AI agent skill creation using a Test-Driven Development methodology.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/newkayak12/claude-skills --skill writing-skills-newkayak12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/newkayak12/claude-skills/tree/main/plugins/newkayak12-skills/skills/writing-skills
Command: npx skills add https://github.com/newkayak12/claude-skills --skill writing-skills-newkayak12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that documentation (Skills) is as rigorously tested and effective as code, preventing common pitfalls and ensuring clarity for AI agents.

Core Features & Use Cases

  • Test-Driven Skill Development: Apply the RED-GREEN-REFACTOR cycle to skill creation and editing.
  • Rationalization Prevention: Identify and counter common excuses agents use to bypass documentation requirements.
  • Use Case: When creating a new skill for code review, you'll use this skill to first write scenarios where an agent fails to perform a proper review without the skill, then write the skill to make them comply, and finally test against new rationalizations like "it's just a small change."

Quick Start

Use the writing-skills skill when you are creating or editing any skill documentation.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply test-driven development to AI agent skills?

Test-driven skill development applies the RED-GREEN-REFACTOR cycle to documentation creation. You write failure scenarios first, create minimal effective content to pass them, and refactor to close loopholes preventing agent rationalization.

What is the best way to prevent AI agents from bypassing documentation requirements?

Preventing AI agents from bypassing documentation requires identifying and countering common rationalizations. You test skill content against new excuses agents use to bypass requirements, then refactor to close those loopholes.

How do I write minimal effective content for skill documentation?

Writing minimal effective content for skill documentation means creating only what is necessary to ensure agent compliance. You identify failure modes first, then write the exact content needed to address them without over-documenting.

When do I need to use test-driven skill development?

You need test-driven skill development when creating or editing any skill documentation. It is applicable to all skill types for ensuring agent compliance, preventing rationalizations, and improving discoverability through rigorous testing.

Why does my AI agent ignore skill documentation for small changes?

AI agents ignore skill documentation for small changes due to rationalization loopholes. Test-driven skill development addresses this by testing against new rationalizations and refactoring documentation to close those loopholes.

Does test-driven skill development work for all skill types?

Yes, test-driven skill development works for all skill types. It ensures compliance and discoverability across any documentation by applying the RED-GREEN-REFACTOR cycle to identify failure modes, write minimal effective content, and refactor to close loopholes.