craft-skill

Enforce Test-Driven Development principles for creating and verifying AI agent skills.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/jpeggdev/buildwithjpegg --skill craft-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: craft-skill
Source: https://github.com/jpeggdev/buildwithjpegg/tree/main/plugins/development-workflow/skills/craft-skill
Command: npx skills add https://github.com/jpeggdev/buildwithjpegg --skill craft-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill ensures that new and updated skills are robust, well-documented, and effectively guide AI agents by applying Test-Driven Development (TDD) principles to the skill creation process.

Core Features & Use Cases

  • TDD for Skills: Enforces the RED-GREEN-REFACTOR cycle for skill development, ensuring skills are written only after their necessity is proven by failing test scenarios.
  • Bulletproofing: Provides methods to identify and close loopholes, preventing AI agents from rationalizing around skill instructions under pressure.
  • Use Case: When developing a new skill for enforcing code review standards, you would first write pressure scenarios to see how agents bypass current guidelines (RED), then write the skill to address those specific bypasses (GREEN), and finally test against new rationalizations to ensure compliance (REFACTOR).

Quick Start

Use the craft-skill skill to create a new skill by following the RED-GREEN-REFACTOR process.

Frequently Asked Questions about craft-skill

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

FAQPage Schema
How do I use TDD to develop better AI agent skills?

To use TDD for AI agent skills, you first write a failing test scenario proving the skill's necessity, then create the skill to pass that scenario, and finally refactor to close loopholes. This RED-GREEN-REFACTOR cycle ensures robust agent behavior.

Why does my AI agent bypass skill instructions under pressure?

AI agents bypass skill instructions under pressure by rationalizing around procedural rules. You can prevent this by applying TDD to skill development, which uses pressure scenarios to identify and close loopholes before finalizing the instructions.

What is the best way to document AI agent skills effectively?

The best way to document AI agent skills effectively is to enforce Test-Driven Development principles. By requiring a failing test scenario before skill creation, you ensure the documentation directly addresses specific operational bypasses and procedural rules.

How do I bulletproof skill instructions against agent rationalizations?

To bulletproof skill instructions against agent rationalizations, you iteratively test against new pressure scenarios after the initial skill creation. This refactoring phase ensures strict compliance by identifying and closing loopholes where agents might bypass guidelines.

Can I use TDD principles for refactoring existing AI agent skills?

Yes, you can use TDD principles for refactoring existing AI agent skills. By writing new pressure scenarios to see how agents bypass current guidelines, you can iteratively refine the skill to ensure strict compliance under pressure and improve documentation.

When do I need test-driven development for skill creation?

You need test-driven development for skill creation when solving the problem of poorly documented or ineffective AI agent skills. It enforces procedural compliance by requiring a failing test scenario before skill creation to prove its necessity.