Skip to content

Commands cheatsheet

Every npm script and shell helper, in one table.

Daily

CommandWhat it does
npm run devAstro dev server (port 4321, includes /docs/*)
npm run buildProduction build (static + service worker)
npm run checkComposite: check:astro + type-check + test + build
npm run testVitest unit tests (one-shot)
npm run test:watch (alias npm run tdd)Vitest in watch mode
npm run test:visualPlaywright visual regression
npm run test:visual:updateRefresh visual baselines

Workflow

CommandWhat it does
npm run mondayMonday-morning dashboard (open PRs, recent merges, top issues)
npm run shipRun check + push + open PR via gh
npm run doctorPreflight: node version, gh auth, working tree, etc.
npm run new-issuegh issue create wrapper with branch-inferred labels
npm run docsOpen docs/INDEX.md

Sub-agents (dispatched by the main Claude Code session)

AgentWhen
prometeoPlans an issue/phase: dependency graph, behavior contracts, Functional Triad
forjaImplements with red-then-green commits + Tdd-Red: trailer
centinelaValidates: build, type-check, tests, ethics checklist, forbidden-import scan

Maintenance

CommandWhat it does
npm installInstall dependencies
npm outdatedList packages with newer versions
npx shadcn@latest add <name>Add a primitive-free shadcn component

Report an issue

Show diagnostics

Environment

 

Console errors

 

Failed requests