community-sweep

Triage and merge community pull requests and issues while preserving contributor authorship.

115k|10.0k|Updated Aug 31, 2025
Ready to run
npx skills add https://github.com/thedotmack/claude-mem --skill community-sweep-thedotmack
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: community-sweep
Source: https://github.com/thedotmack/claude-mem/tree/main/.claude/skills/community-sweep
Command: npx skills add https://github.com/thedotmack/claude-mem --skill community-sweep-thedotmack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and references (resource) components.

What problem does it solve? Maintaining an open-source project involves hundreds of incoming pull requests and issues. Manual triage and merging is time-consuming, error-prone, and often loses track of who contributed what. This Skill automates the entire community contribution workflow while keeping contributor names as commit authors on main. ## Core Features & Use Cases - Automated PR Triage: Categorizes PRs by merge readiness (ready to merge, needs rework, blocked, experimental). - Contribution Completion: Finishes incomplete PRs on the contributor's branch instead of rejecting them. - Authorship Preservation: Squash-merges PRs so contributors remain the commit author on main. - Issue Resolution: Links issues to fixing PRs, credits both reporter and fixer by name, and closes resolved issues. - Community Ledger: Maintains a persistent record of all decisions and contributor roster. - Use Case: After 257 open PRs accumulate, use this Skill to triage all of them, land 143 contributor PRs from 87 authors with their names intact, and produce a report of decisions and new contributors. ## Quick Start Run the community sweep to process all open pull requests and issues against the owner's merge philosophy, complete works-in-progress on contributor branches, land them with original authorship, and update the contributor roster.

Frequently Asked Questions about community-sweep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preserve contributor authorship when merging their PR?▼

Use `gh pr merge --squash` without `--admin` or `--author-email` flags. The squash commit automatically attributes authorship to the PR author's git identity. For partial work, cherry-pick their commits with `git cherry-pick -x` to keep their authorship in the history.

What happens to pull requests that are incomplete or buggy?▼

Instead of rejecting them, finish the work on the contributor's branch by pushing improvements with a short comment explaining what changed. Then land the PR normally, keeping the contributor as author. This approach grows the community rather than turning people away.

How do I know which PRs cross the hosted-service boundary?▼

Check if the PR modifies cmem.ai sign-in, trial activation, cloud sync semantics, the gateway key routing, or notice text. If it does, either trim that part and land the rest, or decline it with a clear reason. Fixes to broken boundary paths (sign-in returning 500) are exceptions and land as critical fixes.

What is the live-only observer rule and why does it matter?▼

The local observer must not persist, resume, or automatically re-queue inference work after quota exhaustion, auth failures, or restarts. PRs that keep this work break the contract. Rework them to discard buffered work through `discardBufferedWork`, or decline them if nothing else remains.

How do I handle first-time contributors whose CI runs are pending?▼

First-time contributor runs sit in `action_required`. Read the diff for anything executing in CI (workflows, scripts, tests that shell out). Then approve CI and Windows runs, plus Media and ODS runs if the PR touches those paths. Never approve the Claude Code runs—they carry secrets and aren't needed to merge.

When should I cut a patch release for a critical bug fix?▼

After a critical fix (sign-in or activation errors, broken workers, stalled hooks or capture, data loss) is merged and main's CI passes, cut a patch release immediately from a fresh main worktree. Hold the merge lock until the release is pushed, then follow with the childhood skill until the published package carries the fix.