implementation-plan
Produce a structured Implementation Plan for a feature, experiment, refactor, or research task. Uses a detailed template covering Overview, Objectives, Success Metrics, Mathematical Foundations (if applicable), Phases, Tools, Validation Strategy, Risks, Timeline, and References. Gathers real context from the repo using tools. Use when the user says "implementation plan", "create an implementation plan for...", "/implementation-plan", "grok-task-v3-implementation-plan", or asks for a phased plan with validation.
- License 许可
- MIT
- 最近更新
- 2026-07-19
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- implementation-plan
- metadata
- { "source": "ported-from-codex/grok-task-v3-implementation-plan", "original_codex": "grok-task-v3-implementation-plan", "short-description": "Structured implementation plan with phases, metrics, risks, and validation" }
- description
- Produce a structured Implementation Plan for a feature, experiment, refactor, or research task. Uses a detailed template covering Overview, Objectives, Success Metrics, Mathematical Foundations (if applicable), Phases, Tools, Validation Strategy, Risks, Timeline, and References. Gathers real context from the repo using tools. Use when the user says "implementation plan", "create an implementation plan for...", "/implementation-plan", "grok-task-v3-implementation-plan", or asks for a phased plan with validation.
- when-to-use
- Use when the user requests a formal implementation plan, phased rollout strategy, or the specific "Implementation Plan" workflow on current task/context/files.
- argument-hint
- <short description of the proposed work or feature>
03 SKILL.md 正文
Implementation Plan
You are producing a high-quality, evidence-based Implementation Plan.
Invocation
User runs:
/implementation-plan <description of the work>
Or attaches files, links, or refers to "the current task".
Step 0: Gather Real Context (Mandatory)
Before writing any plan section:
- Use
list_dirandread_file(andgrepwhere useful) on the current workspace to understand the project structure, existing code, docs, AGENTS.md, README, tests, and relevant modules. - If GitHub-related or external refs are mentioned, use the connected
grok_com_githubMCP tools (first discover exact tool schemas via the MCP protocol if names are not known; common ones include list_issues, search_issues, get_file_contents, list_pull_requests, get_commit, etc.). - Run
run_terminal_cmdforgit status,git log --oneline -20,git branchas needed to understand recent activity. - If the task references specific papers, gists, or external sites, use
open_pageorweb_search(orweb_fetch) to fetch accurate information. - Record key findings (file paths, function names, current limitations, data sources) that the plan must address.
Never invent module names, paths, or metrics. Only document what you actually observed or can measure.
Step 1: Draft the Plan Using the Template
Fill every section of the template below. Keep the headings exactly as shown. Use plain, precise language (combine with /grade-ten if requested).
Implementation Plan Template
Project Title
[Concise title for the proposed feature, experiment, or extension]
Overview
[Brief description of the core idea or problem. Link to broader project goals. State motivation with evidence from the repo scan in Step 0.]
Key Themes Alignment
- [List 2-5 themes the work advances, e.g. "Empirical Validation First", "Structural invariants", "Reproducibility"]
- Base these only on actual project documents (AGENTS.md, README, existing code comments).
Objectives
Primary Objective [One clear sentence describing the main deliverable and success condition.]
Secondary Objectives
- [Measurable sub-goals, each with a concrete deliverable]
Success Metrics
- Quantitative: e.g. "Throughput improvement of X% on benchmark Y measured via Z script"
- Qualitative: e.g. "All new code passes
ruff checkand existing test suite with 0 new failures" - Validation: Specific statistical or acceptance criteria the work must meet
Mathematical / Theoretical Foundations (if applicable)
[Core equations, models, or invariants the work rests on. Cite exact sources in the repo or external references fetched in Step 0. Mark any novel hypotheses clearly as such and note the empirical support observed so far.]
Assumptions and Priors
- [Only list assumptions you can verify or have evidence for from the current codebase/state]
Novel Hypotheses
[Only if supported by data you gathered. State the hypothesis + the exact observation or correlation that supports it.]
Implementation Phases
Break into sequential, testable phases. Each phase must produce a minimal viable artifact (code, script, doc, benchmark result) that can be reviewed independently.
Phase 1: [Name]
- Tasks: ...
- Deliverables: (specific files or outputs)
- Estimated Effort: (days or story points)
- Validation: (how you will know it succeeded before moving on)
(Repeat for Phase 2, 3, ... 4. Keep total realistic.)
Tools and Technologies
- Languages:
- Libraries / Frameworks:
- Build / Test / Lint commands (exact, from repo):
- Benchmarking approach:
- Documentation standards:
Validation and Testing Strategy
Unit / Integration Tests
- ...
Benchmark Suite
- ...
Static Analysis / Linters
- ...
Manual / Acceptance Checks
- ...
Risks and Mitigations
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| ... | ... | ... | ... |
Timeline
Use a simple table of milestones with dependencies.
| Milestone | Target | Dependencies | Status |
|---|---|---|---|
| ... | ... | ... | [ ] |
References and Resources
- Repo files examined: (list absolute paths + key excerpts)
- External sources fetched: (URLs + 1-sentence summary of what was learned)
- Related issues / PRs: (use MCP tools to list real ones)
Step 2: Review Your Own Draft
Before presenting:
- Cross-check every claim against the evidence you gathered in Step 0.
- Ensure no fabricated paths, function names, or performance numbers.
- If any section cannot be filled with real data, explicitly mark it "To be determined after Phase 1 exploration" and explain why.
Step 3: Present and Offer Refinements
Output the complete filled template in Markdown.
Offer next steps:
- "Would you like me to expand any phase into a technical task (
/technical-task) or user story (/user-story)?" - "Shall I create the experiments/ folder and initial stub files for Phase 1?"
- "Run the plan through a second-opinion review?"
Success Criteria for This Skill
- Every concrete claim (file names, commands, metrics, current behavior) is backed by tool output you actually performed.
- The plan is actionable by a competent engineer who has never seen the repo before.
- Risks are realistic given the actual state of the codebase.
- Timeline accounts for the need to run real builds/tests/benchmarks (not optimistic guesses).
For This Repo (Prime Gap Structure)
When the plan touches number-theoretic code, the plan must respect the AGENTS.md contract: PGS objects → PGS invariants → PGS rule/law → resolved/unresolved/invalidated state. Classical probabilistic methods are secondary and only enter for explicit comparison or legacy prefilter code.
Related Skills
/technical-design-documentfor deeper architecture capture/technical-taskto turn a phase into a GitHub-ready issue/user-storyfor product-oriented breakdown/grade-tento render the final plan in plain English
04 同仓库更多 Skills
Zotero
Use Zotero Desktop from Codex to enable/probe the local API, search a local Zotero library, list items/collections/tags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX/RIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.
zoom-apps-sdk
Use when using Apps SDK.
youtube
Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript. Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or "what does this video actually say". The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content. Triggers: "youtube transcript", "get the transcript of this video", "summarize this youtube video", "what did they say in https://youtube.com/...", "key claims from this talk".
yeet
Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.
x-post-creator
Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, /x-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs/x-posts/[story-name]/.
x-api
Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X/x.com, reading threads and replies, creating lists, staging/publishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions /x-api or "search X".