diff --git a/skills/gitea-plan/SKILL.md b/skills/gitea-plan/SKILL.md index bbb112f..436e44d 100644 --- a/skills/gitea-plan/SKILL.md +++ b/skills/gitea-plan/SKILL.md @@ -33,8 +33,10 @@ description: >- issues with audit disposition. Stop for approval before creating Gitea entities. 6. **Execute Gitea operations via `gt` CLI.** Use verified commands from `gt-usage`: - Milestones: `gt milestone create "" -d "<desc>" --json id,url`. - - Projects: `gt project create "<title>" --template basic_kanban --json id,url`. - - Issues: `gt issue create -t "<title>" -F <file> -m <id> -p <id> --json number,url`. + - Projects: `gt project create "<title>" --template basic_kanban --json id,url` + (for multi-repo orgs, root at org level with `--org <org>`). + - Issues: `gt issue create -t "<title>" -F <file> -m <id> -p <id> --json 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`. 7. **Verify created state.** Inspect `gt issue list` and `gt milestone list` to confirm server IDs, board cards, and non-hallucinated canonical URLs. diff --git a/skills/gitea-plan/references/decomposition-tiers.md b/skills/gitea-plan/references/decomposition-tiers.md index 62e3a89..cdb46b4 100644 --- a/skills/gitea-plan/references/decomposition-tiers.md +++ b/skills/gitea-plan/references/decomposition-tiers.md @@ -71,3 +71,12 @@ When planning large epics, avoid waterfall decomposition where every future task 1. **Active Milestone (Immediate Horizon)**: Decomposed into 2 to 5 concrete deliverable issues with falsifiable acceptance criteria. 2. **Future Milestones (Deferred Horizons)**: Represented as high-level milestones or single coarse placeholder issues in Gitea. 3. **Architecture Synchronization**: Update repository docs (`reconcile-docs`) before decomposing the next rolling milestone. + +--- + +## 6. Multi-Repository Organizations and Shared Boards + +When planning across multi-repository architectures (where an organization hub coordinates multiple deliverable repositories or services): +- **Root Kanban at Organization Level**: Create the shared board at the organization level (`gt project create "<title>" --org <org> --template basic_kanban`). Do not isolate tracking into separate child repository boards. +- **Attach Child Issues to Org Board**: Deliverable issues and pull requests created in child repositories attach to the organization board via `gt issue create ... -p <project-id>` or `gt issue edit <number> -R <owner/repo> --add-project <project-id>`. +- **Hub Documentation Alignment**: Architectural strategy, shared documentation, and roadmaps remain centralized in the hub repository, while the organization-level Kanban board coordinates unified cross-repo delivery status. diff --git a/skills/gt-usage/references/commands.md b/skills/gt-usage/references/commands.md index 5680beb..54c3f45 100644 --- a/skills/gt-usage/references/commands.md +++ b/skills/gt-usage/references/commands.md @@ -35,14 +35,19 @@ gt milestone view <id> Projects provide spatial Kanban workflow stages. ```bash -# Create project board with basic kanban columns +# Create repository project board with basic kanban columns gt project create "<title>" --template basic_kanban -d "<description>" --json id,title,url -# List open projects +# Create organization-level project board +gt project create "<title>" --org <org> --template basic_kanban -d "<description>" --json id,title,url + +# List open projects (repository or organization) gt project list --json id,title,state,url +gt project list --org <org> --json id,title,state,url # View project cards and columns gt project view <id> +gt project view <id> --org <org> # List board columns with IDs gt api /repos/{owner}/{repo}/projects/<project-id>/columns --jq '.[].id, .[].title' @@ -57,6 +62,9 @@ gt api -X POST /repos/{owner}/{repo}/projects/<project-id>/issues/<global-issue- # Create issue attached to milestone and project gt issue create -t "<title>" -F <body-file> -m <milestone-id> -p <project-id> --json number,title,url +# Add an existing issue in a child repo to an organization project +gt issue edit <number> -R <owner/repo> --add-project <project-id> + # List open issues with global IDs and numbers gt issue list --json id,number,title,state,url