When invoked, treat command input as a discussion target.
Accepted input forms:
4-4#4- full URL like
https://github.com/orgs/BoilerHAUS/discussions/4 - no input (default to latest updated discussion in
BoilerHAUS/.github)
Workflow:
- Resolve a discussion number from input.
- Fetch discussion details and recent comments from
BoilerHAUS/.github. - Provide a short summary.
- If user asks to respond, post a concise reply aligned with current org rules:
- issue-first + PR-gated workflow
- lowercase
boilerhausbranding in copy - use
needs-humanwhen blocked >15 minutes
Preferred commands:
- Read discussion:
gh api graphql -f query='query { repository(owner:"BoilerHAUS", name:".github") { discussion(number:N) { id number title url body comments(first:20) { nodes { author { login } bodyText publishedAt url } } } } }'
- Reply to discussion:
- use GraphQL
addDiscussionCommentwith discussion id
- use GraphQL
Reply style:
- Be direct and short.
- If posting publicly, avoid exposing internal-only details.