/prometheus-skills-mini:scaffold-react-vitefrom prometheus-skills-mini
Convert a refined React TSX artifact into a buildable Vite 8 + React 19 + TypeScript + Tailwind v4 + shadcn-on-Base-UI project with kebab-case file names and feature-based clean architecture. Optionally wrap the project in a self-contained Rust + Axum binary that embeds the dist via rust-embed and serves the SPA from a single executable.
Ships in prometheus-skills-mini. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
UNAVAILABLE IN THIS PROJECT
This skill drives a shell scaffolder that
prometheus-skills-minidoes not ship. The scaffolders are 2,879 lines of bash across 7 files that generate React/Vite/Tauri/Flutter starter projects; porting them is a separate change from the refiner core, and this project forbids executing a.shat all (C1, C3) — so the commands below will not run here.The skill is carried rather than deleted so its interface and intent stay visible, and it says so loudly rather than appearing functional and failing on invocation. A loud absence beats a silent breakage.
Follow-up: port the scaffolders to Node, or drop these skills. Tracked in
.prometheus/decisions.md(2026-09-21, scope of the artifact-refiner port).
Take a refined React TSX artifact (from ideation, refine-ui, or
convert-htmx-react) and a brand TOML, produce a buildable project on disk.
artifact_type: scaffoldcontent_type: direct:scaffoldreferences/domain/ui.mdreferences/scaffolds/clean-architecture.mdreferences/scaffolds/kebab-case-rename.mdThe user will provide: $ARGUMENTS
Parse the arguments for:
--name <artifact-name> (required) — feature folder name, kebab-cased automatically--source <path-to-tsx> (required) — the refined TSX artifact--brand <brand-name> (required) — brand TOML stem under assets/library/brands/--target <path> (required) — output directory (must not exist; v1 has no overwrite)--with-axum-wrapper (optional flag) — also generate <target>/server/ with the Rust binaryDispatch to the orchestration script:
bash scripts/scaffold-react-vite.sh \
--name "${NAME}" \
--source "${SOURCE_TSX}" \
--brand "${BRAND}" \
--target "${TARGET}" \
${WITH_AXUM:+--with-axum-wrapper}
The script:
pnpm, node, template-forge are present.pnpm dlx shadcn@latest init --template vite --base base --yes to scaffold the React stack.template-forge render --template vite-shell-css.src/{app,features,shared}/).src/features/<name>/:
components/<name>.tsxuseFoo) → hooks/use-foo.tskebab-case-rename.md heuristicshadcn add any @/shared/components/ui/<name> imports it findscomponents.json, tsconfig.json aliases.src/main.tsx to consume the feature.<target>/README.md recording provenance.pnpm install && pnpm build to verify.--with-axum-wrapper, chains into scaffold-react-vite-axum.sh.Every scaffolded project conforms to the state architecture documented at
references/scaffolds/state-architecture.md:
eslint.config.mjs)src/features/<f>/stores/ and src/app/stores/ directories createduseState allowed only for ephemeral single-component state (toggles, drafts)The scaffolder routes named exports during patching:
useXxxStore (matches /^use[A-Z].*Store$/) → src/features/<f>/stores/useXxx (matches /^use[A-Z]/ but not ending in Store) → src/features/<f>/hooks/src/features/<f>/components/<feature>.tsxResponsive primitives are emitted into every scaffold:
src/shared/hooks/use-breakpoint.ts (viewport-classifier hook)src/shared/hooks/use-is-mobile.tssrc/app/responsive-shell.tsx (desktop/mobile layout switcher)src/shared/lib/runtime.ts (isTauri() helper)use* prefix.--background, --foreground, etc.) and brand-tokens (--color-bg, --color-ember, etc.) live in separate namespaces and never collide.src/shared/components/ui/.Add --with-axum-wrapper when the deliverable is a single-binary self-contained server:
main.rs has axum visible — just add routes).Do not use the wrapper when:
pnpm dev directly; the binary is for production).artifact_type: scaffold
content_type: direct:scaffold
outputs:
- path: <target>/
description: Buildable Vite + React 19 + TS + shadcn-on-Base-UI project
- path: <target>/server/ # only when --with-axum-wrapper
description: Rust + Axum binary that embeds and serves the SPA
constraints_satisfied:
- vite_8_react_19_tailwind_v4
- shadcn_on_base_ui
- kebab_case_file_names
- feature_based_clean_architecture
- brand_tokens_applied
- pnpm_build_succeeds
- cargo_check_succeeds # when --with-axum-wrapper
references/scaffolds/clean-architecture.md — directory + dependency rulesreferences/scaffolds/kebab-case-rename.md — renaming heuristictools/template-forge-rs/templates/vite-shell-css.html — brand CSS templateopenspec/changes/phase-2-scaffold-react-vite/{proposal,tasks,design}.md — design rationaleWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skills-mini --plugin prometheus-skills-mini106 skills in this plugin
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's per-change QA gate (diff mode). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state./agent-team-handoffPrepare and accept a durable handoff between agent roles or coding harnesses using task context, Git identity, evidence and memory references. Use when work must continue in another harness or agent; use agent-team-manage for ordinary same-owner task updates. Do not use for ordinary same-owner task updates (see agent-team-manage).Other plugins' skills for the same job