Imported from xinyo/ClawdBook (
AGENTS.md). Install upstream withnpx skills add xinyo/ClawdBook. Copyright stays with the author.
Engineering Principles
-
When the #plan command is triggered, ask for confirmation before executing the plan.
-
Prefer
pnpmwhen installing dependencies. -
Prefer use
Vitefor project initialisation. -
Use
pnpm create vite@latest <project_name> -- --template react-tsto spin up a new React + Vite package with TypeScript checks ready -
Find the CI plan in the .github/workflows folder
-
Use
vitestfor the testing framework with@testing-library/reactfor component testing -
All functional changes should be covered by unit tests
-
Always run
pnpm testafter modifying JavaScript/Typescript files -
React Component Test files should be placed alongside the component they test with
.test.tsxextension -
Mock external dependencies like
uuidin tests -
Every PR must include a changes summary in the description.
-
Branch names and PR titles must always follow semantic conventions.
-
Ask for confirmation before adding new production dependencies.
