mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-24 02:39:17 -05:00
1.1 KiB
1.1 KiB
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 modulesdlc_implementor: bug: fix login validation errorsdlc_planner: chore: update dependencies to latest versions
- Extract context from the issue JSON to make the commit message relevant
Run
- Run
git diff HEADto understand what changes have been made - Run
git add -Ato stage all changes - Run
git commit -m "<generated_commit_message>"to create the commit
Report
Return ONLY the commit message that was used (no other text)