Create conventional commits for session changes
Creates conventional git commits by auto-detecting type, scope, and ticket references from changes.
/plugin marketplace add coalesce-labs/catalyst/plugin install catalyst-dev@catalystinheritYou are tasked with creating git commits using conventional commit format for the changes made during this session.
Analyze what changed:
git status to see current changesgit diff --cached to see staged changes (if any)git diff to see unstaged changesgit diff --name-only and git diff --cached --name-onlyAuto-detect conventional commit components:
Type detection (suggest to user):
*.md files in docs/: suggest docs*test*, *spec*): suggest testpackage.json, *.lock files: suggest build.github/workflows/: suggest cifeat or fix based on contextfeat, fix, refactor, chore, docs, style,
perf, test, build, ciScope detection (suggest to user):
agents/*.md → agentscommands/*.md → commandshack/* → hackdocs/*.md → docs.claude/ → claudeExtract ticket reference:
git branch --show-current{PREFIX}-{NUMBER} (e.g., RCW-13, ENG-123)Generate conventional commit message:
Format:
<type>(<scope>): <short summary>
<body - optional but recommended>
<footer - ticket reference>
Rules:
Refs: TICKET-123 if ticket in branch nameExample:
feat(commands): add conventional commit support to /catalyst-dev:commit
Updates the commit command to automatically detect commit type
and scope from changed files, following conventional commits spec.
Extracts ticket references from branch names for traceability.
Refs: RCW-13
Present plan to user:
<type>(<scope>): <summary>"Execute commit:
git add <specific-files> (NEVER use -A or .)git log --oneline -n 1git show --stat HEADReads from .claude/config.json:
{
"catalyst": {
"commit": {
"useConventional": true,
"scopes": ["agents", "commands", "hack", "docs", "claude", "config"],
"autoDetectType": true,
"autoDetectScope": true,
"requireBody": false
},
"project": {
"ticketPrefix": "RCW"
}
}
}
Types that appear in CHANGELOG:
feat - New featurefix - Bug fixperf - Performance improvementrevert - Revert previous commitInternal types:
docs - Documentation onlystyle - Formatting, no code changerefactor - Code restructuring, no behavior changetest - Adding/updating testsbuild - Build system or dependenciesci - CI/CD configurationchore - Maintenance tasksFeature:
feat(agents): add codebase-pattern-finder agent
Implements new agent for finding similar code patterns across
the codebase with concrete examples and file references.
Refs: RCW-45
Fix:
fix(commands): handle missing PR template gracefully
Previously crashed when thoughts/shared/pr_description.md was
missing. Now provides clear error with setup instructions.
Refs: RCW-78
Documentation:
docs(hack): add README for installation scripts
Documents all scripts in hack/ directory with usage examples
and explains when to use each installation method.
Refs: RCW-12
Chore (no ticket):
chore(config): update conventional commit scopes
Adds new scopes for agents and commands directories.