refine-implementation-plan
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "refine-implementation-plan" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-72a5404166e7ab6b34e0324f3df979d84ad2c9e80baf9f6c9be9fcc723584f62. Verify the upstream source and version against https://skillhub.cn/skills/user_ac28eb50/refine-implementation-plan before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Refine Implementation Plan — Refine an existing file-based plan into an actionable engineering handover plan using repository gap analysis, decision-centric user discussions, contract freezing, phase decomposition, and readiness checks. Use only after planning-with-files has created active_task_plan.md, findings.md, and progress.md, and call collaboratively with planning-with-files during refinement; not to be used to initialize planning files, perform general planning, or directly implement the plan.
Introduction source: third_party · user_ac28eb50 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Refine an existing planning-with-files plan into an implementation-ready engineering handoff through repository-grounded gap analysis, decision-focused user discussion, contract freezing, phase decomposition, and readiness checks. Use only after planning-with-files has created the active task_plan.md, findings.md, and progress.md, and invoke alongside planning-with-files during refinement. Do not use to initialize planning files, perform generic planning, or implement the plan.
- Testing
- Not tested
Browse files
Frontmatter
name: refine-implementation-plan
description: Refine an existing planning-with-files plan into an implementation-ready engineering handoff through repository-grounded gap analysis, decision-focused user discussion, contract freezing, phase decomposition, and readiness checks. Use only after planning-with-files has created the active task_plan.md, findings.md, and progress.md, and invoke alongside planning-with-files during refinement. Do not use to initialize planning files, perform generic planning, or implement the plan.Refine Implementation Plan
Turn an existing file-backed plan from a planning draft into a frozen, executable handoff for another Implementer. Treat planning-with-files as the unchanged persistence substrate and this skill as a temporary design-refinement layer.
Preserve the boundary
- Require
$planning-with-filesto be active in the same refinement entry or resume request. If it is not active, ask the user to invoke both skills and stop. - Use the active plan directory already selected by
planning-with-files. Do not create, select, move, rename, or migrate planning files. - Never edit, copy, replace, or extend the installed
planning-with-filesskill, its templates, scripts, hooks, or references. - Extend only the active plan's existing
task_plan.md,findings.md, andprogress.md. - Follow the base skill's persistence, recovery, phase-status, error-recording, and reboot rules without restating or reimplementing them.
- Do not modify product code, configuration, tests, or generated artifacts while refining. Read-only repository inspection and planning-file edits are allowed.
- Use Designer and Implementer as roles. Do not bind the workflow to a particular model name.
Enter refinement
- Confirm that the base skill resolved an active plan and that all three planning files exist. If any are missing, report the missing prerequisite and stop; do not repair the substrate yourself.
- Read all three files completely. Answer the base skill's five reboot questions from disk rather than chat memory.
- Inspect repository status and preserve all existing user changes. Establish the relevant code, tests, configuration, documentation, and public surfaces before proposing decisions.
- Read planning-file-extensions.md, then idempotently add or update only the refinement sections it defines. Never create duplicate headings or parallel decision stores.
- Set the workflow stage to
exploringorrefining, the current role todesigner, and implementation authorization tono.
Run the refinement loop
Repeat this loop until the handoff gate passes:
- Ground in evidence. Explore the current implementation, tests, conventions, and constraints. Record facts and source locations in
findings.mdas they are discovered. - Map contract gaps. Read decision-refinement.md. Check only relevant contract surfaces and classify each unresolved item as researchable fact, user decision, recommended default, implementation discretion, or out of scope.
- Ask decision questions. Ask only questions whose answers change observable behavior, safety, data durability, compatibility, operations, or the structure of the implementation plan. Batch a small coherent set, provide a recommended default and concrete impact for each, and allow compact replies such as "all recommended."
- Discuss before concluding. Treat user questions as joint exploration, not automatic rejection. Explain why the current recommendation exists, compare the new alternative under its valid conditions, and revise only when the evidence or user choice warrants it.
- Write through immediately. After each answer, update the canonical outcome and phase impact in
task_plan.md, detailed evidence and rationale infindings.md, and the chronological question round inprogress.md. Use stable decision IDs instead of repeating paragraphs. - Rebuild the executable plan. Refine affected phases, dependencies, public contracts, failure behavior, defaults, migration or recovery rules, tests, and acceptance criteria. Leave local code-organization choices to the Implementer unless they are unusually fragile.
- Recheck gaps. Mark replaced decisions
superseded, reopen every affected phase, and continue. Do not hide unresolved choices inside implementation tasks.
Freeze the handoff
Read handoff-readiness.md in full before claiming that design is complete.
- Require every applicable readiness check to pass and every blocking decision to be confirmed or explicitly delegated.
- Obtain explicit user acceptance if the user has not already authorized the consolidated recommended choices.
- Set the workflow stage to
implementation_ready, implementation authorization toyes, and identify the exact entry phase. - Mark discovery and design phases complete, but do not mark the overall task complete or start implementation.
- Record remaining implementation discretion, verification expectations, and any per-phase commit convention.
- If the repository uses Git, recommend a focused design-checkpoint commit, but do not create it without user authorization.
- End with a concise handoff summary: active plan, entry phase, frozen decision range, open blocking decisions (
nonewhen ready), and next invocation ($planning-with-fileswithout this skill).
If the user requests implementation while this skill is active, finish or validate the handoff and stop. Begin implementation in a later request using planning-with-files without this refinement skill.
Reopen design safely
When a later requirement changes a frozen contract:
- Re-enter with both skills.
- Change the workflow stage from
implementation_readyorimplementingback torefining. - Set implementation authorization to
nowhile the affected contract is open. - Mark replaced decisions
superseded, preserve their history, and reopen affected phases and acceptance criteria. - Repeat the refinement and handoff gates before implementation resumes.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
Skill 文档中缺少明确的 When to Use 章节,虽然 description 中有所提及,但作为独立章节会更清晰。
Recommendation: 建议在 Skill 文档中添加 When to Use 章节,明确说明其适用场景和前提条件。
-
文档较长 Reported severity: Minor
Skill 文档内容较为详尽,可能导致用户阅读负担较重。
Recommendation: 可以考虑将部分详细说明移至附录或外部链接,保持主文档的简洁性。
Highlights
- Skill 针对明确的工程协作场景,解决了从设计计划到实施计划的关键交接问题,具有较高的实用价值。
- 功能定位清晰,与 planning-with-files 技能形成良好的互补关系,提升了整体工作流的效率。
Highlights
- 触发词精准完整,明确指出了使用前提、核心功能和禁止用途,边界清晰,不易误触或漏触。
Highlights
- Skill 结构清晰,阶段划分明确,步骤详细,包含了端到端的执行流程示例,frontmatter 完整,易于理解和执行。
Highlights
- Skill 明确指出了依赖的外部文件和如何处理缺失情况,涵盖了主要异常情况,不可逆操作有确认机制,执行可靠性高。
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.