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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 20個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    legioncodeincがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Code Foundation Stinger」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/code-audit-tools/skills/code-foundation-stinger
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでCode Foundation Stingerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCode Foundation Stingerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Code Foundation Stingerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでCode Foundation Stingerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Code Foundation Stingerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCode Foundation Stingerをインストールするにはどうすればよいですか?

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を使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Code Foundation Stingerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCode Foundation Stingerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Code Foundation Stinger」は無料ですか?

はい。legioncodeincがAGPL-3.0-or-laterライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇