create-issue
Skill250 starsChanged 4 months agoMITView on GitHub
File GitHub issues for the claude-lens project with the right shape for the work type — plan tasks from specs/claude-lens-plan.md, Phase 4 page tasks, spikes, bugs, enhancements, chores. Use this whenever the user asks to create/file/open an issue, turn a plan task (e.g. "#P2-3") into an issue, scaffold issues for a phase, log a bug, or propose a spike/investigation — even if they don't say the word "issue" (e.g. "let's get P1 into GitHub", "track this as a task").
22 other projects use a version of this.
Adopted by
Most recently taken up by
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- juanitourquiza/shipframetheir own version, first seen Oct 1, 2026
- zxkane/autonomous-dev-teamtheir own version, first seen Sep 21, 2026
- phmatray/tagouttheir own version, first seen Sep 14, 2026
- The01Geek/prflowtheir own version, first seen Aug 29, 2026
- nudgebee/nudgebeetheir own version, first seen Aug 24, 2026
Used with
Projects with it also use create-pr, review-pr and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcreate-pr
Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.
Also in 9 projects that use this
Microsoft AzureSkillreview-pr
Review a pull request for functional issues, coding guideline adherence, and best practices. Use this when asked to review, inspect, or provide feedback on a pull request (Azure DevOps or GitHub). Proposes comments for user approval before posting.
Also in 4 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- dsifry/metaswarm★ 419same name
- nudgebee/nudgebee★ 398same name
- getnao/sylph★ 209same name
- The01Geek/prflow★ 99same name
- zxkane/autonomous-dev-team★ 38same name
- felirangelp/harness-driven-dev★ 15same name
- deevus/tea-skills★ 11same name
- pekral/cursor-rules★ 10same name
- jeremymcs/skills★ 8same name
- AGMO-Inc/agmo-everywhere★ 4same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- archive-issueSkill
- move-to-worktreeSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
If the request maps to several plan tasks (e.g.
- Very specific: line 28
plan-task / page: Read the task's entry in specs/claude-lens-plan.md — the task body is the scope, and the *Acceptance:* line must be …
- Very specific: line 167
When the user says the drafts are final, flip the approved ones to status: ready, then run the bundled script from the repo root:
- Very specific: line 175
Do not check off plan checkboxes on filing — boxes flip when issues *close*, per the plan doc's usage note.
- Very specific: line 176
If gh fails mid-run (auth, missing label/milestone), already-filed drafts are safely marked filed — fix the cause (e.g.
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Issue
Issues in this repo come in different shapes because the work does: a plan task carries acceptance criteria written months in advance; a bug carries a repro; a spike carries a question and a timebox. One rigid template can't serve all of these, so this skill generates the right body per type and files it with gh issue create.
The specs are the source of truth. Never invent scope or acceptance criteria — pull them from the docs, and if a plan task is missing something, flag the gap to the user instead of papering over it.
Step 1 — Classify the request
| Type | Signals |
| plan-task | A task ID like #P2-3, or "file the Phase 1 issues" — anything that maps to a checkbox in specs/claude-lens-plan.md |
| page | A plan-task that is one of the 11 Phase 4 page tasks (#P4-2, 4–10, 14–16). Same as plan-task plus extra page-specific content (see Step 2) |
| spike | Open question, investigation, "figure out whether…", timeboxed research. Not in the plan doc |
| bug | Something built is behaving wrongly |
| enhancement | New feature/improvement idea that is not in the plan doc. If it belongs in the plan, suggest adding it there first — the plan is the backlog of record |
| chore | Repo/tooling/docs upkeep with no user-facing behavior |
If the request maps to several plan tasks (e.g. a whole phase), file one issue per task, sequentially in plan order.
Step 2 — Source the content
plan-task / page: Read the task's entry in specs/claude-lens-plan.md — the task body is the scope, and the Acceptance: line must be copied verbatim into the issue (plan-doc rule). Follow the task's spec references before writing the body:
- architecture §N →
docs/claude-lens-architecture.md - pages §N →
specs/claude-lens-pages.md - gates →
specs/gates.md - mockups →
specs/pages/<page>.html
Derive Depends on / Unblocks from plan order: phases 0–3 are strictly sequential; within Phase 4 the plan's ordering notes apply. Reference dependencies by task ID — don't hit GitHub during drafting; if a dependency was already filed, its issue number is in its own draft's frontmatter under specs/issues/.
page (extra): The issue must also carry:
- The binding section list from the page's table in
claude-lens-pages.md(spec wins over mockup). - The mockup path (
specs/pages/X.html) as visual reference, not exhaustive contract. - Any of the six known spec-vs-mockup gaps that affect this page (listed in the plan's Phase 4 standing rules) — implement from the spec table.
- The three standing rules as a Definition of Done: Cypress smoke spec (render + one drill-link), Storybook for component states, manual mockup sign-off on real data.
spike / bug / enhancement / chore: Content comes from the conversation. Before filing, make sure you have: for a bug, a repro and expected-vs-actual; for a spike, the question, why it matters now, and a timebox/exit criterion. If these are missing, ask — a bug without a repro or a spike without an exit criterion is not worth filing.
enhancement, when it's more than a one-liner: first check specs/requirements/ for a REQ doc covering it. If one exists, source the issue from it exactly as plan tasks are sourced from the plan doc — summary from its problem statement, acceptance criteria copied verbatim, REQ path linked under References. If none exists and the scope is fuzzy (multiple behaviors, unstated edge cases, no verifiable done-signal), pause and suggest the user run /plan-requirements first — it's their user-invocable interview skill (you cannot invoke it yourself) and produces the REQ doc this issue should be derived from. Only file straight from conversation when the enhancement is small enough that its acceptance line is obvious. This keeps one rule across all issue types: issues cite a requirements source; they never invent one.
Step 3 — Title, labels, milestone
| Type | Title | Labels | Milestone |
| plan-task / page | #P<phase>-<n> — <task title from plan> | phase-<N> | Phase <N> — <name> |
| spike | spike: <question in one line> | spike + phase-<N> if it blocks a phase | phase milestone if applicable |
| bug | bug: <symptom> | bug + phase-<N> of the affected area | current phase |
| enhancement | feat: <capability> | enhancement | usually none until planned |
| chore | chore: <what> | documentation/none as fits | usually none |
Phase labels (phase-0…phase-5) and the six phase milestones already exist. The spike label may not — create it on first use: gh label create spike --description "Timeboxed investigation" --color 1d76db.
Step 4 — Body shapes
Shapes below; drop sections that would be empty rather than leaving placeholders. Reference dependencies by task ID — GitHub issue numbers usually don't exist yet at drafting time (a filed dependency's number is in its own draft's frontmatter if you need it).
plan-task / page
Task **#P<X>-<Y>** from [specs/claude-lens-plan.md](../blob/main/specs/claude-lens-plan.md) — Phase <X>.
## Summary
<one or two sentences: what this delivers and why it's in this phase>
## Scope
<bullets pulled from the task body; spec section refs inline, e.g. "per architecture §4">
## Acceptance criteria
<the plan doc's *Acceptance:* line, verbatim, as bullets>
## Dependencies
- Depends on: <task IDs / #issue numbers, or "none — first in phase">
- Unblocks: <next task(s)>
## References
<spec sections, mockup path, decisions-log rows that constrain this task>For page tasks, add between Acceptance and Dependencies:
## Page contract (pages spec §<N>)
<the section table rows: section → data dep → tier behavior → drill target>
Spec-vs-mockup gaps to implement from the spec table: <the relevant items, or "none for this page">
## Definition of done (Phase 4 standing rules)
- [ ] Cypress smoke spec: route renders key sections from fixtures; one drill-link lands filtered
- [ ] Component states covered in Storybook (not Cypress)
- [ ] Manual visual sign-off vs `specs/pages/<page>.html` on real data; plan checkbox flippedspike
## Question
<the single question this spike answers>
## Why now
<what decision or task is blocked on the answer>
## Approach
<how to investigate — prototype, measurement, reading; keep it cheap>
## Timebox & exit criterion
<e.g. "1 day; exits with a decisions-log row + recommendation, regardless of outcome">bug
## Symptom
<what happens, where — page/route/module>
## Repro
<numbered steps, or the fixture/data that triggers it>
## Expected vs actual
<one line each>
## Suspected area
<file/module if known; omit if not>enhancement / chore
## What & why
<the capability or upkeep, and the motivation>
## Acceptance
<how we'll know it's done — verifiable, in the spirit of the plan doc's acceptance lines;
copied verbatim from the REQ doc when one exists>
## References
<`specs/requirements/REQ-<slug>.md` if the issue was derived from one>Step 5 — Draft locally (never file directly)
Issues are drafted as local files first so the user can edit them until happy, then published to GitHub in one batch — not one HTTP round-trip per revision. Write each draft to specs/issues/<ID>-<slug>.md (e.g. P0-2-move-v1-into-legacy.md; for ad-hoc types use bug-<slug>.md, spike-<slug>.md, …):
---
title: "#P0-2 — Move V1 app into legacy/"
labels: phase-0
milestone: Phase 0 — Spec closure & repo prep
status: draft
---
<issue body per Step 4>Frontmatter rules: labels comma-separated; omit milestone if none; status is the lifecycle:
draft— being edited. The user owns drafts once written: before regenerating or updating one, re-read it — their manual edits must survive, so never overwrite except on their explicit ask.ready— user has approved it for publishing. Flip drafts toreadyonly when the user says they're final ("publish these", "file them", "looks good, ship it").filed— on GitHub;issue:andurl:lines were added by the publish script. Filed drafts are frozen local records — GitHub is the source of truth from then on; don't edit them.
Step 6 — Publish in one run
When the user says the drafts are final, flip the approved ones to status: ready, then run the bundled script from the repo root:
bash .claude/skills/create-issue/scripts/publish.shIt files every ready draft sequentially in natural-sort order (P0-2 before P0-10) via gh issue create, marks each filed with its issue number and URL, and paces requests to respect GitHub rate limits. Afterwards, report the URLs.
- Do not check off plan checkboxes on filing — boxes flip when issues close, per the plan doc's usage note. Flip
[ ]to[~]only if the user says work is starting now. - If
ghfails mid-run (auth, missing label/milestone), already-filed drafts are safely markedfiled— fix the cause (e.g.gh label create spike …), rerun the script, and it resumes with the remainingreadydrafts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

