بنقرة واحدة
omp-plan
OMP-aware strategic planning with interview, direct, consensus, and review modes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
OMP-aware strategic planning with interview, direct, consensus, and review modes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
UI/UX design and frontend component generation
Diagnose and fix build/CI failures automatically
Concurrent code generation via multi-model picker
OMP self-improvement — analyse own skills/agents and propose improvements
Visual diff/screenshot comparison verdict
Clone and adapt a web page/design to the codebase
| name | omp-plan |
| description | OMP-aware strategic planning with interview, direct, consensus, and review modes |
| trigger | plan:, /plan, /omp:plan, /omp-plan, --consensus |
| autoinvoke | false |
| Field | Value |
|---|---|
| ID | omp-plan |
| Keywords | plan:, /plan, /omp:plan, /omp-plan, --consensus |
| Tier | Execution Mode |
| Source | src/skills/omp-plan.mts |
Strategic planning mode with optional interview workflow. Supports four modes: Interview (broad requests), Direct (detailed requests), Consensus (iterative Planner/Architect/Critic loop with RALPLAN-DR structured deliberation), and Review (Critic evaluation of an existing plan). Delays implementation until the plan is approved.
interface SkillInput {
trigger: string;
args: string[];
}
interface SkillOutput {
status: "ok" | "error";
message: string;
}
export async function activate(input: SkillInput): Promise<SkillOutput>
export function deactivate(): void
Activates the plan strategic planning mode by spawning bin/omp.mjs plan [args]. No persistent resources are maintained.
omp-plan [--direct|--consensus|--review] [--interactive] [--deliberate] <task description>
| Flag | Description |
|---|---|
--direct | Skip interview, generate plan immediately |
--consensus | Run Planner → Architect → Critic loop (RALPLAN-DR) |
--review | Critic evaluation of an existing plan |
--interactive | Enable user prompts at draft review and final approval steps (consensus mode) |
--deliberate | Force deliberate RALPLAN-DR mode: adds pre-mortem + expanded test plan |
| Mode | Trigger | Behavior |
|---|---|---|
| Interview | Default for broad requests | Interactive requirements gathering |
| Direct | --direct, or detailed request | Skip interview, generate plan directly |
| Consensus | --consensus, "ralplan" | Planner → Architect → Critic loop until agreement with RALPLAN-DR structured deliberation (short by default, --deliberate for high-risk); add --interactive for user prompts at draft and approval steps |
| Review | --review, "review this plan" | Critic evaluation of existing plan |
AskUserQuestion for preferences, scope, and constraintsQuestion Classification:
| Type | Examples | Action |
|---|---|---|
| Codebase Fact | "What patterns exist?", "Where is X?" | Explore first, do not ask user |
| User Preference | "Priority?", "Timeline?" | Ask user via AskUserQuestion |
| Scope Decision | "Include feature Y?" | Ask user |
| Requirement | "Performance constraints?" | Ask user |
--consensus / "ralplan")RALPLAN-DR modes: Short (default, bounded structure) and Deliberate (for --deliberate or explicit high-risk requests: auth/security, data migration, destructive/irreversible changes, production incident, compliance/PII, public API breakage). Both modes keep the same Planner → Architect → Critic sequence and the same AskUserQuestion gates.
Consensus mode runs fully automated by default; add --interactive to enable user prompts at draft review (step 2) and final approval (step 6).
Planner creates initial plan and a compact RALPLAN-DR summary before any Architect review. The summary MUST include:
User feedback (--interactive only): If running with --interactive, MUST use AskUserQuestion to present the draft plan plus the RALPLAN-DR Principles / Decision Drivers / Options summary with these options:
--interactive, automatically proceed to review (step 3).Architect reviews for architectural soundness. Adopt the Architect role and review the plan for:
Wait for this step to complete before proceeding to step 4. Do NOT run steps 3 and 4 in parallel.
Invoke the architect agent to review the plan. If using a sub-agent: "Adopt the Architect role and review this plan for architectural soundness. Provide the strongest steelman antithesis against the favored option, at least one real tradeoff tension, and a synthesis path where possible."
Critic evaluates against quality criteria. Run only after step 3 is complete.
Invoke the critic agent to evaluate the plan. If using a sub-agent: "Adopt the Critic role and evaluate this plan. Verify principle-option consistency, fair alternative exploration, risk mitigation clarity, testable acceptance criteria, and concrete verification steps. Reject shallow alternatives, driver contradictions, vague risks, or weak verification."
Re-review loop (max 5 iterations): If Critic rejects, execute this closed loop:
a. Collect all rejection feedback from Architect + Critic
b. Pass feedback to Planner to produce a revised plan
c. Return to Step 3 — Architect reviews the revised plan
d. Return to Step 4 — Critic evaluates the revised plan
e. Repeat until Critic approves OR max 5 iterations reached
f. If max iterations reached without approval, present the best version to user via AskUserQuestion with note that expert consensus was not reached
Apply improvements: When reviewers approve with improvement suggestions, merge all accepted improvements into the plan file before proceeding. Final consensus output MUST include an ADR section with: Decision, Drivers, Alternatives considered, Why chosen, Consequences, Follow-ups.
a. Collect all improvement suggestions from Architect and Critic responses
b. Deduplicate and categorize the suggestions
c. Update the plan file in .omp/plans/ with the accepted improvements
d. Note which improvements were applied in a brief changelog section at the end of the plan
On Critic approval (--interactive only): If running with --interactive, use AskUserQuestion to present the plan with these options:
omp:teamomp:ralphomp:ralph with the saved plan file--interactive, output the final approved plan and stop. Do NOT auto-execute.(--interactive only) User chooses via the structured AskUserQuestion UI (never ask for approval in plain text).
(--interactive only) On user approval:
omp:team with the approved plan path from .omp/plans/ as context. Do NOT implement directly.omp:ralph with the approved plan path from .omp/plans/ as context. Do NOT implement directly.omp:ralph with the approved plan path.Used by default in consensus mode. Bounded structure with four mandatory sections:
Enabled with --deliberate or when the request explicitly signals high risk. Adds to the short mode:
--review).omp/plans/Every plan includes:
Plans are saved to .omp/plans/. Drafts go to .omp/drafts/.
--interactive to enable user prompts--deliberate or when the request signals high risk.omp/plans/--interactive: user explicitly approved before any execution; without --interactive: plan output only, no auto-execution--interactive outputs the final plan and stops; with --interactive, requires explicit user approval before any implementation beginsomp:ralph for execution — do NOT implement directly in the planning agent