A Claude Code slash command for transparently attributing AI-assisted work in project README files.
This repository contains a slash command that helps developers add clear attribution sections to their README files, distinguishing between human-created and AI-assisted content.
This tool is built on the conviction that:
- Agentic AI should be used liberally and without shame
- Humans should be transparent about their use of AI tools
- It's best practice to clearly indicate which parts of a project were human work and which were AI-generated or AI-enhanced
The slash command (note-ai-human-attrib.md) prompts Claude Code to:
- Add a human-AI attribution section to your README
- Document the authorship split based on your input
- Include a disclaimer supporting transparent AI tool usage
- Automatically commit and push the changes
To use this slash command in Claude Code:
- Copy
note-ai-human-attrib.mdto your project's.claude/commands/directory - Rename it to something memorable (e.g.,
add-attribution.md) - Use it in Claude Code with the slash command syntax
In Claude Code, run the slash command and provide details about the authorship split. For example:
"I wrote the initial implementation and tests. Claude Code refactored the code, added error handling, and wrote the documentation."
The command will then add an appropriate attribution section to your README.
Created by Daniel Rosehill to promote transparent and ethical use of AI development tools.
- Author: Daniel Rosehill
- Business: DSR Holdings
- Email: [email protected]