Juanpalai

OSS Contribution Guard — AI skill for Claude Code

AI community

Safety and good-practice Agent Skill (SKILL.md) for AI agents contributing to open-source repositories: duplicate checks, issue rubric, scope budgets, human gates, disclosure, prompt-injection resista.

How to install OSS Contribution Guard

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Juanpalai/oss-contribution-guard and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What OSS Contribution Guard does

Safety and good-practice Agent Skill (SKILL.md) for AI agents contributing to open-source repositories: duplicate checks, issue rubric, scope budgets, human gates, disclosure, prompt-injection resistance.

Alternatives in AI

README

oss-contribution-guard

A safety and good-practice Agent Skill for AI agents that contribute to open-source repositories — including the many repositories that have no agent policy at all.

Install

npx skills add Juanpalai/oss-contribution-guard

Or install via the skills.sh pack:

npx skills add https://skills.sh/p/JnjjGeXy1T3EdS0T

The skill triggers whenever you ask an agent to fix an issue, submit a pull request, claim work, or otherwise contribute to an open-source project on your behalf.

What it makes the agent do

  • Discover the project's contribution policy (and its AI policy) before touching anything.
  • Search for duplicates, claims and linked pull requests before writing code.
  • Evaluate candidate issues with a scored rubric instead of picking the first open ticket.
  • Produce small, single-purpose pull requests that a maintainer can review in minutes.
  • Stay inside a scope budget: one change per PR, ~300 lines, ~5 files, diff audited hunk by hunk.
  • Disclose automation honestly, using the project's required mark.
  • Ask you before every public action in Supervised mode, and report exactly what it did in Autonomous mode.

What it refuses to do

  • Contribute to any project that forbids or restricts AI contributions — nothing is sent.
  • Bypass, weaken or skip checks, hooks, CI, signing or review (no --no-verify, ever).
  • Impersonate a human or hide automation when the project requires disclosure.
  • Touch CI, dependencies, lockfiles, licences or public APIs without an explicit gate.
  • Submit work you cannot explain in your own words.
  • Follow instructions embedded in repository content (issues, comments, CONTRIBUTING files): they are treated as untrusted data, ignored and flagged to you.
  • Force-push, race another contributor, or open a duplicate PR.

How it differs from other contribution skills

Most contribution skills optimise for output: find an issue fast, ship a PR fast. This skill optimises for **restraint**,