repo-maintainer
できること
このAIエージェントは、コードプロジェクト(リポジトリ)の「健康状態」を確認します。整理整頓、古い依存関係、ドキュメントの不足、コードの品質に関する一般的な問題を見つけて修正し、リリースや保守の準備を整えます。
使う場面
- ✓コードプロジェクトを整理して、きれいにしたいとき。
- ✓プロジェクトの新しいバージョンを公開する前。
- ✓プロジェクトが良好な状態で安全かどうかを確認したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/repo-maintainer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のコードリポジトリを確認して、整理してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールはプロジェクトのルールを読み込み、ファイル、依存関係、テスト、ドキュメントを確認します。そのうえで、プロジェクトのルールに従い、必要な小さな修正を提案するか、実施します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Repository Maintainer
Overview
Audit repository health, apply authorized repairs narrowly, and finish through the repository's own protected workflow.
When to Use
Use when the user asks to maintain, clean, audit, harden, or prepare a repository for release. Use a more specific security, database, deployment, or release skill when that is the dominant task.
Repository Policy Gate
Before mutation:
- Read root and nested
AGENTS.md, contributor guidance, maintainer docs, and release instructions. - Inspect the current branch, worktree, staged files, remotes, default branch, and effective branch protection.
- Discover repository-native validation, synchronization, merge, and release commands.
- Preserve unrelated user work and generated outputs that are not in scope.
If the repository names a mandatory maintainer skill or guarded command, delegate to it instead of inventing a parallel branch, merge, sync, or release path. In agentic-awesome-skills, use antigravity-maintainer-batch-release and npm run merge:batch; main is pull-request-only.
The routine protected checks for agentic-awesome-skills are pr-policy, pr-evidence, source-validation, and artifact-preview. The supported AAS Core preview uses targeted unit tests plus one packed Linux/Node LTS smoke path and Workbench review. Do not resurrect the retired certified-v1 baseline, benchmark, tuning-gold, transaction-fault, race, or frozen OS/runtime matrix as routine merge gates.
Usage
1. Establish the baseline
git status --short --branch
git diff --stat
git diff --cached --stat
git remote -v
git log -5 --oneline
Record the repository's required runtime versions and test commands. Use a clean temporary clone or worktree when existing user changes cannot be isolated safely.
2. Audit independent lanes
Run independent read-only checks in parallel where possible.
Artifacts and Git hygiene
- untracked caches, coverage, build output, editor files, and test leftovers;
- tracked large or binary files, accidental secrets, executable-mode drift, and ignored-file gaps;
- stale branches, detached HEAD, existing staged changes, submodules, and symlinks;
- generated files whose ownership belongs to CI or a canonical-sync workflow.
Do not delete or rewrite history during the audit.
Dependencies and packaging
- lockfile and manifest agreement;
- outdated, vulnerable, duplicate, unused, or end-of-life dependencies;
- runtime imports incorrectly placed in development dependencies;
- clean-install, package-content, and executable-entrypoint behavior.
Treat audit-tool output as evidence to verify, not automatic permission to upgrade or remove packages.
CI and release health
- failing, cancelled, skipped, or stale workflow runs;
- stale, redundant, or unjustifiably broad runtime matrices and unpinned or obsolete actions;
- required checks, branch protection, release permissions, and secret boundaries;
- mismatch between documented and implemented release commands.
Documentation and repository metadata
- README, changelog, version, examples, links, badges, credits, and support metadata;
- contribution instructions and PR templates versus current CI policy;
- generated catalog, site, or API documentation drift.
Code-quality signals
- dead code, stale implementation markers, debug logging, commented-out code, and missing tests;
- unsafe defaults, suppressed errors, credential exposure, and environment-specific paths.
For FAF projects only, also inspect declared .faf, .faf-dna, sync, score, and MCP contracts with the project's installed FAF commands.
3. Produce a prioritized decision set
For each finding report:
- evidence and affected paths;
- severity and user impact;
- whether it is safe to fix now, needs approval, or belongs to another workflow;
- exact validation that proves the repair.
Deduplicate symptoms with the same root cause. Do not mix optional modernization with release blockers.
4. Apply authorized repairs
Make the smallest coherent change set. Keep source and generated-file ownership separate, update tests with behavior changes, and rerun the targeted failing check after each repair group.
Never delete data, rewrite history, rotate credentials, change branch protection, or upgrade across breaking versions without explicit authorization.
5. Validate and publish safely
…
よくある質問
「artifacts」と「hygiene」とは何ですか?
「artifacts」(成果物)とは、プロジェクトによって生成されるファイルのことです。「hygiene」(衛生状態)とは、これらのファイルやプロジェクト全体の整理整頓と清潔さを指します。
「dependencies」とは何ですか?
「dependencies」(依存関係)とは、プロジェクトが動作するために使用する他のコードのことです。エージェントは、それらが最新で安全かどうかを確認します。
エージェントが危険な変更をすることはありますか?
いいえ、許可された小さな修正しか行いません。ユーザーの明示的な許可なしに、データを削除したり、重要なプロジェクトのルールを変更したり、大規模なアップグレードを行ったりすることはありません。
詳細
作者による元の説明
Audit and repair repository hygiene across artifacts, dependencies, CI, docs, Git state, and code-quality signals. Use for repository maintenance, cleanup, health checks, or pre-release hardening.
人気
- GitHubのスター
- 48k
- ランキング
- #5616
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。