NEW Browse AI tools across categories — updated daily. See what's new →

Test Any Prompt

Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagents, supporting A/B testing and regression testing for commands, hooks, skills, and production prompts

AuthorNeoLabHQ
Version1.0.0
LicenseMIT
Token count~670
UpdatedJun 5, 2026

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/NeoLabHQ/context-engineering-kit/tree/master/plugins/customaize-agent/skills/test-prompt
Or pick agent:
npx skills add NeoLabHQ/context-engineering-kit --skill "Test Any Prompt" --agent claude-code
npx skills add NeoLabHQ/context-engineering-kit --skill "Test Any Prompt" --agent cursor
npx skills add NeoLabHQ/context-engineering-kit --skill "Test Any Prompt" --agent codex
npx skills add NeoLabHQ/context-engineering-kit --skill "Test Any Prompt" --agent opencode
npx skills add NeoLabHQ/context-engineering-kit --skill "Test Any Prompt" --agent github-copilot
npx skills add NeoLabHQ/context-engineering-kit --skill "Test Any Prompt" --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add NeoLabHQ/context-engineering-kit --skill "Test Any Prompt"

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/NeoLabHQ/context-engineering-kit.git
cp -r context-engineering-kit/plugins/customaize-agent/skills/test-prompt ~/.claude/skills/
How to use: Once installed, ask your agent to "use the Test Any Prompt skill" or describe what you want (e.g. "Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagen"). Requires Node.js 18+.

Test Any Prompt

Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagents, supporting A/B testing and regression testing for commands, hooks, skills, and production prompts

What is it?
Testing prompts is TDD applied to LLM instructions.

Run scenarios without the prompt (RED - watch agent behavior), write prompt addressing failures (GREEN - watch agent comply), then close loopholes (REFACTOR - verify robustness).

Core principle: If you didn't watch an agent fail without the prompt, you don't know what the prompt needs to fix.

REQUIRED BACKGROUND:

  • You MUST understand tdd:test-driven-development - defines RED-GREEN-REFACTOR cycle
  • You SHOULD understand prompt-engineering skill - provides prompt optimization techniques

Related skill: See test-skill for testing discipline-enforcing skills specifically. This command covers ALL prompts.

How to use it?

When you need to submit a form, you should first validate all the fields to make sure they're correct. After validation succeeds, you can proceed to submit. If validation fails, show errors to the user.

`
**After (37% fewer tokens):**
markdown

``

Key Features

  • Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagents, supporting A/B testing and regression testing for commands, hooks, skills, and production prompts
  • Seamless integration with Claude's development workflow
  • Comprehensive guidelines and best practices for test any promptView on GitHub

GitHub Stats

StarsForksLast UpdateAuthorNeoLabHQLicenseGPL-3.0Version1.0.0

Categories

AI & MLTesting

Tags

prompt-testingtddsubagentab-testingquality-assurance

Features

Related Skills

More from AI & ML

Test Skill with Subagents

Test any Claude skill using RED-GREEN-REFACTOR cycle with subagent pressure testing to verify the skill resists agent rationalization and bypass attempts

433NeoLabHQAI & MLTesting00

Review Local Changes

Multi-agent code review system for uncommitted changes with 6 specialized reviewer roles (security, bug, quality, contract, testing, history), confidence scoring and false positive filtering

433NeoLabHQDeveloper ToolsTesting00

Review Pull Request

Multi-agent PR review system with specialized reviewers, inline comments, and automatic PR description generation using GitHub CLI

433NeoLabHQDeveloper ToolsTesting00

---

Source: https://github.com/NeoLabHQ/context-engineering-kit/tree/master/plugins/customaize-agent/skills/test-prompt
Author: NeoLabHQ
License: https://www.gnu.org/licenses/gpl-3.0.html
GitHub Stars: 433
Tags: prompt-testing, tdd, subagent, ab-testing, quality-assurance

SKILL.md source

---
name: Test Any Prompt
description: Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagents, supporting A/B testing and regression testing for commands, hooks, skills, and production prompts
---

# Test Any Prompt

Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagents, supporting A/B testing and regression testing for commands, hooks, skills, and production prompts

What is it?
Testing prompts is TDD applied to LLM instructions.

Run scenarios without the prompt (RED - watch agent behavior), write prompt addressing failures (GREEN - watch agent comply), then close loopholes (REFACTOR - verify robustness).

Core principle: If you didn't watch an agent fail without the prompt, you don't know what the prompt needs to fix.

REQUIRED BACKGROUND:

* You MUST understand tdd:test-driven-development - defines RED-GREEN-REFACTOR cycle

* You SHOULD understand prompt-engineering skill - provides prompt optimization techniques

Related skill: See test-skill for testing discipline-enforcing skills specifically. This command covers ALL prompts.

## How to use it?
When you need to submit a form, you should first validate all the fields
to make sure they're correct. After validation succeeds, you can proceed
to submit. If validation fails, show errors to the user.

```
`
**After (37% fewer tokens):**

```markdown
`
```

## Key Features

* Universal prompt testing methodology using RED-GREEN-REFACTOR cycle with subagents, supporting A/B testing and regression testing for commands, hooks, skills, and production prompts
* Seamless integration with Claude's development workflow
* Comprehensive guidelines and best practices for test any promptView on GitHub

### GitHub Stats
StarsForksLast UpdateAuthorNeoLabHQLicenseGPL-3.0Version1.0.0

### Categories
AI & MLTesting

### Tags
prompt-testingtddsubagentab-testingquality-assurance

### Features

## Related Skills
More from AI & ML

### Test Skill with Subagents
Test any Claude skill using RED-GREEN-REFACTOR cycle with subagent pressure testing to verify the skill resists agent rationalization and bypass attempts

433NeoLabHQAI & MLTesting00

### Review Local Changes
Multi-agent code review system for uncommitted changes with 6 specialized reviewer roles (security, bug, quality, contract, testing, history), confidence scoring and false positive filtering

433NeoLabHQDeveloper ToolsTesting00

### Review Pull Request
Multi-agent PR review system with specialized reviewers, inline comments, and automatic PR description generation using GitHub CLI

433NeoLabHQDeveloper ToolsTesting00

---

**Source**: https://github.com/NeoLabHQ/context-engineering-kit/tree/master/plugins/customaize-agent/skills/test-prompt
**Author**: NeoLabHQ
**License**: https://www.gnu.org/licenses/gpl-3.0.html
**GitHub Stars**: 433
**Tags**: prompt-testing, tdd, subagent, ab-testing, quality-assurance

Related skills 6

agent-browser

★ Featured Official

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use...

vercel-labs 297k
Testing & Quality

grill-me

★ Featured

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

mattpocock 192k
Testing & Quality

grill-with-docs

★ Featured

Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

mattpocock 138k
Testing & Quality

minimal-run-and-audit

★ Featured

RigorPilot trusted execution and reporting skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized `repro_outputs/` files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end...

lllllllama 127k
Testing & Quality

polish

★ Featured

Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great.

pbakaus 86k
Testing & Quality

critique

★ Featured

Evaluate design from a UX perspective, assessing visual hierarchy, information architecture, emotional resonance, cognitive load, and overall quality with quantitative scoring, persona-based testing, automated anti-pattern detection, and actionable feedback. Use when the user asks to review, critique, evaluate, or give feedback on a design or component.

pbakaus 83k
Testing & Quality