enitrat/skill-issue

github-issue

Write and manage GitHub issues.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/enitrat/skill-issue --skill github-issue

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

GitHub issues

The reader is a teammate who was not in the conversation. The issue gives them a model of the problem and the system it lives in, then hands them the work. They own the solution. The issue points; it does not prescribe.

Only what matters is written. A line earns its place when the reader would get the problem wrong without it. When unsure, cut.

Title

Conventional commit format, validated by the script (--skip-validation for repos with another convention): <type>(<scope>): <description>, e.g. fix(api): resolve race condition in request handler.

Body

ShapeWhenSections
TaskWe know what to doWhat · Why · How
Open questionThe fix is a decisionQuestion · What we found · Options
BugBehaviour differs from expectedWhat happens · Expected · How to reproduce
  • What: the change in product terms. What a user or caller can do afterwards.
  • Why: the concrete problem, then the system explained so the reader gets it in

one read: terms defined once, what happens when, one real example link.

  • How: "Guidance only." and 2–5 pointers (prior art, a link, a constraint that

rules out an obvious approach). Open points stay listed as open.

  • Options: numbered, one line each with its cost, ending in "Something else?".

Cut implementation plans, edge-case lists, acceptance-criteria and testing-plan checklists, facts the reader can't check, and history. Prune each line: would the reader get the problem wrong without it? Then tighten with /pstack:unslop.

Script

scripts/gh_issue.py, run with uv run. Create and push show a preview and ask first; --yes skips it.

TaskCommand
Start a body`init --template task\question\bug -o /tmp/issue.md`
Createcreate owner/repo --title "…" --body-file /tmp/issue.md [--labels a,b] [--assignees @me] [--milestone M] [--project P]
Create a sub-issuecreate-sub owner/repo --parent 10 --title "…" --body-file …
Link existinglink owner/repo --parent 10 --child 42
Editedit owner/repo 123 [--title "…"] [--body-file …]
View / listview owner/repo 123 · list owner/repo [--labels bug]
Sub-issues, incl. cross-repolist-subissues owner/repo 123 [--json]
Comment / label / closecomment owner/repo 123 "…" · labels owner/repo 123 --add a,b · close owner/repo 123 --reason completed

Round trip. dump-tree owner/repo 123 ./issues/ writes the issue and its sub-issues as markdown with YAML frontmatter (title, repo, number, labels, assignees, milestone, parent). Edit locally, then push ./issues/<file>.md: it updates the issue when number is set and creates one otherwise.

aus demselben Repository

Weitere Skills

Alle Skills