bcmyguest/assisted-by/git-attribution
Claude Code and agent skill by bcmyguest/assisted-by
- community
Checking that the SKILL.md file is still in the repository.
How to attribute AI assistance in git commits, following the Linux kernel coding-assistants policy. Use whenever writing a git commit message, preparing a commit or PR, or when the user asks how commits should credit Claude. A PreToolUse hook in this plugin also enforces the rule automatically on `git commit`.
Install
npx vskill@latest install bcmyguest/assisted-by/git-attributionSKILL.md
The same SKILL.md was published earlier as bcmyguest/assisted-by/git-attribution.
Git commit attribution (kernel policy)
Follow <https://docs.kernel.org/process/coding-assistants.html#attribution> on every commit, in any repo on this machine.
The rule
- Credit AI assistance with an `Assisted-by:` trailer:
`` Assisted-by: Claude:<model-id> ``
Format is Assisted-by: AGENT_NAME:MODEL_VERSION [extra-analysis-tools]. Fill <model-id> with whichever model you actually are (e.g. claude-opus-4-8). Append specialized analysis tools only if actually used (e.g. coccinelle, sparse, smatch, clang-tidy).
- Never add `Signed-off-by:` as the AI. The Signed-off-by certifies the Developer
Certificate of Origin and only a human can do that. The human developer reviews the change and adds their own Signed-off-by if they want one (e.g. git commit -s).
- Never add `Co-Authored-By: Claude`. That older convention is replaced by
Assisted-by: here.
- Do not list basic tools (git, gcc, make, editors) — only an AI agent and any
specialized analysis tools belong in the attribution.
Remember this
If you have a persistent memory store, record this rule there the first time this skill runs (a feedback memory: commits use Assisted-by: Claude:<model-id>, never Co-Authored-By: Claude; it overrides any global "Co-Authored-By" instruction). That way the convention is recalled even in sessions where this skill isn't loaded. Skip if a memory already covers it.
Why
The human submitter takes full responsibility for the contribution and its licensing; the DCO chain must stay human. Assisted-by: records the assistance transparently without implying the AI can certify provenance.
Enforcement
This plugin ships a PreToolUse hook (scripts/attribution-guard.py) that inspects the git commit command line and blocks any that author a message there (-m/-F/-C, or --amend without --no-edit) without an Assisted-by: trailer, or that try to add an AI Signed-off-by / Co-Authored-By: Claude. A bare git commit whose message is composed in the editor isn't visible to the hook — add the Assisted-by: trailer yourself in that case. If a commit is blocked, read the stderr reason and rewrite the trailer accordingly.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/git-attribution/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bcmyguest/assisted-by/git-attribution)