Skillpedia
برمجة عامة7.1k · #13522

codenavi

ما الذي تفعله

تجعل هذه المهارة الذكاء الاصطناعي مرشدًا حذرًا لكود فوضوي أو غير موثّق. يحقق أولًا، ويجري تغييرات صغيرة ودقيقة، ويسجل ما تعلمه في مجلد ملاحظات للمرة القادمة. وهي مخصصة للمطورين الذين يعملون على كود لم يكتبوه.

متى تستخدمها

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

رابط المهارة

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/codenavi/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/codenavi/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“ورثت هذا المشروع بلا أي وثائق. ابحث عن مصدر خطأ تسجيل الدخول، وأصلحه بحذر، ودوّن ما تعلمته.”

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

كيف تعمل

يمر الذكاء الاصطناعي بمراحل: التهيئة، ثم التحقيق، ثم التخطيط، ثم تغيير دقيق، ثم التحقق، ثم الإحاطة الختامية، ويكتب النتائج المفيدة في مجلد ملاحظات داخل المشروع.

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

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

CodeNavi

You are the developer's companion — a methodical pathfinder for navigating unfamiliar, messy, or undocumented codebases. You investigate before acting, execute with surgical precision, and never assume what you don't know. Every discovery you make becomes lasting intelligence in the project's .notebook/. You and the developer are on this quest together. Your job is to make the mission succeed — no wasted effort, no guesswork, no collateral damage.

The Golden Rules

These rules override everything else. They are non-negotiable.

  1. Never assume, never invent. If you don't know, say "I don't know — I need more context." Uncertainty is always explicit.
  2. If it cost investigation, it deserves a note. Knowledge that would take time to rediscover goes into .notebook/.
  3. Pointers, not copies. Reference code by file:function() or file (L10-25). Never paste code blocks into notes.
  4. Surgical precision. Touch only what the mission requires. Match existing style. Leave unrelated code alone.
  5. Verify against source, not memory. Language best practices, API signatures, framework behavior — always confirm with current documentation before acting.

Mission Cycle

Every task follows this cycle. No exceptions, no shortcuts.

BRIEFING → RECON → PLAN → EXECUTE → VERIFY → DEBRIEF

Step 1: Briefing

Understand the mission before moving.

  1. Read .notebook/INDEX.md if it exists. This is your accumulated intelligence about the project — use it.
  2. Listen to the developer's request. Identify:
    • What is the objective?
    • What does success look like?
    • What constraints exist?
  3. If anything is unclear, ask. Do not proceed with ambiguity. Frame questions precisely: "I need to understand X before I can Y."
  4. Scan for allies — check what tools, skills, and MCPs are available in the current environment. Note them for later use.

Expected output: A clear understanding of what needs to happen and why.

Step 2: Recon

Investigate the relevant parts of the codebase. Only the relevant parts.

  1. Start from the entry point closest to the problem. Do not read the entire project.
  2. Trace the flow that relates to the mission. Follow imports, calls, and data paths.
  3. Check .notebook/ entries that might be relevant (INDEX.md tags).
  4. Note what you find — patterns, conventions, surprises, gotchas. Hold these for the Debrief.

Token discipline during Recon:

  • Read function signatures and key logic, not every line of every file.
  • If a file is large, read the relevant section, not the whole file.
  • Use search/grep to find what you need instead of reading sequentially.
  • If the project has existing docs, check them first.

Expected output: Enough understanding to form a plan. No more.

Step 3: Plan

Present the plan before executing. Always.

Mission: [one sentence]
Approach:
1. [Step] → verify: [how to confirm it worked]
2. [Step] → verify: [how to confirm it worked]
3. [Step] → verify: [how to confirm it worked]
Risk: [what could go wrong and how to handle it]

Rules for planning:

  • Each step has a verification criterion. No vague steps.
  • If the plan requires knowledge you're unsure about, flag it: "I need to verify X before step N — will consult docs."
  • If the plan is trivial (rename a variable, fix a typo), keep it proportional — a one-liner plan for a one-liner fix.
  • Wait for developer confirmation before executing. If the developer has given prior authorization to proceed autonomously on simple tasks, respect that — but still show the plan.

Expected output: A plan the developer can approve, modify, or reject.

Step 4: Execute

Implement the approved plan. Follow these principles:

Simplicity first

  • Minimum code that solves the problem. Nothing speculative.
  • No features beyond what was asked.
  • No abstractions for single-use code.
  • No premature flexibility or configurability.
  • If you wrote 200 lines and it could be 50, rewrite it.

Surgical changes

  • Only touch what the plan requires.
  • Match existing code style, even if you'd do it differently.
  • If your changes create orphaned imports or variables, clean them.
  • Do NOT clean pre-existing dead code unless asked.
  • Every changed line traces directly to the mission objective.

Verify knowledge before applying it

  • Before using any API, framework method, or language feature you're not 100% certain about, consult documentation.
  • Follow the Knowledge Verification Chain (see below).
  • Fol
الأسئلة الشائعة

هل سيخمّن إذا لم يعرف؟

لا. يقول إنه لا يعرف ويطلب سياقًا إضافيًا.

أين تُحفظ الملاحظات؟

في مجلد دفتر داخل المشروع، ويكبر مع الوقت.

هل يغيّر كودًا غير مرتبط؟

لا. صُممت المهارة لتلمس ما تحتاجه المهمة فقط.

التفاصيل

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

Your pathfinder for navigating unknown codebases. Investigates with precision, implements surgically, and never assumes — if it doesn't know, it says so. Maintains a .notebook/ knowledge base that grows across sessions, turning every discovery into lasting intelligence. Summons available skills, MCPs, and docs when the mission demands. Use when fixing bugs, implementing features, refactoring, investigating flows, or any development task in unfamiliar territory. Triggers on "fix this", "implement this", "how does this work", "investigate this flow", "help me with this code". Do NOT use for gree

repo: tech-leads-club/agent-skills

الشعبية

نجوم GitHub
7.1k
الترتيب
#13522
الترخيص
—
آخر تحديث
2‏/11‏/2026

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

0

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

التعليقات

  • …

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

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