SkilVaultSign inStart free

Catalogue / confirmed-github-issue-lifecycle

confirmed-github-issue-lifecycle

Older skill: source not recordedSignedManages GitHub issues end to end: resolving the repository, drafting well-structured bug, feature, task and documentation reports, fetching and filtering issues, searching, updating fields, commenting, and closing with a resolution note. Use when the user says "file a bug on our repo", "show my open…
---
name: confirmed-github-issue-lifecycle
description: >-
  Manages GitHub issues end to end: resolving the repository, drafting well-structured
  bug, feature, task and documentation reports, fetching and filtering issues, searching,
  updating fields, commenting, and closing with a resolution note. Use when the user says
  "file a bug on our repo", "show my open issues", "add a label to #42", "close this with
  a comment", or "search issues for this error". Not for pull-request reviews, git
  history work, repository settings, or CI configuration.
---

GitHub Issue Lifecycle

A confirmation-first method for working a GitHub issue from draft to close, through whatever GitHub connector the environment provides. Nothing is created, edited, or closed without the user's explicit go-ahead in the current conversation.

1. Resolve repository and intent

Settle these before any call:

| Fact | How to get it | |---|---| | owner/repo | Ask if not obvious from the conversation | | Issue number (if one exists) | Ask, or find via search | | Issue type | Bug, feature, task, docs, or other — ask once | | Labels, milestone, assignees | List the repo's actual taxonomy first |

Verify the repository exists and that the account can write to it. Inspect the connector's real operation names, parameters, pagination behavior and error shapes — they vary between connectors. If a call fails on permissions, report it; never adjust credentials or provider configuration to force it through.

2. Draft a strong issue

Title rules: specific and actionable, under about 72 characters, naming the affected component. A type prefix such as [Bug] fits some repos' conventions but is optional. Reject vague titles like "Fix bug" or "Update code" and propose better ones.

Search existing issues before creating one. A similar title is a reason to compare, not an automatic duplicate verdict — report near-matches to the user and let them decide.

Pick the body structure by type:

| Type | Sections to include | |---|---| | Bug | Component + condition, actual vs expected behavior, numbered repro steps, verified environment, sanitized logs/screenshots, hypothesized fix clearly labeled as a guess | | Feature | User problem, proposed behavior, acceptance-criteria checklist, alternatives considered, mockups or references | | Task | Background, requirements checklist, definition of done, dependencies and blockers | | Docs | Which guidance is wrong or missing, the desired outcome, links to affected pages |

Worked example (bug): the user says "the CSV export drops the timezone". The draft records the selected timezone setting, the timestamp shown, the expected conversion, and a minimal repro — and leaves browser/OS fields blank rather than inventing values. Use Markdown headings and - [ ] checklists where they help, and link real related items with Related to #31 or Blocks #57.

3. Read, list, and search

Get one issue: by repository and number. Report back title, body, state, labels, assignees, milestone, author, and created/updated timestamps, whichever the response returns.

List issues with these filters:

| Parameter | Values | |---|---| | state | open, closed, all | | labels | comma-separated names | | assignee | username | | sort | created, updated, comments | | direction | asc, desc | | page size | commonly capped at 100 — verify, and state clearly if results are partial |

"Mine" means the verified current account — confirm which account the connector authenticates as before filtering on it.

Search combines repository scope, state (is:open), label qualifiers, and free text. Two cautions: the search endpoint may also return pull requests, so filter to actual issues; and distinguish "no matches" from "access denied" or "search errored" in what you report. Never carry private issue content into another repository or into public output.

4. Mutations, each behind a confirmation

Every write — create, edit, comment, assign, label, milestone change, close, reopen — follows the same beat: show the full payload and target, wait for an explicit yes, then act.

  • Create: present title, body, labels, assignees, milestone. Use only labels that

actually exist in the repo; the common GitHub defaults (bug, enhancement, documentation, good first issue, help wanted, question, wontfix, duplicate, invalid) are suggestions, not guarantees.

  • Assign or @mention: these notify real people. Call out who will be notified and get

approval for that specifically.

  • Update: fetch current state first and show the intended diff. Send only changed

fields. Beware label arrays that *replace* the existing set — preserve current labels deliberately.

  • Close with a comment: prepare both operations and confirm each. Post the exact

resolution comment, verify it landed, then close. If one step succeeds and the other fails, report the partial state and reconcile before retrying — a blind retry can post the comment twice.

  • Closing evidence: reference a real fixing release or PR. "This was probably fixed"

is not a resolution note.

After success, report the actual issue number, link, and changed properties. Never claim a creation or closure succeeded because a request was attempted, and never fabricate issue numbers or links.

5. Worked flows

File a bug. "Login crashes when SSO is on" → resolve repo → ask the type question if unknown → build the bug body with repro steps and blank environment fields → show the payload → create on approval → return the new issue number.

Show my open bugs. List with state=open, labels=bug, assignee=<verified account>. Present results as a compact list: number, title, labels, created date.

Close with a fix note. "Close #142, fixed in v3.1.0" → draft comment "Fixed in v3.1.0, closing." → confirm comment → post → confirm close → close → report both outcomes.

Never

  • Create, edit, comment, assign, label, close, or reopen without the user's explicit

approval of that exact payload.

  • Touch the wrong repository, or silently create a duplicate of an existing issue.
  • Invent labels, usernames, milestones, environment details, or issue links.
  • Retry a half-completed close-with-comment without checking what actually landed.
  • Print or transmit credentials, or modify provider configuration to make a failing call work.