mcpField
O
opensource-contributions

opensource-contributions

github.com/magnus919Development16161 installsUpdated 1d ago
Repository

About opensource-contributions

A skill for people contributing to open source projects, covering issue reports, pull requests, reviews, and releases. It emphasizes project conventions, clear evidence, and maintainer-friendly contributions, with guidance for AI agents acting for a person.

Key features

  1. 01Check project contribution conventions
  2. 02Prepare bug and feature reports
  3. 03Plan and submit pull requests
  4. 04Monitor CI and respond to reviews
  5. 05Follow release procedures
  6. 06Disclose AI agent participation

Use cases

  1. 01Report a reproducible repository bug
  2. 02Prepare a pull request for an open source project
  3. 03Review a contribution before submission
  4. 04Guide an AI agent contributing for a person

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/magnus919/agent-skills --skill opensource-contributions

After installing, type/opensource-contributionsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

README.md
evals/
evals.json
references/
agent-checklist.md
ci-debugging-loop.md
contribution-idea-filtering.md
cross-fork-org-restriction.md
cross-fork-pr-workaround.md
default-posture.md
gh-pr-create-body-pitfall.md
groktocrawl-gaps-worked-example.md
hermes-agent-contributing-case-study.md
hermes-cashew-contributing-worked-example.md
phase-0-before-you-start.md
phase-0a-maintainer-conventions.md
phase-1-filing-issues.md
phase-2-pull-requests.md
phase-3-after-submitting.md
phase-35-followup.md
phase-4-release-process.md
pitfalls.md
rebase-conflict-resolution.md
release-workflow-completion.md
remote-code-exploration.md
sequential-pr-conflict-resolution.md
sleep-cycle-refactor-worked-example.md
tracking-upstream-fix-status.md
scripts/
check-pr-template-compliance.py

Details

From the project README

Open Source Contributions

The Golden Rule

Make it easy for maintainers to absorb your contribution. Maintainers are often under-resourced volunteers or small teams. Every friction point you remove — unclear reproduction steps, missing tests, bad commit messages, force-pushed history — is time they don't have to spend figuring out what you did and why. The whole point is to help them, not create more work.

When to Use This Skill

  • Filing a bug report or feature request on a public repository
  • Preparing a pull request for any open source project
  • Working on a project without documented contributing guidelines (default posture)
  • Reviewing your own PR before submission
  • Setting up open source conventions for your own project

Load the relevant phase reference for detailed instructions.


Quick Phase Overview

PhaseWhat It CoversReference
0a — Maintainer ConventionsREADME discipline, LICENSE, CONTRIBUTING.md, issue/PR templates, commit conventions, DCO, release workflow hygienereferences/phase-0a-maintainer-conventions.md
0 — Before You StartReading CONTRIBUTING.md, checking existing issues/PRs, triaging bugfix candidates, large-change discussion etiquettereferences/phase-0-before-you-start.md
1 — Filing IssuesBug report and feature request templates, agent disclosure, maintainer workflow ("issue first"), coordinated multi-issue roadmaps, multi-PR plan executionreferences/phase-1-filing-issues.md
2 — Pull RequestsBranching conventions, scope assessment, studying existing implementations, cross-repo comparison, commit messages, PR templates, documentation audits, CI setupreferences/phase-2-pull-requests.md
3 — After SubmittingCI monitoring, responding to review feedback, what to do if your PR goes stale or gets closedreferences/phase-3-after-submitting.md
3.5 — Follow-up After Scope FeedbackSystematic call-site audits, filing comprehensive issues, complementary PRs when maintainer scope notes identify gapsreferences/phase-35-followup.md
4 — Release ProcessVersion bumping, tagging, GitHub Releases vs tags, release workflow anatomy, handling failed releasesreferences/phase-4-release-process.md
Default Posture (No CONTRIBUTING.md)

When a project has no contributing guide, load references/default-posture.md for defensible defaults on issue filing, PRs, communication norms, and code of conduct.

Agent-Specific Checklist

If you are an AI agent filing or contributing on behalf of a human, load references/agent-checklist.md before submitting anything.

Pitfalls

Load references/pitfalls.md when you're about to submit an issue or PR, or when something goes wrong. Covers: backtick expansion, silent label failures, force-push etiquette, the "I'll just fix it quickly" trap, cross-fork PR issues, post-merge scope creep, the installed-code trap, CI debugging, and more.


The Agent-Specific Rule

When filing an issue on behalf of a human, always disclose the agentic nature. Add this line at the bottom of the issue body:

Filed by {{AGENT_NAME}} (AI agent on behalf of {{HUMAN_NAME}})

This is a transparency requirement, not a courtesy. Maintainers deserve to know who they're talking to.


Quick Reference Card

StepActionCommand / Check
0Read contributing guidecat CONTRIBUTING.md or .github/CONTRIBUTING.md
0Check existing issuesgh issue list --search "topic" --state all
1File a bug/featureUse template if provided; include reproduction for bugs
2Issue first before codingFile issue, wait for maintainer feedback, then branch
3Branchgit checkout -b fix/description
4Commitgit commit -s -m "fix: description"
5Run tests locallymake test or npm test or pytest
6Pushgit push -u origin HEAD
7Open PRFill out PR template completely. Use --body-file for complex bodies
8Monitor CIgh pr checks --watch
9Address reviewRespond to comments, push fixup commits. No force-push after review
10After mergegit checkout main && git pull && git tag vX.Y.Z && git push origin main --tags
11Create Releasegh release create vX.Y.Z --title "vX.Y.Z — Title" --notes-file /tmp/notes.md

When NOT to Use This Skill

  • You're the sole maintainer of a project with no external contributors and no public collaborators
  • You're making a trivial single-line fix to your own code
  • The contribution is internal (same organization, same team) with established workflow norms
  • You already know the project's contributing guidelines by heart and this is routine
  • The issue is a security vulnerability — follow the project's security disclosure policy instead

Comments

Markdown supported