diff --git a/.cursor/skills/gitea-prs/SKILL.md b/.cursor/skills/gitea-prs/SKILL.md index 75c0464..cf2e2c5 100644 --- a/.cursor/skills/gitea-prs/SKILL.md +++ b/.cursor/skills/gitea-prs/SKILL.md @@ -49,6 +49,15 @@ EOF - Title: short, imperative (same style as commit messages; prefer under 20 words). - Return the PR URL from tea output (e.g. `https://git.faryad.top/rhino/product-slip/pulls/N`). +### Draft PRs + +`tea pulls create` has no `--draft` flag. This Gitea marks a PR as draft when the title starts with `WIP:` (API `draft: true` alone is ignored / cleared if the prefix is removed). + +For a draft PR, either: + +- Create with `--title "WIP: "`, or +- `POST /api/v1/repos/rhino/product-slip/pulls` with `"draft": true` **and** a `WIP:` title (token from `tea` login in `~/.config/tea/config.yml`). + ## Merge PR ```bash