Loading...
Loading...
Create 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 codely-plan-phase-implement-github skill.
npx skill4agent add codelytv/agent-harness codely-plan-create-github[!CRITICAL] Do NOT create or edit any GitHub issue until the user has agreed on the specific public contracts to be considered and the implementation phases. Propose first, get approval, then create the issues.
resources/plan-guidelines.md/codely-plan-create-github <github-issue-url><github-issue-url>ghgh issue view <number>
gh issue create --title "..." --body "..."
gh issue edit <number> --body "..."<number>ghgh repo view --json nameWithOwner --jq .nameWithOwnerid{owner}{repo}gh# Resolve the child issue database id from its number
child_id=$(gh api repos/{owner}/{repo}/issues/<child> --jq .id)
# Attach the child as a native sub-issue of the parent
gh api --method POST repos/{owner}/{repo}/issues/<parent>/sub_issues -F sub_issue_id="$child_id"GoalContextPart of #<parent>#12 Product Bundles (parent plan)
Goal / Context / design decisions
- [ ] #13 Phase 1: ...
- [ ] #14 Phase 2: ...
#13 Phase 1: ... (child, to-do checkboxes)
#14 Phase 2: ... (child, to-do checkboxes)gh issue view <parent>gh issue create- [ ] ...Part of #<parent>ghchild_id=$(gh api repos/{owner}/{repo}/issues/<child> --jq .id)
gh api --method POST repos/{owner}/{repo}/issues/<parent>/sub_issues -F sub_issue_id="$child_id"gh issue edit <parent> --body ...GoalContextPhases- [ ] #<child> Phase N: <title>---/codely-plan-phase-implement-github <parent-issue-url>/codely-plan-phase-implement-github <child-issue-url>[!IMPORTANT]handles one phase per invocation. Never implement all phases at once./codely-plan-phase-implement-github
---
<sub>Created by { tool } · { model.name } { model.version } (reasoning effort: { model.reasoning_effort }) · { current_date }</sub>current_dateYYYY-MM-DDTHH:MM:SSZtoolClaude CodeCursorCopilotCodexmodel.nameClaude OpusCursor ComposerOpenAI GPTmodel.version4.61.55.4model.reasoning_effortlowmediumhighGoalContextPhasesNext stepresources/plan-guidelines.md