diff --git a/.claude/skills/gitea/SKILL.md b/.claude/skills/gitea/SKILL.md new file mode 100644 index 0000000..6b69f25 --- /dev/null +++ b/.claude/skills/gitea/SKILL.md @@ -0,0 +1,75 @@ +--- +name: gitea +description: Use for every forge operation in this repo — read, create, comment on, label, close, or search an issue; create, review, merge, or check out a PR; and whenever `gh`, `issue://`, or `pr://` fails or a ticket number is ambiguous. This repo's forge is self-hosted Gitea driven by `tea`, not GitHub. +--- + +# Gitea, not GitHub + +`origin` is the self-hosted Gitea instance `gitea.violetcrown.my.id`, repo +`sulthan/mangaBookmark`. Everything past plain git goes through +[`tea`](https://gitea.com/gitea/tea) (0.14.2 on this machine). + +**`gh` is not installed**, so the harness's `issue://` and `pr://` URIs +error out (`GitHub CLI (gh) is not installed`, measured 2026-08-17). There is no +fallback to add — read tickets with `tea`. + +`tea` infers the repo from `origin`; auth lives in `tea login`, never a +`GH_TOKEN`. Your Gitea username comes from `tea login list` — `tea` has no `@me`. + +Flags are the environment's job: run `tea --help` rather than trusting +a remembered flag. This file carries only what `--help` will not tell you. + +## Commands + +| Job | Command | +|---|---| +| Read | `tea issue --comments` / `tea pr --comments` — `--comments` is not optional | +| List | `tea issue list --state open\|closed\|all -o json --fields index,title,body,labels,state,author` | +| Search | `tea issue list -k "" -L "