From jira-orchestrator
Generate conventional commit templates from Jira issue context with smart commits
npx claudepluginhub markus41/claude --plugin jira-orchestrator# Commit Template Generator
Detect issue → Fetch details → Determine scope → Auto-time → Build template → Output
## Workflow
1. Detect issue key (branch > arg > env > session)
2. Fetch from Jira (type, summary, components)
3. Scope: arg > components > modified files > empty
4. Auto-time: 15m + Files×5m + (Lines/100)×10m
5. Build: `type(scope): summary` + smart commits
6. Output: Print/clipboard
## Type Mapping
Bug→fix | Story→feat | Task→chore | Epic→feat | Technical Debt→refactor | Docs→docs
## Usage
## Smart Commits
- `#comment {text}`
- `#time {value}` (w/d/h/m)
- `#transition ...Detect issue → Fetch details → Determine scope → Auto-time → Build template → Output
type(scope): summary + smart commitsBug→fix | Story→feat | Task→chore | Epic→feat | Technical Debt→refactor | Docs→docs
/jira:commit-template
/jira:commit-template PROJ-123
/jira:commit-template --time 2h --transition "In Review"
/jira:commit-template --auto-time --scope auth --clipboard
#comment {text}#time {value} (w/d/h/m)#transition "{name}"<type>(<scope>): <subject>
<body>
<footer>
Types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert Scope: api, auth, ui, db, config, deps, ci Subject: max 72 chars, lowercase, imperative, no period
ENV: JIRA_CLOUD_ID, JIRA_DEFAULT_TRANSITION, JIRA_AUTO_TIME, JIRA_AUTO_CLIPBOARD
.jirarc.json: scopeMappings, typeOverrides, defaultTransition, autoTime
| Issue | Fix |
|---|---|
| Key not found | Use feature/PROJ-123 pattern or --scope |
| API fail | Check auth, fallback to minimal |
| Not in repo | Clone/init |
| Clipboard fail | Install xclip/pbcopy/clip |
fix(auth): Prevent race not fix: BugAdd not Added⚓ Golden Armada | You ask - The Fleet Ships