docs(attribution): automate Claude Code attribution in commands and workflows#22
Merged
alirezarezvani merged 2 commits intomainfrom Nov 11, 2025
Merged
Conversation
- Changed "Built with Claude Code" to "Assisted By Claude Code" - Added .vscode/ to .gitignore to exclude IDE settings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
… create guidelines
## Changes
1. **Commit Template** (.github/commit-template.txt)
- Added attribution footer to commit template
- All commits using template will now include Claude Code credit
- Format:
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2. **Attribution Guidelines** (docs/ATTRIBUTION.md)
- Comprehensive 300+ line documentation
- Explains where attribution MUST appear (automated operations)
- Explains where attribution should NOT appear (manual development)
- Implementation checklist for commands/agents/workflows
- Examples of correct vs incorrect usage
- Customization instructions
## Key Principle
Attribution is for USER-FACING AUTOMATED OPERATIONS only:
- ✅ Commits created by /commit-smart command
- ✅ PRs created by /create-pr command
- ✅ Issues created by workflows
- ✅ Comments posted by workflows/agents
- ❌ Claude's manual commits during development
- ❌ Claude's exploratory PRs during debugging
## Next Steps
Remaining work to implement attribution in:
- 6 slash commands (.claude/commands/github/)
- 3 agents (.claude/agents/)
- 6 workflows (.github/workflows/)
This commit establishes the foundation and guidelines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement automatic Claude Code attribution in all user-facing automated operations (commands, workflows, agents) while removing manual attribution from Claude's development activities.
Problem
Currently, Claude Code attribution appears inconsistently:
This creates:
Solution
Phase 1: Foundation ✅ (This PR)
1. Commit Template (
.github/commit-template.txt)2. Comprehensive Documentation (
docs/ATTRIBUTION.md, 283 lines)Phase 2: Implementation (Remaining Work)
Commands (6 files in
.claude/commands/github/):/commit-smart- Add attribution to commit instructions/create-pr- Add attribution to PR body instructions/release- Add attribution to release PR/notes/kill-switch- Add attribution to emergency commits/review-pr- Add attribution to review comments/sync-status- Add attribution to status commentsAgents (3 files in
.claude/agents/):plan-converter.md- Add attribution to issue creationworkflow-manager.md- Add attribution to commentsblueprint-setup.md- Add attribution to setup commitsWorkflows (6 files in
.github/workflows/):claude-plan-to-issues.yml- Add attribution to issuespr-into-dev.yml- Add attribution to validation commentsdev-to-main.yml- Add attribution to gate commentscreate-branch-on-issue.yml- Add attribution to branch commentspr-status-sync.yml- Add attribution to status updatesrelease-status-sync.yml- Add attribution to release commentsKey Principle
Attribution is for USER-FACING AUTOMATED OPERATIONS only:
✅ Include attribution:
/commit-smartcommand/create-prcommandclaude-plan-to-issuesworkflow/releasecommand❌ Do NOT include attribution:
Changes in This PR
docs/ATTRIBUTION.md- New comprehensive guidelines (283 lines).github/commit-template.txt- Added attribution footer (8 lines)Total: +291 insertions
Testing
Next Steps
Benefits
This PR establishes the foundation. Phase 2 will update all commands/agents/workflows to follow these guidelines.