wiki-lint
ما الذي تفعله
تفحص هذه المهارة الـ wiki في Obsidian وتُبلغ عن مشكلات مثل الروابط المكسورة والصفحات التي لا يشير إليها شيء. وهي موجهة إلى من يريد الحفاظ على ترتيب قاعدة معرفة كبيرة.
متى تستخدمها
- ✓عندما تريد فحص الـ wiki بحثاً عن روابط مكسورة أو صفحات لا تشير إليها صفحات أخرى.
- ✓عندما تريد تدقيقاً لبيانات الخصائص أو تتبع المصادر عبر ملاحظاتك.
- ✓عندما تريد معرفة فهارس تحتاج إلى تحديث قبل أن تصلحها بنفسك.
رابط المهارة
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-lint/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افحص الـ wiki في Obsidian بحثاً عن الروابط المكسورة والصفحات اليتيمة، وأعطني تقريراً.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يشغّل وكيلك أداة فحص ثابتة تقرأ الخزنة وتعرض كل ملاحظة. ولا ينشئ تقارير أو لوحات أو إصلاحات، فأنت تقرر ما الذي يتغير.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Lint the wiki
Use the portable lint engine as the source of truth. Lint observes vault state; it does not create reports, dashboards, canvases, stubs, or fixes.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
test -f "$CORE"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Run
Resolve the user vault, then run one of:
python3 "$CORE" lint --vault "$VAULT"
python3 "$CORE" lint --vault "$VAULT" --format markdown
python3 "$CORE" lint --vault "$VAULT" --exclude "wiki/scratchpad/*"
The repeatable --exclude GLOB flag scopes a path (for example a scratchpad
folder) out of page, link-resolution, orphan, frontmatter, empty-section, and
stale-index scanning.
Use --strict only when a nonzero exit for findings is useful in automation.
The command remains read-only either way.
The deterministic parser understands Obsidian wikilinks and embeds, Markdown
links, aliases, heading and block fragments, escaped aliases, and code fences.
It skips dot-prefixed directories by default, mirroring Obsidian's own
indexer. Link resolution honors .gitignore files inside the vault (no git
subprocess): when a link is ambiguous between a page and a gitignored file
such as a build artifact, the gitignored candidate is dropped.
It reports such categories as dead or ambiguous links, orphan pages, required
frontmatter gaps (including title), empty sections, stale index entries, and
source/claim ledger contract violations. Report only the
checks and counts present in its output; do not claim that it performed
semantic, stylistic, or prose-level contradiction analysis when it did
not.
Explain findings
- Preserve the engine's paths, line numbers, targets, categories, and counts.
- Group findings by likely impact: broken navigation, ambiguous resolution, metadata quality, then maintainability.
- Explain that an orphan may be intentional and an ambiguous basename needs a path-qualified link; do not infer intent from the finding alone.
- Treat allowlisted findings as policy, not as proof that the target exists.
- Separate deterministic facts from suggested remediation.
Do not write the Markdown rendering into the vault. Return it in chat or stdout.
Repair is a separate operation
Never auto-fix a lint result. After the user chooses specific findings to repair:
- Re-read each target and record its expected SHA-256.
- Draft only the selected changes; do not delete or merge pages without explicit consent.
- Build one repair bundle with a new operation ID.
- Inspect the bundle and show exact changed paths.
- Apply only after that separate review.
- Re-run lint read-only and compare the relevant findings.
Follow the operation transaction contract. Lint itself never applies that transaction and never commits Git.
Checkpoint
Observe the deterministic report, think about root causes rather than finding count, verify proposed repairs against current hashes, and grow by improving the workflow that produced repeated findings.
الأسئلة الشائعة
هل يصلح الروابط المكسورة؟
لا. الفحص يُبلغ فقط، والإصلاح يُترك لك أو لمهارة أخرى.
هل أستطيع استثناء بعض المجلدات؟
نعم. يمكنك استبعاد مجلد، مثل منطقة المسودات، من الفحص.
ما أنواع المشكلات التي يجدها؟
يُبلغ عن مشكلات الروابط، والصفحات اليتيمة، وفجوات الخصائص، والأقسام الفارغة، وإدخالات الفهرس القديمة.
التفاصيل
الوصف الأصلي من المؤلف
Run a deterministic, read-only health check on an Obsidian wiki. Use for lint, vault health check, audit wiki health, find orphans, find dead links, frontmatter audit, provenance audit, or wiki audit. Reports graph, link, frontmatter, provenance-ledger, empty-section, and stale-index findings; it does not reason broadly or repair files.
الشعبية
- نجوم GitHub
- 16k
- الترتيب
- #10814
- الترخيص
- MIT
- آخر تحديث
- 25/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
autoresearch
16kيتيح لوكيلك البحث في موضوع ضمن حدود محددة وكتابة تقرير مدعّم بالمراجع. تبقى نتائج الويب أدلة ولا تُضاف إلى ملاحظاتك تلقائياً.
canvas
16kيساعد وكيلك على إنشاء لوحات مرئية في Obsidian تحتوي على ملاحظات وملفات وروابط ومجموعات، وتحديثها. مفيدة للخرائط والتخطيطات المكانية.
defuddle
16kيساعد وكيلك على تخطيط تنظيف صفحة ويب لتصبح نصاً مقروءاً، والاحتفاظ بنسخ محلية من ملفات المصدر. التنظيف عبر الشبكة غير متاح بعد.
obsidian-bases
16kيساعد وكيلك على تصميم عروض Obsidian Bases التي تعمل كقواعد بيانات بسيطة، مع فلاتر ومعادلات وتخطيطات جدولية أو بطاقات.
مهارات مشابهة
technical-documentation
394kيساعد وكيلك على كتابة الوثائق التقنية ومراجعتها، وملفات التعليمات الخاصة بالوكلاء، لتكون سهلة المتابعة للناس وأدوات الذكاء الاصطناعي.
architecture-decision-records
280kيساعد وكيلك على تسجيل قرارات بنية المشروع المهمة، فيفهم سبب كل اختيار ويحتفظ بتاريخ واضح للتغييرات.
code-tour
280kيتيح لوكيلك إنشاء جولات شيفرة خطوة بخطوة مع مراجع دقيقة للملفات والأسطر، ويفيد للتعريف بالمشروع والشرح والمراجعة.