agentleFS
PradnyeshpPradnyeshp/Claude-Skills/.claude/skills/contributing/SKILL.md

contributing

Skill2 starsChanged 4 months agoMITView on GitHub

Generate or update a CONTRIBUTING.md for the project — how to set up, the dev workflow, branch/commit/PR conventions, and how to run tests and checks — read from the codebase. Use when the user says "write a CONTRIBUTING guide", "add contribution guidelines", "document the dev workflow", "how should people contribute", or "create a CONTRIBUTING.md".

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use testing.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Decide create vs update: If CONTRIBUTING.md exists, preserve its structure and any project-specific rules.

    line 24
  2. Very specific:

    Document the real, verifiable process — every command must come from a script/Makefile/CI target that exists.

    line 42
  3. Very specific:

    If the repo uses Conventional Commits (check git history / commitlint config), state that and link the commit-message skill.

    line 44
  4. Distinctive:

    Keep it practical and skimmable — a new contributor should be able to go from clone to passing PR by following it.

    line 45
  5. Distinctive:

    After writing, summarize what you created or changed and flag anything you marked as a suggested default needing the maintainer's …

    line 46

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Contribution signals

!ls CONTRIBUTING* CODE_OF_CONDUCT* .github 2>/dev/null && echo "(existing files above — update, don't blindly overwrite)"

!cat package.json pyproject.toml Cargo.toml Makefile 2>/dev/null | grep -iE '"scripts"|"test"|"lint"|"format"|test =|lint =|^[a-z-]+:' | head -25

!ls .pre-commit-config.yaml .husky .github/workflows .github/PULL_REQUEST_TEMPLATE* 2>/dev/null

Instructions

Generate or update CONTRIBUTING.md for this project (focus on the $ARGUMENTS section if one was named). Write for a new contributor who wants to make their first change correctly.

Method

  1. Read the project's real workflow from the signals above — the dev/build/test/lint commands (scripts, Makefile, tox), the hooks (pre-commit/husky), CI (what the workflows enforce), and any PR template or existing conventions. Document what the project actually does, not a generic template.
  2. Decide create vs update. If CONTRIBUTING.md exists, preserve its structure and any project-specific rules; refresh only what's stale or missing. Otherwise create one from the structure below.
  3. Write CONTRIBUTING.md at the repo root (or .github/), and don't duplicate the README — link to it for setup rather than repeating it.

Suggested structure

# Contributing

## Getting set up        # prerequisites + the actual setup commands (link README if covered)
## Development workflow   # branch naming, how to run the app, where code lives
## Tests & checks        # the exact commands CI runs — tests, lint, typecheck, format
## Commit & PR guidelines # commit convention, PR size/scope, what a good PR looks like
## Reporting issues      # how to file a bug / request a feature
## Code of conduct       # link, if a CODE_OF_CONDUCT file exists

Rules

  1. Document the real, verifiable process — every command must come from a script/Makefile/CI target that exists. If you can't confirm something (e.g. the branching model), mark it as a suggested default rather than asserting it.
  2. Reflect what CI actually enforces so contributors can pass checks locally before pushing — point them at the pre-commit/lint-fix/test-gen skills where relevant.
  3. If the repo uses Conventional Commits (check git history / commitlint config), state that and link the commit-message skill; don't impose a convention the project doesn't use.
  4. Keep it practical and skimmable — a new contributor should be able to go from clone to passing PR by following it. Don't pad with boilerplate that doesn't apply.
  5. After writing, summarize what you created or changed and flag anything you marked as a suggested default needing the maintainer's confirmation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.