| name | git-workflow |
| description | How to create commits, GitHub issues, and PRs for this repo: Conventional Commits with AI attribution, repo issue/PR templates, draft PRs with What/Why/Assisted-by sections. |
| metadata | {"version":"1.0.0"} |
Git Workflow
AI attribution
Detect before writing any commit, PR, or issue:
- Model: stated in system prompt as "You are powered by the model named X" — use X. Never hardcode.
- Agent: identity declared in system prompt (e.g. "Your designated identity is Sisyphus") — use that. Never use "Claude".
- CLI: check env vars —
OPENCODE=1 → opencode; CLAUDECODE set → claude; neither → omit CLI part.
Commits
Conventional Commits format. Subject ≤50 chars. Body only when "why" isn't obvious.
Always append trailer:
Assisted-by: <agent>:<model> <cli>
Example:
feat(hooks): add per_dir_hook support for terragrunt_fmt
Assisted-by: Sisyphus:claude-sonnet-4-6 opencode
Issues
Read the appropriate template from .github/ISSUE_TEMPLATE/ before writing — use it as the body structure, don't invent sections:
bug_report_local_install.md — bug on local install
bug_report_docker.md — bug in Docker usage
feature_request.md — feature request
Append attribution at end of body: