From supervibe
Use WHEN bootstrapping host-aware Supervibe scaffold for a new or existing project to compose stack-pack into target with confidence-gate ≥9. Triggers: 'scaffolding', 'первичный setup', 'init проекта', 'genesis'.
npx claudepluginhub vtrka/supervibe --plugin supervibeThis skill is limited to using the following tools:
WHEN target project has no host-specific Supervibe scaffold OR no managed routing block in the selected host instruction file AND user wants Supervibe scaffolding. Triggered by `/supervibe-genesis` command.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
WHEN target project has no host-specific Supervibe scaffold OR no managed routing block in the selected host instruction file AND user wants Supervibe scaffolding. Triggered by /supervibe-genesis command.
Lifecycle: detected -> profile-review -> dry-run -> approved -> applied -> artifact/app/deploy verification. Persist state in .supervibe/memory/genesis/state.json before every lifecycle transition. State must use layered fields: artifactVerified, agentReceiptsVerified, appVerified, and deployVerified.
Every interactive step asks one question at a time using Step N/M or Step N/M. Each question lists the recommended/default option first, gives a one-line tradeoff summary for every option, allows a free-form answer, and names the stop condition.
Default behavior: choose the safest minimal profile, no add-ons, dry-run only until the user approves. Free-form path: the user can name exact agents, rules, host files, or stack constraints instead of choosing a listed profile.
Executable path: node scripts/supervibe-genesis.mjs --dry-run --target <project>
is the deterministic runner for dry-run/state output; --apply is the only
mode that writes project scaffold files. It accepts --profile, --addons,
--host, --stack-tags, --request, --generate-apps, --verify-apps,
--app-choice, and --json. State writes to
.supervibe/memory/genesis/state.json are allowed during dry-run so
interrupt/resume has a durable checkpoint; host adapter agents/rules/skills,
settings, instructions, and stack scaffold files remain blocked until explicit
approval or --apply.
User-facing transparency is required. The dry-run must show selected agent groups and a one-line responsibility for each selected agent using scripts/lib/supervibe-agent-roster.mjs / docs/agent-roster.md; never show only opaque agent ids.
After every material delivery, ask one explicit next-step question about the scaffold decision. Use buildPostDeliveryQuestion({ intent: "genesis_setup" }, { locale }) when tooling is available. Visible labels must be language-matched and domain-specific; keep internal action ids only in saved state. Never show both English and Russian in the same visible option. Never use a generic next-step prompt for Genesis.
English visible labels:
Russian visible labels are supplied by
scripts/lib/supervibe-dialogue-contract.mjs to keep this skill contract
ASCII-safe for validators. The ru locale must map to the same scaffold-specific
actions above and must not fall back to generic apply/revise wording.
Follow docs/references/skill-expert-operating-standard.md: start from source of truth, preserve retrieval evidence, apply scope safety, use real producers with runtime receipts for durable delegated outputs, verify before completion claims, and keep confidence below gate when evidence is partial.
supervibe:stack-discovery
scripts/lib/frontend-target-resolver.mjs
before dry-run output. next-app means Next.js + React + TS + Tailwind
with Turbopack, vite-spa means standalone React/Vite, and
monorepo-two-frontends means separate explicit app dirs. If Next.js and
Vite appear together without an explicit separate target, default to
next-app, mark vite as an ignored stack tag for app generation, and
still show the alternative choices.stack-packs/ to find matching packtemplates/ for host instruction and settings templatesnode scripts/supervibe-status.mjs --host-diagnostics or call scripts/lib/supervibe-host-detector.mjs logic before selecting an output layout. Host precedence is explicit override (SUPERVIBE_HOST) -> active runtime/current chat -> filesystem markers.Match exact pack?
├─ YES (e.g., laravel-nextjs-postgres-redis) → use directly
└─ NO → composition algorithm:
1. Find base pack with max overlap; do not select Redis unless stack
evidence or an explicit add-on names Redis.
2. Pull atomic packs from stack-packs/_atomic/ for missing slots
3. Merge: union(agents-attach), union(rules-attach), merge(scaffold)
4. Confidence-score the composed bundle
5. If <9 → ask user to confirm or fall back to closest match
Next.js + Vite, use the shared frontend target resolver before
stack-pack/app generation. Next 16 uses Turbopack by default for
next dev and next build; never generate Vite inside a single Next app
unless the user explicitly chooses a separate frontend.stack-packs/tauri-react-rust-postgres/pack.yaml when fingerprint contains Tauri 2, React/Vite, Rust and SQLx/Postgres evidence.minimal (recommended): orchestrator, repo-researcher, rules-curator, memory-curator, code-reviewer, quality-gate-reviewer, root-cause-debugger, selected stack developer(s), selected stack architect(s)product-design: minimal + product, UX, copy, prototype, presentation, accessibility, polishfull-stack: all stack-pack groupsresearch-heavy: minimal + researcher agents for uncertain stack, stale best practices, security or dependency discoverycustom: user explicitly selects groups or individual agentsscripts/lib/supervibe-agent-recommendation.mjs; show why each group is recommended and which specialists are available, missing or deferred.none.
security-audit: adds the /supervibe-security-audit chain agents.ai-prompting: adds prompt-ai-engineer for prompts, agent instructions, intent routing, prompt evals, and prompt-injection hardening.project-adaptation: adds rules-curator, memory-curator, and repo-researcher when the user explicitly asks to adapt project rules or agents and close coverage gaps.github-actions: creates .github/workflows/supervibe-ci.yml; base scaffold creates no CI workflow.gitlab-ci: creates .gitlab-ci.yml; base scaffold creates no CI workflow.ci-ready: creates provider-neutral CI readiness notes without choosing a provider.network-ops: adds network-router-engineer; high-risk and never default.custom: user explicitly selects add-on agents..claude, AGENTS.md, .codex, .cursor/rules, GEMINI.md, .gemini, opencode.json) plus active CLI hints.agents-attach / agent-addons entry → copy agent file to the selected adapter's agents folder.rules-attach → copy rule file to the selected adapter's rules folder, including upstream related-rules closure or explicitly marked external links.scripts/lib/supervibe-context-migrator.mjs, using managed block markers and preserving user-owned content.
11b. Create Supervibe-owned state under .supervibe/memory/ only, including .supervibe/memory/index-config.json and .supervibe/memory/.supervibe-version. Do not create the legacy Claude memory path unless the user explicitly asks for migration.husky/, commitlint.config.js, lint-staged.config.js from pack.editorconfig, .gitattributes, managed .gitignore, .nvmrc) and placeholder dirs (backend/, frontend/, .supervibe/artifacts/prototypes/, docs/). Do not call them Laravel/Next/Vite skeletons until the separate approved generate-apps step runs real scaffolders.post-genesis-actions from manifest (composer install, npm install, prepare hooks) only when the user approved those app-level commands.
11b. Keep CI optional. Do not create .github/workflows/ unless the user chose a CI add-on.
11a. If the dry-run has missingArtifacts, list gaps, ask user to confirm or remediate before any write.node <resolved-supervibe-plugin-root>/scripts/build-code-index.mjs --root . --resume --source-only --max-files 200 --max-seconds 120 --health --json-progress from the target project root before the final /supervibe-status check. For large projects, repeat this bounded atomic batch until source coverage is healthy; heartbeat/progress JSON lines and .supervibe/memory/code-index-checkpoint.json are the liveness/checkpoint evidence, and .supervibe/memory/code-index.lock prevents duplicate indexers while stale locks with dead PIDs are cleaned automatically. If the run stops at SUPERVIBE_INDEX_BOUNDED_TIMEOUT, inspect gaps with node <resolved-supervibe-plugin-root>/scripts/build-code-index.mjs --root . --list-missing, then rerun the same --resume --source-only --max-files 200 --max-seconds 120 --health --json-progress command. Graph warning output does not fail genesis when source RAG coverage is healthy. Build graph/semantic data separately with node <resolved-supervibe-plugin-root>/scripts/build-code-index.mjs --root . --resume --graph --max-files 200 --health; use --strict-index-health only for explicit graph audits.
13a. Keep app builds separate from genesis success. Only run npm run build or equivalent when the user explicitly asks or the stack-pack marks it as a required post-genesis check. If it fails in existing project code, report Project verification failed after genesis with command, exit code, and repo-relative error paths only; do not include absolute local paths, project names, or call it unrelated without a captured pre-genesis baseline.
13b. For Next.js app generation, use create-next-app --disable-git whenever the target is already a Supervibe root or workspace. Record bundler=turbopack for next-app. After any approved framework scaffolder succeeds from an empty placeholder, remove nested app .git, archive generated app-local host files under .supervibe/memory/genesis/, and update genesis state with appGenerated=true. Set appVerified=true only after explicit app lint/build verification passes.
13c. Keep agentReceiptsVerified and the agent smoke test as a separate --verify-agents gate. Bootstrap dry-run/apply/generate-apps may succeed without claiming real-agent runtime completion.Returns:
supervibe:stack-discovery fingerprint usednode <resolved-supervibe-plugin-root>/scripts/supervibe-status.mjs shows Code RAG + Graph initialized from .supervibe/memory/code.db and index config refresh interval 5msupervibe:stack-discovery — produces inputstack-packs/ — pack definitionstemplates/ — generators