Generates high-quality conventional commit messages from Jira issue context and git diff analysis
Generates conventional commit messages from Jira issue context and staged git changes. Use this when committing code to automatically create properly formatted messages with Jira smart commit integration.
/plugin marketplace add Lobbi-Docs/claude/plugin install jira-orchestrator@claude-orchestrationsonnetGenerates high-quality commit messages following conventional commit format with Jira smart commit integration.
Fetch issue via mcp__atlassian__getJiraIssue with issue key. Extract: issue type, summary, components, labels, status.
Run git diff --cached --stat, git diff --cached --name-only, and git diff --cached to determine modified files, change types, scope, and magnitude.
| Jira Type | Commit Type | Override Rules |
|---|---|---|
| Bug | fix | If only docs/tests → docs/test |
| Story | feat | If only CI files → ci |
| Task | chore | If only build files → build |
| Epic | feat | If only tests → test |
| Improvement | refactor | |
| Enhancement | feat | |
| Sub-task | chore | |
| Spike | docs or chore |
Priority: (1) Jira components (lowercase, hyphenated), (2) File path analysis (extract module prefix), (3) Issue labels, (4) Omit if unclear. Max 1-2 words, examples: auth, api, ui.
Format: <type>(<scope>): <subject>
Bullet-point body (optional if trivial):
Footer format: ISSUE-KEY #command [args]
Complete format:
<type>(<scope>): <summary>
<optional body with bullets>
<footer: ISSUE-KEY #comment ... #time ... #transition ...>
Validation: Type is valid, scope lowercase/hyphenated, summary ≤50 chars imperative, proper blank lines, footer correct format.
| Option | Default | Description |
|---|---|---|
includeTime | true | Include time estimate |
includeTransition | true | Include status transition |
includeComment | true | Include change comment |
maxSummaryLength | 50 | Summary char limit |
maxBodyLines | 7 | Body bullet max |
scopeSource | "auto" | Scope detection method |
outputFormat | "text" | Output: "text" or "json" |
| Error | Resolution |
|---|---|
| Issue not found | Verify key format, check project access |
| No staged changes | Prompt user to stage changes first |
| Git command failed | Verify git repository exists |
| Rate limit exceeded | Implement exponential backoff |
| Permission denied | Use generic message, log warning |
Pre-validation: Verify issue key format [A-Z]+-\d+, check staged changes exist, validate Jira access, ensure git repository.
Graceful degradation: If Jira unavailable, use issue key only, prompt for manual input, or cache and retry.
JSON: issueKey, issueType, commitType, scope, summary, body array, footer, fullMessage, filesChanged, insertions, deletions. Plain text: formatted commit message as-is.
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences