/install github-issue-writer
Context: The WeBuddhist team (backend, frontend, app devs) uses GitHub issue cards to document API endpoints during integration. Cards must be consistent so any dev can scan them and know: what's the endpoint, what goes in, what comes out, and what can go wrong. This skill generates those cards.
Accepted Inputs:
- OpenAPI/Swagger spec (YAML/JSON) → extract endpoints automatically
- Natural language → "we added a language filter to GET /plans/tags"
- Inline details → method, path, params, response pasted in chat
- Existing issue number → reads via
gh issue viewfor context - Any combination of the above
Instructions:
-
Parse the input. Extract: HTTP method, path, query params, request body, response body, status codes, headers. If info is missing, mark as
[TBD]. -
Pick the card type:
- New endpoint → full card
- Endpoint edit → full card + "Current Behavior" / "Proposed Change" sections after Context
- Backend fix → full card, focus Context on the bug, still include the related endpoint and response so devs know which API surface is affected
-
Generate the card using the template below. Do NOT output any conversational text — output ONLY the formatted markdown so it can be directly copied into GitHub.
-
Show the card to the user for review. Wait for approval before proceeding.
-
After approval, ask for target repo:
- Run:
gh repo list \x3Corg> --limit 50 --json name,description - Show list, user picks
- Run:
-
Ask for project board:
- First check auth scope:
gh auth status— ifprojectscope is missing, tell user to rungh auth refresh -s project - Run:
gh project list --owner \x3Corg> --format json - Show list, user picks
- First check auth scope:
-
Create and link:
gh issue create --repo \x3Corg>/\x3Crepo> --title "\x3Ctitle>" --body "\x3Cbody>"gh project item-add \x3Cproject-number> --owner \x3Corg> --url \x3Cissue-url>- Show the issue URL
Never auto-create. Always: generate → review → repo → board → create.
Card Template:
# \x3CShort clear title>
## Context
\x3C1-2 sentences: why this endpoint exists, or what's changing and why>
## Endpoint
\`\`\`
\x3CMETHOD> \x3Cpath>
\`\`\`
## Headers
| Header | Required | Description |
|--------|----------|-------------|
| `Authorization` | Yes | Bearer token |
## Query Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
## Request Body
\`\`\`json
{}
\`\`\`
## Response
**200 OK**
\`\`\`json
{}
\`\`\`
## Status Codes
| Code | Description |
|------|-------------|
| 200 | Success |
| 401 | Unauthorized |
| 404 | Not found |
| 422 | Validation error |
## Notes
- \x3CEdge cases, gotchas, related issues>
Omit sections that don't apply (e.g., no Request Body for GET, no Query Params for POST with body only).
For endpoint edits, add after Context:
## Current Behavior
## Proposed Change
Prerequisites:
- The
ghtoken needs theprojectscope. If project commands fail, run:gh auth refresh -s project
Rules:
- Realistic example values — Tibetan text for
bofields (སྒོམ), UUIDs for IDs, real names like "Morning Meditation" - Multilingual fields as objects:
{ "en": "Meditation", "bo": "སྒོམ" } - OpenAPI schemas → concrete JSON examples, not raw schema
- Short scannable notes — bullets, not paragraphs
[TBD]for unknowns, never invent behavior- Always ask user to pick repo and project board
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install github-issue-writer - After installation, invoke the skill by name or use
/github-issue-writer - Provide required inputs per the skill's parameter spec and get structured output
What is GithubIssue?
Generate structured GitHub issue cards for the WeBuddhist team. Use this when a backend dev needs to document a new or changed endpoint, or when a frontend/a... It is an AI Agent Skill for Claude Code / OpenClaw, with 205 downloads so far.
How do I install GithubIssue?
Run "/install github-issue-writer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is GithubIssue free?
Yes, GithubIssue is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does GithubIssue support?
GithubIssue is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created GithubIssue?
It is built and maintained by Tech-lo (@tech-lo); the current version is v1.0.0.