mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-24 02:39:17 -05:00
sauce aow
This commit is contained in:
33
.claude/commands/agent-work-orders/commit.md
Normal file
33
.claude/commands/agent-work-orders/commit.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Generate Git Commit
|
||||
|
||||
Based on the `Instructions` below, take the `Variables` follow the `Run` section to create a git commit with a properly formatted message. Then follow the `Report` section to report the results of your work.
|
||||
|
||||
## Variables
|
||||
|
||||
agent_name: $1
|
||||
issue_class: $2
|
||||
issue: $3
|
||||
|
||||
## Instructions
|
||||
|
||||
- Generate a concise commit message in the format: `<agent_name>: <issue_class>: <commit message>`
|
||||
- The `<commit message>` should be:
|
||||
- Present tense (e.g., "add", "fix", "update", not "added", "fixed", "updated")
|
||||
- 50 characters or less
|
||||
- Descriptive of the actual changes made
|
||||
- No period at the end
|
||||
- Examples:
|
||||
- `sdlc_planner: feat: add user authentication module`
|
||||
- `sdlc_implementor: bug: fix login validation error`
|
||||
- `sdlc_planner: chore: update dependencies to latest versions`
|
||||
- Extract context from the issue JSON to make the commit message relevant
|
||||
|
||||
## Run
|
||||
|
||||
1. Run `git diff HEAD` to understand what changes have been made
|
||||
2. Run `git add -A` to stage all changes
|
||||
3. Run `git commit -m "<generated_commit_message>"` to create the commit
|
||||
|
||||
## Report
|
||||
|
||||
Return ONLY the commit message that was used (no other text)
|
||||
Reference in New Issue
Block a user