Prompt Lab — Testing skill for Claude Code
A/B test two prompt or skill variants on the same fixtures and score them on a declared rubric.
How to install Prompt Lab
Installs to ~/.claude/skills/romangalaxys10-spec-zcode-prompt-lab-prompt-lab/SKILL.md
mkdir -p ~/.claude/skills/romangalaxys10-spec-zcode-prompt-lab-prompt-lab && curl -fsSL https://raw.githubusercontent.com/romangalaxys10-spec/zcode-prompt-lab/HEAD/commands/prompt-lab.md -o ~/.claude/skills/romangalaxys10-spec-zcode-prompt-lab-prompt-lab/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Prompt Lab does
description: A/B test two prompt or skill variants on the same fixtures and score them on a declared rubric allowed-tools: Agent, Read, Write, Bash, Edit argument-hint: [runs=N]
Invoke the `prompt-lab` skill with this input: **$ARGUMENTS**
Arguments: variant A and variant B (prompt file paths, inline prompts, or skill names), then the fixtures file and the rubric file, optionally `runs=3`.
If no arguments are given: ask for all four inputs (t
Alternatives in Testing
- Sentient — Test prompt to showcase claude code hook blocking a dangerous rm -rf command 3.4k ★
- Ab Variants — Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color tre 309 ★
- Symfony Fixtures — Create test fixtures using Foundry factories for realistic test data 206 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Skill Trigger Lab
Lint, score and live-test whether an agent SKILL.md actually gets triggered. Deterministic offline frontmatter
Eval Suite
Re-score tiny-spec against the SDD evaluation rubric, record it, and report the delta vs the last run.
Ts7 Readiness
Can I use TypeScript 7? A per-package, evidence-linked readiness matrix of the npm tools that touch the TS com
Assignment Stress Test
Run an assignment through Claude models the way students would (lazy paste, rubric-aware, multi-turn), grade e
Design Taste Lab
Extract, test, and codify your design taste into a reusable AI-ready spec. This is an open-source project.
Purple
Plan a purple-team detection-validation exercise using published test procedures (e.g. Atomic Red Team) in a l
Related Agents
AI Evaluation Lead
Use for prompt evaluation with prompt variants, benchmark cases and rubric.
Reviewer Privacy
Read-only privacy review of a diff or a set of files before it lands in a public repo. Use on any PR that touc
Character Judge
Judge for the character-forge variant tournament. Compares revised variants of one concept, weighs critics' ca