.config/opencode/skills/workflow-implement-plan/SKILL.md
This skill should be used when executing an approved implementation plan with batch checkpoints. It implements tasks in batches of 3, stops for review after each batch, and handles mismatches or blockers by asking for guidance rather than guessing.
npx skillsauth add alexismanuel/dotfiles workflow-implement-planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implement an approved technical plan generated from the workflow-create-plan skill, typically saved in ./plan.md. Execute tasks in batches with checkpoints, following TDD approach and stopping when blocked.
Type: RIGID - Follow batch execution exactly. Don't skip verifications or guess when blocked.
Input: A plan file with YAML frontmatter containing PRD/research sources.
Use this workflow when:
Announce at start: "I'm using the implement-plan workflow to execute this plan."
verification-before-completion skill before any completion claimsWhen invoked (e.g., with path/to/plan-file.md [optional: phase-to-start]), respond with:
I'm ready to implement the plan. I'll read the plan file, referenced PRD/research, and key code files, then track progress via a todo list. We'll proceed phase-by-phase, adapting as needed. If specifying a starting phase (e.g., "Phase 2"), provide it; otherwise, we'll resume from the first unchecked task.
Parse arguments:
plan_file: Absolute path to the plan Markdown file (must have YAML frontmatter with PRD/research sources).start_phase (optional): Phase name (e.g., "Core Implementation") to jump to; default to current progress.When no plan file is provided, try to look for the ./plan.md file. If one is present, use it.
Validate paths using List tool. If invalid or no frontmatter, prompt: "Please provide a valid plan file path from the workflow-create-plan output."
file.py:123) listed in the plan.git rev-parse HEAD), branch (git branch --show-current).Detect project language from config files:
pyproject.toml, setup.py, requirements.txt → Pythonpackage.json → TypeScript/JavaScriptgo.mod → GoCargo.toml → RustFor Python projects, MUST:
python-dev-guidelines skill using the skill toolpython-testing-guidelines skill using the skill toolMock Detection (Python only):
If plan contains any of: Mock, MagicMock, AsyncMock, patch(, @patch, unittest.mock:
⚠️ Plan contains mock usage which violates python-testing-guidelines.
Mocks found in: [list task numbers/locations]
Required pattern: Dummy classes inheriting from real classes.
Example:
class DummyGateway(RealGateway):
def __init__(self):
self.calls = []
def method(self):
self.calls.append("method")
Options:
a) Update plan tasks to use dummy pattern before implementing
b) Proceed anyway (not recommended - violates guidelines)
c) Stop and discuss with user
Wait for user decision before proceeding.
Spawn 1-2 parallel Task agents only for mismatches/gaps:
codebase-analyzer: For adaptations (prompt: "Analyze how to implement [task] adapting to current codebase changes since [plan date]. Use patterns from [code refs]. Return updated code examples and file paths.").codebase-locator: For missing refs (prompt: "Locate current files for [plan component], e.g., updated auth module.").Wait for results; incorporate into todos (e.g., update task with new paths/examples). Limit to essential—prefer direct tools (Grep/Read) for simple locates.
Default batch size: 3 tasks
For each task in the batch:
in_progress in todowritecompletedAfter each batch, STOP and report:
Batch complete (Tasks 1-3).
Implemented:
- [Task 1]: [Brief summary of what was done]
- [Task 2]: [Brief summary]
- [Task 3]: [Brief summary]
Verification output:
[Test/lint/build results]
Ready for feedback.
Wait for user feedback before continuing to next batch.
Python-specific verification (add to batch report if Python project):
ruff check . for lintingmypy . for type checking (if mypy.ini or pyproject.toml has mypy config)grep -r "from unittest.mock" --include="*.py")If mock imports detected during implementation:
⚠️ Mock import detected in [file]:
[line content]
This violates python-testing-guidelines. Replace with dummy class pattern.
Stopping batch for correction.
If mismatch found, STOP immediately:
Mismatch in [Task/Phase]:
Plan: [expected, e.g., "Use existing Auth hook"]
Found: [actual, e.g., "Hook refactored to useContext"]
Impact: [why it matters, e.g., "Breaks dependency on legacy component"]
Proposal: [suggestion, e.g., "Update to new hook; est. +1h"]
Proceed? (y/n/adjust)
## Implementation Log [ISO timestamp].CRITICAL: Use verification-before-completion skill before claiming anything is done.
systematic-debugging skill to investigate root causeOn full completion:
Implementation complete.
Verification evidence:
- Tests: [X/X passing - show output]
- Lint: [0 errors - show output]
- Build: [exit 0 - show output]
Summary: [3-5 bullets on changes]
Next steps? (Validate with workflow-validate-plan / Create PR / Keep as-is)
STOP executing immediately when:
Ask for clarification rather than guessing.
Return to Review (Step 1) when:
Don't force through blockers - stop and ask.
After implementation is complete:
development
Generate GitLab merge request descriptions from git commits with automatic categorization and Jira integration.
development
This skill should be used when validating that an implementation plan was correctly executed. It verifies success criteria, runs tests, identifies deviations, and presents structured completion options including MR creation or discard.
development
This skill should be used when reviewing code changes in a branch against main/master/develop. It analyzes commits, integrates JIRA ticket and MR context when available, and produces a structured code review using Conventional Comments format.
development
This skill should be used when conducting comprehensive codebase research to answer questions, understand architecture, or prepare context for implementation planning. It spawns parallel sub-agents and synthesizes findings into a structured research document.