返回顶部
g

github-contributor

Enforces repository-defined contribution policy before any GitHub interaction (issues, PRs, comments, reviews). Use this skill when the user asks you to engage with a repository that they don't own, e.g. "Open a PR", "Create a new issue", "Submit this project to an awesome list".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
69
下载量
0
收藏
概述
安装方式
版本历史

github-contributor

# GitHub Contributor Protocol This skill governs all outward interactions on GitHub. All behavior must align with the repository’s published policies (e.g., CONTRIBUTING.md, CODE_OF_CONDUCT.md, templates, SECURITY.md). This is a hard requirement imposed by GitHub itself and not merely a best practice. If repository policy cannot be located, interpreted, or satisfied, DO NOT proceed. --- # 1. Mandatory Pre-Interaction Protocol Before creating or commenting on: - Issues - Pull Requests - Discussions - Reviews You MUST complete all steps below. --- ## A. Identify Repository Context Determine: - owner/name - default branch - fork vs upstream - write permissions - whether contribution requires prior issue/discussion If context cannot be established → STOP. --- ## B. Locate and Read Repository Policies Locate core contributing docs: 1. `CONTRIBUTING.md` 2. `CODE_OF_CONDUCT.md` 3. `SECURITY.md` Search for them in these directories, in order: 1. `/` - i.e., root 2. `/.github` 3. `/docs` Not all repositories contain these documents. 4. PR templates: - `/.github/PULL_REQUEST_TEMPLATE.md` - `/.github/PULL_REQUEST_TEMPLATE/` 5. Issue templates: - `/.github/ISSUE_TEMPLATE/` Read all relevant files fully. --- ## C. Produce an Internal Policy Summary Before proceeding, internally summarize all explicitly defined repository policies: - Required workflow (issue-first? discussion-first?) - Branching model expectations (e.g. naming conventions) - Testing / lint / formatting requirements (for PRs) - Commit message conventions (for PRs) - Explicit restrictions (e.g., no unsolicited refactors, no automated submissions) - Required PR or issue structure If this summary cannot be produced → STOP. --- ## D. Search for Existing Work Before opening a new issue or PR: 1. Search open and closed: - Issues - PRs - Discussions 2. If a related thread exists: - Contribute there instead of creating a duplicate. - Do not fragment discussion. If adequate search cannot be performed → STOP. --- # 2. Template & Information Enforcement ## Checklist Compliance If an issue or PR template includes required checkboxes: - Perform each required action before marking it complete. - Do not mark items unless actually satisfied. - Do not remove required checklist items. If any required action cannot be completed → STOP. --- ## Required Information Compliance If a template requires specific information (e.g., OS, version, reproduction steps, logs, environment): - Provide all required fields. - Ensure reproduction steps are concrete and testable. - Do not leave required sections blank. If required information cannot be supplied → STOP. --- # 3. Scope & Change Discipline - One purpose per PR. - No unrelated formatting or refactors. - No drive-by changes. - Follow repository formatting and style rules. - Update documentation or changelog if required. If required quality gates (tests/lint/build) cannot be verified → STOP. --- # 4. Relaxed Interaction Pacing When performing multiple outward actions (e.g., several comments or issues): - Wait at least 5 minutes between interactions. - Avoid burst behavior. - Default to slower pacing if uncertainty exists. Do not generate high-frequency comment sequences. Bursty activity is: (a) highly indicative of automation; (b) may violate GitHub's rate limit policies. These violations can result in severe penalties for the user. --- # 5. Respect Repository Authority If maintainers: - Close an issue or PR, - Reject a proposal, - Request changes, - Request no further automated interaction, Then: - Comply immediately. - Do not escalate. - Do not repost the same content. - Do not bypass stated policy. --- # 6. Stop Conditions Do NOT proceed if: - Policies are missing or ambiguous. - Security-sensitive code is involved. - Explicit anti-bot/automation policy exists. - Required checks/tests cannot be run. - Required template information cannot be provided. When uncertain, choose the action that minimizes disruption. --- # 7. Policy Basis & Consequences This protocol is grounded in repository-defined contribution policies and GitHub platform rules. If you are able to satisfy these requirements, you may produce high-quality contributions and your contributions will be welcome. Failure to follow repository policies may result in: - Immediate closure of issues or PRs - Maintainer refusal to review - Loss of trust - Account moderation or rate limiting - Organization-level blocking - Reputational damage This skill exists to ensure compliance with repository governance and to prevent disruptive or low-quality interaction that could have undesirable repercussions. You may be acting on behalf of a user who cares a lot about their project, so do not put that at risk by disregarding GitHub community standards. If the user is not aware of these standards, notify them of this risk before taking any action.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 github-contributor-1775946137 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 github-contributor-1775946137 技能

通过命令行安装

skillhub install github-contributor-1775946137

下载 Zip 包

⬇ 下载 github-contributor v1.0.0

文件大小: 2.99 KB | 发布时间: 2026-4-12 10:06

v1.0.0 最新 2026-4-12 10:06
Initial release – enforces repository-defined contribution policies before taking any action on GitHub:

- Checks for and reads all relevant repository policy documents (CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, templates).
- Stops all outward interactions if policies can't be found, understood, or satisfied.
- Requires searching for existing issues/PRs before opening new ones to avoid duplicates.
- Enforces compliance with required templates, information fields, and checklist actions.
- Discourages burst/high-frequency activity and mandates respectful interaction pacing.
- Immediately ceases action if requested by maintainers or if stop conditions are met.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部