@donotdev/cli 0.1.1 → 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +0 -0
- package/dependencies-matrix.json +93 -40
- package/dist/bin/commands/agent-setup.js +695 -420
- package/dist/bin/commands/build.js +1181 -832
- package/dist/bin/commands/bump.js +1054 -771
- package/dist/bin/commands/cacheout.js +253 -355
- package/dist/bin/commands/coach.js +275 -375
- package/dist/bin/commands/create-app.js +1074 -790
- package/dist/bin/commands/create-project.js +1106 -819
- package/dist/bin/commands/db.js +17045 -16542
- package/dist/bin/commands/deploy.js +1999 -1367
- package/dist/bin/commands/dev.js +879 -627
- package/dist/bin/commands/doctor.js +696 -425
- package/dist/bin/commands/emu.js +1001 -712
- package/dist/bin/commands/format.js +253 -355
- package/dist/bin/commands/get-demo.js +968 -706
- package/dist/bin/commands/make-admin.js +6279 -5746
- package/dist/bin/commands/preview.js +883 -628
- package/dist/bin/commands/seed.js +17058 -16555
- package/dist/bin/commands/setup-cicd.js +1024 -749
- package/dist/bin/commands/setup.js +1162 -844
- package/dist/bin/commands/staging.js +2000 -1368
- package/dist/bin/commands/sync-secrets.js +1181 -667
- package/dist/bin/commands/type-check.js +735 -461
- package/dist/bin/commands/wai.js +258 -360
- package/dist/bin/dndev.js +31 -16
- package/dist/bin/donotdev.js +31 -16
- package/dist/index.js +2189 -1513
- package/guidelines/DEPENDENCIES.md +155 -0
- package/guidelines/VERSION_CONTROL.md +0 -0
- package/package.json +1 -1
- package/templates/app-demo/.env.example +1 -1
- package/templates/app-demo/entities/Contact.ts.example +0 -0
- package/templates/app-demo/entities/ExampleEntity.ts.example +0 -0
- package/templates/app-demo/entities/demo.ts.example +0 -0
- package/templates/app-demo/index.html.example +0 -0
- package/templates/app-demo/public/apple-touch-icon.png.example +0 -0
- package/templates/app-demo/public/fonts/fonts.css.example +0 -0
- package/templates/app-demo/public/icon-192x192.png.example +0 -0
- package/templates/app-demo/public/icon-512x512.png.example +0 -0
- package/templates/app-demo/src/App.tsx.example +0 -0
- package/templates/app-demo/src/config/app.ts.example +0 -0
- package/templates/app-demo/src/entities/booking.ts.example +0 -0
- package/templates/app-demo/src/entities/onboarding.ts.example +0 -0
- package/templates/app-demo/src/entities/product.ts.example +0 -0
- package/templates/app-demo/src/entities/quote.ts.example +0 -0
- package/templates/app-demo/src/globals.css.example +0 -0
- package/templates/app-demo/src/main.tsx.example +0 -0
- package/templates/app-demo/src/pages/ChangelogPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ConditionalFormPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/OnboardingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/PricingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProductsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcaseDetailPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcasePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentRenderer.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentsData.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/componentConfig.ts.example +0 -0
- package/templates/app-demo/src/pages/legal/LegalPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-demo/src/themes.css.example +6 -0
- package/templates/app-demo/tsconfig.json.example +0 -0
- package/templates/app-demo/vite.config.ts.example +0 -0
- package/templates/app-dndev/index.html.example +0 -0
- package/templates/app-dndev/src/App.tsx.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.css.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.tsx.example +0 -0
- package/templates/app-dndev/src/components/Kanban.css.example +0 -0
- package/templates/app-dndev/src/components/ModeToggle.tsx.example +0 -0
- package/templates/app-dndev/src/components/OverlaySlot.tsx.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.css.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/markdown-prose.css.example +0 -0
- package/templates/app-dndev/src/components/phases/CaptainLog.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ContextTabs.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseCard.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseDetail.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ReviewPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/phaseData.ts.example +0 -0
- package/templates/app-dndev/src/config/app.ts.example +0 -0
- package/templates/app-dndev/src/config/commands.ts.example +0 -0
- package/templates/app-dndev/src/config/legal.ts.example +0 -0
- package/templates/app-dndev/src/config/providers.ts.example +1 -1
- package/templates/app-dndev/src/globals.css.example +0 -0
- package/templates/app-dndev/src/hooks/useDndevFile.ts.example +0 -0
- package/templates/app-dndev/src/main.tsx.example +0 -0
- package/templates/app-dndev/src/pages/BoardPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/GrillPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/PhasesPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-dndev/src/stores/dndevStore.ts.example +0 -0
- package/templates/app-dndev/src/themes.css.example +5 -0
- package/templates/app-dndev/terminal-sidecar.cjs.example +0 -0
- package/templates/app-dndev/vite.config.ts.example +0 -0
- package/templates/app-expo/.env.example +0 -32
- package/templates/app-expo/.expo/README.md.example +0 -0
- package/templates/app-expo/.gitignore.example +0 -0
- package/templates/app-expo/README.md.example +1 -1
- package/templates/app-expo/app/.gitkeep +0 -0
- package/templates/app-expo/app/_layout.tsx.example +0 -0
- package/templates/app-expo/app/form.tsx.example +0 -0
- package/templates/app-expo/app/index.tsx.example +0 -0
- package/templates/app-expo/app/list.tsx.example +0 -0
- package/templates/app-expo/app/profile.tsx.example +0 -0
- package/templates/app-expo/app/signin.tsx.example +0 -0
- package/templates/app-expo/app.json.example +0 -0
- package/templates/app-expo/assets/adaptive-icon.png +0 -0
- package/templates/app-expo/assets/favicon.png +0 -0
- package/templates/app-expo/assets/icon.png +0 -0
- package/templates/app-expo/assets/splash.png +0 -0
- package/templates/app-expo/babel.config.js.example +0 -0
- package/templates/app-expo/eas.json.example +0 -0
- package/templates/app-expo/expo-env.d.ts.example +0 -0
- package/templates/app-expo/metro.config.js.example +0 -0
- package/templates/app-expo/service-account-key.json.example +1 -1
- package/templates/app-expo/src/config/app.ts.example +0 -0
- package/templates/app-expo/src/config/providers.ts.example +1 -1
- package/templates/app-expo/tsconfig.json.example +0 -0
- package/templates/app-next/.env.example +0 -33
- package/templates/app-next/next.config.ts.example +0 -2
- package/templates/app-next/postcss.config.js.example +0 -0
- package/templates/app-next/service-account-key.json.example +0 -0
- package/templates/app-next/src/app/ClientLayout.tsx.example +0 -0
- package/templates/app-next/src/app/not-found.tsx.example +0 -0
- package/templates/app-next/src/config/app.ts.example +0 -0
- package/templates/app-next/src/config/legal.ts.example +0 -0
- package/templates/app-next/src/config/providers.ts.example +1 -1
- package/templates/app-next/src/globals.css.example +0 -0
- package/templates/app-next/src/locales/dndev_en.json.example +0 -0
- package/templates/app-next/src/locales/home_en.json.example +6 -6
- package/templates/app-next/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-next/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-next/src/themes.css.example +7 -1
- package/templates/app-vite/.env.example +0 -33
- package/templates/app-vite/csp.example.json +0 -0
- package/templates/app-vite/index.html.example +0 -0
- package/templates/app-vite/service-account-key.json.example +0 -0
- package/templates/app-vite/src/App.tsx.example +0 -0
- package/templates/app-vite/src/config/app.ts.example +0 -0
- package/templates/app-vite/src/config/legal.ts.example +0 -0
- package/templates/app-vite/src/config/providers.ts.example +1 -1
- package/templates/app-vite/src/globals.css.example +0 -0
- package/templates/app-vite/src/locales/dndev_en.json.example +0 -0
- package/templates/app-vite/src/locales/home_en.json.example +6 -6
- package/templates/app-vite/src/main.tsx.example +0 -0
- package/templates/app-vite/src/pages/FormPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/HomePage.tsx.example +1 -1
- package/templates/app-vite/src/pages/ListPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-vite/src/themes.css.example +5 -0
- package/templates/deploy-config/.firebaserc.example +0 -0
- package/templates/deploy-config/firestore.indexes.json.example +0 -0
- package/templates/deploy-config/firestore.rules.example +0 -0
- package/templates/deploy-config/storage.rules.example +0 -0
- package/templates/deploy-config/tsconfig.functions.json.example +0 -0
- package/templates/deploy-config/vercel.json.example +2 -2
- package/templates/functions-firebase/.env.example +2 -2
- package/templates/functions-firebase/README.md.example +3 -3
- package/templates/functions-firebase/build.mjs.example +0 -0
- package/templates/functions-firebase/functions.config.js.example +0 -0
- package/templates/functions-firebase/functions.yaml.example +0 -0
- package/templates/functions-firebase/src/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-firebase/src/auth/index.ts.example +0 -0
- package/templates/functions-firebase/src/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-firebase/src/billing/index.ts.example +0 -0
- package/templates/functions-firebase/src/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-firebase/src/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-firebase/src/crud/createEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/getEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/index.ts.example +0 -0
- package/templates/functions-firebase/src/crud/listEntities.ts.example +0 -0
- package/templates/functions-firebase/src/crud/updateEntity.ts.example +0 -0
- package/templates/functions-firebase/src/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/disconnect.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/getConnections.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/tsconfig.json.example +0 -0
- package/templates/functions-supabase/supabase/config.toml.example +0 -0
- package/templates/functions-supabase/supabase/functions/.env.example +0 -0
- package/templates/functions-supabase/supabase/functions/cancel-subscription/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/change-plan/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-checkout-session/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-customer-portal/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/crud/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/delete-account/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/deno.json.example +0 -0
- package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-user-auth-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-subscription-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/remove-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/set-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000002_cleanup_jobs.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000004_crud_bulk.sql +192 -0
- package/templates/functions-vercel/.env.example +3 -3
- package/templates/functions-vercel/README.md.example +2 -2
- package/templates/functions-vercel/build.mjs.example +0 -0
- package/templates/functions-vercel/src/api/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/createEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/getEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/listEntities.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/updateEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/disconnect.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/getConnections.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/tsconfig.json.example +0 -0
- package/templates/functions-vercel/vercel.json.example +0 -0
- package/templates/github-consumer/.github/workflows/ci.yml.example +0 -0
- package/templates/overlay-firebase/env.fragment.example +0 -0
- package/templates/overlay-firebase/env.fragment.expo.example +0 -0
- package/templates/overlay-firebase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-firebase/src/config/providers.expo.ts.example +0 -0
- package/templates/overlay-firebase/src/config/providers.ts.example +0 -0
- package/templates/overlay-supabase/env.fragment.example +0 -0
- package/templates/overlay-supabase/env.fragment.expo.example +0 -0
- package/templates/overlay-supabase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-supabase/src/config/providers.expo.ts.example +1 -1
- package/templates/overlay-supabase/src/config/providers.ts.example +1 -1
- package/templates/overlay-vercel/env.fragment.example +0 -0
- package/templates/overlay-vercel/env.fragment.nextjs.example +0 -0
- package/templates/overlay-vercel/src/config/providers.ts.example +0 -0
- package/templates/preset-admin/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/EntityPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/ReportsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/UsersPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/AboutPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/ContactPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/PricingPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/root-consumer/.claude/agents/architect.md.example +0 -0
- package/templates/root-consumer/.claude/agents/builder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/coder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/extractor.md.example +0 -0
- package/templates/root-consumer/.claude/agents/polisher.md.example +0 -0
- package/templates/root-consumer/.claude/agents/prompt-engineer.md.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +2 -35
- package/templates/root-consumer/.claude/hooks/session-start.sh.example +1 -1
- package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +0 -0
- package/templates/root-consumer/.claude/rules/consumer-ux.md.example +1 -1
- package/templates/root-consumer/.claude/rules/definition-of-done.md.example +0 -0
- package/templates/root-consumer/.claude/rules/framework.md.example +0 -0
- package/templates/root-consumer/.claude/rules/git.md.example +0 -0
- package/templates/root-consumer/.claude/rules/security.md.example +0 -0
- package/templates/root-consumer/.claude/settings.json.example +1 -27
- package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +23 -106
- package/templates/root-consumer/.claude/skills/design/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/design/output-template.md +0 -0
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/techdebt/SKILL.md.example +0 -0
- package/templates/root-consumer/.cursor/mcp.json.example +0 -0
- package/templates/root-consumer/.cursor/rules/no-docs.mdc.example +5 -1
- package/templates/root-consumer/.dndev/args.json.example +0 -0
- package/templates/root-consumer/.dndev.secrets.example +0 -0
- package/templates/root-consumer/.env.example +0 -1
- package/templates/root-consumer/.gemini/settings.json.example +0 -0
- package/templates/root-consumer/.gitignore.example +1 -0
- package/templates/root-consumer/.mcp.json.example +0 -0
- package/templates/root-consumer/.prettierrc.cjs.example +0 -0
- package/templates/root-consumer/AGENTS.md.example +63 -0
- package/templates/root-consumer/CLAUDE.md.example +1 -33
- package/templates/root-consumer/README.md.example +11 -33
- package/templates/root-consumer/entities/index.ts.example +0 -0
- package/templates/root-consumer/eslint.config.js.example +0 -0
- package/templates/root-consumer/tsconfig.json.example +0 -0
- package/templates/root-consumer/.claude/hooks/framework-compliance.sh.example +0 -56
- package/templates/root-consumer/.claude/hooks/guard-files.sh.example +0 -46
- package/templates/root-consumer/.claude/hooks/guard-mcp.sh.example +0 -91
- package/templates/root-consumer/.claude/hooks/guard-secrets.sh.example +0 -67
- package/templates/root-consumer/.claude/hooks/track-mcp-lookup.sh.example +0 -20
- package/templates/root-consumer/.claude/statusline.py.example +0 -79
- package/templates/root-consumer/.clinerules.example +0 -1
- package/templates/root-consumer/.cursorrules.example +0 -1
- package/templates/root-consumer/.github/copilot-instructions.md.example +0 -1
- package/templates/root-consumer/.windsurfrules.example +0 -1
- package/templates/root-consumer/AI.md.example +0 -108
- package/templates/root-consumer/CONVENTIONS.md.example +0 -1
- package/templates/root-consumer/GEMINI.md.example +0 -1
- package/templates/root-consumer/guides/dndev/AGENT_START_HERE.md.example +0 -135
- package/templates/root-consumer/guides/dndev/COMPONENTS_ADV.md.example +0 -276
- package/templates/root-consumer/guides/dndev/INDEX.md.example +0 -56
- package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +0 -134
- package/templates/root-consumer/guides/dndev/SETUP_BILLING.md.example +0 -114
- package/templates/root-consumer/guides/dndev/SETUP_FIREBASE.md.example +0 -231
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +0 -59
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH_PROVIDERS.md.example +0 -60
- package/templates/root-consumer/guides/dndev/SETUP_SOC2.md.example +0 -234
- package/templates/root-consumer/guides/dndev/SETUP_STRIPE.md.example +0 -62
- package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +0 -262
- package/templates/root-consumer/guides/dndev/advanced/APP_CHECK.md.example +0 -111
- package/templates/root-consumer/guides/dndev/advanced/COOKIE_REFERENCE.md.example +0 -252
- package/templates/root-consumer/guides/dndev/advanced/EMULATORS.md.example +0 -48
- package/templates/root-consumer/guides/wai-way/WAI_WAY_CLI.md.example +0 -402
- package/templates/root-consumer/guides/wai-way/agents/architect.md.example +0 -78
- package/templates/root-consumer/guides/wai-way/agents/builder.md.example +0 -97
- package/templates/root-consumer/guides/wai-way/agents/extractor.md.example +0 -363
- package/templates/root-consumer/guides/wai-way/agents/polisher.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/0_brainstorm.md.example +0 -315
- package/templates/root-consumer/guides/wai-way/blueprints/1_scaffold.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/2_entities.md.example +0 -111
- package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +0 -148
- package/templates/root-consumer/guides/wai-way/blueprints/4_configure.md.example +0 -238
- package/templates/root-consumer/guides/wai-way/context_map.json.example +0 -127
- package/templates/root-consumer/guides/wai-way/entity_patterns.md.example +0 -839
- package/templates/root-consumer/guides/wai-way/hld_template.md.example +0 -138
- package/templates/root-consumer/guides/wai-way/lld_template.md.example +0 -103
- package/templates/root-consumer/guides/wai-way/page_patterns.md.example +0 -722
- package/templates/root-consumer/guides/wai-way/prd_template.md.example +0 -140
- package/templates/root-consumer/guides/wai-way/presets_guide.md.example +0 -217
- package/templates/root-consumer/guides/wai-way/spec_template.md.example +0 -313
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -30,7 +30,7 @@ if (!url || !publicKey) {
|
|
|
30
30
|
configureProviders({
|
|
31
31
|
crud: new SupabaseCrudAdapter(supabase),
|
|
32
32
|
auth: new SupabaseAuth(supabase),
|
|
33
|
-
storage: new SupabaseStorageAdapter(supabase),
|
|
33
|
+
storage: new SupabaseStorageAdapter(supabase, 'uploads'),
|
|
34
34
|
callable: new SupabaseCallableProvider(supabase),
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -28,7 +28,7 @@ if (!url || !publicKey) {
|
|
|
28
28
|
configureProviders({
|
|
29
29
|
crud: new SupabaseCrudAdapter(supabase),
|
|
30
30
|
auth: new SupabaseAuth(supabase),
|
|
31
|
-
storage: new SupabaseStorageAdapter(supabase),
|
|
31
|
+
storage: new SupabaseStorageAdapter(supabase, 'uploads'),
|
|
32
32
|
callable: new SupabaseCallableProvider(supabase),
|
|
33
33
|
});
|
|
34
34
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
# .claude/hooks/guard-write.sh
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# Error strategy: security (secrets) fail CLOSED. All others fail OPEN.
|
|
3
|
+
# Minimal PreToolUse:Edit|Write guard.
|
|
4
|
+
# Protects secrets and sensitive files by default.
|
|
6
5
|
# Cross-platform: bun-first, TMPDIR-safe.
|
|
7
6
|
|
|
8
7
|
set -eo pipefail
|
|
9
8
|
|
|
10
|
-
GATE_DIR="${TMPDIR:-/tmp}"
|
|
11
|
-
TRACK_FILE="$GATE_DIR/claude-mcp-lookups.txt"
|
|
12
|
-
|
|
13
9
|
INPUT=$(cat)
|
|
14
10
|
|
|
15
11
|
RESULT=$(echo "$INPUT" | bun -e "
|
|
@@ -28,35 +24,6 @@ RESULT=$(echo "$INPUT" | bun -e "
|
|
|
28
24
|
checks.push('BLOCK:Lock files are auto-generated');
|
|
29
25
|
if (/^(\.env|\.env\.local|\.env\.production|\.dndev\.secrets)$/.test(bn))
|
|
30
26
|
checks.push('BLOCK:Env files may contain secrets');
|
|
31
|
-
if (/\.(generated|g)\.(ts|js|json)$/.test(fp))
|
|
32
|
-
checks.push('BLOCK:Generated files should not be edited');
|
|
33
|
-
if (bn === 'AI.md')
|
|
34
|
-
checks.push('BLOCK:AI.md is the instruction SSOT');
|
|
35
|
-
|
|
36
|
-
// --- MCP GUARD (fail open) ---
|
|
37
|
-
try {
|
|
38
|
-
const isSrc = /(apps|src)\/.*\.(tsx?|jsx?)$/.test(fp);
|
|
39
|
-
const skip = /\/utils\/|\/hooks\/|\/stores\/|\/types\/|\/locales\/|Store\.ts|store\.ts|Hook\.ts|hook\.ts|\.json$/.test(fp);
|
|
40
|
-
if (isSrc && !skip && content.includes('@donotdev/')) {
|
|
41
|
-
const importRe = /import\s*\{([^}]+)\}\s*from\s*['\"]@donotdev\//g;
|
|
42
|
-
const symbols = new Set();
|
|
43
|
-
for (const m of content.matchAll(importRe)) {
|
|
44
|
-
for (const sym of m[1].split(',')) {
|
|
45
|
-
const name = sym.replace(/\s+as\s+\w+/, '').trim();
|
|
46
|
-
if (/^[A-Z]/.test(name)) symbols.add(name);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
if (symbols.size > 0) {
|
|
50
|
-
const lookups = new Set();
|
|
51
|
-
try {
|
|
52
|
-
const text = await Bun.file('${TRACK_FILE}').text();
|
|
53
|
-
for (const line of text.split('\n')) { const t = line.trim(); if (t) lookups.add(t); }
|
|
54
|
-
} catch {}
|
|
55
|
-
const missing = [...symbols].filter(s => !lookups.has(s));
|
|
56
|
-
if (missing.length) checks.push('BLOCK:lookup_symbol() missing for: ' + missing.join(', '));
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
} catch {}
|
|
60
27
|
|
|
61
28
|
// --- SECRET SCAN (fail CLOSED) ---
|
|
62
29
|
try {
|
|
File without changes
|
|
@@ -12,7 +12,7 @@ The user paid for a product that works. They are NOT a framework developer.
|
|
|
12
12
|
- Never mention: WAI-WAY, MCP, phases, skills, hook names, guard scripts, agent-scope
|
|
13
13
|
- Never say: "I'm invoking /build" or "the MCP server returned..." or "Phase 2 complete"
|
|
14
14
|
- Never show: hook output, compliance check results, internal error messages
|
|
15
|
-
- If
|
|
15
|
+
- If automated tooling blocks an edit: fix it silently. The user sees the result, not the process.
|
|
16
16
|
|
|
17
17
|
## Communication style
|
|
18
18
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"statusLine": {
|
|
3
|
-
"type": "command",
|
|
4
|
-
"command": "python3 .claude/statusline.py"
|
|
5
|
-
},
|
|
6
2
|
"hooks": {
|
|
7
3
|
"SessionStart": [
|
|
8
4
|
{
|
|
@@ -36,27 +32,7 @@
|
|
|
36
32
|
]
|
|
37
33
|
}
|
|
38
34
|
],
|
|
39
|
-
"PostToolUse": [
|
|
40
|
-
{
|
|
41
|
-
"matcher": "mcp__donotdev__lookup_symbol",
|
|
42
|
-
"hooks": [
|
|
43
|
-
{
|
|
44
|
-
"type": "command",
|
|
45
|
-
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/track-mcp-lookup.sh\""
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"matcher": "Edit|Write",
|
|
51
|
-
"hooks": [
|
|
52
|
-
{
|
|
53
|
-
"type": "command",
|
|
54
|
-
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/framework-compliance.sh\"",
|
|
55
|
-
"statusMessage": "Framework check"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
],
|
|
35
|
+
"PostToolUse": [],
|
|
60
36
|
"Stop": [
|
|
61
37
|
{
|
|
62
38
|
"matcher": "",
|
|
@@ -96,11 +72,9 @@
|
|
|
96
72
|
"Skill(polish)",
|
|
97
73
|
"Skill(grill)",
|
|
98
74
|
"Skill(techdebt)",
|
|
99
|
-
"Skill(browse)",
|
|
100
75
|
"mcp__donotdev__lookup_symbol",
|
|
101
76
|
"mcp__donotdev__search_framework",
|
|
102
77
|
"mcp__donotdev__list_features",
|
|
103
|
-
"mcp__donotdev__get_guide",
|
|
104
78
|
"mcp__donotdev__get_guideline",
|
|
105
79
|
"mcp__donotdev__init_implementation",
|
|
106
80
|
"mcp__donotdev__update_progress",
|
|
File without changes
|
|
@@ -1,128 +1,45 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: build
|
|
3
|
-
description:
|
|
4
|
-
argument-hint: [
|
|
3
|
+
description: Build workflow. Implements approved design using framework components. Activates WAI-WAY Phase 3 (COMPOSE).
|
|
4
|
+
argument-hint: [feature, page, or task]
|
|
5
|
+
disable-model-invocation: true
|
|
5
6
|
---
|
|
6
7
|
|
|
7
|
-
# Build
|
|
8
|
+
# Build - Implementation (Phase 3 COMPOSE)
|
|
8
9
|
|
|
9
|
-
**WORKFLOW:** `/brainstorm`
|
|
10
|
+
**WORKFLOW:** `/brainstorm` -> `/design` -> `/build` -> `/polish`
|
|
10
11
|
|
|
11
|
-
##
|
|
12
|
+
## Step 0 - Start Phase (MANDATORY)
|
|
12
13
|
|
|
13
|
-
The spec (PRD + HLD + LLD) is the contract. Deliver exactly what's in it. No "we'll add i18n later." No "hardcode strings for now." No "iterate until it works."
|
|
14
|
-
|
|
15
|
-
If the spec says i18n → deliver i18n. If the spec says dark mode → deliver dark mode. Bad spec = bad app. That's the Extractor's job to prevent, not ours to compensate for.
|
|
16
|
-
|
|
17
|
-
## Step 0 — Start Phase (MANDATORY)
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
start_phase(1)
|
|
21
|
-
```
|
|
22
|
-
Do NOT write code without this call. It loads the blueprint, persona, context, and lessons.
|
|
23
|
-
|
|
24
|
-
## Step 1 — Read the Spec
|
|
25
|
-
|
|
26
|
-
Read ALL spec documents. These are your instructions, not suggestions:
|
|
27
|
-
|
|
28
|
-
- `docs/PRD.md` — what to build, user journeys, business rules, permissions
|
|
29
|
-
- `docs/HLD.md` — architecture, preset, auth, pages, features, theme
|
|
30
|
-
- `docs/LLD.md` — entity fields, state machines, access matrices
|
|
31
|
-
|
|
32
|
-
**Inventory from spec:**
|
|
33
|
-
1. List ALL pages with their purpose and user journey
|
|
34
|
-
2. List ALL entities with fields and access rules
|
|
35
|
-
3. List ALL features (i18n, auth, dark mode, etc.)
|
|
36
|
-
4. List ALL languages if i18n is specified
|
|
37
|
-
5. List the theme/essence
|
|
38
|
-
|
|
39
|
-
If something is ambiguous in the spec → STOP and ask. Do NOT interpret.
|
|
40
|
-
|
|
41
|
-
## Step 2 — Lookup All Components (MANDATORY GATE)
|
|
42
|
-
|
|
43
|
-
**STOP before every `@donotdev` import** → call `lookup_symbol({ symbol: "Name" })`.
|
|
44
|
-
|
|
45
|
-
No exceptions. Do NOT guess props, hooks, or APIs.
|
|
46
|
-
|
|
47
|
-
If MCP is down, read source directly in `packages/*/src/`.
|
|
48
|
-
|
|
49
|
-
**Hallucination traps** (commonly invented props that DO NOT exist):
|
|
50
|
-
`size`, `tone`, `color`, `padding`, `margin`, `spacing`, `columns`, `background`, `fields`
|
|
51
|
-
|
|
52
|
-
**Import convention:** Always `@donotdev/<package>` — never sub-paths. Only exceptions: `@donotdev/core/server`, `@donotdev/core/vite`, `@donotdev/core/next`, `@donotdev/core/functions`.
|
|
53
|
-
|
|
54
|
-
## Step 3 — Build (Complete, Not Iterative)
|
|
55
|
-
|
|
56
|
-
Build in order. Each step produces final output, not stubs.
|
|
57
|
-
|
|
58
|
-
### Phase 1: SCAFFOLD
|
|
59
|
-
```
|
|
60
|
-
start_phase(1)
|
|
61
|
-
```
|
|
62
|
-
- Apply theme/essence from HLD
|
|
63
|
-
- Create ALL page files with correct `PageMeta`
|
|
64
|
-
- Set up routes matching spec's page map
|
|
65
|
-
- Auth configuration if spec requires it
|
|
66
|
-
```
|
|
67
|
-
complete_phase({ files: [...], summary: "..." })
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Phase 2: ENTITIES
|
|
71
|
-
```
|
|
72
|
-
start_phase(2)
|
|
73
|
-
```
|
|
74
|
-
- Create ALL entity files from LLD
|
|
75
|
-
- Fields, states, access rules — exactly as specified
|
|
76
|
-
- Database migrations/rules
|
|
77
|
-
- Export from `entities/index.ts`
|
|
78
|
-
```
|
|
79
|
-
complete_phase({ files: [...], summary: "..." })
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Phase 3: COMPOSE
|
|
83
14
|
```
|
|
84
15
|
start_phase(3)
|
|
85
16
|
```
|
|
86
|
-
- Build ALL pages — FINAL versions, not prototypes
|
|
87
|
-
- CRUD pages → `EntityList` + `EntityFormRenderer`
|
|
88
|
-
- i18n from the start if spec says i18n
|
|
89
|
-
- Theme applied (essence, colors, density, radius from spec)
|
|
90
|
-
- Auth guards where spec requires auth
|
|
91
|
-
- Wire entities into pages
|
|
92
|
-
```
|
|
93
|
-
complete_phase({ files: [...], summary: "..." })
|
|
94
|
-
```
|
|
95
17
|
|
|
96
|
-
|
|
18
|
+
Do NOT proceed without this call.
|
|
97
19
|
|
|
98
|
-
|
|
99
|
-
|------|--------|
|
|
100
|
-
| **No native HTML** | Use framework components only (Stack, Card, Text, Button, etc.) |
|
|
101
|
-
| **No custom CSS** | No `.css` files, no Tailwind classes. Use component props + theme tokens. |
|
|
102
|
-
| **Spec is law** | Deliver what the spec says. No deferring. No "later." |
|
|
103
|
-
| **i18n-first always** | ALL user-facing strings use `t('key')`. Even single-language apps. Create locale files immediately. |
|
|
104
|
-
| **No creative freedom** | Copy/labels come from spec. Don't invent. |
|
|
105
|
-
| **Framework stores** | Use `createDoNotDevStore`, never raw `zustand`. |
|
|
106
|
-
| **Import order** | React → vendors → `@donotdev/*` → relative. ESM only. |
|
|
20
|
+
## Step 1 - Implement approved scope
|
|
107
21
|
|
|
108
|
-
|
|
22
|
+
Input: `$ARGUMENTS` + approved HLD/LLD.
|
|
109
23
|
|
|
110
|
-
|
|
24
|
+
Rules:
|
|
25
|
+
- Implement only approved scope.
|
|
26
|
+
- Follow existing patterns in the app first.
|
|
27
|
+
- Use framework components and top-level imports (`@donotdev/<pkg>` only).
|
|
28
|
+
- Before any `@donotdev` symbol import, call `lookup_symbol()` first.
|
|
29
|
+
- Do not invent props.
|
|
111
30
|
|
|
112
|
-
## Step
|
|
31
|
+
## Step 2 - Validate
|
|
113
32
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
- [ ] i18n done if spec says i18n
|
|
118
|
-
- [ ] Theme/essence applied if specified
|
|
33
|
+
```bash
|
|
34
|
+
dndev tc
|
|
35
|
+
```
|
|
119
36
|
|
|
120
|
-
|
|
37
|
+
Type-check must pass before completion.
|
|
121
38
|
|
|
122
|
-
## Step
|
|
39
|
+
## Step 3 - Complete Phase
|
|
123
40
|
|
|
124
41
|
```
|
|
125
|
-
complete_phase({ files: [
|
|
42
|
+
complete_phase({ files: [...], summary: "Phase 3 compose complete" })
|
|
126
43
|
```
|
|
127
44
|
|
|
128
|
-
Wait for user `approve_phase()`
|
|
45
|
+
Wait for user `approve_phase()` then proceed to `/polish`.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,7 +5,11 @@ globs: ["**/*.md"]
|
|
|
5
5
|
|
|
6
6
|
# No Documentation File Creation
|
|
7
7
|
|
|
8
|
-
**NEVER create .md files** (analysis, summary, plan, brainstorm, status, etc.) unless the user explicitly asks for it.
|
|
8
|
+
**NEVER create arbitrary .md files** (analysis, summary, plan, brainstorm, status, etc.) unless the user explicitly asks for it.
|
|
9
|
+
|
|
10
|
+
Allowed workflow exceptions for this scaffold:
|
|
11
|
+
- `docs/HLD.md`
|
|
12
|
+
- `docs/LLD.md`
|
|
9
13
|
|
|
10
14
|
Session notes, progress tracking, and lessons go in `.dndev/` using the MCP tools:
|
|
11
15
|
- `record_lesson()` for gotchas and learnings
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# AI Agent Instructions
|
|
2
|
+
|
|
3
|
+
> **You are building a DoNotDev app.** This file is the single source of truth for how to work here.
|
|
4
|
+
|
|
5
|
+
## Golden path (do this first)
|
|
6
|
+
|
|
7
|
+
1. **Enable MCP** — project includes `.mcp.json` / `.cursor/mcp.json`. If tools fail, run **`get_guideline("AGENT_START_HERE")`** for IDE-specific steps.
|
|
8
|
+
2. **`list_features()`** — see what the framework already ships (avoid reinventing).
|
|
9
|
+
3. **`start_phase(0)`** — begin Phase 0; work only inside active phases until **`complete_phase`** + user approval.
|
|
10
|
+
|
|
11
|
+
Deep setup, tool list, and environment notes: **`get_guideline("AGENT_START_HERE")`**.
|
|
12
|
+
Architecture and API contracts: **`get_guideline(...)`** and **`lookup_symbol(...)`** — prefer these over guessing.
|
|
13
|
+
|
|
14
|
+
## The 5 phases
|
|
15
|
+
|
|
16
|
+
Work inside an active phase: **`start_phase(N)`** before work, **`complete_phase({ files })`** before moving on, **`dndev tc`** before completing a phase when you changed code.
|
|
17
|
+
|
|
18
|
+
| Phase | Name | Skill (slash) | Focus |
|
|
19
|
+
|-------|------|---------------|--------|
|
|
20
|
+
| 0 | **BRAINSTORM** | `/brainstorm` | Requirements → validated spec |
|
|
21
|
+
| 1 | **SCAFFOLD** | `/design` | Routes and `*Page.tsx` stubs |
|
|
22
|
+
| 2 | **ENTITIES** | `/design` | Data models in `entities/` |
|
|
23
|
+
| 3 | **COMPOSE** | `/build` | Pages with framework components |
|
|
24
|
+
| 4 | **CONFIGURE** | `/polish` | Tests, config, i18n, ship readiness; use `/grill` and `/techdebt` before release |
|
|
25
|
+
|
|
26
|
+
## Framework usage (non-negotiable)
|
|
27
|
+
|
|
28
|
+
- **`lookup_symbol({ symbol: "Name" })` before `@donotdev` usage** — real props and types only; do not invent APIs.
|
|
29
|
+
- **Imports:** `@donotdev/<package>` top-level only (no deep paths unless the framework docs explicitly allow it).
|
|
30
|
+
- **No native HTML** in app UI code — use framework components (Stack, Text, Button, etc.). Details: **`get_guideline`** (components / layouts / pages).
|
|
31
|
+
- **No custom CSS** — props, variants, theme tokens only.
|
|
32
|
+
- **ESM only** — no `require()`.
|
|
33
|
+
- **RTL:** logical properties (`start` / `end`), not physical `left` / `right`.
|
|
34
|
+
|
|
35
|
+
## Custom components
|
|
36
|
+
|
|
37
|
+
Last resort: after **`lookup_symbol`** + **`search_framework`**. If you must add one, put it under `src/components/` and document the gap (e.g. JSDoc `@custom-component`). Do not block the user on tooling — deliver working UI.
|
|
38
|
+
|
|
39
|
+
## CLI essentials
|
|
40
|
+
|
|
41
|
+
`dndev` is the project CLI (global or `bunx dndev`). Common commands:
|
|
42
|
+
|
|
43
|
+
| Command | Purpose |
|
|
44
|
+
|---------|---------|
|
|
45
|
+
| `dndev dev` / `dndev dev:app` | Dev server |
|
|
46
|
+
| `dndev tc` / `dndev tc:app` | Type-check (use after code changes) |
|
|
47
|
+
| `dndev build` | Production build |
|
|
48
|
+
| `dndev coach` / `dndev setup` / `dndev doctor` | Env and health |
|
|
49
|
+
|
|
50
|
+
Run **`dndev --help`** for the full list. **`dndev create-app`** is interactive (no `--preset`).
|
|
51
|
+
|
|
52
|
+
## Docs and markdown
|
|
53
|
+
|
|
54
|
+
- Do not create random `.md` files. Allowed workflow outputs when the phase requires them: e.g. **`docs/HLD.md`**, **`docs/LLD.md`**.
|
|
55
|
+
- Session notes: **`.dndev/`** and MCP tools (`record_lesson`, etc.).
|
|
56
|
+
|
|
57
|
+
## Before production
|
|
58
|
+
|
|
59
|
+
`dndev doctor`, **`/grill`**, and provider-specific setup from **`get_guideline("AGENT_START_HERE")`** / **`setup_coach`** / **`get_guideline("soc2")`**. Golden path: **`dndev coach`** → fill `.env` → **`dndev setup`** → **`dndev doctor`**.
|
|
60
|
+
|
|
61
|
+
## MCP tools (quick reference)
|
|
62
|
+
|
|
63
|
+
`start_phase` · `complete_phase` · `approve_phase` · `get_phase_status` · `lookup_symbol` · `get_guideline` · `search_framework` · `setup_coach` · `list_features` · `run_typecheck` · `record_lesson`
|
|
@@ -1,33 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> Built with the DoNotDev framework. Guardrails are hook-enforced - quality is automatic.
|
|
4
|
-
|
|
5
|
-
## How to work with you
|
|
6
|
-
|
|
7
|
-
Just tell me what you want. "I need a dashboard page" or "add a contact form" - I'll handle the rest.
|
|
8
|
-
|
|
9
|
-
I use the DoNotDev framework's component library which covers 99% of what apps need. I verify every component via MCP before using it, so props and APIs are always correct.
|
|
10
|
-
|
|
11
|
-
## What happens behind the scenes (you don't need to know this)
|
|
12
|
-
|
|
13
|
-
Quality hooks run automatically on every change I make. They catch mistakes before they reach you. If something is wrong, I fix it silently and move on.
|
|
14
|
-
|
|
15
|
-
## What you'll see
|
|
16
|
-
|
|
17
|
-
- I build features incrementally, committing at milestones
|
|
18
|
-
- I'll ask clarifying questions if your request is ambiguous
|
|
19
|
-
- When done, I'll show you what was built and how to verify it
|
|
20
|
-
- `dndev tc` verifies type safety, `dndev dev` runs the app locally
|
|
21
|
-
|
|
22
|
-
## Adding dependencies
|
|
23
|
-
|
|
24
|
-
Need a library the framework doesn't cover? Just ask - I can add packages with `bun add`.
|
|
25
|
-
|
|
26
|
-
## Conventions I follow
|
|
27
|
-
|
|
28
|
-
- All text is translatable (i18n-ready from day one)
|
|
29
|
-
- Framework components for UI (no raw HTML, no custom CSS)
|
|
30
|
-
- Clean, simple code a junior developer can read
|
|
31
|
-
- Typecheck passes before any work is considered complete
|
|
32
|
-
|
|
33
|
-
Read `AI.md` for project-specific instructions.
|
|
1
|
+
@AGENTS.md
|