Skip to content
Back to skills

New Issue

ASecurity

File an issue: duplicate check, the right form, labels, milestone, board fields

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
developmentgoterraformgitapifrontendsecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add enorm-labs/event-junkie --skill new-issue --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Issue?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for New Issue
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/enorm-labs-new-issue/badge)](https://www.skillsdirectory.com/skills/enorm-labs-new-issue)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: new-issue
description: "File an issue: duplicate check, the right form, labels, milestone, board fields"
---

# New Issue

Turn a description into a well-formed issue on the tracker: check it isn't already filed, pick the right form, draft it in house style, and set type, labels,
milestone and board fields.

## Important

- **Check for a duplicate first, and say what you found.** Roughly a third of what gets "discovered" during a smoke test or an audit is already filed — several
  of the importer defects are cross-cutting and were filed once for every venue they touch. Filing a second copy is worse than not filing: it splits the
  discussion and the eventual fix.
- The `gh` CLI is installed and authenticated.
- **Don't invent a milestone or a label.** Both vocabularies are closed (below). If nothing fits, say so and ask — a new label is a decision, not a detail.
- Creating an issue on a **public** repository is outward-facing. Draft it, show the user, and create it once they're happy — unless they've already said to
  just file it.

## Steps

1. **Search for an existing issue.** Two cheap passes, both worth doing:

    ```sh
    grep -in '<keyword>' build/BACKLOG.md          # the local snapshot of every open issue
    gh issue list --search '<keyword>' --state all --limit 20
    ```

    `build/BACKLOG.md` is a generated mirror — free to grep, no network. The `gh` search also finds _closed_ issues, which matters: something closed as `wontfix`
    or already fixed is an answer, not a gap. If you find a match, report it and stop unless the user wants a separate issue anyway.

2. **Pick the form.** The template decides which questions the issue has to answer, so choose before drafting:

    | Form                       | For                                                                                                                                                                     |
    | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | `4-task.yml` 🛠             | The default. Infrastructure, docs, tooling, parser repairs — anything that isn't a user-facing feature or a decision.                                                   |
    | `5-feature.yml` ✨         | Something a visitor or operator will be able to _do_. Story format, and **only where there is a user** — "As a user I want Terraform" is a Task.                        |
    | `6-importer-defect.yml` 🔍 | We lose or mangle data the source _did_ publish. Asks for the scraper, the source text, what we store, the code path, and **whether the fix needs a `--full` re-seed**. |
    | `7-decision.yml` ⚖️        | A choice that has to be made before work can start. Gets `needs-decision`.                                                                                              |
    | `8-epic.yml` 🧭            | A theme large enough to hold sub-issues.                                                                                                                                |

    Forms 1–3 are for visitors, and a visitor's issue arrives through them already labelled. Read its labels before you add more:

    | Form                        | For                                       | Applies                                   |
    | --------------------------- | ----------------------------------------- | ----------------------------------------- |
    | `1-wrong-event-data.yml` 📅 | An event that is wrong, stale or missing  | type `Bug`, `bug`, `importer`             |
    | `2-bug.yml` 🐛              | A page, a filter or an endpoint is broken | type `Bug`, `bug`                         |
    | `3-new-venue.yml` 🎪        | A venue to import                         | type `Feature`, `importer`, `enhancement` |

    An agent files with forms 4–8. A visitor-shaped finding still goes to 4 or 6, which ask what the work needs.

    **A finding that is _not_ an issue:** an accepted limitation — a field the venue never publishes, a trade-off a parser makes deliberately — belongs in that
    scraper's KDoc, next to the code it constrains. See AGENTS.md.

3. **Draft the body.** Match the house style of the existing issues (`gh issue view 302` is a good example):
    - **Keep the specifics.** File and function names, real example strings from the source, the blast radius as a number. _"7 artist rows today, 5 of them VOID
      Club's"_ is worth more than "several".
    - **Say what it costs and what it is blocked on**, not just what it is.
    - **Record what was decided against, and why.** A choice that isn't written down gets rediscovered as an oversight and "fixed".
    - Add a **Done when** checklist where the finish line isn't obvious.
    - **An issue that cannot start before a day** gets one line `Due: YYYY-MM-DD` at the top of the body. [`/daily-check`](../daily-check/SKILL.md)
      lists it as ACT from that day. A date only in prose reaches nobody (#4713).

4. **Choose type, labels and milestone.** All three vocabularies are closed:
    - **Type** (a GitHub issue type, _not_ a label): `Task` · `Bug` · `Feature`. Never add a `type:` label.
    - **Area** (pick one or more): `area:data-quality` `area:bff` `area:frontend` `area:infra` `area:ci` `area:legal` `area:seo` `area:security` `area:agents` —
      plus `importer` and `documentation`, which double as area labels because release-note grouping already depends on them.
    - **Visitor labels**: `bug` and `enhancement` come from forms 1–3. Keep them on a visitor's issue; do not add them to one an agent files.
    - **Size** (exactly one): `size:S` under half a day · `size:M` one to two days · `size:L` about a week · `size:XL` too big, split it.
    - **State**, only if it applies: `blocked` (another issue) · `needs-decision` (a choice) · `needs-deployment` (a live origin).
    - **`afk-ok`**, when [`/afk`](../afk/SKILL.md) can take the issue to a draft PR with nobody to ask. Decide it for every issue, and add it only when all of
      these hold:
        - No state label above, and not `size:XL`.
        - The body settles every choice the work needs. A choice still open is reversible, and the body says which option to take. A list of options with
          no pick is a question, not a plan.
        - Every done-when item can be checked without the user. "Check by eye", a venue fact only the user can confirm (an address, whether it is still
          open), or a confirmation from a person is not.
        - Nothing irreversible, no legal or product call, and no category from AGENTS.md § Privacy & GDPR.
        - A cluster is touched only after the merge, as unticked `- [ ] <env>: <verb>` lines the body asks the PR to carry under `## After deploy`.
        - The gates fit one of `/afk`'s two lanes. Neither runs the Playwright suite or a browser against a live site; `scripts/pr-screenshots.sh`,
          `scripts/admin-screenshots.sh` and `scripts/readme-screenshots.sh` are the exceptions.

        Say in the report why an issue is or is not `afk-ok`. When one condition fails, name it, so the operator can fix the body and add the label,
        or [`/refine-issues`](../refine-issues/SKILL.md) can later.

    - **Milestone**: `1.0.0 — Out of beta` takes fixes, importer work and polish until the beta badge goes (#295); `Phase 3` / `Phase 4` hold
      epics. **No milestone is a valid answer** — it means unscheduled.

5. **Create it.**

    ```sh
    gh issue create --title '…' --body-file - --type Task \
      --milestone '1.0.0 — Out of beta' \
      --label importer --label 'area:data-quality' --label 'size:M' <<'EOF'
    …body…
    EOF
    ```

    A draft from `/worklist`, `/daily-check`, `/log-check` or `/ui-check` can name a label that does not exist, such as `area:importer` or
    `size:XS`. Check every label of a draft against step 4 before you file it. `gh issue create` refuses an unknown label and files nothing.

6. **Set the board fields.** Status and Priority are project fields, not labels:

    ```sh
    scripts/issue-board.sh status <n> Ready      # Backlog | Ready | In progress | In review | Blocked | Done
    scripts/issue-board.sh priority <n> P1       # P0 now · P1 next · P2 later
    ```

    `Ready` means understood and unblocked. Anything with a `blocked` / `needs-decision` / `needs-deployment` label should be `Blocked`, not `Backlog` — that is
    what the board's Blocked view filters on.

    **Filing more than two or three at once? Use `batch` instead.** Each single-issue call re-resolves the project, the field, the option and the whole item
    list — four to five GraphQL requests every time. A run of sixteen back-to-back calls trips GitHub's **secondary** rate limiter, the one that governs writes,
    and it does not look like a rate limit when it does: `gh` reports "API rate limit exceeded" while `gh api rate_limit` still shows thousands of points
    remaining, because the two budgets are counted separately. The limiter then blocks further writes for the better part of an hour.

    ```sh
    scripts/issue-board.sh batch <<'EOF'
    467 Ready   P2
    469 Blocked P1
    476 In progress        # status only — a two-word status is fine
    480 -       P2         # priority only
    EOF
    ```

    One issue per line, `<issue> [status] [priority]`; `-` skips a field, `#` starts a comment. Every line is validated before anything is written, so a typo
    fails the run with nothing applied rather than half of it.

7. **Link it.** If it relates to, blocks or is blocked by an existing issue, say so in the body (`Related: #NNN`, `Blocked by: #NNN`). For a child of an epic,
   use a real sub-issue rather than a checklist item — sub-issues show progress and can be worked independently.

8. **Report** the issue number, its URL, and what you set.

## Notes

- **`build/BACKLOG.md` is generated and not committed.** Never edit it to add the new issue — regenerate it instead.
- **Several issues at once** (an audit or smoke test that found five things): file them individually, but check for duplicates in one pass first, and mention
  any that turned out to be the same underlying defect in different venues — that is usually one issue, not five. Set the board fields for the whole set with
  `scripts/issue-board.sh batch` (step 6) rather than one call per issue — that is the path that trips the write limiter.
- **If it needs an ADR**, use the decision form and say so in it. The ADR is where the answer lands; the issue is where the thinking happens.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.