/prometheus-skill-pack:scaffold-react-vitefrom prometheus-skill-pack
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-skill-pack. 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.
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-skill-system --plugin prometheus-skill-pack2 plugins ship this exact skill · first indexed Jul 16, 2026
218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/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 single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
Other plugins' skills for the same job
/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.