repo-maintainer
ما الذي تفعله
هذا الوكيل يفحص «صحة» مشروع برمجي (مستودع). يجد المشكلات الشائعة ويصلحها، مثل سوء التنظيم والتبعيات القديمة والتوثيق الناقص وجودة الكود، ليصبح المشروع جاهزًا للإصدار أو الصيانة.
متى تستخدمها
- ✓عندما تريد تنظيم مشروعك البرمجي وتنظيفه.
- ✓عندما تكون على وشك إصدار نسخة جديدة من مشروعك.
- ✓عندما تريد التحقق من أن مشروعك في حالة جيدة وآمن.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/repo-maintainer/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افحص مستودع الكود الخاص بي ونظّمه.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل قواعد المشروع، ويفحص الملفات والتبعيات والاختبارات والتوثيق. ثم يقترح تعديلات صغيرة ضرورية أو يطبقها، وفق قواعد المشروع.
المحتوى التقني (ملف 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)؟
هي أجزاء كود أخرى يستخدمها مشروعك ليعمل. يفحص الوكيل إن كانت محدثة وآمنة.
هل يمكن للوكيل إجراء تغييرات خطيرة؟
لا، يجري فقط تعديلات صغيرة مصرّح بها. لن يحذف بيانات ولن يغيّر قواعد المشروع المهمة، ولن يجري ترقيات كبيرة دون إذنك الصريح.
التفاصيل
الوصف الأصلي من المؤلف
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
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.