docs: tell agents not to hard-wrap prose in posted bodies

Add a "Writing text for Gitea" section and gotcha rule: compose PR/issue
bodies, comments, reviews, release notes and wiki pages as normal paragraphs,
without arbitrary line breaks — and unwrap text copied from hard-wrapped
commit messages. Cross-reference from pr/issue create and release create.
This commit is contained in:
raucao committed 2026-11-03 12:38:32 +04:00
1 parent 8b5c216563
commit c0e0c730cb
4 files changed
+24

No files matched your search

+3
View File
@@ -66,6 +66,9 @@ the title is then `--title`, else the commit message of a single-commit branch,
else the branch name. When an open PR already exists for the same branches,
`create` links it instead of opening a new one.
A `-b`/`--body` value is normal paragraphs: do not hard-wrap it, and unwrap text
copied from a commit message first (see SKILL.md's "Writing text for Gitea").
```bash
gt pr create --fill --yes
gt pr create -t "Add login" -b "Closes #1" -B develop -r carol -l enhancement