Skill: Implement Phase
Skill: Implement Phase
Dev Agent workflow. Works from an existing Forgejo issue to implement a plan phase. Creates a worktree, writes code, runs tests, submits a PR, and stops.
Steps
- Read the plan —
mcp__pal-e-docs__get_note(slug="<plan-slug>"). Understand the full context and how this phase fits. - Read the project page —
mcp__pal-e-docs__get_note(slug="project-<project-slug>"). Understand architecture, repos, current status. - Read the issue —
mcp__forgejo__list_issues(owner="forgejo_admin", repo="<repo>")to find the issue. Read its Acceptance Criteria and Checklist — this is your spec. - Read relevant SOPs —
mcp__pal-e-docs__get_note(slug="solo-dev-pr-workflow")andmcp__pal-e-docs__get_note(slug="template-pr-body"). Know the PR process and template. - Create branch — Branch name:
{issue-number}-{short-description}. Useisolation: "worktree"if spawned via Task, or create worktree manually. - Implement — Write code to satisfy the Acceptance Criteria. Follow existing patterns in the codebase. Keep changes focused — no scope creep.
- Run tests — Run the project's test suite. All tests must pass before submitting PR.
- Submit PR —
mcp__forgejo__submit_pr(owner="forgejo_admin", repo="<repo>", head="<branch>", base="main", title="<title>", body="<pr-body>"). PR body followstemplate-pr-body: ## Summary, ## Changes, ## Test Plan, ## Review Checklist, ## Related Notes (must reference plan slug). - Present and stop — Return the PR link. Do not merge. Do not continue.
MCP Tools
| Step | Tool | Purpose |
|---|---|---|
| 1 | <code>mcp__pal-e-docs__get_note</code> | Read plan note |
| 2 | <code>mcp__pal-e-docs__get_note</code> | Read project page |
| 3 | <code>mcp__forgejo__list_issues</code> | Find the issue to implement |
| 4 | <code>mcp__pal-e-docs__get_note</code> | Read SOPs, PR template |
| 4 | <code>mcp__pal-e-docs__list_notes</code> | Discover relevant conventions |
| 5 | <code>mcp__forgejo__list_branches</code> | Check existing branches |
| 8 | <code>mcp__forgejo__submit_pr</code> | Open PR when done |
Agent
agent-devRelated
skill-create-issue— Issue Creator runs before this skillskill-review-pr— QA Agent reviews the PR this skill producesskill-fix-review— Dev Agent fixes review findingstemplate-pr-body— PR body formatagent-dev— the agent that runs this skill