e0ipso/strikethroo/st-refine-plan
Claude Code and agent skill by e0ipso/strikethroo
- community
Checking that the SKILL.md file is still in the repository.
Use when the user asks to review, refine, improve, interrogate, pressure-test, or update an existing Strikethroo plan by plan ID in this repository — triggers include refine plan, improve plan, review plan, red-team the plan, update plan. Do not use to create a new plan, to generate tasks, or for generic brainstorming outside Strikethroo.
Install
npx vskill@latest install e0ipso/strikethroo/st-refine-planSKILL.md
st-refine-plan
Inputs
The user supplies the numeric plan ID conversationally, plus any optional refinement notes.
Operating Procedure
1. Locate the strikethroo root
Run scripts/find-strikethroo-root.cjs from the user's working directory. If it exits non-zero, stop and ask the user to run npx strikethroo init.
Treat the path it prints as <root> for every subsequent step.
2. Resolve the plan
Run scripts/validate-plan-blueprint.cjs <plan-id> planFile for the plan file's absolute path. Another field name prints that field instead.
If the script exits non-zero, stop and ask the user to confirm the plan ID. Do not guess a different ID.
3. Load project context
Read <root>/config/STRIKETHROO.md for this project's directory conventions. Read <root>/config/hooks/PRE_PLAN.md and execute its instructions before proceeding. Read <root>/config/templates/PLAN_TEMPLATE.md; the refined plan must still conform to it. Read <root>/config/shared/clarification-gate.md and apply it in the Clarification Loop.
4. Baseline Review
Read the entire plan end-to-end without modifying it. Record every contradiction and every gap you find under these lenses:
- Context gaps: missing background, assumptions, competing priorities.
- Technical gaps: underspecified architecture, unclear interfaces, missing diagrams.
- Risk gaps: untracked risks, missing mitigations, hand-wavy success metrics.
- Scope issues: gold-plating, ambiguous boundaries, requirements that
contradict YAGNI.
Document each one as {section, issue, severity, proposed fix}.
5. Clarification Loop
Default to Interactive Clarification. Switch to Autonomous Clarification only when one of these holds without interpretation:
- The user's request names the mode by intent, with a keyword such as "auto",
"autonomous", "non-interactive", "without asking me", or "don't ask".
- An upstream orchestrator (for example the
st-full-workflowskill) declared
autonomous operation for this invocation in the prompt passed to this skill.
Otherwise use Interactive Clarification, even when the user's presence is uncertain. Do not infer autonomous mode from indirect signals such as terse prompts, scripted-looking input, or absence of recent user messages.
Either branch starts from the gaps documented in the Baseline Review. Think harder before raising one: only put forward an uncertainty you can cite. Append every resolution to the plan document's "Plan Clarifications" table in its existing question/answer format, marking each entry's source.
Interactive Clarification
Follow the clarification cadence in <root>/config/shared/clarification-gate.md.
- Ask one question at a time per that cadence; never dump them as a batch.
- Prefill each question with the most plausible answer, and always offer an
"Other / open-ended" option for the nuances you did not anticipate.
- STOP AND ASK: Put each question to the user and halt execution to await
their input. Do not simulate the user's response. Do not proceed to step 6 until you have received explicit answers and confirmed the resolved scope.
- Record a question the user cannot or will not answer as unresolved, with
mitigation notes so downstream assistants know the risk, then proceed with the available context.
- Re-evaluate whether the answers opened new gaps. If so, repeat this loop.
Autonomous Clarification
- Resolve each gap from the codebase, its configuration files, its
documentation, and the project's established patterns. Fall back to a reasonable assumption only where those do not answer it.
- Mark each resolution's source as "auto-resolved" (confirmed in the
codebase) or "assumption" (best-effort guess, with its rationale).
- Record a gap you can resolve neither way as unresolved, with mitigation
notes so downstream assistants know the risk.
6. Refinement Implementation
Refine the plan in place, at the path step 2 resolved.
- Maintain Identity: Keep the existing
idand directory. Never allocate
a new plan ID and never move the plan.
- Structure Compliance: Keep the plan conformant to
<root>/config/templates/PLAN_TEMPLATE.md, adding any missing section.
- Content Updates:
- Refresh the executive summary against the clarifications.
- Update the architectural sections, diagrams, and risk mitigations the
gaps named.
- Trim scope creep that is not explicitly required.
- Point each affected section back at the Q&A table.
- Net-New Sections: Add a subsection the plan now needs (Decision Log,
Data Contracts) under Notes, clearly labeled.
- Change Log: Append to
Notesa bullet stating what this session
changed, such as - 2025-03-16: Clarified auth flow tokens and updated architecture diagram.
7. Run the post-plan hook
Execute <root>/config/hooks/POST_PLAN.md.
Before you write the final response, run scripts/check-for-updates.cjs "<root>" as a separate command using this skill's script path. Keep the user's working directory. Read the one JSON line on stdout. Never pause for permission and never run an update. When notice is present, append its exact text after the structured summary block, or after your final response when this skill emits no summary block. Nothing may follow the notice.
Failure Modes
- A helper script fails unexpectedly. Surface stderr to the user and
stop — do not fall back to manual path discovery.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/st-refine-plan/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 3
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/e0ipso/strikethroo/st-refine-plan)