Rocketmq rust issue generator

From mxsm/rocketmq-rust · View interactive version

Rocketmq rust issue generator is an AI agent skill from the GitHub repository mxsm/rocketmq-rust. Use when the user asks to create, draft, prepare, or publish a GitHub issue for the rocketmq-rust project — bugs, features, enhancements, refactors, docs, unit tests, CI, runtime-model, broker, namesrv, client, store, dashboard, architecture, or performance work — especially when the issue must pres

How to use this skill

Skill file

RocketMQ Rust Issue Generator

Generate GitHub issue drafts from the repository's real issue forms. Template-driven — do not output a fixed canonical body unless the selected form has those fields.

When the repository owner or maintainer wants to prepare issues for new contributors to claim, also use rocketmq-rust-good-first-issue for concrete file checklists, newcomer labels, and optional per-crate sub-issues.

When to Use

When NOT to use: Non-rocketmq-rust repositories, pure discussion/questions that should not become GitHub issues, or requests where the user explicitly says not to apply issue templates.

Quick Reference

| Intent | Template | Title Prefix |

|--------|----------|-------------|

| Bug, panic, incorrect behavior | bug_report.yml | [Bug🐛] |

| Missing/improved test coverage | unit_test.yml | [Test🧪] |

| Docs, README, examples, comments | doc.yml | [Doc📝] |

| New broker/client/store/dashboard capability | feature_request.yml | [Feature🚀] |

| CI gate, runtime audit, ergonomics | enhancement_request.yml | [Enhancement✨] |

| Internal restructure, module cleanup | refactor.yml | [Refactor♻️] |

Select the narrowest template. When ambiguous, state tradeoff and choose narrowest (e.g., "add consume queue recovery tests" → unit test, not feature). Verify files exist in checkout — don't assume draft-only names like architecture.yml.

Workflow

1. Locate Templates

rg --hidden --files -g '.github/ISSUE_TEMPLATE/**' -g 'ISSUE_TEMPLATE/**' -g '!**/target/**'

Read config.yml for policy. For each form, extract name, title prefix (with emoji), labels, every body item in order, and validations.required. For Markdown forms, preserve heading order and checklist meaning.

If terminal output corrupts emoji or symbols, do not copy from the noisy terminal. Re-read the template files as UTF-8 and use the exact checked-out title: value.

2. Fill The Issue

Title: <template title prefix including emoji><specific summary>
Template: <filename>
Labels: <labels from template>

<issue body following template field order>

Missing info:
- <None, or concise missing confirmations/data>

Rules:

3. Remove Local Paths

Strip Windows/Unix home paths, file:// links, user-home env vars, local screenshot/temp/IDE paths. Rewrite to repository-relative paths or generic descriptions ("local broker log").

Audit before publishing, including the title when available:

python <skill-dir>/scripts/audit_issue_paths.py --title "<title>" <draft.md>

Fix every finding.

4. Publish

  1. Confirm required fields complete and path audit passes.
  2. Use available GitHub tool/CLI with template labels.
  3. Report created issue URL. If publishing unavailable, return ready-to-submit draft.

Common Mistakes

| Mistake | Fix |

|---------|-----|

| Dropping the template emoji from title | Copy title: prefix exactly from the template file |

| Inventing template names (e.g., architecture.yml) | Verify files exist in checkout; use only real filenames |

| Marking checkboxes complete without confirmation | List unconfirmed items as missing |

| Leaving a local Windows user path in draft | Run audit_issue_paths.py before finalizing |

| Writing issue prose in Chinese or mixed language | Rewrite the title/body in English and rerun the audit |

| Using process labels like task 1, stage 1, or phase 1 in the title | Replace them with a concise summary of the actual change or problem |

| Using feature_request for test-only work | Unit test additions → unit_test.yml |

| Copying mojibake emoji from terminal | Re-read file with UTF-8 or use file content directly |

Output Modes

Final Check

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.