Skillpedia
برمجة عامة48k · #4058

brooks-audit

ما الذي تفعله

تحلل هذه المهارة بنية شيفرتك لإيجاد المشكلات. تتحقق من ترابط أجزاء الشيفرة، ومن اتباعها تنظيمًا جيدًا، ومن علامات التدهور البنيوي مع مرور الوقت، وفقًا لمبادئ هندسية.

متى تستخدمها

  • ✓عندما تريد فهم العلاقة بين أجزاء الشيفرة.
  • ✓عندما تشك في أن تنظيم الشيفرة أصبح فوضويًا.
  • ✓عندما تريد التحقق من وجود روابط دائرية غير مرغوبة بين الوحدات.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-audit/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-audit/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“دقّق بنية هذا المشروع واعرض لي مخطط تبعيات الوحدات.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تُرسم أولًا الروابط بين وحدات الشيفرة. ثم تفحص المشكلات البنيوية الشائعة، وتستخدم الألوان لتوضيح حالة كل جزء في المخطط.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Brooks-Lint — Architecture Audit

When to Use

Use this skill when you need architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books. Triggers when: user asks to audit architecture, review folder/module structure, check for circular imports, understand...

Setup

  1. Read ../_shared/common.md for the Iron Law, Project Config, Report Template, and Health Score rules
  2. Read ../_shared/source-coverage.md for book-level coverage, exceptions, and tradeoffs
  3. Read ../_shared/decay-risks.md for symptom definitions and source attributions
  4. Read architecture-guide.md in this directory for the audit framework

Process

Onboarding mode: If the user asks for an onboarding report, codebase tour, or "explain this codebase to a new developer", read onboarding-guide.md from this directory and follow it instead of architecture-guide.md. This mode explains rather than diagnoses — no Health Score, no Iron Law findings.

If the user has not specified files or a directory to audit: apply Auto Scope Detection from ../_shared/common.md to determine the audit scope before proceeding.

  1. Gather codebase context and draw the module dependency graph as Mermaid (Steps 0–1 of the guide)
  2. Scan for each decay risk in the order specified (Steps 2–4 of the guide)
  3. Assign node colors in the Mermaid diagram based on findings (red/yellow/green) — after Step 4
  4. Run the Testability Seam Assessment (Step 5 of the guide)
  5. Run the Conway's Law check (Step 6 of the guide)
  6. Output using the Report Template from common.md — Mermaid graph FIRST, then Findings

Mode line in report: Architecture Audit

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
الأسئلة الشائعة

ما هو 'التدهور البنيوي'؟

هو حين يصبح تنظيم الشيفرة أكثر تعقيدًا وصعوبة في الصيانة مع الوقت، كأنه يتآكل.

ما هو 'سلامة الطبقات'؟

تعني التحقق من أن الشيفرة منظمة في طبقات منطقية (قاعدة ووسط وقمة)، وأن هذه الطبقات تُحترم، فلا تتواصل طبقة مباشرة مع طبقة لا ينبغي أن تتواصل معها.

ما هي 'تبعيات الوحدات'؟

هي الروابط التي توضح أي أجزاء من شيفرتك (الوحدات) تحتاج إلى أجزاء أخرى لتعمل.

التفاصيل

الوصف الأصلي من المؤلف

Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#4058
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة