
create-issue
Use when the user asks to create a GitHub issue, file a bug, request a feature, open a tracking issue, or break a feature into multiple sub-issues. Guides interactive issue drafting with structured templates, workspace-change attachment, dependency linking, and the optional autonomous label for the automated dev pipeline.
- Installs
- 103
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/zxkane/autonomous-dev-team --skill create-issue- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads create-issue automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Create GitHub Issue
Create well-structured GitHub issues from user descriptions through interactive clarification.
Repository Detection
Detect the repository from the current git remote using your platform's CLI. Examples:
# GitHub lane (CODE_HOST=github):
REPO=$(gh repo view --json nameWithOwner -q '.nameWithOwner')
# GitLab lane (CODE_HOST=gitlab):
REPO=$(glab repo view -F json | jq -r '.path_with_namespace')
Both split into OWNER and REPO_NAME (or NAMESPACE and PROJECT on GitLab). If detection fails, ask the user for the target repository.
Process
Step 1: Understand the Request
When the user describes a feature or bug, gather context through clarifying questions. Do NOT create the issue immediately.
For features, clarify:
- What is the user-facing goal? (not implementation details)
- What are the acceptance criteria? (how to verify it works)
- For each acceptance criterion, is it pre-merge verifiable? Can its evidence
be obtained before the PR merges, from a surface the autonomous dev/review agents
can reach — a CI job, a PR-preview URL, a staging command, a local repro? Prefer
pre-merge-verifiable ACs and have the author name the surface + expected
evidence. If a criterion is not pre-merge verifiable (needs deploy/prod, real
users, a time soak, an external approval, prod telemetry, or credentials the bot
lacks), first check whether an existing PR-preview/staging path already covers the
same code path with the same input; if it genuinely cannot be verified pre-merge,
split it into a separate non-blocking, non-
autonomousfollow-up (seereferences/ac-verification.md). A blocking AC the loop cannot satisfy pre-merge is a known driver of non-terminating dev↔review loops. - Are there UI/UX implications?
- What existing functionality does this relate to?
- Priority and scope constraints
For bugs, clarify:
- Steps to reproduce
- Expected vs actual behavior
- Environment (prod, staging, PR preview)
- Severity (blocking, degraded, cosmetic)
- Any error messages or logs
- For each acceptance criterion of the fix, is it pre-merge verifiable? A bug
fix usually has more than one AC — classify every one, not just the headline
"the regression test fails before the fix and passes after" (that one is the
pre-merge default — name the surface: the CI
unit/E2E job). Beware framing any criterion as a post-merge/prod replay ("verify by replaying the failing batch through the deployed pipeline"): if an existing PR-preview/staging path already exercises the same code path with the same input, point that criterion at that surface instead. If a criterion genuinely can only be confirmed post-deploy, split it into a separate non-blocking, non-autonomousfollow-up (seereferences/ac-verification.md). This per-criterion classification applies to bug fixes exactly as it does to features — a blocking AC the loop cannot satisfy pre-merge is a known driver of non-terminating dev↔review loops regardless of issue type. (Note: the bug## Environmentfield may legitimately beprod— that's the repro environment, not an acceptance criterion.)
Ask 2-3 focused questions per round. Stop when there is enough information to write a clear issue.
The per-AC pre-merge-verifiable classification above applies to both issue types — features and bugs. Do not collect a bug report with a blocking prod-only acceptance criterion any more than you would for a feature.
Step 2: Draft the Issue
Use the appropriate template based on issue type. For full template content, consult references/issue-templates.md.
Both templates include these required sections:
- Summary / Motivation (feature) or Steps to Reproduce (bug)
- Requirements with checkboxes (feature) or Expected/Actual Behavior (bug)
- Testing Requirements (mandatory TDD section: test cases doc, unit tests, E2E tests)
- Acceptance Criteria with checkboxes
- Dependencies section for issue ordering
Step 3: Detect & Attach Workspace Changes
After drafting the issue, check the workspace for local changes that may provide useful context for the autonomous dev agent. For the complete detection, attachment, and cleanup procedure, consult references/workspace-changes.md.
Summary:
- Run
git status --short— skip if no changes - Summarize changes and ask user for confirmation
- Choose strategy based on diff size: inline (< 500 lines), branch push (>= 500 lines), or file list fallback
- Add a
## Pre-existing Changessection to the issue body - Optionally clean up local changes after attachment
Step 4: Confirm with User
Present the draft issue to the user with:
- Proposed title (concise, descriptive)
- Full issue body (including Pre-existing Changes section if applicable)
- Proposed labels
- Whether to add
autonomouslabel
Use AskUserQuestion to confirm:
- "Does this issue look correct? Should I create it?"
- Ask about autonomous label: whether AI should handle this automatically
Advisory pre-merge-verifiability self-scan (you are the linter — no runtime
script): self-scan the draft's AC checkbox lines only (the - [ ] lines under
## Acceptance Criteria, NOT other fields — this avoids false positives on the bug
template's ## Environment field, whose Stage: value may legitimately be prod)
for phrasing that signals a not-pre-merge AC:
post-merge, after merge, in production, and the long tail — live users,
soak, rollout, approver, prod telemetry, manual smoke. If a blocking AC
matches and there is no paired follow-up split, warn the author (advisory, not
blocking) and offer to split it per references/ac-verification.md §3 (create
a non-blocking, non-autonomous follow-up; reference it under ## Out of Scope,
never under ## Dependencies). Do not hard-fail the draft on a match.
Advisory agent-unwritable-surface self-scan (same AC-checkbox-lines-only
scope, a second pass over the same lines): also scan for phrasing that names a
verification surface the dev agent's scoped token cannot write to — at
minimum in (the )?PR (body|description|title) and PR metadata. Such an AC
can be fully pre-merge verifiable and still guarantee a dev-actionable=false
stall, because the scoped token can post PR/issue comments and commit files but
cannot edit PR metadata (Resource not accessible by integration, by design
per the two-token split — see references/ac-verification.md §5). On a
match, warn the author (advisory, not blocking) and suggest rewording to
name an agent-writable surface instead — e.g. "…in PR body" →
"…as a PR comment". Do not hard-fail the draft on a match.
Step 5: Create the Issue
Use GitHub MCP tools or gh CLI to create the issue with:
title: The confirmed titlebody: The confirmed bodylabels: Appropriate labels (see Label Guide below)
Report the created issue URL to the user.
If branch push was deferred (large diff strategy):
After the issue is created and the issue number is known:
- Execute the branch push commands from Step 3 using the actual issue number
- Update the issue body to include the branch reference section
Label Guide
| Label | When to Apply |
|---|---|
bug | Bug reports |
enhancement | Feature requests |
autonomous | User confirms AI should handle dev/test/review/merge automatically |
no-auto-close | Used with autonomous -- AI handles dev/test/review but stops before merge, requiring manual approval |
documentation | Documentation-only changes |
good first issue | Simple, well-scoped tasks |
Autonomous Label Decision
After drafting the issue, explicitly ask the user whether to add the autonomous label.
Provide guidance on when autonomous is appropriate:
- Good fit: Well-defined scope, clear acceptance criteria, follows existing patterns, no ambiguous design decisions
- Poor fit: Requires significant architecture decisions, needs user input during development, involves sensitive infrastructure changes, exploratory/research tasks
Frame the question as:
"Should this issue be handled by the autonomous development pipeline? The AI will automatically develop, test, review, and merge the changes. This works best for well-defined tasks with clear acceptance criteria."
If the user selects autonomous, also ask about no-auto-close:
"Should this issue also have the
no-auto-closelabel? With this label, the AI will handle development, testing, and review, but will stop before merging -- you'll be notified to make the final merge decision. This is recommended for sensitive infrastructure changes, features needing product sign-off, or experimental work."
Label interaction summary:
autonomousalone = AI handles dev/test/review and auto-merges on passautonomous+no-auto-close= AI handles dev/test/review but stops before merge, notifying the owner for manual approval
Writing Guidelines
- Title: Start with verb, be specific. "Add pagination to plans list page" not "Plans page improvement"
- Body: Write for an AI developer who has access to the full codebase but no verbal context from this conversation
- Acceptance criteria: Must be objectively verifiable, not subjective
- AC verification surface: For each acceptance criterion, classify it as pre-merge verifiable (evidence obtainable before merge — name the surface: CI job, PR-preview URL, staging command, or local repro — plus the expected evidence) vs not pre-merge verifiable (needs deploy/prod, real users, time soak, external approval, prod telemetry, or credentials the bot lacks). Prefer the former, and always name the surface + expected evidence rather than asserting the outcome alone. A genuinely not-pre-merge criterion belongs in a separate non-blocking, non-
autonomousfollow-up (reference it under## Out of Scope, never## Dependencies) — leaving it as a blocking AC is a known driver of non-terminating dev↔review loops. Full rubric, reuse-existing-preview guidance, the split procedure, and worked examples:references/ac-verification.md. - Scope: Prefer smaller, focused issues over large multi-part ones
- References: Link to related issues, PRD sections, or code paths when relevant
- Dependencies: The
## Dependenciessection must contain only issues that must be closed/merged before this issue can be started. Do NOT include: parent epics referenced for context, issues this one unblocks, or any#NNNreference that isn't a true blocker. The autonomous dispatcher parses this section literally — any open list-item ref causes this issue to be silently skipped until it closes/merges. Parsing scope: list-item lines only (lines starting with-,*, or1.); prose and blockquotes between## Dependenciesand the next##are ignored. On a list item, both#N(same-repo) andowner/repo#N(cross-repo) are recognized. If there are no blockers, write exactlyNone. Create issues in dependency order so earlier issue numbers are known when writing later ones. - Testing Requirements: ALWAYS include the "Testing Requirements" section. The dev agent follows the project's TDD workflow but has been observed to skip E2E tests or test-case docs when the issue doesn't explicitly call them out. Be specific about:
- Key scenarios each test type must cover (2-4 bullet points)
- For bugs: the regression test must fail before the fix and pass after
Multi-Issue Creation
When breaking a large feature into multiple issues:
- Create issues in dependency order — issues with no dependencies first, then issues that depend on them. This ensures issue numbers are known when writing dependency references.
- Populate the
## Dependenciessection in each issue body with#N(same-repo) orowner/repo#N(cross-repo) list-item links to directly blocking issues only. Do not reference parent epics, context issues, or issues this one unblocks — the dispatcher treats every list-item ref in that section as a hard blocker. Refs in prose or blockquotes are ignored. - Use a consistent naming scheme — prefix titles with the project/feature name for easy filtering (e.g., "MyProject: Add DynamoDB infrastructure").
- Cross-reference the plan — if an implementation plan exists, link each issue to the relevant plan tasks/chunks.
- The dispatcher skips blocked issues — issues with open dependencies in the
## Dependenciessection are ignored by the autonomous dispatcher until all dependencies are resolved (closed/merged).
References
For detailed content, consult:
references/issue-templates.md-- Full feature and bug issue templates with all required sectionsreferences/ac-verification.md-- Pre-merge-vs-not-pre-merge AC classification rubric, reuse-existing-preview guidance, the split-to-non-blocking-follow-up procedure, theno-auto-closeclarification, and two worked examples (loop prevention)references/workspace-changes.md-- Complete workspace change detection, attachment strategies, and cleanup procedure
FAQ
What does the create-issue skill do?
Use when the user asks to create a GitHub issue, file a bug, request a feature, open a tracking issue, or break a feature into multiple sub-issues. Guides interactive issue drafting with structured templates, workspace-change attachment, dependency linking, and the optional autonomous label for the automated dev pipeline.
How do I install create-issue?
Run npx skills add https://github.com/zxkane/autonomous-dev-team --skill create-issue in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/create-issue/ (personal) or .claude/skills/create-issue/ (project).
Which AI agents can use create-issue?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is create-issue safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains create-issue?
It is published by zxkane in zxkane/autonomous-dev-team. It has 103 recorded installs.
More from zxkane/autonomous-dev-team
autonomous-dispatcher
zxkane/autonomous-dev-team
Open the skill to read its SKILL.md instructions.
autonomous-review
zxkane/autonomous-dev-team
Use to perform an end-to-end PR review and reach an approve/request-changes verdict — including verifying acceptance criteria, running E2E tests via browser automation, resolving merge conflicts, and (when verdict passes) merging the PR. Triggers on phrases like "review this PR", "decide whether to approve and merge", "run E2E verification", "resolve merge conflicts on PR N", or when the dispatcher hands off a PR labeled pending-review / reviewing for autonomous review. Distinct from in-flight dev-side self-review (that lives in autonomous-dev's pr-review step).
autonomous-dev
zxkane/autonomous-dev-team
Use to develop a feature or bug fix end-to-end through a TDD git-worktree workflow — interactively (developer-led) or unattended (autonomous-mode, driven by the dispatcher). Triggers on phrases like "implement issue N", "fix this bug", "add a feature", "create a worktree", "write test cases", "push and open a PR", "check CI", "address review comments", "resolve review threads", "/q review", "/codex review", "implement this autonomously", or any partial step in the design → worktree → tests → implement → verify → review → PR → CI → E2E lifecycle. Interactive mode asks for decisions; autonomous mode makes decisions per autonomous-mode.md and posts progress comments to the GitHub issue.
autonomous-common
zxkane/autonomous-dev-team
Open the skill to read its SKILL.md instructions.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
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.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.