Skip to content
Agentmart
Submit a tool

create-issue

Create a GitHub issue with background, prioritized acceptance criteria (Must/Should), and a justified time budget.

Skill by tomzx

IndexedMIT★ 12
Write a review

Chalk Labs

Need help deploying create-issue?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tomzx-create-issue

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create a GitHub issue with background, prioritized acceptance criteria (Must/Should), and a justified time budget.

Use cases: finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/create-issue

What's inside

Skill name
create-issue
Description
Create a GitHub issue with background, prioritized acceptance criteria (Must/Should), and a justified time budget.
License
MIT
Instructions
215 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Create GitHub Issue

Creates a structured GitHub issue in the specified repository with background, prioritized acceptance criteria (Must/Should), and (for private repositories) a justified time budget so implementers have clear scope and exit criteria.

## Prerequisites

- Apply the shared SDLC conventions in `skills/sdlc/references/shared.md`.
- If no argument is provided, operate on `$REPO`.
- `gh` CLI authenticated with write access to the target repository
- `ghx` CLI available for posting the follow-up comment
- Repository name in `owner/repo` format (`$1`), or omitted to use the repository in the current working directory
- The `search-existing-issues` skill available for the duplicate search in step 1

### Skill attribution (GitHub)

Before creating an issue with `gh issue create`, read [`github-post-attribution/SKILL.md`](../github-post-attribution/SKILL.md) and append the **Created with** footer for `SKILL_DIR` = `create-issue` to the issue body.

### Communication guidelines (outbound text)

Before composing any text posted or drafted on the user's behalf, apply [`communication-guidelines/SKILL.md`](../communication-guidelines/SKILL.md).

When this skill is invoked as part of an `sdlc` pipeline run, also include the **SDLC phase footer** described in `github-post-attribution/SKILL.md` (prepend the `SDLC phase: <phase> (<FEAT-id> #<issue>)` line above the `Created with` line).

## Formatting

- Do not use curly or typographic quotation marks in any text you write for the issue (title, body, sections, lists, or examples).
  Use straight ASCII double quotes (`"`) and straight apostrophes (`'`) only.
- Write one sentence per line throughout the issue body.
  Lists and checklist items follow their own format, but any prose paragraph should have each sentence on its own line.

## Acceptance Criteria

- Split into **Must** (the exit gate, the minimum bar for "done") and **Should** (deferrable without blocking the issue).
- Aim for the smallest set that proves the issue is resolved.
  If **Must** grows beyond roughly 5 items, the issue is probably too broad and should be split rather than padded with more criteria.
- Each criterion must be testable (a concrete test can be written for it) and specific about *what*, not *how*.
- Put the happy path in **Must**.
  Move edge cases, error handling, and polish to **Should** unless they are part of the core definition of done.
- Omit the **Should** subsection entirely when there are no deferrable items.
  Do not invent nice-to-haves just to fill it.

## Time Budget

- Give a **total** plus a short **breakdown** so the estimate can be defended and challenged rather than asserted.
- Weight the estimate toward **planning and evaluation**, not implementation.
  With AI-assisted development, writing the code is nearly free and instant; the main cost is understanding the problem, designing the solution, evaluating alternatives, and validating the result.
  Treat implementation sub-estimates as negligible unless the work is genuinely large (e.g. multi-day migrations, hardware-bound work, or mass repetitive changes).
- The breakdown should put first the activities that actually limit delivery: research, design, feasibility evaluation, review, and validation/testing.
- Each breakdown line pairs a work area with a sub-estimate and a one-line cost driver (e.g. "unfamiliar codepath", "needs a design decision", "requires cross-team input").
- List the **assumptions** the estimate depends on (what is already in place, what is out of scope).
  When an assumption breaks, revisit the estimate.
- Keep it rough: half-day precision is fine.
  Do not over-engineer the breakdown for small issues (a single line is acceptable when the work is genuinely one lump).

## Summary

- If the issue description (background plus any context you would write) exceeds 200 words, add a **Summary** section before the **Background** section.
- The summary must be less than 200 words, at most 5 sentences, with one sentence per line, and concisely summarize the ask: what is needed and why, in plain terms.
- If the description is 200 words or fewer, omit the Summary section entirely.

## Issue Body Scope

- Keep the issue body focused on summary (when applicable), background, acceptance criteria, and time budget.
- If you have detailed code analysis (e.g. files examined, codepaths traced, root-cause reasoning, relevant snippets), do not push it into the issue body.
  Instead, post it as a follow-up comment after the issue is created.
- The issue body should give implementers enough context to start work; the follow-up comment provides the deeper analysis for those who want it.

## Steps

1. **Search for duplicates** first, before any codebase investigation, by running the [`search-existing-issues`](../search-existing-issues/SKILL.md) skill with the user's report text and the target repository.
   That skill extracts keywords, runs several searches, ranks candidates, and reads the top matches.
   If it reports a strong or possible match, stop and inform the user with the existing issue URL (for a strong open match, suggest adding details to it instead).
   Do not create a new issue unless the user confirms it is not a duplicate.
   Only once the search comes back empty (or the user confirms the report is not a duplicate anyway) do the later steps and any code investigation begin.
2. If the issue is a bug report, ask the user: "Which version are you on?" and wait for their answer before proceeding.
3. If the issue is a feature request, determine the current version on the default branch (main/master) so the issue records what commit the request was filed against.
   Use `gh api repos/{owner}/{repo} --jq '.default_branch'` to find the default branch, then get the short SHA via `gh api repos/{owner}/{repo}/commits/<default_branch> --jq '.sha[0:7]'`.
4. Determine if the repository is public or private using `gh repo view [--repo $1] --json isPrivate --jq '.isPrivate'`.
   A public repository is treated as open source; omit the **Time budget** section.
   A private repository includes it.
5. **Determine the issue type**.
   Query the repository for available issue types:
    ```
    gh api graphql -f query='{ repository(owner:"<owner>", name:"<repo>") { issueTypes(first:20) { nodes { name id } } } }'
    ```
   Map the issue content to a type:
    - Bug reports → `Bug`
    - Feature requests → `Feature`
    - Everything else → `Task` If the query returns `null` or an empty list, the repository does not support issue types; skip type assignment.
6. **Choose labels and verify they exist**.
   Determine the desired labels: defaults `not-urgent` and `not-important`, or whatever the user asked for instead.
   Then query the repository for existing labels:
    ```
    gh label list [--repo $1] --json name --jq '.[].name'
    ```
   Filter the desired labels to only those that exist in the repository.
   If none of the desired labels exist, create the issue without labels and note which labels were skipped.
   Do not attempt to create labels.
7. Create the issue with the structured body.
   For bug reports, include a **Version** section with the version the user provided.
   For feature requests, include a **Version** section with the current default-branch version determined in step 3.
   Omit `--repo` if no repository was provided (gh will infer it from the cwd).
   Only include `--label` flags for labels confirmed to exist in step 6:
    ```
    gh issue create [--repo $1] --title "<title>" --body "$(cat <<'EOF'
    # Summary

    <less than 200 words, at most 5 sentences, one sentence per line, summarizing the ask, only if the description exceeds 200 words; omit this section otherwise>

    # Background

    <context and motivation>

    # Version

    <version reported by user for bug reports, or current default-branch version for feature requests — do NOT wrap in backticks; write it as plain text so GitHub renders it as a commit link> (omit for issues that are neither)

    # Acceptance Criteria

From tomzx/agents, MIT.

More from tomzx/agents

Signals

Stars
12
Forks
1
Open issues
16
Last commit (this folder)
Oct 7, 2026 (25 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tomzx

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get create-issue running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying create-issue?

CallGet help
Cite this page

create-issue skill. Agent Mart. https://agentmart.dev/skills/tomzx-create-issue (last updated 2026-10-24)