]> git.giacomolli.uk - onechat/blobdiff - .agents/skills/issues/SKILL.md
Send the compaction view in block messages
[onechat] / .agents / skills / issues / SKILL.md
index f782536c34fa99cd969b8c76fe2b540e547c029b..104a04cccf78f431bb292d5bf83d80481439da61 100644 (file)
@@ -23,6 +23,11 @@ commands in the Nix development shell.
   imperative mood, with no final period.
 - Write the body in Markdown. State the result for the user, the scope,
   and how to check it.
+- Format each body and comment with `mdformat -` in the repository, so
+  that it uses `.mdformat.toml`. mdformat joins trailer lines into one
+  line, so format the text first and add the trailers after it.
+- Quote a long text as a blockquote below the paragraph or list, not as
+  inline code. mdformat cannot wrap inline code.
 - Add a comment with `git bug bug comment new ID -m TEXT` for progress
   that matters: decisions made with the user, measurements, and checks
   that could not run.
@@ -60,6 +65,9 @@ Push the issues with `git bug push` when the repository has a remote.
 This example creates an issue:
 
 ```sh
+body=$(mdformat - < body.md)
 git bug bug new --non-interactive -t 'Decide the root wake interval' \
-  -m "$(cat body.md)"
+  -m "$body
+
+Parent: 180a674"
 ```