AI Skill Authoring & TDD Documentation

•
1
•

Standardizes the creation of Claude Code skills using Test-Driven Development principles to ensure reliable agent behavior.

This skill applies the Red-Green-Refactor cycle to the creation of AI documentation, treating process guidance as functional code. It guides users through creating pressure scenarios to baseline agent behavior, writing concise skill files (SKILL.md), and verifying compliance to eliminate loopholes. By focusing on Claude Search Optimization (CSO) and token efficiency, it ensures that custom skills are easily discoverable and effective without bloating the model's context window.

Key Features

01Best practices for 'Use when' triggering conditions
02TDD-based 'Red-Green-Refactor' documentation workflow
03Standardized directory structures for Claude Code and Codex
041 GitHub stars
05Claude Search Optimization (CSO) for better skill discovery
06Token-efficient documentation patterns for context savings

Use Cases

01Developing new reusable capabilities for Claude Code and Codex agents
02Hardening existing documentation against agent rationalization and loopholes
03Optimizing agent context windows by compressing repetitive instructions