← 返回 Skills 市场
tech-lo

GithubIssue

作者 Tech-lo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
205
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-issue-writer
功能描述
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...
使用说明 (SKILL.md)

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 view for context
  • Any combination of the above

Instructions:

  1. Parse the input. Extract: HTTP method, path, query params, request body, response body, status codes, headers. If info is missing, mark as [TBD].

  2. 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
  3. 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.

  4. Show the card to the user for review. Wait for approval before proceeding.

  5. After approval, ask for target repo:

    • Run: gh repo list \x3Corg> --limit 50 --json name,description
    • Show list, user picks
  6. Ask for project board:

    • First check auth scope: gh auth status — if project scope is missing, tell user to run gh auth refresh -s project
    • Run: gh project list --owner \x3Corg> --format json
    • Show list, user picks
  7. 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 gh token needs the project scope. If project commands fail, run: gh auth refresh -s project

Rules:

  • Realistic example values — Tibetan text for bo fields (སྒོམ), 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
安全使用建议
This skill appears to do what it says (generate and create GitHub issue cards) but it omits important runtime requirements. Before installing or enabling it: - Confirm that the agent environment has the GitHub CLI (`gh`) available and up-to-date; the skill's metadata should list this but currently does not. - Be aware the skill will use your GitHub authentication (the `gh` session or a token) and may run `gh auth status`, `gh repo list`, `gh project list`, `gh issue create`, and `gh project item-add`. Ensure the token/session has only the minimum scopes (it explicitly needs the `project` scope) and that you trust the skill to act with those permissions. - Because the skill's source/homepage is unknown, consider testing it in a separate account or organization with limited privileges first. - If you plan to install it broadly, ask the publisher to update the skill metadata to declare required binaries (gh) and the required credential/scopes (e.g., GITHUB_TOKEN or gh-authenticated session with `project` scope) so you can make an informed permission decision.
功能分析
Type: OpenClaw Skill Name: github-issue-writer Version: 1.0.0 The skill is a legitimate utility for generating and managing GitHub issue cards based on API specifications. It uses the standard GitHub CLI (`gh`) for its operations and includes explicit safety checks, such as requiring user review before creation and confirming repository/project targets. No evidence of data exfiltration, malicious execution, or prompt injection was found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The skill claims to create and link GitHub issues and project items using `gh` commands, which legitimately requires the GitHub CLI and an authenticated GitHub token with appropriate scopes. However, the skill's metadata lists no required binaries or env vars. The missing declaration of `gh` (or equivalent) is an incoherence.
Instruction Scope
The SKILL.md instructions stay on-topic: parse inputs, generate an issue body, prompt the user, list repos/projects and create an issue and project item. Instructions do not request unrelated files or system data. They do, however, instruct running `gh` commands which will use the user's GitHub credentials and data — expected for this purpose.
Install Mechanism
This is instruction-only (no install spec, no code files). That limits disk installation risk. There are no downloads or external install mechanisms to review.
Credentials
The skill implicitly requires access to GitHub credentials (a `gh`-authenticated session or GITHUB_TOKEN) and specifically asks to check `gh auth status` and to refresh auth with `project` scope. Yet requires.env and primary credential are empty. The skill should declare the need for the GitHub CLI and clarify required credential scopes; the current lack of declared credentials is disproportionate to the metadata.
Persistence & Privilege
always is false and the skill does not request persistent system-wide changes. It will invoke `gh` commands when run, which is expected. Autonomous invocation is allowed by default but not, by itself, a new concern here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-issue-writer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-issue-writer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of issue-card-writer for the WeBuddhist team - Generates structured GitHub issue cards for documenting API endpoints (new, changed, or bugfixes). - Accepts OpenAPI/Swagger specs, natural language, inline details, or existing issues to extract endpoint info. - Outputs formatted markdown cards tailored for backend, frontend, or app integration needs. - Guides user through repo and project selection before creating/linking issues; never auto-creates. - Card template ensures consistent, scannable documentation with clear endpoint, request/response, codes, and notes.
元数据
Slug github-issue-writer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 205 次。

如何安装 GithubIssue?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-issue-writer」即可一键安装,无需额外配置。

GithubIssue 是免费的吗?

是的,GithubIssue 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

GithubIssue 支持哪些平台?

GithubIssue 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 GithubIssue?

由 Tech-lo(@tech-lo)开发并维护,当前版本 v1.0.0。

💬 留言讨论