شعار Code Foundation Stinger

Code Foundation Stinger

مؤسسة
legioncodeinc
code-foundation-stinger

Read-only repo health audit: Wasp Nest setup, agent readiness, CI, tests, lint, lockfiles, secrets, governance. Writes contract-shaped foundation findings and measures. Never edits the repo.

نظرة عامة

الناشرlegioncodeinc
المستودعvibe-coding-tools
اسم المهارةcode-foundation-stinger
النجوم
94
التفريعات
44
الملفات المرفقة
20
الترخيصAGPL-3.0-or-later
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/code-audit-tools/skills/code-foundation-stinger
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/legioncodeinc/vibe-coding-tools.git /tmp/vibe-coding-tools
mkdir -p .claude/skills
cp -r /tmp/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger .claude/skills/code-foundation-stinger
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Code Foundation Stinger

Purpose

Answer one question for the /audit-my-code run: is this repository set up so humans and AI agents can work in it safely? This is the Foundation dimension every audit tier runs first. It measures the repository against the baseline that get-started-stinger establishes (Library Schema v2 tree, wasp-nest.lock, CI, dependency automation, CODEOWNERS, README and policy files, .gitignore and .env.example) and extends it with current repository health practice: OpenSSF Scorecard style checks, whether tests exist and pass, lint and typecheck configuration, lockfile consistency, runtime pins, committed secrets, branch protection, and AI agent readiness (AGENTS.md or CLAUDE.md, size and accuracy). It runs get-started-stinger in assess-only mode: where get-started would create something, a finding names the exact step that would fix it. It produces findings.jsonl, metrics.json and notes.md for 00-foundation/ under the Audit My Code contract 1.0 and changes nothing in the audited repository.

When to use

  • The orchestrator dispatches the Foundation dimension for any tier (foundation, vibe, basic, full, mario)
  • "Is this repo healthy?", "do we have CI and tests?", "will an AI agent be able to work in this repo?"
  • Before a security or quality audit, to learn whether the build, tests and lockfile are sound enough to audit

When not to use

  • Setting the repository up or fixing what the audit finds: that is get-started-stinger (writes files) or the mario tier's remediation step
  • Vulnerability analysis, exploitability, secret rotation: security-stinger and security-wasp-drone
  • Duplicate, dead or bloated code: code-bloat-wasp-drone
  • Implementation versus PRD checks: quality-stinger
  • CI pipeline design depth: ci-release-stinger; detailed GitHub settings scoring across eight dimensions: github-repo-health-stinger
  • README authorship: readme-writing-stinger

Procedure

  1. Read guides/00-scoping-and-read-only-rules.md first. It fixes the hard rules: never modify the audited repository, run project code only in the throwaway copy, GitHub access read-only, secrets redacted.
  2. Read <workspace>/intake.json. Check tools (python3, git, gh auth status) and record caps.
  3. Run scripts/foundation_scan.py --repo <repo> --gh --out <workspace>/00-foundation/raw/foundation_scan.json (drop --gh if gh is unavailable). It makes the file-presence and API checks and emits contract-shaped findings and measures.
  4. Follow guides 01 to 04 in order, reading only what the scanner cannot judge and resolving every finding tagged needs-drone-read: 01 Wasp Nest readiness, 02 CI, tests, lint and typecheck (run commands with scripts/run_in_copy.py), 03 dependencies, lockfiles and secrets, 04 repository governance.
  5. Follow 05 writing metrics and findings: write judgment.jsonl and measures-extra.json, run scripts/assemble_foundation.py until it validates, write notes.md, index the raw artifacts.
  6. Return a short report: verdict, counts by severity, measures in at-risk or critical, caps, output paths.

References map

PathLoad when
guides/00-scoping-and-read-only-rules.mdEvery run, first
guides/01-wasp-nest-readiness.mdLibrary, lock, agent file checks
guides/02-ci-tests-lint-typecheck.mdWorkflow review and running tests, lint, typecheck in the copy
guides/03-dependencies-lockfiles-secrets.mdLockfiles, update automation, runtime pins, env files, secret-shaped strings
guides/04-repository-governance.mdREADME, license, CODEOWNERS, branch protection, Scorecard view
guides/05-writing-metrics-and-findings.mdProducing and validating the output files
references/REFERENCE.mdMap of every reference file
references/foundation-checklist.mdEvery check id, default severity, owner, get-started step
references/get-started-assess-map.mdNaming the get-started step; what a healthy initialized repo has
references/measures-and-bands.mdBands for every metrics.json measure
references/scorecard-mapping.mdWhich Scorecard checks are approximated and how
references/gh-readonly-calls.mdBefore any gh call
references/detection-patterns.mdManual workflow, secrets, lockfile and agent-file checks
references/runtime-eol-table.mdEnd-of-life Node and Python pins
references/finding-templates.mdWriting judgment findings
references/research/distilled-foundation.mdVerifying a claim or resolving a conflict
Source research archive (not shipped with the plugin)Source-repository only; the shipped distillation summarizes it, do not require it
scripts/foundation_scan.pyStep 3: deterministic scan, read-only
scripts/run_in_copy.pyRunning project commands in the throwaway copy only
scripts/assemble_foundation.pyStep 5: validate and write the three output files
scripts/test_foundation.pyAfter any script edit: python3 scripts/test_foundation.py

Related drones and stingers

  • code-foundation-wasp-drone - The paired Drone that runs this Stinger and writes 00-foundation/.
  • audit-my-code-stinger - Owns the run contract, tiers and workspace this Stinger writes into.
  • get-started-stinger - Defines the baseline in assess mode; this Stinger never runs its write steps. Ships with the core Wasp Nest plugin, not this pack.
  • github-repo-health-stinger - Source of the read-only branch protection and settings checks; use it for the full eight-dimension GitHub hygiene report.
  • security-stinger - Receives handoffs for committed secrets and workflow injection.
  • dependency-audit-stinger - Deeper supply-chain triage beyond lockfile and update-tool presence.

Critical Directive

  • You must read all files and context contained within your skill.
  • In the event your core knowledge does not provide sufficient guidance you must make every attempt to search the internet, related knowledge base documentation files, and other available resources to supplement your knowledge prior to proceeding with your task.
  • Additional related skills can be found here:
    • get-started-stinger - Baseline for a correctly initialized repository; read in full before the first run.
    • github-repo-health-stinger - Read-only GitHub hygiene checks to borrow.
    • security-stinger - Where committed-secret and workflow findings go next.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Code Foundation Stinger؟

Read-only repo health audit: Wasp Nest setup, agent readiness, CI, tests, lint, lockfiles, secrets, governance. Writes contract-shaped foundation findings and measures. Never edits the repo.

لماذا تستخدم Code Foundation Stinger على TypingMind؟

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

كيف أثبّت Code Foundation Stinger في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/code-audit-tools/skills/code-foundation-stinger. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Code Foundation Stinger؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Code Foundation Stinger؟

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

هل مهارة الذكاء الاصطناعي Code Foundation Stinger مجانية؟

نعم. نشرها legioncodeinc على GitHub بموجب ترخيص AGPL-3.0-or-later. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

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

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

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

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

عرض الكل

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

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