create-issue
Draft and submit a GitHub issue from a user idea or bug description, with bilingual body and correct labels.
git clone --depth 1 https://github.com/QwenLM/qwen-code /tmp/create-issue && cp -r /tmp/create-issue/.qwen/skills/create-issue ~/.claude/skills/create-issueSKILL.md
# Create Issue Take the user's idea or bug description, investigate the codebase for context, draft an issue for review, and submit once approved. ## Input The user provides a brief description of a feature request or bug report via the skill argument. ## Steps ### 1. Classify Determine whether the request is a **feature request** or a **bug report**. ### 2. Investigate the codebase Search for relevant code, files, and existing behavior related to the request. Build a thorough understanding of how the current system works. Note any related existing issues found via `gh issue list --search`. ### 3. Read the template - Feature request → read `.github/ISSUE_TEMPLATE/feature_request.yml` - Bug report → read `.github/ISSUE_TEMPLATE/bug_report.yml` Use the template's field labels and descriptions to structure the draft. ### 4. Draft the issue Write a markdown draft to `.qwen/issues/draft-<slug>.md` for the user to review. Rules: - Write from the user's perspective — not as an implementation spec. - Keep language clear and concise; **avoid internal implementation details**. - Title stays in **English only**. - **Bilingual body**: English content first, Chinese translation at the end wrapped in a collapsible block: ```markdown <details> <summary>中文</summary> (Chinese translation here) </details> ``` ### 5. Review with user Present the draft. Iterate on feedback until the user is satisfied. **Do not submit until the user explicitly approves.** ### 6. Submit When the user confirms, create the issue with `gh issue create`: ```bash gh issue create --title "..." --body-file .qwen/issues/draft-<slug>.md ``` Apply labels based on type: - Feature request → `type/feature-request`, `status/needs-triage` - Bug report → `type/bug`, `status/needs-triage` Report the issue URL back to the user.
Use after a Codex or Claude Code feature has been implemented in Qwen Code to run the selected reference agent and Qwen Code under the same scenario, capture HTTP and terminal traces, compare request bodies, tool/function schemas, outputs, and iterate until the reproduced behavior is close enough.
Use when reproducing an existing Codex or Claude Code feature in Qwen Code or another agent CLI by choosing a reference agent, capturing HTTP request bodies, prompts, tool/function schemas, terminal output, and then implementing the matching behavior in the target repo.
Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from GitHub Actions.
Fix a bug from a GitHub issue, following the reproduce-first
Classify a bounded batch of stale PR CI failures and choose the safest response.
Analyze indexed codebases via graph database (neug) and vector index (zvec). Covers call graphs, dependencies, dead code, hotspots, module coupling, architecture reports, semantic search, impact analysis, bug root cause from GitHub issues, class diagrams (UML), and PR review (risk scoring, conflict detection, auto-merge candidates, labeling). Also covers creating, inspecting, and repairing a CodeScope index. Use for: code structure, who calls what, why something changed, similar functions, module boundaries, bug tracing, class relationships, PR risk/conflicts, or any question benefiting from a code knowledge graph. Applies when a `.codegraph` index exists in the workspace, or when the user wants to create one.
Stabilize a flaky test with a minimal, assertion-preserving fix — never by weakening or deleting the check.
Audit the repository's docs/ content against the current codebase,