شعار Codebase Tips

Codebase Tips

المجتمع
Heyvhuang
codebase-tips

Codebase · 29 tips: repo index and map, coding principles, AGENTS.md, scope rules.

نظرة عامة

الناشرHeyvhuang
المستودعcopybook-skills
اسم المهارةcodebase-tips
النجوم
143
التفريعات
9
الملفات المرفقة
30
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 30

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Heyvhuang على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Codebase Tips في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Heyvhuang/copybook-skills/tree/main/plugins/copybook-zh/skills/codebase-tips
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Heyvhuang/copybook-skills.git /tmp/copybook-skills
mkdir -p .claude/skills
cp -r /tmp/copybook-skills/plugins/copybook-zh/skills/codebase-tips .claude/skills/codebase-tips
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Codebase Tips في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Codebase Tips تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Codebase Tips بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Codebase · 29 tips

Copybook's 29 tips on codebase, most saved first. Each tip's text, where it goes and what the user should get are in its file in references/.

  • If the user names a tip, use that tip. If they describe a task, choose the tip that best meets their goal and constraints from those that work with the agent doing the work. If several fit equally well, choose one. Tell the user in one sentence which tip you picked and why, then read its file and follow it. If another tip also fits and would materially change the approach or result, name it and say how it differs.
  • If the user said nothing, show them the list below (each tip's name and what it does) and ask which to use.
  • If none fits, say so and suggest copybook, which looks through all 128 tips.
TipWhat it does
codebase-memory MCP: an index of your repo codebase-memory-repo-indexDozens of grep and read turns per question: the repo as one graph of functions, files and dependencies; dead code found too.
Vibe-coding cleanup: 5 Codex /goal prompts vibe-coding-cleanup-promptsHalf your quota left at reset: dead code, duplicates and unneeded dependencies cut; scheduled tasks and old worktrees sorted.
Clickable repo map clickable-repo-mapBefore you change a repo: click any module for its callers, dependencies, tests and source evidence; a rule keeps it current.
Scope Guard: AGENTS.md rules for small tasks scope-guard-rulesAsked to change a config, it builds a framework: minimum sufficient change, reuse first, ask before widening, test narrowly.
Disk map of dev leftovers disk-map-of-dev-leftoversDisk almost full: a read-only scan, a treemap of what development left behind, and a cleanup script only for what you tick.
One AGENTS.md for Claude Code and Codex one-agents-md-for-both-agentsTwo agents, one rules file: plan first, smallest change, subagent roles, own the bug, verify before done, Lessons per correction.
Untangle /goal for spaghetti code untangle-goalMonths of vibe coding left the code in knots: an HTML wiring diagram, the worst numbered in red, then fixes tested one by one.
Investigate-and-plan prompt for Codex investigate-and-plan-promptBefore it implements on a guess: repo read, goal restated, assumptions and plan listed, then a stop for your approval.
Repeated PR comments as AGENTS.md rules pr-comments-as-agents-md-rulesA reviewer keeps flagging the same things: 50 recent PRs scanned, issues ranked by count, your picks written into AGENTS.md.
Archify: system diagrams from code archify-system-diagramsA system you have to explain: an HTML diagram you can search, trace up and downstream, compare across versions, export as PNG.
REA: take apart another app's feature rea-take-apart-a-featureA feature you like and can't see how it's built: taken down layer by layer, each finding with evidence, then a plan for your own.
Less defensive code: 4 AGENTS.md rules less-defensive-codeEven a tiny change gets null checks at every layer: Codex checks data once where it comes in, then just uses it.
CI time audit: 150 runs, 9 checks ci-time-auditCode takes minutes, then each PR waits on CI: the 5 slowest jobs split into queue, setup and run, and the line to change per fix.
MIT axiomatic design check for coupled code axiomatic-design-coupling-checkFixing one bug breaks ten other things: an MIT axiomatic design analysis that says whether your code is coupled.
Agent workspace audit agent-workspace-auditYour agent feels dumber over time: every instruction, skill, MCP and memory marked KEEP or REMOVE, cleared on your OK.
Agent memory tools: 8 repos in 4 kinds agent-memory-tools-8-reposNo memory of code, notes, sessions or long tasks: 8 repos in those 4 kinds, one of each installed on your OK.
3 slimmer AGENTS.md plans side by side 3-slimmer-agents-md-plansAGENTS.md past 200 lines gets followed less: 3 slimmer versions, each more aggressive, nothing lost, shown before changes.
No compatibility code yet: AGENTS.md rules no-compatibility-code-yetNo users yet, but the agent adds compatibility code and migrations: skip both, then docs, tests, smallest change and cleanup.
Claude Code permissions: deny, ask and allow commands deny-ask-and-allow-permissionsClaude deleted a config that 'looked unused': risky commands blocked, pushes ask first, routine ones run, deny always wins.
Ask before edge-case code: one AGENTS.md line ask-before-edge-case-codeThe agent codes for races that never happen: one line makes it state the risk and the odds, then wait for your OK.
Claude Code project instructions from your sessions instructions-from-your-sessionsBackground you re-explain every new session: pulled from your last 20 sessions and written up as project instructions.
~/.codex and ~/.claude sorted before cleanup codex-and-claude-sortedA cleanup that could delete your chats: items sorted Keep, History, Work, Clearable or Unknown, each command approved by you.
Mod ideas from your last 20 sessions mod-ideas-from-20-sessionsRequests you repeat, commands you stop or undo, how you check changes: ranked by how much each would help, your words quoted.
/teach: strategic programming on your project teach-strategic-programmingSpend tokens learning what AI can't replace: 3 questions about your codebase, then MISSION.md, a curriculum and lessons on it.
Bug-fix loop rules for CLAUDE.md or AGENTS.md bug-fix-loop-rulesAgents that both fix and review can't stop going back and forth: stop after two failed fixes, review only this round's changes.
ub-mode: the Clean Code author's agent rules ub-mode-clean-code-agent-rulesYour agent's code hides bugs and its tests fool you: a skill it follows on every change, with crapper, dryer and mutator checks.
Outdated CLAUDE.md and AGENTS.md review outdated-claude-md-reviewAgents follow an outdated CLAUDE.md over your code: its old instructions identified, and a rule that puts code first.
Repeat mistakes as helpers and lint rules repeat-mistakes-as-lint-rulesThe agent keeps making one mistake: the right way in a helper, the old way banned by lint, an error that names the helper to use.
Situation routing rules for skills situation-routing-for-skillsYour agent often forgets to use what you install, so you call each by name: the best fit per task, with one line on which and why.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Codebase Tips؟

Codebase · 29 tips: repo index and map, coding principles, AGENTS.md, scope rules.

لماذا تستخدم Codebase Tips على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Codebase Tips عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Codebase Tips في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Heyvhuang/copybook-skills/tree/main/plugins/copybook-zh/skills/codebase-tips. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Codebase Tips؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Codebase Tips؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Codebase Tips معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Codebase Tips مجانية؟

نعم. نشرها Heyvhuang على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇