body-discipline.md required every reference load to use the literal 'If X, read references/file.md' form and called anything else a generic pointer. ADR-0020's own cited dispatch exemplar, apm-workflow, uses a bare table plus one closing line, so an author could not satisfy both -- and the rule reliably produced duplication in exactly the bodies the contract exists to keep short. Resolves #109 with its option 1: a table row already pairs a condition with a target, so where a body dispatches, the table is the wiring. The literal form is what a body needs when it loads a reference without a table. Two corrections to the issue as filed. There is no Vale conflict -- PaddingPhrase.yml only matches 'see references/ for more info' and never fired on the exemplar, so this is a one-file prose fix and no rule changes. And gitea-workflow carried the predicted duplication: a three-row table restated underneath as three conditionals. Removed, body 227 -> 148 words. Closes #109
41 lines
1.6 KiB
Markdown
41 lines
1.6 KiB
Markdown
---
|
|
name: gitea-workflow
|
|
|
|
description: >
|
|
Use when a Gitea request is general or ambiguous — a no-args repo check-in, a bare number that
|
|
could be an issue or a PR, or a capability whose owning skill is unclear. Resolves which
|
|
domain skill applies. Not an unambiguous issue request -> `gitea-issues`. Not an
|
|
unambiguous PR request -> `gitea-prs`. Not local git work with no Gitea component.
|
|
|
|
compatibility: Requires Gitea MCP server configured with a token; delegates all calls to the six
|
|
domain skills, which in turn require write:issue and write:repository scopes at minimum.
|
|
|
|
metadata:
|
|
category: integration
|
|
version: "0.1.3"
|
|
source_keys:
|
|
- gitea-mcp-repo
|
|
- gitea-mcp-slim-go
|
|
- context7-websites-gitea
|
|
---
|
|
|
|
## Gotchas
|
|
|
|
- **This skill never calls a Gitea MCP tool itself.** Every read and write goes through a domain skill. A needed `mcp__gitea__*` call that no domain skill exposes is a gap in that skill, not something to patch here.
|
|
|
|
## Dispatch
|
|
|
|
The invocation's shape selects exactly one branch.
|
|
|
|
| Invocation shape | Flow | Reference |
|
|
|---|---|---|
|
|
| No arguments, no specific request | Repo status check-in | `references/status-checkin.md` |
|
|
| A bare number, with neither "issue" nor "PR" said | Resolve which domain the number belongs to | `references/number-resolution.md` |
|
|
| A named capability whose owning skill is unclear | Route to the domain skill that owns it | `references/skill-index.md` |
|
|
|
|
Read only the reference file matching the selected branch — each is self-contained for its concern.
|
|
|
|
## Report
|
|
|
|
Every branch ends here. Present results in plain language; the branch's reference file carries its format.
|