Agent Skillstermio-sh/termio › issue-creator

issue-creator

GitHub

将模糊的用户反馈转化为结构化的 GitHub Issue。通过提取关键信息、核对仓库规范及代码上下文,确保 Issue 客观准确,避免虚构需求。

skills/issue-creator/SKILL.md termio-sh/termio

Trigger Scenarios

用户反馈建 issue 把这个模糊需求变成 issue 把这段聊天/截图建成 GitHub issue

Install

npx skills add termio-sh/termio --skill issue-creator -g -y
More Options

Use without installing

npx skills use termio-sh/termio@issue-creator

指定 Agent (Claude Code)

npx skills add termio-sh/termio --skill issue-creator -a claude-code -g -y

安装 repo 全部 skill

npx skills add termio-sh/termio --all -g -y

预览 repo 内 skill

npx skills add termio-sh/termio --list

SKILL.md

Frontmatter
{
    "name": "issue-creator",
    "description": "Turn vague customer or user feedback from pasted text, chat excerpts, or screenshots into a clear, evidence-backed GitHub issue without inventing requirements. Use when the user says 'create an issue for this', 'turn this user request into an issue', 'file this feedback', '用户反馈建 issue', '把这个模糊需求变成 issue', '把这段聊天\/截图建成 GitHub issue', or invokes \/issue-creator."
}

Vague user request → actionable GitHub issue

Preserve the user's voice, identify the underlying problem, add only grounded repository context, and create the smallest honest issue that moves the work forward. Never turn missing information into confident requirements.

Workflow

1. Normalize the raw input

Handle all three input modes:

  • Pasted text: preserve the most useful original sentence verbatim.
  • Screenshot: inspect both visible text and UI context. Transcribe only what is legible and mark uncertainty. Keep the original image for Evidence.
  • Mixed: treat the pasted explanation as context and the screenshot as primary evidence unless they conflict; surface any conflict.

Build a private scratch intake before drafting:

Field Extract
Actor Who experiences this?
Situation When and where does it happen?
Friction What is hard, broken, or missing now?
Desired outcome What should the user be able to achieve?
Impact Why does it matter?
Explicit constraints What did the user actually require?
Unknowns What remains unclear?

Do not force the request into “As a user, I want…” language. Preserve a direct quote when it expresses the pain better than a summary.

If the message is phrased as a question, identify the latent need but first check whether existing behavior or documentation already answers it. Do not file a feature request for something the product already supports.

2. Resolve repository conventions

Use an explicitly named repository; otherwise resolve the current checkout:

gh auth status
gh repo view --json nameWithOwner,defaultBranchRef,visibility,hasIssuesEnabled
gh issue list --state all --limit 10 --json number,title,state,url
rg --files -g 'CONTRIBUTING*' -g '.github/ISSUE_TEMPLATE/**'

Read any relevant issue template or contributing guide. Match the repository's language, headings, title style, and metadata conventions. Do not invent labels, types, milestones, or assignees.

3. Ground the request in the product

Do light, targeted exploration using nouns, UI labels, errors, and capability names from the intake. Search README/docs first, then likely code:

rg -n -i 'user phrase|normalized capability|visible UI label' \
  README.md docs Sources Shared ios web 2>/dev/null

Stop when there is enough context to name the affected area, identify existing behavior, or determine that this is a product-level discovery request. Code exploration is context gathering, not implementation planning.

4. Apply the clarification gate

Ask at most three focused questions, and only when an answer would change one of:

  • whether an issue should exist;
  • bug vs feature/discovery classification;
  • the core problem or desired outcome;
  • reproduction of a bug;
  • a material scope boundary;
  • whether evidence is safe to publish.

First try to answer gaps from the screenshot, repository, docs, and related issues. Do not ask the user to design the solution or manufacture acceptance criteria. Put non-blocking uncertainty in Open questions and continue.

5. Classify honestly

Type Use when
Bug Existing behavior contradicts expected or documented behavior
Feature/usability A clear user outcome is unsupported or unnecessarily hard
Discovery The need is real but the right behavior or scope still requires investigation
No new issue Existing behavior/docs solve it, or a strong duplicate already tracks it

When feedback is too broad for an implementation issue, create a bounded discovery issue such as “Define task-completion notification behavior” instead of inventing a complete solution.

6. Search for duplicates

Run separate searches using:

  1. the user's exact phrase;
  2. the normalized product capability;
  3. the symptom or desired outcome.
gh issue list --repo OWNER/REPO --state all \
  --search 'query in:title,body' --limit 20 \
  --json number,title,state,url

If a strong duplicate exists, return it instead of creating another issue. If the overlap is partial, create the new issue and link the related one.

7. Draft a problem-first issue

Read references/templates.md, choose the matching template, and omit empty sections.

Follow these rules:

  • Write a direct, scannable title under 72 characters.
  • Separate original evidence, verified facts, and inference.
  • Describe the problem and desired outcome before any possible solution.
  • Include the user's original words as a short quote when useful.
  • Add file/component references only when verified by repository exploration.
  • Write acceptance criteria only for observable behavior supported by the request or established product conventions.
  • Put unresolved product decisions under Open questions.
  • Keep one issue focused on one outcome; split independent requests.

8. Attach evidence when present

If the input includes one or more images, read references/images.md and follow its privacy, upload, and verification workflow. Do not silently drop an image.

9. Create and verify

Before any GitHub write, state the exact repository, proposed title, and any image asset path. Prepare the final Markdown body outside the repository, then:

gh issue create --repo OWNER/REPO \
  --title 'Concise problem or outcome' \
  --body-file /absolute/path/to/temporary-issue-body.md

Use an existing issue type or label only after confirming it exists. Then verify the returned issue:

gh issue view ISSUE_NUMBER --repo OWNER/REPO \
  --json number,title,state,url,body,labels

Confirm the intended repository, title, body, evidence links, and metadata. Return the issue URL plus any assumptions or open questions retained in it.

Quality gate

Do not create the issue until all applicable checks pass:

  • The original request is represented faithfully.
  • The core problem and desired outcome are understandable.
  • Facts and inference are distinguishable.
  • No behavior, scope, or acceptance criterion was invented.
  • Existing docs/code and likely duplicate issues were checked.
  • The issue is actionable, or explicitly scoped as discovery.
  • Supplied evidence is embedded and safe for the repository's visibility.
  • The issue follows repository templates and conventions.

Version History

  • 2dfed32 Current 2026-08-27 09:02

Same Skill Collection

skills/animation-vocabulary/SKILL.md
skills/apple-design/SKILL.md
skills/bump-version/SKILL.md
skills/code-clean/SKILL.md
skills/conventional-commit/SKILL.md
skills/emil-design-eng/SKILL.md
skills/find-animation-opportunities/SKILL.md
skills/improve-animations/SKILL.md
skills/ios-rebuild-dev/SKILL.md
skills/macos-rebuild-dev/SKILL.md
skills/native-app-profiling/SKILL.md
skills/og-generation/SKILL.md
skills/pick-ui-library/SKILL.md
skills/prototype/SKILL.md
skills/review-animations/SKILL.md
skills/review-copy/SKILL.md
skills/swift-performance-optimization-skill/SKILL.md
skills/swiftui-performance-audit/SKILL.md
skills/testflight-release/SKILL.md
Sources/termio/Resources/skills/termio-device/SKILL.md
skills/app-screenshot-debug/SKILL.md
skills/asc/SKILL.md
skills/check-ghostty-update/SKILL.md
skills/dia-source-analysis/SKILL.md
skills/doc/SKILL.md
skills/termio/SKILL.md
Sources/termio/Resources/skills/termio/SKILL.md

Metadata

Files
0
Version
2dfed32
Hash
1db21280
Indexed
2026-08-27 09:02

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 18:20
浙ICP备14020137号-1 $Carte des visiteurs$