logics-react-render-pwa-bootstrapper/SKILL.md
Bootstrap a production-ready React web project with Vite, TypeScript, PWA support, Render blueprint, and CI/testing defaults aligned with the stack patterns used in electrical-plan-editor and Sentry. Use when starting a new app that should ship quickly with lint/typecheck/test/e2e gates, deploy on Render, and support either frontend-only static hosting or a fullstack frontend+Fastify+Prisma setup.
npx skillsauth add alexago83/cdx-logics-kit logics-react-render-pwa-bootstrapperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a new project from the scaffold script:
python logics/skills/logics-react-render-pwa-bootstrapper/scripts/bootstrap_react_render_project.py \
--project-name my-app \
--out-dir ../my-app \
--profile frontend-static-pwa \
--pwa-mode plugin
frontend-static-pwa
React + Vite + TypeScript strict
PWA (plugin or custom service worker mode)
Render static blueprint (render.yaml)
ESLint, Vitest, Playwright, GitHub CI, PWA quality gate
fullstack-render
Everything in frontend profile
Adds backend/ Fastify API starter
Adds Prisma schema and backend scripts
Generates multi-service Render blueprint (frontend static + backend + database)
plugin (default): uses vite-plugin-pwa with Workbox output.custom-sw: uses a versioned handcrafted public/sw.js flow with explicit update activation.Dry-run to inspect what will be generated:
python logics/skills/logics-react-render-pwa-bootstrapper/scripts/bootstrap_react_render_project.py \
--project-name my-app \
--out-dir ../my-app \
--profile fullstack-render \
--pwa-mode custom-sw \
--dry-run
Overwrite an existing target directory:
python logics/skills/logics-react-render-pwa-bootstrapper/scripts/bootstrap_react_render_project.py \
--project-name my-app \
--out-dir ../my-app \
--force
.github/workflows/ci.yml with lint/typecheck/test/e2e/build/quality gatesrender.yaml aligned to selected profilebootstrap_react_render_project.py: main scaffolding tool.stack-profile-matrix.md: concise mapping of stack choices to patterns reused from electrical-plan-editor and Sentry.render.static.yaml and render.fullstack.yaml: Render blueprint templates.sw.custom.js: custom service worker template for custom-sw mode.icon.svg: default app icon copied into scaffolded projects.data-ai
Generate Logics workflow Mermaid blocks with a deterministic fallback that stays compatible with the flow manager.
testing
Fixture skill used to validate Logics kit package parsing.
testing
--- name: fixture-invalid-skill description: invalid: yaml frontmatter sample --- # Fixture Invalid Skill This fixture intentionally violates the SKILL frontmatter contract.
development
Plan workstreams/roadmap from Logics backlog and tasks. Use when Codex should generate a `logics/ROADMAP.md` grouping items into Now/Next/Later/Done based on priority and progress.