Oss Contrib

Use when contributing to open source projects from forked repositories. Handles upstream sync, CONTRIBUTING.md compliance, code style matching, PR preparation, and project-specific patterns. Activates for fork management, PR template filling, and upstream workflow compliance.

5 starsGit & Code Review Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add Sagargupta16/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Sagargupta16/claude-skills --skill oss-contrib
Manual install
git clone --depth 1 https://github.com/Sagargupta16/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/oss-contrib/skills/oss-contrib ~/.claude/skills/oss-contrib

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Open Source Contribution Workflow

## Quick Reference

| Step | Action |
|------|--------|
| 1. Sync | `git fetch upstream && git merge upstream/main` |
| 2. Research | Read CONTRIBUTING.md, PR templates, CLA requirements |
| 3. Branch | Create feature branch from synced default branch |
| 4. Code | Match upstream style exactly - no personal preferences |
| 5. Test | Run upstream's test suite, match their test patterns |
| 6. PR | Follow their PR template, fill all required fields |

## Pre-Contribution Checklist

Before writing any code:

1. **Sync fork with upstream**
   ```bash
   git fetch upstream
   git checkout main
   git merge upstream/main
   git push origin main
   ```

2. **Read contribution guide**
   - `CONTRIBUTING.md` in repo root
   - `.github/PULL_REQUEST_TEMPLATE.md`
   - CLA/DCO signing requirements
   - Required CI checks and labels

3. **Create feature branch**
   ```bash
   git checkout -b fix/issue-description
   ```

4. **Scope the change**
   - Only modify files directly related to the issue
   - Never refactor or "improve" unrelated code
   - Never add features beyond what was requested

## Code Style Matching

**The most important rule: match the upstream project's style exactly.**

Before writing code, check:
- Indentation (spaces vs tabs, 2 vs 4)
- Quote style (single vs double)
- Import ordering and grouping
- Naming conventions (snake_case vs camelCase)
- Test patterns and fixtures
- Docstring format (Google, NumPy, Sphinx)
Read the full skill on GitHub

Details

Skill name
oss-contrib
Path
plugins/oss-contrib/skills/oss-contrib/SKILL.md
License
MIT
Repo updated
13 November 2026

FAQ

What does the Oss Contrib skill do?

Use when contributing to open source projects from forked repositories. Handles upstream sync, CONTRIBUTING.md compliance, code style matching, PR preparation, and project-specific patterns. Activates for fork management, PR template filling, and upstream workflow compliance.

How do I install the Oss Contrib skill?

Claude Code plugin: /plugin marketplace add Sagargupta16/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Oss Contrib popular?

It lives in Sagargupta16/claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Clean Code

5

Sagargupta16/claude-skills

Use when the user writes new Python, or asks for review, refactor, or cleanup of Python code, names, comments/docstrings, functions, or tests. Applies Robert Martin's complete Clean Code catalog -- naming, functions, comments, DRY, boundary conditions, and tests -- to the code being changed.

Software Development

Context Management

5

Sagargupta16/claude-skills

Use when managing Claude Code context window during long sessions, when context feels degraded, or when deciding between /compact, /clear, /rewind, and sub-agents. Covers context rot detection, compaction timing, branching strategy, and sub-agent isolation patterns.

AI, LLMs & Agents

Debug Triage

5

Sagargupta16/claude-skills

Use when triaging a pasted error, stack trace, or terminal transcript. Activates on "debug this", "fix this", "why is this broken", or when a user pastes red terminal output. Produces a tight cause-fix-test report, not a lecture.

Software Development

Requesting Code Review

9

sandbaseai/workbuddy-skill

Use when completing a significant task, implementing a major feature, fixing a complex bug, or preparing changes for integration and need an independent review against explicit requirements.

Git & Code Review

Merge Conflict Resolution

9

sandbaseai/workbuddy-skill

Use when an authorized Git merge, rebase, cherry-pick, or pull operation has conflicts that must be resolved from primary intent and verified before submission.

Git & Code Review

Review Feedback Triage

9

sandbaseai/workbuddy-skill

Use when code review feedback must be evaluated and applied with evidence, especially when suggestions are ambiguous, conflict with current behavior, or may add unnecessary scope.

Git & Code Review

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.