Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计通过

open-source-contribution开源贡献

Agent Skill

open-source-contribution 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

233

周安装

10

GitHub Stars

公开资料未说明

下载量

82
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:open-source-contribution(开源贡献)
来源仓库:https://github.com/ronantakizawa/skill-open-source-contribution
仓库路径:skills/open-source-contribution
安装命令:
npx skills add https://github.com/ronantakizawa/skill-open-source-contribution --skill open-source-contribution
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ronantakizawa/skill-open-source-contribution --skill open-source-contribution

简介

用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • open-source-contribution 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Contributing to Open Source

Quick Navigation

TopicDescription
Finding ProjectsResources and labels for finding issues
Understanding CodebasesHow to navigate unfamiliar code
Writing PRsBranch strategy, commits, descriptions
Code ReviewHow to handle feedback
Communicating with MaintainersPrinciples and templates
Maintainer PerspectiveWhat maintainers want
Common MistakesAnti-patterns to avoid
What Counts as MeaningfulHigh-value contributions

Reference Files:

Templates:


Finding Projects

Resources

Labels to Look For

LabelMeaning
good first issueGitHub's official beginner label
first-timers-onlyReserved for first-time contributors
help wantedMaintainers actively seeking help
documentationOften good entry points

Evaluating a Project

Before contributing, verify:

  • Has an OSI-approved open source license
  • Recent commits (within last 3 months)
  • Maintainers respond to issues/PRs
  • Has CONTRIBUTING.md or contribution guidelines
  • Automated tests (CI/CD) exist

Understanding Large Codebases

Step 1: Documentation First

Read in order: README.md → CONTRIBUTING.md → Architecture docs → API docs

Step 2: Build and Run Locally

git clone https://github.com/<owner>/<repo>.git
cd <repo>
# Follow setup instructions, run tests

Step 3: Explore Strategically

Find important files:

git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -20

Understand entry points: Look for main, index, app, or server files.

Read tests: They document expected behavior and show component usage.

Step 4: Focus on Your Target

Don't try to understand everything:

  1. Identify the module related to your issue
  2. Read that module thoroughly
  3. Trace dependencies one level up and down
  4. Treat unrelated code as "black boxes"

Step 5: Use Git as Documentation

git log --oneline <file>           # File history
git log --grep="<keyword>"         # Find relevant PRs
git blame <file>                   # Who to ask

Writing Effective Pull Requests

Before You Start

  1. Claim the issue: Comment to let maintainers know you're working on it
  2. Ask questions: If requirements are unclear, ask before coding
  3. Check for duplicates: Search existing PRs

Forking Workflow

For projects where you don't have write access:

# 1. Fork on GitHub, then clone your fork
git clone https://github.com/YOUR-USERNAME/<repo>.git
cd <repo>

# 2. Add upstream remote
git remote add upstream https://github.com/ORIGINAL-OWNER/<repo>.git

# 3. Keep fork updated
git fetch upstream
git checkout main
git merge upstream/main

# 4. Create feature branch and work
git checkout -b fix/your-fix
# ... make changes ...
git push origin fix/your-fix

# 5. Open PR from your fork to upstream

Branch Strategy

git checkout -b <type>/<short-description>

# Examples:
git checkout -b fix/null-pointer-exception
git checkout -b feat/add-dark-mode
git checkout -b docs/update-readme

Commit Messages

Follow Conventional Commits:

<type>[scope]: <description>

[optional body]

[optional footer]

Quick reference:

TypeUse For
featNew feature
fixBug fix
docsDocumentation
refactorCode restructure
testTests
choreMaintenance

Example:

fix(auth): resolve token refresh race condition

Fixes #123

For complete guide: See reference/conventional-commits.md

PR Description Template

## Summary
Brief description of what this PR does and why.

## Changes
- Change 1
- Change 2

## Related Issues
Fixes #123

## Testing
- [ ] Existing tests pass
- [ ] Added new tests
- [ ] Manually tested

PR Sizing Best Practices

Research shows smaller PRs get better reviews:

SizeLines ChangedReview Quality
Ideal~50 linesThorough review
Good<200 linesGood feedback
Acceptable<400 linesAdequate review
Too Large400+ linesLikely to miss issues

PR Best Practices

  • One concern per PR: Don't mix features, fixes, and refactors
  • Self-review first: Read your own diff before requesting review
  • Use draft PRs: Open early for feedback on approach
  • Include tests: Maintainers rarely merge untested code
  • Respond promptly: Don't let PRs go stale

What NOT to Include in PRs

Remove before committing:

  • .env, .env.local, credentials, API keys
  • IDE/editor configs (.idea/, .vscode/ unless project-standard)
  • Personal notes, TODOs, planning files
  • Debug code, console.logs, print statements
  • Unrelated formatting changes
  • Large binary files, screenshots (unless required)

Check for secrets before pushing:

# Search for common secret patterns
git diff --cached | grep -iE "(api_key|password|secret|token).*="

GitHub CLI Essentials

# Create PR interactively
gh pr create

# Create PR with title and body
gh pr create --title "Fix: resolve null pointer" --body "Fixes #123"

# Create draft PR
gh pr create --draft

# Check PR status
gh pr status

# View PR in browser
gh pr view --web

Responding to Code Review

Mindset

Code review is collaborative, not adversarial. Reviewers want to help improve the code.

Response Templates

When you agree:

Good catch! Fixed in [commit hash].

When you need clarification:

I want to make sure I understand—are you suggesting [X] because of [Y]?

When you disagree:

I went with [current approach] because:
- [Reason 1]
- [Reason 2]

Open to changing if you think [alternative] better serves the project.

When asked for big changes:

Great suggestion. Would it make sense to address this in a follow-up PR?

Guidelines

  • Address all comments
  • Stay calm—step away if frustrated
  • Re-request review after addressing feedback

Communicating with Maintainers

Principles

  • Keep communication public (others benefit)
  • Be concise (maintainers have limited time)
  • Do homework first (search existing issues)
  • Be patient (follow up after one week, politely)

Bug Report Template

## Description
Clear description of the bug.

## Steps to Reproduce
1. Step 1
2. Step 2
3. See error

## Expected vs Actual Behavior
Expected: X
Actual: Y

## Environment
- OS: [e.g., macOS 14.0]
- Version: [e.g., v2.1.0]

Feature Request Template

## Summary
What you're proposing.

## Problem
What problem this solves.

## Proposed Solution
How you envision it working.

## Alternatives Considered
Other approaches you considered.

Understanding Maintainer Perspective

What Maintainers Deal With

  • Overwhelm: Popular projects receive hundreds of issues/PRs
  • Volunteer work: Most maintainers aren't paid
  • Burnout: Endless notifications and demanding users
  • Quality gates: Must protect codebase from bugs and technical debt

What Maintainers Want

  1. Contributors who read the docs first
  2. Well-tested code
  3. Clear communication about what and why
  4. Patience (days or weeks to respond is normal)
  5. Follow-through (don't abandon PRs mid-review)

Quotes from Experienced Maintainers

"The best good first issue is the one you created yourself. Try going through the product, and in the process of testing and understanding it, you'll find your good first issue."
"All the projects I've contributed to are things I've used in some way. I never saw the point of just 'showing up' to a project."

Common Mistakes to Avoid

Before Starting

  1. Skipping CONTRIBUTING.md: Always read contribution guidelines first
  2. Not checking existing work: Search PRs/issues for duplicates
  3. Working on assigned issues: Check if someone is already on it
  4. Building unsolicited features: Propose in an issue first, wait for approval
  5. Not understanding the project: Use it before contributing to it

During Development

  1. Working on main branch: Always use feature branches
  2. Giant PRs: Break into smaller, focused PRs (<200 lines ideal)
  3. No tests: Maintainers rarely merge untested code
  4. Including secrets: Check for API keys, passwords, tokens
  5. Committing debug code: Remove console.logs and print statements

When Submitting

  1. Vague PR titles: Be specific (not "Fixed bug" but "Fix null pointer in auth handler")
  2. Ignoring templates: Use provided issue/PR templates
  3. Ignoring CI failures: Fix all failing checks before requesting review
  4. No description: Explain what, why, and how to test

After Submitting

  1. Going silent: Respond to feedback within 48 hours
  2. Arguing in reviews: Stay collaborative, assume good intent

Low-Value Contributions

  • Adding your name to README files
  • Trivial changes (typo fixes in comments nobody reads)
  • "Drive-by" contributions with no intention to follow through
  • Opening issues that are already documented

What Counts as Meaningful

High-Value

  • Bug fixes with tests
  • Documentation that helps new users
  • Test coverage for untested code paths
  • Performance improvements with benchmarks
  • Security fixes (reported responsibly)
  • Triaging issues: Reproducing bugs, closing duplicates

Best Strategy

  1. Use the project first: Become a real user before contributing
  2. Solve your own problems: Fix bugs you encounter
  3. Think long-term: Build relationships, not just contribution counts
  4. Quality over quantity: One thoughtful PR beats ten trivial ones

External References

Official Guides

Finding Projects

Community Insights

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.23%
按下载量换算22

OpenCode

22.06%
按下载量换算18

windsurf

18.06%
按下载量换算15

trae

13.21%
按下载量换算11

Codex

8.89%
按下载量换算7

Antigravity

3.77%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills