skill-stocktake
ما الذي تفعله
تفحص هذه المهارة جودة الأدوات الأخرى (المسماة «مهارات») التي تستخدمها مع الذكاء الاصطناعي. تتأكد من أنها تعمل جيدًا ومنظمة.
متى تستخدمها
- ✓عندما تريد التأكد من أن أدوات الذكاء الاصطناعي لديك تعمل بشكل صحيح.
- ✓عندما تضيف أدوات للذكاء الاصطناعي أو تحدّثها.
- ✓عندما تريد إجراء مراجعة كاملة لكل الأدوات المتاحة.
رابط المهارة
https://github.com/affaan-m/ECC/blob/main/skills/skill-stocktake/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“تحقق من جودة أدوات الذكاء الاصطناعي لدي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تفحص المهارة «المهارات» (التعليمات الموجهة للذكاء الاصطناعي) بحثًا عن مشاكل الجودة. يمكنها إجراء فحص سريع للأدوات التي تغيرت فقط، أو مراجعة كاملة لها جميعًا.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
skill-stocktake
Slash command (/skill-stocktake) that audits all Claude skills and commands using a quality checklist + AI holistic judgment. Supports two modes: Quick Scan for recently changed skills, and Full Stocktake for a complete review.
Scope
The command targets the following paths relative to the directory where it is invoked:
| Path | Description |
|---|---|
~/.claude/skills/ |
Global skills (all projects) |
{cwd}/.claude/skills/ |
Project-level skills (if the directory exists) |
At the start of Phase 1, the command explicitly lists which paths were found and scanned.
Directories named .trash are excluded from both scan modes: archived skills are not part of the live inventory. If an older results.json contains .trash entries, start a new Full Stocktake using the cache initialization below before resuming Quick Scan. An ordinary save merges entries and does not remove archived records.
Targeting a specific project
To include project-level skills, run from that project's root directory:
cd ~/path/to/my-project
/skill-stocktake
If the project has no .claude/skills/ directory, only global skills and commands are evaluated.
Modes
| Mode | Trigger | Duration |
|---|---|---|
| Quick Scan | results.json exists (default) |
5–10 min |
| Full Stocktake | results.json absent, or /skill-stocktake full |
20–30 min |
The shell scripts require Bash, Node.js, and jq on PATH.
Results cache: ~/.claude/skills/skill-stocktake/results.json
Quick Scan Flow
Re-evaluate only skills that have changed since the last run (5–10 min).
- Read
~/.claude/skills/skill-stocktake/results.json - Run:
bash ~/.claude/skills/skill-stocktake/scripts/quick-diff.sh \ ~/.claude/skills/skill-stocktake/results.json(Project dir is auto-detected from$PWD/.claude/skills; pass it explicitly only if needed) - If output is
[]: report "No changes since last run." and stop - Re-evaluate only those changed files using the same Phase 2 criteria
- Carry forward unchanged skills from previous results
- Output only the diff
- Run:
bash ~/.claude/skills/skill-stocktake/scripts/save-results.sh \ ~/.claude/skills/skill-stocktake/results.json <<< "$EVAL_RESULTS"
Full Stocktake Flow
Phase 1 — Inventory
Run this entire block in one Bash invocation. It prints the inventory for the agent and initializes a new full run only when there is no unfinished run to resume:
(
set -euo pipefail
SCAN_JSON=$(bash ~/.claude/skills/skill-stocktake/scripts/scan.sh)
printf '%s\n' "$SCAN_JSON"
RESULTS_JSON=~/.claude/skills/skill-stocktake/results.json
CACHE_STATUS=""
if [[ -f "$RESULTS_JSON" ]]; then
CACHE_STATUS=$(jq -r '.batch_progress.status // ""' "$RESULTS_JSON")
fi
if [[ "$CACHE_STATUS" == "in_progress" ]]; then
RESUMED_RESULTS=$(jq --slurpfile saved "$RESULTS_JSON" '
. as $inventory | $saved[0]
| .skills = (.skills | to_entries
| map(.key = (.value.path // .key))
| map(select(. as $entry
| $entry.value.mtime != null
and any($inventory.skills[];
.path == $entry.key and .mtime == $entry.value.mtime)))
| from_entries)
| .mode = "full"
| .batch_progress = {
total: ($inventory.skills | length),
evaluated: (.skills | length), status: "in_progress"
}
' <<< "$SCAN_JSON")
bash ~/.claude/skills/skill-stocktake/scripts/save-results.sh \
"$RESULTS_JSON" --replace <<< "$RESUMED_RESULTS"
else
INITIAL_RESULTS=$(printf '%s\n' "$SCAN_JSON" | jq '{
mode: "full", skills: {},
batch_progress: {total: (.skills | length), evaluated: 0, status: "in_progress"}
}')
bash ~/.claude/skills/skill-stocktake/scripts/save-results.sh \
"$RESULTS_JSON" --replace <<< "$INITIAL_RESULTS"
fi
)
The script enumerates skill files, extracts frontmatter, and collects UTC mtimes.
Project dir is auto-detected from $PWD/.claude/skills; pass it explicitly only if needed.
Present the scan summary and inventory table from the script output:
Scanning:
✓ ~/.claude/skills/ (17 files)
✗ {cwd}/.claude/skills/ (not found — global skills only)
| Skill | 7d use | 30d use | Description |
|---|
…
الأسئلة الشائعة
ما هي «المهارات»؟
«المهارات» أشبه ببرامج صغيرة أو مجموعات من التعليمات تعلّم الذكاء الاصطناعي تنفيذ مهام محددة.
ما هما «الفحص السريع» و«الجرد الكامل»؟
«الفحص السريع» يفحص الأدوات التي تغيرت مؤخرًا فقط. أما «الجرد الكامل» فيجري مراجعة شاملة لكل الأدوات.
ماذا يحدث إذا لم تُعثر على أداة؟
إذا لم تُعثر على أداة، لا تُدرج في فحص الجودة. وتشير المهارة إلى المواقع التي بحثت فيها.
التفاصيل
الوصف الأصلي من المؤلف
Use when auditing Claude skills and commands for quality. Supports Quick Scan (changed skills only) and Full Stocktake modes with sequential subagent batch evaluation.
repo: affaan-m/ECC
الشعبية
- نجوم GitHub
- 280k
- الترتيب
- #411
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
accessibility
280kيساعد وكيلك على بناء واجهات يستطيع الجميع استعمالها، ويضمن عمل المواقع والتطبيقات جيدًا لذوي الإعاقة، كالمكفوفين وذوي الحركة المحدودة.
agent-architecture-audit
280kيتأكد وكيلك من أن كل شيء يعمل بشكل صحيح، ويجد مشكلات أنظمة الذكاء الاصطناعي ويصلحها، ليؤدي كما هو متوقع.
agent-eval
280kيساعد وكيلك على مقارنة أدوات البرمجة بالذكاء الاصطناعي المختلفة، ويقيس أيها أسرع وأرخص وأكثر موثوقية لمهام محددة.
agent-harness-construction
280kيساعد وكيلك على فهم طريقة إنجاز المهام بشكل أفضل، عبر تحسين الأدوات والتعليمات التي يستعملها لزيادة فرص نجاحه.
مهارات مشابهة
writing-skills
311kيعلّم وكيلك كتابة مهارات جديدة واختبار كل واحدة أولًا، والتأكد من أنها تغيّر سلوك الوكيل فعلًا.
writing-for-agents
310kيشرح كيفية كتابة تعليمات واضحة لوكلاء الذكاء الاصطناعي، بما في ذلك ملفات المهارات وAGENTS.md وCLAUDE.md، ليتصرف الوكيل بشكل متوقع.
dspy
260kيساعد وكيلك على بناء برامج الذكاء الاصطناعي بتحديد المدخلات والمخرجات بدل كتابة كل أمر يدويًا، ثم ضبط الأوامر من بيانات أمثلة.