/codely-skills:implement-plan-phase-githubfrom codely-skills
Implements a single phase of a GitHub-issue-based plan, opening a PR linked to the phase issue. Given a phase issue URL or parent plan URL, it finds the current open phase and stops after one phase for user review.
Ships in codely-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
[!CRITICAL] Implement ONLY ONE phase per invocation. After completing the current phase, STOP and wait for the user to review the changes. Never proceed to the next phase without explicit user approval.
[!CRITICAL] Never merge the pull request. This skill may create a feature branch, commit, push and open a pull request, but the user decides when to merge. Merging is what closes the phase issue.
This skill is invoked as /implement-plan-phase-github <github-issue-url>. The URL can point to either:
If no URL is provided, ask the user for it before doing anything else.
The plan and its phases live as GitHub issues in the repository of the current working directory, and the pull requests are opened there too. Never hardcode a repository: let gh resolve it from the local Git remote.
gh issue view <number>
gh issue develop <number> --checkout
gh pr create --title "..." --body "..."
Confirm the repository gh resolves with gh repo view --json nameWithOwner --jq .nameWithOwner, and check that the provided URL belongs to it. If it does not, stop and ask the user to run the skill from the clone of that repository: the phase branch must be created in the same repository you are implementing the task in.
gh issue view <url> to read the given issue.Part of #<parent> reference and a to-do checklist), that is the phase to implement.Phases checklist linking child issues), the current phase is the first child issue in that checklist that is still open. Read that child issue and implement it.Resolve the phase issue to implement using the rule above.
Create and check out the linked branch for that phase issue so the branch is linked to it:
gh issue develop <phase-issue-number> --checkout
Implement the to-do actions of that phase only. Do NOT implement any other phase.
Update the phase issue body checking the to-do items you completed (- [x] ...) with gh issue edit <phase-issue-number> --body ....
Verify the changes (typechecking, linting and tests) and fix any issue before continuing.
STOP. Present the changes to the user and suggest 3 alternative commit / pull request titles following Conventional Commits (e.g. feat:, fix:, refactor:, test:, docs:). Use different plausible types across the 3 alternatives. Make it simple to reply something like "open the PR with title 1".
When the user picks a title, commit, push the branch and open a pull request that references the phase issue so merging it closes the issue automatically:
gh pr create \
--title "<chosen title>" \
--body "Closes #<phase-issue-number>"
If this is the last phase of the plan (no other open child issue remains after this one), also close the parent in the same pull request body:
Closes #<phase-issue-number>
Closes #<parent-issue-number>
Do NOT merge the pull request. Tell the user that merging it will close the phase issue (and, on the last phase, the parent plan issue).
If this is the implementation of the last phase of the plan, suggest the user to export the conversation (using their IDE) and attach it as a comment on the parent plan issue.
Next step section of the parent issue with the next phase to be completed.Phases checklist; GitHub checks each item as the corresponding child issue closes.AskQuestion tool if you are Cursor and have this tool available (only available in certain models such as Opus 4.5, not in others such as Composer 1).AskUserQuestion tool if you are Claude Code.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codelytv/agent-harness --plugin codely-skills13 skills in this plugin
/create-docDeprecated: use create-rule instead. Create new documentation based on the current conversation context./create-planCreate a plan for the specified task./create-plan-githubCreate a plan for the specified task and store it as GitHub issues in the repository of the current working directory. Given the URL of a GitHub issue, it turns that issue into the parent "plan" issue (Goal, Context and a checklist of phases) and creates one child issue per phase, linking every phase as a native GitHub sub-issue of the parent. Stops for user approval before creating any issue. After creation, the plan is meant to be implemented with the implement-plan-phase-github skill.Other plugins' skills for the same job