-
Notifications
You must be signed in to change notification settings - Fork 1
GitHub Repo Manager
This page is auto-generated from the plugin's README. Do not edit directly — changes will be overwritten on the next sync.
Conversational GitHub repository health assessment and maintenance.
GitHub Repo Manager provides a single /repo-manager command that assesses and fixes repository health interactively, with owner approval at every step. State what you want in natural language — Claude determines the scope, auto-detects the repository tier, and guides you through a structured session covering 9 assessment modules: security, release health, community health, PR management, issue triage, dependency audit, notifications, discussions, and wiki sync. A structured maintenance report is generated at session end.
[P1] Explanatory Context — Before proposing any action, briefly explain what it is and why it matters — enough to make an informed decision, not a tutorial.
[P2] Implication Warnings — When an action has consequences the owner may not anticipate, surface them before acting. This applies especially to publicly visible actions.
[P3] Irreversibility Flags — Actions that cannot be easily undone are called out clearly and unmissably before execution, with specific guidance on what becomes hard to recover.
[P4] Jargon Translation — GitHub concepts are explained in plain language alongside technical terms whenever there's reason to think the owner may not be familiar with them. The goal is building understanding, not delivering a glossary — explanation depth adjusts with the configured expertise level.
[P5] Tier-Aware Sensitivity — Explanation depth and warning level scale with the repository tier. Private docs repos get minimal friction; public repos with releases get full ceremony.
[P6] Teaching Moments — When Claude detects a gap representing a learning opportunity, it explains why the issue matters, not just that it exists.
[P7] Progressive Depth — Concise explanations by default; deeper detail available on request. Avoids information overload while keeping comprehensive context accessible.
/plugin marketplace add L3DigitalNet/Claude-Code-Plugins
/plugin install github-repo-manager@l3digitalnet-plugins
After installation, install Node.js dependencies for the helper CLI:
cd ~/.claude/plugins/<marketplace>/github-repo-manager
npm installA GitHub Personal Access Token (PAT) with repo, read:org, and notifications scopes is required. See docs/SETUP.md for full setup instructions.
/repo-manager
Check ha-light-controller
After activation, state what you need — Claude infers the mode:
| You say | Claude does |
|---|---|
| "Check ha-light-controller" | Deep single-repo assessment |
| "How are the PRs on my-project?" | Narrow single-repo check |
| "Are any repos missing SECURITY.md?" | Cross-repo targeted check |
| "What's the state of my public repos?" | Cross-repo summary |
| Command | Description |
|---|---|
/repo-manager |
Activate GitHub repository management session |
| Skill | Description |
|---|---|
repo-manager |
Session onboarding, tier system, communication style, and error handling |
repo-manager-assessment |
Full assessment orchestration — module order, cross-module dedup, unified findings, reports |
repo-manager-reference |
gh-manager helper command reference |
repo-config |
Configuration system — per-repo, portfolio config, precedence, validation |
community-health |
Audit and manage CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, issue/PR templates |
cross-repo |
Scope inference, batch mutations, and portfolio scanning across multiple repos |
dependency-audit |
Audit dependency health via dependency graph and Dependabot PRs |
discussions |
Manage GitHub Discussions — find unanswered questions, close resolved threads |
issue-triage |
Triage issues — label, categorize, detect linked PRs, identify stale issues |
notifications |
Process GitHub notifications with priority classification |
pr-management |
Manage PRs — triage, staleness, label management, review requests, merge workflow |
release-health |
Audit release health — unreleased commits, CHANGELOG drift, release cadence |
security |
Audit security posture — Dependabot alerts, code scanning, secret scanning |
wiki-sync |
Synchronize GitHub wiki content with in-repo docs |
Repos are auto-classified into four tiers that control how much ceremony the plugin applies:
| Tier | Repo type | Mutations |
|---|---|---|
| 1 | Private, docs only | Batch approval, direct commit |
| 2 | Private, runnable code | Show diffs, direct commit |
| 3 | Public, no releases | Detailed review, direct commit |
| 4 | Public, with releases | PRs for file changes, full review |
Tier is auto-detected on first run and can be overridden in config.
| File | Location | Purpose |
|---|---|---|
.github-repo-manager.yml |
Repo root | Per-repo module toggles and thresholds |
portfolio.yml |
~/.config/github-repo-manager/ |
Central config for cross-repo settings |
Config precedence (highest to lowest): portfolio per-repo overrides → per-repo config → portfolio defaults → tier defaults.
See docs/POLICIES.md for all customizable settings and docs/USAGE.md for the full helper CLI reference.
- Node.js 20+
- GitHub PAT with
repo,read:org, andnotificationsscopes - Target repositories must be accessible via the authenticated GitHub account
This plugin intentionally runs entirely in the owner's main context window — no subagents are spawned during a session. This is a deliberate design choice: the owner must stay in the conversation loop at every step (tier confirmation, action approvals, module redirects), which requires continuous access to the shared context. The trade-off is that a full 9-module assessment consumes more context than a subagent-isolated design would. This is mitigated by keeping command files thin, delegating all API interaction to the external gh-manager helper (which runs outside the context window), and structured module presentation that avoids redundant output.
The core approval invariant ("no action without owner approval") is enforced behaviorally — conversational approval happens in prose and cannot be captured as a programmatic signal for PreToolUse hooks. The PostToolUse audit trail in scripts/gh-manager-monitor.sh is the practical ceiling for mechanical enforcement in this approval model.
-
GitLab support —
glab-backed equivalent for GitLab repositories and merge requests - Stale issue auto-close — configurable threshold for automatically closing inactive issues after owner review
- Scheduled reports — cron-driven maintenance reports without requiring a manual session
-
npm installmust be run manually — the plugin installer does not executenpm install; dependencies are not available until you run it in the plugin cache directory (see Installation Notes above) -
Insufficient PAT scopes cause silent module failures — if the PAT lacks
notificationsscope, the notifications module returns empty results with no error; verify scopes withgh-manager auth verify -
Cross-repo operations are rate-limited — large portfolios may hit GitHub API rate limits during batch scans; check status with
gh-manager auth rate-limitand use per-module checks to stay within limits
Last synced: 2026-02-20 · View source