This is TDD for documentation. You write pressure scenarios with subagents to watch them fail without the skill, document rules to make them pass, then iterate to close loopholes. The approach treats skills as onboarding guides for specialized knowledge: techniques, patterns, references, or tool integrations. It maps the RED-GREEN-REFACTOR cycle directly to skill creation, which means you always baseline agent behavior before writing instructions. The structure guidance is solid, frontmatter matters for discovery, and the flat namespace keeps things searchable. If you're writing skills that agents keep finding ways to rationalize around, the systematic pressure testing here will tighten them up.

skills.sh installs
1.2K
GitHub stars
1.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill create-skill --agent claude-code

Installs into .claude/skills of the current project.

Files

Create Skill Command

This command provides guidance for creating effective skills.

Overview

Writing skills IS Test-Driven Development applied to process documentation.

Personal skills live in agent-specific directories (~/.claude/skills for Claude Code, ~/.codex/skills for Codex)

You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).

Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.

REQUIRED BACKGROUND: You MUST understand Test-Driven Development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill adapts TDD to documentation.

Official guidance: The Anthropic's official skill authoring best practices provided at the /apply-anthropic-skill-best-practices command, they enhance prompt-engineering skill. Use skill and the document, as they not copy but add to each other. These document provides additional patterns and guidelines that complement the TDD-focused approach in this skill.

Sponsors

Details

Repository
github.com/neolabhq/context-engineering-kit
Categories
Testing & QA, Documentation, Skill Development
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 63
1anivar avatarzodanivar/zod-skillZod v4 best practices, patterns, and API guidance for schema validation, parsing, error handling, and type inference in TypeScript applications. Covers safePars1.1Kskills.sh installs
2eronred avatarapp-preview-videoeronred/aso-skillsWhen the user wants to plan, script, produce, or optimize App Store Preview videos or Google Play promo videos — the autoplay videos that show in App Store/Play1.1Kskills.sh installs
3openai avatardevelop-web-gameopenai/skillsUse when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based1.1Kskills.sh installs
4product-on-purpose avatardeliver-edge-casesproduct-on-purpose/pm-skillsDocuments edge cases, error states, boundary conditions, race conditions, and recovery paths for a feature - the systematic catalog of what can go wrong and the934skills.sh installs
5johnwayneeee avatarcaselyjohnwayneeee/casely-qa-skillcasely920skills.sh installs
6yeachan-heo avatarultraqayeachan-heo/oh-my-claudecodeQA cycling workflow - test, verify, fix, repeat until goal met902skills.sh installs