Skip to content
commit-with-agent logo

Commit with Agent Attribution

commit-with-agent

Create a Git commit with agent attribution for ADW workflows. Use after implementing changes to create semantically formatted commits.

SKILL.md

Full skill instructions

Commit with Agent Attribution

Create a semantic commit message that attributes the work to the agent.

Commit Message Format

{agent}: {type}: {description}

Components:

  • agent: Name of the agent that did the work
  • type: Type of change (feat, fix, chore, docs, refactor, test)
  • description: Concise description of the change

Examples

planner: feat: generate implementation plan for user auth
implementor: feat: add OAuth authentication with Google provider
committer: chore: update dependencies to latest versions

Standard Agent Names

AgentPurpose
plannerGenerated implementation plan
implementorImplemented the solution
classifierClassified the issue type
reviewerReviewed the changes

Commit Types

TypeDescription
featNew feature
fixBug fix
choreMaintenance task
docsDocumentation changes
refactorCode restructuring
testTest additions or fixes

Input Variables

  • $1: Agent name (planner, implementor, etc.)
  • $ARGUMENTS: Context for commit message

Rules

  1. Keep description under 72 characters
  2. Use present tense ("add" not "added")
  3. Don't end with a period
  4. Be specific about what changed

Generation Process

  1. Identify the agent from $1
  2. Determine the commit type from context
  3. Generate a concise description
  4. Format as: {agent}: {type}: {description}

Context

Agent: $1 Changes: $ARGUMENTS