Plan Refine — Testing skill for Claude Code
Autonomously stress-test and harden a plan through 6 adversarial perspectives.
How to install Plan Refine
Installs to ~/.claude/commands/primeline-ai-universal-planning-framework-plan-refine.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/primeline-ai/universal-planning-framework/HEAD/.claude/commands/plan-refine.md -o ~/.claude/commands/primeline-ai-universal-planning-framework-plan-refine.md Restart Claude Code, or start a new session, for it to be picked up.
What Plan Refine does
description: Autonomously stress-test and harden a plan through 6 adversarial perspectives argument-hint: [plan-file-path] [--team] model: sonnet
Autonomous Plan Hardening (Stage 1.5)
You are hardening this plan: `$ARGUMENTS`
Read the plan file and stress-test it from 6 adversarial perspectives. Fix what you can, flag what needs user input. Do NOT ask the user any questions - work autonomously.
Pre-Flight Checks
- Read the plan file using the Read tool
- **Check idem
Alternatives in Testing
- Paperjury — Pre-submission AI review stress-test for research papers 1k ★
- Spec Driven Development — Drive Kandev feature work through spec, plan, independent tasks, implementation, QA, and verification 697 ★
- Adversarial Spec — A Claude Code plugin that iteratively refines product specifications by debating between multiple LLMs until a 514 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Hyperplan
Thinking - Adversarial review - 5 hostile critics stress-test a plan/decision/draft in parallel, then keep onl
Production Grade
Production Grade — route any build, feature, review, test, harden, ship, or docs request through the 14-agent
Adversarial Test
Post-build adversarial review — a fresh agent stress-tests recent changes for bugs, regressions, conflicts, an
Agentarena
Adversarial coding-agent evaluation harness that pits Claude Code, Codex, and Gemini CLI against the same repo
Pi Task
Deterministic spec-orchestration for local LLMs in the pi coding agent — drives prompts through refine→researc
Spec Design
Refine design.md for an active change. Surfaces missing constraints, writes the initial draft to disk, then re
Related Agents
Plan Data Model Stress Tester
Stress-tests data models from 4 perspectives - scale, concurrency, evolution,
Challenger
Adversarial reviewer that stress-tests plans and recommendations. Two modes — Red Team (picks an adversary pos
Adversarial Coordinator
Multi-perspective critique to stress-test designs. Runs 3 critic passes with different viewpoints to surface b