Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

issue-crafting

/issue-crafting

Tworzy dobrze ustrukturyzowane issue w GitHubie z wynikami niezależnymi od rozwiązania, wykrywaniem duplikatów, dynamicznie dobranymi etykietami i kryteriami akceptacji opisującymi obserwowalne zachowanie.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
15.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 15.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Tworzy dobrze ustrukturyzowane issue w GitHubie z wynikami niezależnymi od rozwiązania, wykrywaniem duplikatów, dynamicznie dobranymi etykietami i kryteriami akceptacji opisującymi obserwowalne zachowanie.

Oryginalny opis (EN)

Craft well-structured GitHub issues with solution-agnostic outcomes, duplicate detection (open and closed), dynamically-discovered labels, and acceptance criteria describing observable behavior without implementation details. Use when creating new GitHub issues. Proactively suggest when an issue prescribes a method instead of describing an outcome.

Jak działa

  1. Contract
  2. Solution-Agnostic Rules
  3. Requirements Gathering
  4. Duplicate Detection
  5. Labels and Milestones
  6. Issue Body Structure
  7. Verification
Sekcje z nagłówków SKILL.md, w oryginale · 58 linii, 425 słów
Podgląd SKILL.md
---
name: issue-crafting
description: "Craft well-structured GitHub issues with solution-agnostic outcomes, duplicate detection (open and closed), dynamically-discovered labels, and acceptance criteria describing observable behavior without implementation details. Use when creating new GitHub issues. Proactively suggest when an issue prescribes a method instead of describing an outcome."
allowed-tools: Bash, Read, AskUserQuestion
agent: Explore
---

# Issue Crafting

## Contract

Iron law: issues describe outcomes, never implementations — if the issue says "how," rewrite it. Invoked by `/flow:issue` (all phases), by `/flow:start` Phase 1 when the issue lacks acceptance criteria, and by `/flow:review` and `/flow:address` when a user-selected finding becomes a new issue. Returns a created and verified GitHub issue (`gh issue view <N> --json number,title,state,labels`) whose body follows the Context / Current State / Objective / Acceptance Criteria structure, with labels drawn from `gh label list`. Permitted skips: none — duplicate search (open and closed) always runs before creation, and any of the four requirement elements that is missing is gathered via the AskUserQuestion tool before composing.

## Solution-Agnostic Rules

- Describe outcomes: "Users can reset their password via email" — not "Add a reset_password method to UserController that sends a Postmark email."
- Acceptance criteria are verifiable without reading code: "Resetting a password with a valid token changes the stored password" — not "The `reset!` method updates the `password_digest` column."
- Never include file paths, function names, or class names in acceptance criteria.
- No vague criteria ("improve performance", "make it better"); no bundling unrelated changes into one issue.

## Requirements Gathering

Collect four elements; for each gap, use the AskUserQuestion tool with contextual options (e.g., "What's the current behavior?"):

1. **Context** — background and motivation
2. **Current State** — what happens now, what the problem is
3. **Objective** — the outcome to achieve
4. **Acceptance Criteria** — observable behaviors that prove completeness

## Duplicate Detection

```bash
REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
gh issue list --state open --search "KEYWORDS" --limit 10
gh issue list --state closed --search "KEYWORDS" --limit 5
```

If matches are found, present them to the user before proceeding.

## Labels and Milestones

Never hardcode labels: `gh label list --json name,description --limit 50`, then select by content (bug reports → `bug`, features → `enhancement`, docs → `documentation`, security → `security`, when those labels exist). Check `gh api repos/$REPO/milestones --jq '.[] | "\(.number): \(.title)"'` and offer milestone assignment if any exist.

## Issue Body Structure

```markdown
## Context
{Background and motivation}

## Current State
{What's happening now — observable behavior}

## Objective
{What should be achieved — outcomes, not methods}

## Acceptance Criteria
- [ ] {Observable behavior 1}
- [ ] {Observable behavior 2}
```

## Verification

After creation run `gh issue view <N> --json number,title,state,labels` and confirm: clear, searchable title; no file paths or implementation details in the body; acceptance criteria describe what, not how; labels come from the repository's label set.

Wersje

W bazie nie ma innych skilli o nazwie issue-crafting.

Migawka bazy z 13.11.2026 · wersja paczki 109854b3e4ec (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100issue-create
    Tworzy zgłoszenie GitHub ze strukturalną treścią (kontekst, co, dlaczego, zakres, rozwiązanie) i dobranymi etykietami za pomocą gh CLI.
  • 100issue
    Pisze lub przepisuje issue w GitHubie jako bogaty w kontekst prompt dla innego agenta: dowody z kodu, wskazówki zamiast planu i obserwowalne kryteria akceptacji.
  • 100git-issue-create
    Otwiera pojedyncze zgłoszenie GitHub przez gh po sprawdzeniu duplikatów, z tytułem w konwencji, treścią zgodną z szablonem repozytorium i automatycznie dobranymi etykietami.
  • 100create-github-issue
    Tworzy zgłoszenia GitHub przez GitHub CLI z szablonami, etykietami, osobami przypisanymi, kamieniami milowymi i wersjami roboczymi.
  • 90github-issue-dedupe
    Wyszukuje zduplikowane lub podobne issues na GitHubie względem wskazanego zgłoszenia, bez zamykania, etykietowania ani modyfikowania znalezionych duplikatów.
  • 100issue-creator
    Tworzy ustrukturyzowane zgłoszenia GitHub z tekstu, zrzutów ekranu lub list, z kryteriami akceptacji i zachowanym kontekstem zgłaszającego, także hurtowo i przy porządkowaniu szablonów.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.