Git attribution
Manages Claude Code's git attribution (Co-Authored-By) settings per repository. Triggers on "署名有効化", "enable attribution", "Claude署名", "git-attribution", or requests to toggle commit/PR attribution in the current repository's .claude/settings.json. Also triggers when asking about the current attribution status.From its SKILL.md
npx -y skills add ikeisuke/claude-skills --skill git-attributionAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, as published. Nobody here has run it
Git Attribution Manager
Manage Claude Code attribution in .claude/settings.json per repository.
Global settings have attribution disabled. This skill enables it at the repo level.
Check status
Read .claude/settings.json in the current repo. Report whether attribution is enabled or inherited from global (disabled).
Enable
Merge into repo's .claude/settings.json (create if missing, preserve existing keys):
{
"attribution": {
"commit": "default",
"pr": "default"
}
}
"default" restores Claude Code's standard Co-Authored-By trailer and PR link.
Disable
Set to empty strings in repo's .claude/settings.json:
{
"attribution": {
"commit": "",
"pr": ""
}
}
Examples
User: 「署名有効化」
→ .claude/settings.json に attribution セクションを追加し、有効化を報告。
User: "Check attribution status"
→ .claude/settings.json を読み、現在の attribution 状態を表示。
Troubleshooting
有効化したのに Co-Authored-By が付かない
グローバル設定 (~/.claude/settings.json) で "" に設定されている場合、プロジェクト設定が "default" でも上書きされることがある。グローバル側を確認する。
Rules
- Never modify
~/.claude/settings.json(global). - Preserve all existing keys when updating.
- Create
.claude/directory andsettings.jsonif missing. - After any change, show the updated attribution section.