Skill: Implement Phase

skill-implement-phase Skill

active skill

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 planmcp__pal-e-docs__get_note(slug="<plan-slug>"). Understand the full context and how this phase fits.
  • Read the project pagemcp__pal-e-docs__get_note(slug="project-<project-slug>"). Understand architecture, repos, current status.
  • Read the issuemcp__forgejo__list_issues(owner="forgejo_admin", repo="<repo>") to find the issue. Read its Acceptance Criteria and Checklist — this is your spec.
  • Read relevant SOPsmcp__pal-e-docs__get_note(slug="solo-dev-pr-workflow") and mcp__pal-e-docs__get_note(slug="template-pr-body"). Know the PR process and template.
  • Create branch — Branch name: {issue-number}-{short-description}. Use isolation: "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 PRmcp__forgejo__submit_pr(owner="forgejo_admin", repo="<repo>", head="<branch>", base="main", title="<title>", body="<pr-body>"). PR body follows template-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-dev
  • skill-create-issue — Issue Creator runs before this skill
  • skill-review-pr — QA Agent reviews the PR this skill produces
  • skill-fix-review — Dev Agent fixes review findings
  • template-pr-body — PR body format
  • agent-dev — the agent that runs this skill