1 parent 94cf944 commit 1917626Copy full SHA for 1917626
1 file changed
docs/agents/issue-tracker.md
@@ -5,7 +5,7 @@ Issues and specs for this public repo live as GitHub issues. Use the `gh` CLI fo
5
## Conventions
6
7
- **Create an issue**: `gh issue create --title "..." --body "..."`. Use a heredoc for multi-line bodies.
8
-- **Read an issue**: `gh issue view <number> --comments`, filtering comments by `jq` and also fetching labels.
+- **Read an issue**: `gh issue view <number> --json comments,labels --jq '{labels: [.labels[].name], comments: [.comments[].body]}'`.
9
- **List issues**: `gh issue list --state open --json number,title,body,labels,comments --jq '[.[] | {number, title, body, labels: [.labels[].name], comments: [.comments[].body]}]'` with appropriate `--label` and `--state` filters.
10
- **Comment on an issue**: `gh issue comment <number> --body "..."`
11
- **Apply / remove labels**: `gh issue edit <number> --add-label "..."` / `--remove-label "..."`
0 commit comments