porneolabhq·neolabhq· v1.0.0 · atualizado em 2026-04-10
85
Score
Use when creating or editing any prompt (commands, hooks, skills, subagent instructions) to verify it produces desired behavior. Applies a RED-GREEN-REFACTOR cycle to prompt engineering using subagents for isolated testing.
RED Phase (Baseline Testing): — Design test scenarios appropriate for the prompt type. Launch a subagent WITHOUT the prompt and document its behavior, identifying patterns and severity of failures.
2
GREEN Phase (Write Minimal Prompt): — Write a prompt addressing the specific baseline failures documented in the RED phase. Focus on conciseness and appropriate degrees of freedom.
3
Test with Prompt: — Run the same scenarios WITH the prompt using a subagent. Verify that the agent follows instructions, baseline failures no longer occur, and the agent cites the prompt when relevant.
4
REFACTOR Phase (Optimize Prompt): — Improve the prompt while keeping tests passing. Focus on closing loopholes, improving clarity, reducing tokens, and enhancing structure.
5
Re-verify: — Test again with a fresh subagent to ensure the prompt still works after refactoring.
6
Git Commit with Verification: — Commit the verified prompt with a clear message, following specific rules for the commit process.
test a promptverify prompt behaviordebug a promptimprove prompt clarityoptimize a promptuse red-green-refactor for promptstest prompt with subagentsbaseline test a prompt