gitnexus-plan
ما الذي تفعله
يرشد وكيلك إلى كتابة خطة تنفيذ واضحة لتغيير في الكود، باستخدام خريطة للمشروع والتحقق من المصدر الفعلي. وهي مناسبة للمطورين الذين يريدون خطة دقيقة قبل أي برمجة.
متى تستخدمها
- ✓عندما تحتاج إلى خطة لتغيير برمجي قبل بدء أي برمجة.
- ✓عندما تحتاج خطة موجودة إلى مراجعة وتقوية.
- ✓عندما تمسّ الميزة أجزاء كثيرة من قاعدة الكود وتحتاج إلى ترتيب دقيق للخطوات.
رابط المهارة
https://github.com/abhigyanpatwari/GitNexus/blob/main/.claude/skills/gitnexus-plan/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك أن تضع خطة لإضافة دعم إعادة المحاولة إلى خط الاستيعاب لدينا، يستطيع المطور اتباعها؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يحدد الوكيل الكود المعني باستخدام الفهرس، ويتحقق من ملفات المصدر الفعلية، ثم يكتب وثيقة الخطة. ولا يغيّر كود المشروع نفسه.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
gitnexus-plan — implementation-ready engineering plans
Produce an implementation-ready plan for an engineering task. GitNexus is the
navigation layer (where to look), statement-level PDG is the constraint layer
(what gates and feeds the behavior), and your native targeted source reads are
the verification layer (what is actually true right now). The output is a plan
document plus a compact, machine-readable implementation context pack
that a follow-up implementation agent (gitnexus-work, or any executor) can
consume without repeating the investigation.
/gitnexus-plan <task description>
/gitnexus-plan impact_depth:3 depth:deep <task description> # knob overrides, see Configuration
This skill plans. It never implements. Do not modify production code,
tests, or configuration while running it. The only repository file it writes
is the plan document (a working ledger kept outside the repo is fine). The
only other permitted state change is an index refresh via
analyze --index-only, which writes only the .gitnexus index store. It
must not build analyzer dist/ output and must not mutate source, tests,
configuration, or evaluation data. Stale analyzer provenance is disclosed as
a source-weighted limitation, never repaired by a planning run.
Hard rules
- Ledger first. Before every GitNexus call and every repo file read, check
the context ledger. Never repeat a query or reread an unchanged range that
already answered the same question (allowed repeats are defined in
references/context-ledger.md; this skill's own reference files are exempt from ledger bookkeeping). - Every graph query answers a named planning question. Record the question and the conclusion in the ledger. No exploratory dredging.
- Source beats graph. The graph navigates; current source is authoritative. Verify before asserting (see Phase 4). Comments are the weakest evidence — never stronger than executable code.
- No fabrication. Never invent symbols, filenames, test names, tool results, or PDG edges. Unknowns go to Assumptions and Open Questions.
- No scope creep. Adjacent refactors the task didn't ask for go to plan §12 as explicitly-deferred follow-ups, not into Proposed Changes.
- Pin working-tree evidence, not only HEAD. Every plan form carries the
versioned global dirty digest and sorted cited-path manifest defined in
references/context-ledger.md. Generate it only with the portable helper and byte contract inscripts/evidence-provenance.mjsandreferences/evidence-provenance.md; never reimplement the digest. - Write the plan only through the helper. The generated-plan path is a
normalized repo-relative
docs/plans/YYYY-MM-DD-gitnexus-plan-<3-5-word-slug>.mdpath. Compose the complete UTF-8 document in memory or in a scratchpad outside the target repo, then pass it on stdin to the helper'swrite-plancommand. Never write the destination directly or fall back to an external output path when the safe writer fails. - Read an existing plan only through the helper. Deepen must invoke
scripts/evidence-provenance.mjs read-plan, parse the exact decodedplan_bytes_base64from its descriptor-anchored receipt, and retain that receipt's canonicalgenerated_plan_pathandplan_digestas one binding. Never parse a direct lexical-path read or apply one plan's digest to another path. - Stop when you have enough. Sufficient evidence ends exploration; plans do not improve monotonically with tokens spent.
Phase 0 — Parse and classify
Read references/context-ledger.md and open the ledger with the task:
original request, interpreted goal, acceptance criteria. Classify the task:
| Category | Posture (depth · plan form · tool-call budget · freshness) |
|---|---|
| Bug fix (local) | Narrow, 1–2 primary symbols, impact_depth 1 · compact · ~15 · accept |
| Feature | Default knobs · compact · ~30 · accept |
| Refactor / shared API change | Impact mandatory, impact_depth 3 · full · ~45 · strict |
| Performance | Default + performance PDG mode (references/pdg-slice.md) · full · ~45 · strict |
| Security | Default + security PDG |
الأسئلة الشائعة
هل يكتب الكود؟
لا. تقول المهارة إنها تخطط ولا تنفّذ، فلا تغيّر كود الإنتاج أو الاختبارات.
أين تُحفظ الخطة؟
تُحفظ وثيقةً في مجلد docs/plans داخل المشروع.
هل يستطيع تحسين خطة كتبتها أنت؟
نعم. تستطيع المهارة أن تعمّق خطة موجودة لتصبح أقوى.
التفاصيل
الوصف الأصلي من المؤلف
Use when you need a deep, implementation-ready engineering plan for a code change — built from GitNexus graph intelligence, statement-level PDG analysis, and targeted source verification, compact enough that an implementation agent can start without re-investigating. Also strengthens existing plans via Deepen mode. Examples: "/gitnexus-plan Add retry support to the ingestion pipeline", "/gitnexus-plan deepen docs/plans/<plan>.md", "plan this change using the knowledge graph".
repo: abhigyanpatwari/GitNexus
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #3611
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
gitnexus-cli
48kيتيح لوكيلك تشغيل أوامر GitNexus التي تفهرس مشروع كود، وتفحص حالته، وتمسح الفهرس، أو تُنشئ ويكي.
gitnexus-debugging
48kيساعد وكيلك على تتبع الخلل عبر قاعدة الكود، فيجد أين يبدأ الخطأ وأي كود يستدعي الجزء المعطل.
gitnexus-exploring
48kيساعد وكيلك على استكشاف قاعدة كود غير مألوفة، فيشرح كيف تترابط أجزاؤها وكيف تعمل ميزة مثل تسجيل الدخول.
gitnexus-guide
48kيمنح وكيلك مرجعًا سريعًا لأدوات GitNexus وموارده ورسمه المعرفي، ويوجّهه إلى الدليل المناسب.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.