搜索

PythonReactSEOPDF
GitHub Skill

github-issue-filer

File AnyPod GitHub issues (bug or feature) with the official templates and publish them through the gh CLI.

thurstonsand☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

GitHub Issue Filer

What This Skill Delivers

Files bug reports and feature requests in thurstonsand/anypod using the repository’s issue templates.

Use this skill whenever someone needs to create a GitHub issuefor a bug or feature.

How to Use the Skill

1. Pick the template
  • Bug report → pass bug
  • Feature request → pass feature
  • Inspect the current fields anytime:
    ./.claude/skills/github-issue-filer/scripts/create_issue.py bug --describe
    
Command options
  • --summary: Replaces <summary> in the template title (e.g., [bug] <summary>).
  • --data-file: Provide a path to the JSON payload instead of piping it via STDIN.
  • --describe: Prints the field list (identifier, description, optional flag, type, options) so you can see which inputs are available.
2. Gather inputs
  • Capture a concise summary to replace <summary> in the template title (e.g., “downloads stall on restart”).
  • Required fields:
    • Bug: happened (what went wrong)
    • Feature: problem (why the change matters)
  • If the user did not provide information for the optional fields (logs, YAML, environment, sources, etc.), ask them if they want to include this info. If the user declines, move on—do not block.
  • Keep answers short, remove secrets, and paste raw text; the script will format it.
  • Need a reminder of available fields? Run create_issue.py bug|feature --describe for the relevant template.
3. Build the JSON payload

Create a JSON object whose keys match the template IDs.

Example bug payload:

{
  "happened": "testing out this template",
  "expected": "as expected",
  "steps": "1. start container\n2. call endpoint",
  "source": "X/Twitter",
  "version": "nightly",
  "env": "TrueNAS SCALE",
  "feed_yaml": "feeds:\n  myfeed:\n    url: https://...",
  "logs": "error lines here"
}

Example feature payload:

{
  "problem": "listeners can’t filter Patreon tiers",
  "solution": "allow tier filter per feed",
  "sources": ["Patreon"],
  "context": "original request in Discord #support"
}

If the conversation already contains these facts, extract them yourself instead of re-asking.

4. Run create_issue.py

Execute the helper with the template name, summary, and JSON payload via STDIN:

./.claude/skills/github-issue-filer/scripts/create_issue.py \
  bug \
  --summary "downloads stall on restart" <<'JSON'
{...payload...}
JSON

Feature example:

./.claude/skills/github-issue-filer/scripts/create_issue.py \
  feature \
  --summary "make Patreon feeds filter tiers" <<'JSON'
{...feature payload...}
JSON
5. Share the result

Return the printed URL (and, if helpful, the confirmation output).

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!