
Test Skill
Before you ship a skill that's supposed to enforce discipline, run it through scenarios where an agent actually wants to break the rules. This applies TDD's red-green-refactor cycle to process documentation: baseline test without the skill to watch agents fail and rationalize, write the skill to address those specific failures, then pressure test with combined stressors like time constraints plus sunk costs plus authority pressure. The rationalization table approach is clever. You capture exact excuses agents use ("keep as reference while writing tests first") and plug each loophole explicitly. Worth the setup cost for any skill with compliance costs attached, like testing requirements or code review checklists.
- skills.sh installs
- 1.2K
- GitHub stars
- 1.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add neolabhq/context-engineering-kit --skill test-skill --agent claude-codeInstalls into .claude/skills of the current project.
Files
Testing Skills With Subagents
Test skill provided by user or developed before.
Overview
Testing skills is just TDD applied to process documentation.
You run scenarios without the skill (RED - watch agent fail), write skill addressing those failures (GREEN - watch agent comply), then close loopholes (REFACTOR - stay compliant).
Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill prevents the right failures.
REQUIRED BACKGROUND: You MUST understand superpowers:test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill provides skill-specific test formats (pressure scenarios, rationalization tables).
Complete worked example: See examples/CLAUDE_MD_TESTING.md for a full test campaign testing CLAUDE.md documentation variants.
When to Use
Test skills that:
- Enforce discipline (TDD, testing requirements)
- Have compliance costs (time, effort, rework)
- Could be rationalized away ("just this once")
- Contradict immediate goals (speed over quality)
Don't test:
Sponsors
Details
- Repository
- github.com/neolabhq/context-engineering-kit
- Categories
- Testing & QA, Documentation, Code Review & Quality, Sales & Marketing
- First seen
- Jun 3, 2026
More from neolabhq/context-engineering-kit
All 63- Apply Anthropic Skill Best Practices1.2K
- Tree Of Thoughts1.2K
- Cause And Effect1.2K
- Create Ideas1.2K
- Fix Tests1.2K
- Create Skill1.2K
- Do Competitively1.2K
- Plan Do Check Act1.2K
- Commit1.2K
- Analyze Issue1.2K
- Create Command1.2K
- Create Hook1.2K
- Create Pr1.2K
- Setup Codemap Cli1.2K
- Actualize1.2K
- Git Worktrees1.2K
- Decay1.2K
- Attach Review To Pr1.2K
- Git Notes1.2K
- Setup Arxiv Mcp1.2K
- Propose Hypotheses1.2K
- Build Mcp1.2K
- Load Issues1.2K
- Create Workflow Command1.2K