- skills/{code-review,gitea-plan,gitea-pr,reconcile-docs,tdd}/SKILL.md: fix relative skeleton link from ../../build-skill/... to ../build-skill/references/skeleton.md (CR-01)
- tests/fixtures/test_skills_behavioral_contracts.py: split multi-behavior test into 6 focused single-behavior tests (CR-02), remove unused tdd_refs (CR-03), and assert Mode B gates, one-sided BVA bounds, fenced-block non-duplication, skeleton suppression, and on-disk relative link resolution (CR-04)
4.8 KiB
4.8 KiB
name, description
| name | description |
|---|---|
| gitea-plan | Translate technical goals, user requests, and architecture plans into Gitea planning primitives (issues, milestones, project boards) with tiered complexity scaling. Use when decomposing work, creating or updating Gitea issues, or establishing planning milestones. Not for managing pull requests: use gitea-pr. |
Gitea Plan
Use when
- Decomposing a project, feature request, or technical plan into trackable Gitea units.
- Creating or editing milestones, project boards, and issues with falsifiable criteria.
- Setting rolling planning horizons for multi-phase epics.
- Not for orchestrating slice implementation across subagents: use
implement-slice. - Not for branch or worktree management: use
git-manager. - Not for pull request lifecycle or review tracking: use
gitea-pr.
Steps
- Reconcile artifacts bidirectionally. Check specs, roadmaps, assets, and Gitea
state for contradictions. Flag zombie in-progress, premature completed, or horizon
divergence conflicts before planning new work. When closing a milestone or before
decomposing the next rolling milestone, if
ARCHITECTURE.md,ROADMAP.md, ordocs/designs/*.mdlag behindCompletedboard cards, hand off toreconcile-docsfirst. See references/decomposition-tiers.md. - Assess scope and select tier. Assign
Small,Medium, orLarge. Emit explicit### Project Board Policy: <Omitted|Recommended|Required> (Rationale). - Decompose into deliverable outcome slices. Map work into verifiable issues with test seams and falsifiable acceptance criteria (Context, Solution, Criteria), grouping TDD test seams vertically by submodule or capability rather than a single monolithic upfront test block across all modules.
- Run independent reproducibility audit. Spawn clean-room subagent with raw input manifest (commit SHA, specs, proposed issue markdown). Review 5-section evaluation to resolve material ambiguities before human gate.
- Present decomposition for approval. Present proposed milestone, board,
issues, and any proposed repository
AGENTS.mdplanning-contract diff with audit disposition. Stop for approval before mutating Gitea entities orAGENTS.md. - Execute Gitea operations via
gtCLI. Use verified commands fromgt-usage:- Milestones:
gt milestone create "<title>" -d "<desc>" --json id,url. - Projects: create with
gt project create "<title>" --template none --json id,urlif missing (with--org <org>for multi-repo orgs), or reconcile an existing board in place (PATCHmatched role aliases,POSTmissing columns, setBacklogdefault, and apply the Deep Signal hex colors per decomposition-tiers). - Issues:
gt issue create -t "<title>" -F <file> -m <id> -p <id> --json id,number,url(or attach to org board:gt issue edit <number> -R <repo> --add-project <id>). Extract server IDs directly; never guess sequence numbers or construct/milestone/1.
- Milestones:
- Verify created state. Inspect
gt issue list,gt milestone list, and board columns to confirm server IDs, column colors/order, and non-hallucinated canonical URLs. - Formalize repo planning contract in
AGENTS.md. When establishing or changingMedium/Largeplanning structure, record a concise sync rule inAGENTS.md:- Pin stable coordinates only: roadmap/checklist paths (
docs/roadmap.md,todo.txt), Gitea repo + Project Board ID +{Backlog, Ready, Work in Progress, Review, Completed -> column_id}map, mirror policy, and the trigger to re-rungitea-planon scope shifts or Readiness Gates. - Never hardcode rotating sprint state (milestone numbers or open issues) in
AGENTS.md.
- Pin stable coordinates only: roadmap/checklist paths (
Your call
- Planning tier selection: confirm Small vs. Medium vs. Large ceremony level.
- Issue decomposition boundaries: approve or revise proposed issue slices.
- Batch entity creation: approve structured batch creation and
AGENTS.mdcontract edits perprofile/AGENTS.md.
Done when
- Target milestone, board, and issues exist on Gitea with verified server IDs, canonical URLs, and falsifiable acceptance criteria.
- Repository
AGENTS.mdcontains an accurate, state-free planning sync contract wheneverMedium/Largeplanning structure is created or updated.
Hands off to
implement-slice: to deliver an approved issue (Suggested Next Step: /implement-slice #<first-ready-issue>).git-manager: to create dedicated branches or worktrees for decomposed issues.gitea-pr: to link, review, and close issues via pull requests.reconcile-docs: when canonical docs lag behind completed cards (Suggested Next Step: /reconcile-docs).- Emit one outcome-matched
Suggested Next Stepper skeleton.