mattpocock/triage

Triage von Issues mittels eines Zustandsautomaten, der durch Triage-Rollen gesteuert wird. Verwenden, wenn der Benutzer ein Issue erstellen, triagieren, eingehende Fehler oder Feature-Anfragen überprüfen, Issues für einen AFK-Agenten vorbereiten oder den Issue-Workflow verwalten möchte.

Was ist triage?

Diese Fähigkeit ermöglicht die automatisierte Verwaltung und Triage von GitHub-Issues mithilfe eines Zustandsautomaten, der durch verschiedene Triage-Rollen gesteuert wird. Sie ist besonders nützlich für Teams, die eingehende Bugs, Feature-Wünsche und andere Aufgaben effizient kategorisieren und priorisieren möchten. Die Fähigkeit unterstützt mehrere Rollen wie 'Bug-Hunter', 'Feature-Visionär' und 'Priorisierer', die jeweils spezifische Aktionen ausführen können, um Issues von der Erstellung bis zur Bearbeitung zu führen. Sie funktioniert nahtlos mit GitHub-APIs, ermöglicht die Integration in CI/CD-Workflows und ist für Entwickler gedacht, die den Issue-Workflow optimieren wollen.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mattpocock/skills/tree/main/skills/triage

Installed? Explore more Produktivität & Zusammenarbeit skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht triage?

Triage von Issues mittels eines Zustandsautomaten, der durch Triage-Rollen gesteuert wird. Verwenden, wenn der Benutzer ein Issue erstellen, triagieren, eingehende Fehler oder Feature-Anfragen überprüfen, Issues für einen AFK-Agenten vorbereiten oder den Issue-Workflow verwalten möchte.

Funktionsweise

Diese Fähigkeit verwendet einen Zustandsautomaten, um Issues durch verschiedene Phasen der Triage zu führen. Jede Phase wird durch eine bestimmte Rolle gesteuert, die definiert, welche Aktionen zulässig sind. Der Automat stellt sicher, dass Issues nur dann den nächsten Status erreichen, wenn die notwendigen Überprüfungen und Genehmigungen vorliegen.

Unterstützte Rollen

  • Bug-Hunter: Erkennt und markiert potenzielle Fehler in Issues.
  • Feature-Visionär: Identifiziert und bewertet Feature-Wünsche.
  • Priorisierer: Ordnet Issues basierend auf Dringlichkeit und Auswirkungen Prioritäten zu.

Verwendung

Um die Fähigkeit zu nutzen, rufen Sie den entsprechenden Befehl auf:

triage <issue-id> --role <role>

Beispiel:

triage 42 --role bug-hunter

Konfiguration

Die Fähigkeit erfordert eine Konfigurationsdatei triage.config.json im Stammverzeichnis des Repositories:

{
  "roles": {
    "bug-hunter": {
      "label": "bug",
      "actions": ["mark", "comment"]
    },
    "feature-visionär": {
      "label": "feature",
      "actions": ["categorize", "request-info"]
    },
    "priorisierer": {
      "label": "priorität",
      "actions": ["assign-priority", "schedule"]
    }
  },
  "states": [
    "neu",
    "überprüft",
    "genehmigt",
    "in Bearbeitung",
    "abgeschlossen"
  ]
}

Output

Nach erfolgreicher Triage gibt die Fähigkeit ein JSON-Objekt mit dem aktualisierten Issue-Status zurück:

{
  "id": 42,
  "status": "überprüft",
  "role": "bug-hunter",
  "timestamp": "2024-01-15T10:30:00Z"
}

Fehlerbehandlung

Wenn die Eingabe ungültig ist oder die Rolle nicht autorisiert ist, wird eine Fehlermeldung ausgegeben:

Fehler: Rolle 'unbekannt' ist nicht definiert.

Hinweise

  • Stellen Sie sicher, dass der GitHub-Token mit ausreichenden Berechtigungen eingerichtet ist.
  • Die Fähigkeit kann in CI/CD-Pipelines integriert werden, um Issues automatisch zu triagieren.
  • Verwenden Sie die Umgebungsvariable GITHUB_TOKEN zur Authentifizierung.

Weitere Informationen finden Sie in der offiziellen Dokumentation.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mattpocock/ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

mattpocock/caveman

Ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.

mattpocock/claude-handoff

Hand the current conversation off to a fresh background agent that picks up the work immediately.

mattpocock/codebase-design

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

mattpocock/design-an-interface

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

mattpocock/diagnose

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

mattpocock/diagnosing-bugs

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

mattpocock/domain-modeling

Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

mattpocock/edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

mattpocock/git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

mattpocock/grilling

Grill the user relentlessly about a plan or design. Use when the user wants to stress-test a plan before building, or uses any 'grill' trigger phrases.

mattpocock/grill-me

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

mattpocock/grill-with-docs

Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

mattpocock/handoff

Compact the current conversation into a handoff document for another agent to pick up.

mattpocock/implement

Implement a piece of work based on a PRD or set of issues.

mattpocock/implement-spec

Implement a specification in code.

mattpocock/improve-codebase-architecture

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

mattpocock/loop-me

Grill me about specs for the workflows I want to build, within this workspace.

mattpocock/migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

mattpocock/obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

Verwandte Skills