Навык code-foundation-stinger
scriptsВыполняет аудит состояния репозитория в режиме только для чтения, чтобы оценить его готовность к совместной работе человека и ИИ-агентов.
- Звёзды на GitHub
- 95
- Файлы
- 22
- Последний коммит
- 18 окт. 2026 г.
- Лицензия
- AGPL-3.0-or-later
- Разрешённые инструменты
- —
Что делает навык code-foundation-stinger?
Выполняет аудит состояния репозитория в режиме только для чтения, чтобы оценить его готовность к совместной работе человека и ИИ-агентов.
Сводка сгенерирована из SKILL.md навыка.
О skill code-foundation-stinger
Основная функция этого инструмента — оценка того, готов ли репозиторий к безопасному взаимодействию человека и ИИ-агентов. Он проводит аудит состояния в режиме только для чтения, чтобы определить, соответствует ли кодовая база базовым стандартам, таким как наличие согласованных lock-файлов, прохождение тестов и корректные конфигурации линтинга. Разработчики используют его для оценки готовности репозитория перед проведением более глубоких аудитов безопасности или качества.
Агенту следует загрузить этот SKILL, если ему поручено ответить на вопросы о состоянии репозитория, наличии CI или совместимости с ИИ-агентами. Процесс опирается на Python 3.11 и git; для выполнения детерминированного сканирования используются такие скрипты, как foundation_scan.py, а для запуска команд проекта в изолированной копии (чтобы не изменять исходный репозиторий) — run_in_copy.py. В отличие от инструментов настройки, этот SKILL никогда не изменяет файлы; вместо этого он создает findings.jsonl, metrics.json и notes.md для документирования конкретных пробелов и метрик в соответствии с контрактом Audit My Code.
Что агент может делать с ним
- 1Оценка готовности к работе ИИ-агентовОпределение того, содержит ли репозиторий необходимую документацию и структуру для эффективной работы ИИ-агента.
- 2Аудит базового состояния репозиторияПроверка наличия критически важных файлов, таких как конфигурации CI, тесты и lock-файлы.
- 3Предварительная оценка репозиторияПроверка работоспособности систем сборки и тестов перед началом официального аудита безопасности или качества.
Написано на основе skill SKILL.md. Каждый сценарий использования проверен по цитате из него.
Как установить навык code-foundation-stinger
Каждая команда копирует папку навыка в каталог навыков клиента. Перезапустите клиент или начните новую сессию, чтобы загрузить его.Установка навыка code-foundation-stinger в Плагин
/plugin marketplace add legioncodeinc/vibe-coding-tools /plugin install code-audit-tools@wasp-nest
Установка навыка code-foundation-stinger в Claude Code
~/.claude/skills/code-foundation-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger ~/.claude/skills/code-foundation-stingerУстановка навыка code-foundation-stinger в Claude Code (project)
.claude/skills/code-foundation-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger .claude/skills/code-foundation-stingerУстановка навыка code-foundation-stinger в Codex
~/.agents/skills/code-foundation-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger ~/.agents/skills/code-foundation-stingerУстановка навыка code-foundation-stinger в Gemini CLI
~/.gemini/skills/code-foundation-stinger/SKILL.md
$ npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger ~/.gemini/skills/code-foundation-stingerУстановка навыка code-foundation-stinger в Claude.ai
npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger code-foundation-stinger && zip -r code-foundation-stinger.zip code-foundation-stinger # claude.ai → Customize → Skills → + → Create skill → Upload a skill → code-foundation-stinger.zip
Автоматические проверки
Запущено 14 нояб. 2026 г.Полный отчёт →Ещё не проверен. Навыку нужно 80 баллов, ни одной серьёзной находки и достаточно данных для проверки. Как работают проверки · Что исправить, чтобы получить больше баллов
- Связанный и доступный исходный репозиторийlegioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger is public and reachablegithub.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins ↗Пройдено
- Open source лицензия (OSI)AGPL-3.0-or-later is not OSI-approvedspdx.org/licenses/AGPL-3.0-or-later.html ↗Проблема
- Коммит или релиз за последний годLast commit 2026-10-18github.com/legioncodeinc/vibe-coding-tools/commits ↗Пройдено
- В скриптах нет загрузки с запуском и кражи учётных данных4 scripts read; no download-and-run, remote eval, base64 execution or credential uploadПройдено
- В SKILL.md нет скрытых инструкцийNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗Пройдено
- Заранее разрешённые инструменты ограниченыNo pre-approved tools; the agent asks before using onegithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗Пройдено
- SKILL.md соответствует формату Agent Skillsthe description does not say when to use the skillgithub.com/legioncodeinc/vibe-coding-tools/blob/HEAD/plugins ↗Проблема
SKILL.md
Открыть на GitHubCode 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 themariotier's remediation step - Vulnerability analysis, exploitability, secret rotation:
security-stingerandsecurity-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
- 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.
- Read
<workspace>/intake.json. Check tools (python3,git,gh auth status) and record caps. - Run
scripts/foundation_scan.py --repo <repo> --gh --out <workspace>/00-foundation/raw/foundation_scan.json(drop--ghif gh is unavailable). It makes the file-presence and API checks and emits contract-shaped findings and measures. - 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 withscripts/run_in_copy.py), 03 dependencies, lockfiles and secrets, 04 repository governance. - Follow 05 writing metrics and findings: write
judgment.jsonlandmeasures-extra.json, runscripts/assemble_foundation.pyuntil it validates, writenotes.md, index the raw artifacts. - Return a short report: verdict, counts by severity, measures in
at-riskorcritical, caps, output paths.
References map
| Path | Load when |
|---|---|
guides/00-scoping-and-read-only-rules.md |
Every run, first |
guides/01-wasp-nest-readiness.md |
Library, lock, agent file checks |
guides/02-ci-tests-lint-typecheck.md |
Workflow review and running tests, lint, typecheck in the copy |
guides/03-dependencies-lockfiles-secrets.md |
Lockfiles, update automation, runtime pins, env files, secret-shaped strings |
guides/04-repository-governance.md |
README, license, CODEOWNERS, branch protection, Scorecard view |
guides/05-writing-metrics-and-findings.md |
Producing and validating the output files |
references/REFERENCE.md |
Map of every reference file |
references/foundation-checklist.md |
Every check id, default severity, owner, get-started step |
references/get-started-assess-map.md |
Naming the get-started step; what a healthy initialized repo has |
references/measures-and-bands.md |
Bands for every metrics.json measure |
references/scorecard-mapping.md |
Which Scorecard checks are approximated and how |
references/gh-readonly-calls.md |
Before any gh call |
references/detection-patterns.md |
Manual workflow, secrets, lockfile and agent-file checks |
references/runtime-eol-table.md |
End-of-life Node and Python pins |
references/finding-templates.md |
Writing judgment findings |
references/research/distilled-foundation.md |
Verifying 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.py |
Step 3: deterministic scan, read-only |
scripts/run_in_copy.py |
Running project commands in the throwaway copy only |
scripts/assemble_foundation.py |
Step 5: validate and write the three output files |
scripts/test_foundation.py |
After 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.
Файлы в этом навыке
22Вопросы о навыке code-foundation-stinger
Как установить навык code-foundation-stinger в Claude Code?
Выполните npx degit legioncodeinc/vibe-coding-tools/plugins/code-audit-tools/skills/code-foundation-stinger ~/.claude/skills/code-foundation-stinger. Claude Code загружает навыки из ~/.claude/skills (все проекты) или .claude/skills (один проект) и использует навык, когда его описание соответствует задаче.
Какие клиенты могут использовать навык code-foundation-stinger?
Любой клиент, который читает формат Agent Skills: Claude Code, Codex, Gemini CLI и claude.ai (загрузить как ZIP). Скрипты в навыке выполняются только там, где клиент разрешает выполнение кода.
Что именно проверяет инструмент?
Он проверяет настройку Wasp Nest, готовность к работе агентов, наличие CI, тестов, линтинга, lock-файлов, секретов и управления репозиторием.
Какие файлы создаются по результатам аудита?
Инструмент создает файлы findings.jsonl, metrics.json и notes.md в директории foundation.