From escapement
Create GitHub issues from natural language, designed for ad hoc idea capture mid-flow. Invoke when user says "create an issue", "file a bug", "open an issue to track", "add a feature request", or "create a ticket".
How this skill is triggered — by the user, by Claude, or both
Slash command
/escapement:create-issueThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create GitHub issues directly from natural language prompts without leaving the coding session. This skill is designed for **ad hoc idea capture** - when a thought strikes mid-flow and needs to be filed before it's lost. The issue may relate to current work or be completely unrelated. The skill is lightweight and conversational, not ceremonial.
Create GitHub issues directly from natural language prompts without leaving the coding session. This skill is designed for ad hoc idea capture - when a thought strikes mid-flow and needs to be filed before it's lost. The issue may relate to current work or be completely unrelated. The skill is lightweight and conversational, not ceremonial.
This skill activates when the user says things like:
Detect the target repository quickly without ceremony:
Determine owner/repo:
git remote get-url origin
Parse owner/repo from the remote URL (HTTPS or SSH format).
Note current work context (opportunistic):
git branch --show-current and any active scratchpadThis phase should be near-instant. Do not read CLAUDE.md or perform extensive context gathering unless the user's request specifically benefits from it (e.g., "file a bug about the archivist module" - then knowing module conventions helps).
This is the core interaction. The operator's initial prompt may be detailed or vague. Scale the questioning accordingly.
If the prompt is already detailed (has a clear title, describes the problem/feature, mentions specifics):
If the prompt is vague (e.g., "file a bug about login timeouts"):
Use AskUserQuestion to gather what's missing. Ask only what's needed - don't over-interrogate.
Potential clarifying questions (use judgment on which to ask):
Title refinement:
AskUserQuestion:
question: "Proposed title: '{inferred title}'. Does this capture it?"
header: "Title"
options:
- label: "Yes, looks good"
description: "Use this title as-is"
- label: "Let me rephrase"
description: "I'll provide a better title"
Issue type (if not obvious from phrasing):
AskUserQuestion:
question: "What kind of issue is this?"
header: "Type"
options:
- label: "Bug"
description: "Something is broken or behaving incorrectly"
- label: "Feature"
description: "New capability or enhancement"
- label: "Task"
description: "Work item, chore, or maintenance"
More detail (if the description would be too thin):
AskUserQuestion:
question: "Can you add more detail? For example: what's the expected vs actual behavior, or what the feature should do?"
header: "Details"
options:
- label: "Let me describe more"
description: "I'll provide additional context"
- label: "Keep it brief"
description: "The title says enough for now"
Labels (suggest based on issue type, only if repo uses labels):
bug labelenhancement labelKey principle: Treat this like a quick conversation, not a form to fill out. Two questions max for a simple issue. More only if the operator's idea genuinely needs fleshing out.
Compose the issue:
Title: Clear, concise, imperative or descriptive
Body template (adapt based on type):
For bugs:
## Summary
{Description of the problem}
## Expected Behavior
{What should happen}
## Actual Behavior
{What happens instead}
## Context
{Any relevant context - repo, module, version}
For features/tasks:
## Summary
{What and why}
## Proposed Behavior
{How it should work}
## Acceptance Criteria
- [ ] {Criterion 1}
- [ ] {Criterion 2}
For quick captures (when user chose "keep it brief"):
{One or two sentences describing the idea}
Preview and confirm:
Display the full issue draft, then:
AskUserQuestion:
question: "Create this issue?"
header: "Confirm"
options:
- label: "Yes, create it"
description: "Submit the issue to GitHub"
- label: "Edit first"
description: "I want to modify the title or body"
- label: "Cancel"
description: "Don't create the issue"
If user chooses "Edit first":
Create the issue:
mcp__github__create_issue(
owner: "{owner}",
repo: "{repo}",
title: "{title}",
body: "{body}",
labels: ["{labels}"]
)
Report result:
Issue created!
#{number}: {title}
{issue URL}
Labels: {labels}
Offer next step (only if it makes sense):
AskUserQuestion:
question: "Want to start working on this issue now?"
header: "Next"
options:
- label: "Yes, set up work"
description: "Run setup-work to create scratchpad and branch"
- label: "No, back to what I was doing"
description: "Return to current work"
If user chooses to set up work, invoke:
Skill: setup-work
args: "{issue_number}"
Note: Most of the time the user filed this ad hoc and wants to get back to their current task. Default expectation is "No, back to what I was doing."
The skill can read the project's CLAUDE.md for enrichment but doesn't require it:
This is opportunistic - the skill works perfectly well without any of this. Don't slow down the interaction to read configuration files unless the user's request clearly benefits.
Could not detect repository from git remote.
Are you in a git repository? Specify the target:
owner/repo (e.g., "fusupo/escapement")
Failed to create issue: {error message}
This might be a permissions issue. Check:
- GitHub authentication: gh auth status
- Repository access: do you have write access?
If the user's prompt is too vague to extract even a rough title:
AskUserQuestion:
question: "What should the issue title be?"
header: "Title"
options:
- label: "Let me type it"
description: "I'll provide the title"
Chains to:
setup-work - If user wants to immediately work on the new issueIndependent of:
Can be used during:
do-work sessions - Mid-implementation idea capturebug)Version: 1.0.0 Last Updated: 2026-02-18 Maintained By: Escapement
npx claudepluginhub fusupo/escapement --plugin escapementCreates well-structured GitHub issues using gh CLI with templates for bugs, features, tasks including titles, descriptions, acceptance criteria, and labels. Use for filing bugs or feature requests.
Creates, lists, and views GitHub issues using the gh CLI with a guided workflow for gathering titles, descriptions, and action selection.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.