用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/disler/planf3 --skill planf3命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | planf3 |
| description | Creates a concise engineering implementation plan based on user requirements and saves it to specs directory |
| argument-hint | [user-prompt] [questionable] |
Create a detailed, HTML-first implementation plan based on the USER_PROMPT variable. The plan is authored as a single self-contained .html page so it can be opened in a browser, embed focused images with a synced visual identity, and be created/updated/consumed by the agent trifecta (engineer, team, AI agents). Analyze the request, think through the implementation approach, follow the ## Instructions, and work through the ## Workflow to produce the plan from the ## Plan Template.
USER_PROMPT: $1
QUESTIONABLE: $2 - default false
PLAN_OUTPUT_DIRECTORY: specs/
PLAN_FILE: PLAN_OUTPUT_DIRECTORY/<descriptive-kebab-name>.html
IMAGES_OUTPUT_DIR: PLAN_OUTPUT_DIRECTORY/<plan-name>/
AI_DOCS: AI_DOCS/
APP_DOCS: APP_DOCS/
IDE: code
BROWSER: chrome
USER_PROMPT is provided, stop and ask the user to provide itUSER_PROMPT variable.html document from the ## Plan Template below{{PLACEHOLDER}} variables — replace EVERY {{...}} with real content. Do not leave any {{}} token in the final file<!-- repeat --> are repeatable: duplicate them as many times as the plan needs (e.g. one block per phase, task, file, or Q&A entry) and delete the comment markers<style> block; do not link external stylesheets or scriptsUSER_PROMPT that created the plan. The CSS custom properties in :root define the palette/typography. Any embedded image must be generated to match this same identity.{{...IMAGE}} slots. During Create, leave them as commented placeholders noting the intended subject; the Image Generation workflow fills them latercreated, modified, commits, agent, session, back/forward references) — these are updatable across the plan's lifecycle. Every metadata field except CREATED_ISO is a comma-separated list that must only ever be appended to — never overwrite or remove existing entriesQUESTIONABLE is true, actively surface open questions/assumptions in the toggleable Q&A section rather than silently decidingPLAN_FILE using a descriptive kebab-case filenameBased on the USER_PROMPT, select the single best-matching workflow below and read its file for the step-by-step instructions before acting.
| Workflow | When to call it | File to read |
|---|---|---|
| Create Plan | The prompt asks to plan, spec, or design new work and no existing plan is referenced | workflows/create-plan.md |
| Update Plan | The prompt asks to change, extend, or revise the content of an existing plan | workflows/update-plan.md |
| Update References | The prompt asks to refresh plan metadata or back/forward references (created, modified, commits, agent, session) | workflows/update-references.md |
| Build Plan | The prompt asks to implement, execute, or carry out the work described in an existing plan | workflows/build-plan.md |
Called by other workflows rather than selected directly from the USER_PROMPT.
| Subworkflow | When it's called | File to read |
|---|---|---|
| Image Generation | Invoked by other workflows (e.g. Create Plan) to generate, fill, or regenerate the embedded images in a plan | workflows/image-generation.md |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Plan: {{PLAN_TITLE}}</title>
</head>
<body>
<main>
<!-- ===== HEADER + UPDATABLE METADATA ===== -->
<header>
<h1>Plan: {{PLAN_TITLE}}</h1>
<details class="meta">
<summary>Metadata</summary>
<dl>
<dt>created</dt> <dd>{{CREATED_ISO}}</dd>
<dt>modified</dt> <dd>{{MODIFIED_ISO_LIST}}</dd>
<>commits {{COMMIT_SHA_LIST}}
agent name {{AGENT_NAME_LIST}}
session id {{SESSION_ID_LIST}}
back refs {{BACK_REFERENCES}}
forward refs {{FORWARD_REFERENCES}}
{{HERO_IMAGE_CAPTION}}
Purpose
{{PURPOSE}}
Problem
{{PROBLEM}}
{{PROBLEM_IMAGE_CAPTION}}
Solution
{{SOLUTION}}
{{SOLUTION_IMAGE_CAPTION}}
Relevant Files
Existing Files
existing {{EXISTING_FILE_PATH}} — {{WHY_RELEVANT}}
New Files
new {{NEW_FILE_PATH}} — {{WHY_NEEDED}}
Implementation Phases
IMPORTANT: Execute every phase and task step by step, in order, top to bottom.
Status markers: [] idle · [wip] in progress · [x] complete · [f] failed. All start as []; the Build Plan workflow updates them as it works.
[] Phase {{PHASE_NUMBER}}: {{PHASE_NAME}}
{{PHASE_DESCRIPTION}}
{{PHASE_IMAGE_CAPTION}}
{{TASK_NUMBER}}. {{TASK_NAME}}
[] {{SPECIFIC_ACTION}}
{{LAST_TASK_NUMBER}}. Testing Strategy
{{TESTING_APPROACH: technology used to test/validate, including edge cases}}
[] {{VALIDATION_COMMAND}} — {{WHAT_IT_PROVES}}
🔁 Do not exit this phase until every box above is checked.
If any command fails, fix the cause and re-run — loop until all pass.
Validation Commands
Execute these commands to validate the entire plan is complete:
[] {{VALIDATION_COMMAND}} — {{WHAT_IT_PROVES}}
🔁 The plan is not complete until every box is checked and every command passes. If for some reason a step is not possible to complete, mark it with [f] and move on if possible.
Questionables
{{QUESTIONABLES_IMAGE_CAPTION}}
{{QUESTIONABLE}}
{{ASSUMPTION_OR_RATIONALE}}
Notes
{{NOTES: free-form. Capture anything that helps the trifecta understand, build,
or extend this plan — context, dependencies (new libraries via `uv add`),
tradeoffs, rejected approaches, risks, future work, references. Author rich,
bespoke HTML as needed.}}
{{NOTES_IMAGE_CAPTION}}
Amendments
{{AMEND_ISO}} — {{AMEND_SUMMARY}}
{{AMEND_DETAIL: what changed and why}}