From rules-for-ai
Structures GitHub issue bodies with consistent headings (Background, Problem, Scope, Design, Acceptance criteria, Notes). Supports locale-aware drafting and provides a template for `gh issue create`.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rules-for-ai:hashiiiii-issuesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Every issue body uses the same headings in the same order.
Every issue body uses the same headings in the same order.
Before drafting an issue:
CLAUDE.md / AGENTS.md) override resolved locale keys; follow them when they state a language for issues~/.config/rules-for-ai/LOCALE.mdLOCALE.default.mdissues keySection headings (Background, Problem, ...) are always English — the template structure never changes. When issues is ja_JP, keep the English headings and write the prose under each heading in Japanese.
gh issue createUse exactly these headings in this order:
## Background
## Problem
## Scope
### In scope
### Out of scope
## Design
## Acceptance criteria
## Notes
| Section | Purpose |
|---|---|
| Background | Why this work exists — context, motivation, prior decisions |
| Problem | What is wrong or missing today — concrete symptoms or gaps |
| Scope / In scope | In-scope deliverables |
| Scope / Out of scope | Explicit out-of-scope items |
| Design | Approach, alternatives considered, key decisions |
| Acceptance criteria | Verifiable checklist for closing or approving the work |
| Notes | Links, dependencies, open questions, follow-ups |
Acceptance criteria uses - [ ] checkboxes. Each item must be objectively verifiable.
gh issue create --title "<title>" --body "$(cat <<'EOF'
## Background
## Problem
## Scope
### In scope
### Out of scope
## Design
## Acceptance criteria
- [ ]
## Notes
EOF
)"
| Mistake | Fix |
|---|---|
| Missing Out of scope | Always list explicit out-of-scope items |
| Vague Acceptance criteria | Use verifiable checkboxes |
| Design mixed into Problem | Current state in Problem, solution in Design |
| Skipping Background | State why the work matters before the problem |
npx claudepluginhub hashiiiii/rules-for-ai --plugin rules-for-aiGenerates structured GitHub Issues with title, body, and plan section, using premise checks and human refinement to prepare issues for build workflows.
Creates 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.
Drafts GitHub issues and technical tickets in What/Why/How format using concise markdown, positive framing, and reference links. Useful for bug reports, features, and PRs.