Contribution Ethics — скилл для Claude Code: этика в OSS
Задаёт правила общения с мейнтейнерами в открытых проектах: убирает маркеры ИИ и подсказывает, когда писать человеку.
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a claude-codeЧто делает Contribution Ethics
Скилл регламентирует формулировки в коммитах, пулл-реквестах и комментариях, чтобы вклад выглядел профессионально. Он запрещает добавлять трейлеры вроде Co-Authored-By: Claude, робо-эмодзи и подписи о генерации кода, если правила репозитория прямо не требуют раскрытия ИИ.
Внутри заложены требования к стилю общения. Скилл убирает списки изменений в ответах на ревью, следит за объёмом текста под стать комментарию мейнтейнера и не даёт соглашаться со всем подряд. В спорах об этике, при раздражении мейнтейнера или в вопросах дизайна агент обязан передать управление человеку.
Какие задачи решает
- очистить сообщения коммитов и PR от упоминаний ИИ
- составить сжатый ответ на замечания мейнтейнера без списков изменений
- передать сложные дискуссии о правилах проекта живому разработчику
- подобрать тон и длину комментария под стиль автора репозитория
Примеры запросов агенту
- Напиши описание для пулл-реквеста с исправлением ошибки, без упоминаний Claude
- Ответь на комментарий мейнтейнера по поводу стиля кода, не растягивая текст
- Оформи сообщение коммита для внешнего open-source репозитория
Как установить Contribution Ethics
1Через Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a claude-code2Вручную: положить файлы
~/.claude/skills/contribution-ethics/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/contribution-ethics/
1Через Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a codex2Вручную: положить файлы
.agents/skills/contribution-ethics/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a cursor2Вручную: положить файлы
.cursor/skills/contribution-ethics/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install costajohnt/oss-autopilot contribution-ethics2Вручную: положить файлы
.github/skills/contribution-ethics/SKILL.md1Через Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a gemini-cli2Командой платформы
gemini skills install https://github.com/costajohnt/oss-autopilot --path skills/contribution-ethicsВручную: положить файлы
.devin/skills/contribution-ethics/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о Contribution Ethics
Как установить Contribution Ethics в Claude Code?
Выполните команду npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a claude-code. Файл скилла запишется в ~/.claude/skills/contribution-ethics/SKILL.md.
Что делает скилл Contribution Ethics?
Он направляет подготовку текстов для открытых репозиториев, убирая характерные признаки текста нейросетей и запрещая автоматические трейлеры об ИИ-авторстве.
В каких ситуациях скилл требует участия человека?
При любых обвинениях в использовании ИИ, в острых спорах об управлении проектом, а также в задачах со скриншотами и оценкой интерфейса.
Исходный текст
SKILL.md · MIT
--- name: Contribution Ethics description: This skill should be used when writing commits, PRs, or comments that will be visible to OSS maintainers — it covers the no-AI-attribution rule, AI-tell avoidance in writing, and the situations where a human contributor should respond instead of the AI tool. Sibling to oss-contribution and pr-etiquette. version: 1.0.0 --- # Contribution Ethics How to behave ethically when contributing to OSS as an AI-assisted contributor: attribution, AI-tell avoidance in maintainer-visible writing, and knowing when to defer to a human. ## Attribution ### Do - Attribute work properly (co-authors for human pair work) - Give credit to human contributors in PR descriptions - Share knowledge with other contributors ### Don't Add AI attribution to commits or PRs: - No `Co-Authored-By: Claude` trailers - No "Generated with Claude Code" in PR descriptions - No robot emoji attributions - No mentions of AI assistance in comments These rules are absolute. Contributions submitted to upstream repos must appear as solely from the human contributor unless that repo's contribution guidelines explicitly require AI disclosure. Other related "don't"s: - Claim credit for others' work - Submit low-quality PRs just for contribution graphs - Spam repos with trivial changes ## AI-Tell Avoidance in Writing AI-generated comments have recognizable patterns. Avoid these in any maintainer-visible writing (PR descriptions, review responses, issue comments): - **No changelogs in comments.** "Changes in the latest commit:" with bullet points is a dead giveaway. Describe what you did in a sentence, or let the diff speak. - **Vary your openings.** Don't start every response with "Thanks for the review!" or "Good catch!" Sometimes just jump to the substance. - **Match their length.** If the maintainer wrote two sentences, don't respond with four paragraphs. - **Read the whole thread first.** Asking about something explained three comments up is the fastest way to lose credibility. - **Mean what you say.** Don't defend a position then immediately abandon it. Push back or agree — pick one. - **Figure things out yourself.** If a maintainer says "add a screenshot," look at existing examples. Don't ask them to explain the tooling. ## When to Defer to the Human Contributor Some situations require the human contributor, not an AI tool: - **Maintainer frustration or AI accusations** — respond honestly and personally - **Visual/subjective tasks** — screenshots, design opinions, UX judgments - **Heated discussions** — any thread about AI ethics, contribution policies, or governance - **Process questions with obvious answers** — look at existing examples instead of asking If any of these come up, surface the situation to the human and let them respond. ## See Also - `oss-contribution` skill — universal contribution rules (minimal-diff discipline, working on issues, time management, failure protocol). - `pr-etiquette` skill — review responses, PR descriptions, dormant-PR follow-up, PR quality checklist, communication style.
© costajohnt · MIT · costajohnt/oss-autopilot