← 返回
效率工具 中文

OpenClaw Contributor

Contribute to the OpenClaw core repository using the repo's own CONTRIBUTING.md rules. Use when working in `openclaw/openclaw` or a fork to triage issues, pl...
依据仓库 CONTRIBUTING.md 规则为 OpenClaw 核心仓库做贡献。适用于在 `openclaw/openclaw` 或其复刻中处理议题等任务。
manjaroblack
效率工具 clawhub v0.1.1 1 版本 99813.1 Key: 无需
★ 0
Stars
📥 534
下载
💾 6
安装
1
版本
#latest

概述

OpenClaw contributor

Contribute to OpenClaw the way the repo expects.

Start by reading the repo-root CONTRIBUTING.md in the target checkout. Treat it as the source of truth over generic PR habits.

Workflow

  1. Confirm scope.
    • Small bugfixes and focused docs fixes can go straight to a PR.
    • New features, large refactors, or architecture changes should start with a GitHub Discussion or Discord conversation first.
  2. Inspect the changed area before editing.
    • Read nearby implementation and tests.
    • Look for existing branch/work in upstream/* before duplicating effort.
  3. Generate a validation plan.
    • Run scripts/recommend_checks.py --repo .
    • Use its output to choose validation commands and maintainer routing hints.
  4. Keep the patch tight.
    • One logical change per PR.
    • Add or update regression tests with the fix when possible.
    • Avoid mixing runtime fixes, refactors, docs, and feature work in one branch.
  5. Validate before opening the PR.
    • Default expectation from OpenClaw is:
    • pnpm build
    • pnpm check
    • pnpm test
    • For docs-only or subsystem-specific work, use the slimmer commands recommended by scripts/recommend_checks.py.
  6. Prepare the PR for maintainers.
    • Explain what changed and why.
    • Mark AI-assisted work in the PR title or description.
    • State testing level clearly.
    • Include screenshots for UI or visual changes.
    • Optionally generate a draft with scripts/generate_pr_body.py.

Non-negotiables

  • Follow CONTRIBUTING.md, not generic habits.
  • Keep PRs focused.
  • Prefer source-level fixes over patching built artifacts.
  • Add tests for regressions when practical.
  • Be transparent about AI assistance.
  • For UI changes, preserve Control UI legacy decorator style unless the build tooling is intentionally being changed too.

Use bundled resources

  • references/contributing-checklist.md
  • Read when you need the distilled OpenClaw-specific PR checklist, maintainer hints, or validation command matrix.
  • references/pr-template.md
  • Read when you need a maintainer-friendly OpenClaw PR structure with AI-assistance disclosure and validation sections.
  • scripts/recommend_checks.py
  • Run in an OpenClaw checkout to derive recommended validation commands and maintainer hints from the actual diff.
  • Example:
  • python3 skills/openclaw-contributor/scripts/recommend_checks.py --repo /path/to/openclaw
  • python3 skills/openclaw-contributor/scripts/recommend_checks.py --repo /path/to/openclaw --base upstream/main --json
  • scripts/generate_pr_body.py
  • Generate a PR-body draft using the diff-aware recommendations.
  • Example:
  • python3 skills/openclaw-contributor/scripts/generate_pr_body.py --repo /path/to/openclaw --title "fix(web-search): honor OpenRouter-backed Perplexity runtime path" --summary "Honor OpenRouter-backed Perplexity config in runtime web_search path" --why "Current runtime ignores configured baseUrl and sends OpenRouter keys to Perplexity direct"

Related skills

If they are available locally, use them alongside this skill:

  • github for GH CLI operations
  • Pull Request before opening the PR
  • code-review before final submission or while addressing review comments

Output standard

When asked to contribute upstream, finish with:

  • branch name
  • files changed
  • validation run (or what remains and why)
  • PR/discussion recommendation
  • any maintainer/subsystem routing hints

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-29 19:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,648
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,292
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,837