Development best practices and project patterns...
Best practices, rules, and templates extracted from real production projects.
| Category | Reference File |
|---|---|
| Tech Stack | references/tech-stack.md |
| Project Setup | references/claude-md-template.md |
| Project Tracking | references/project-tracking.md |
| Coding Standards | references/coding-standards.md |
| Centralization | references/centralization-patterns.md |
| Tailwind v4 | references/tailwind-v4.md |
| AI Development | references/ai-flow-patterns.md |
| Data Fetching | references/data-fetching.md |
| Git Workflow | references/git-workflows.md |
| Testing | references/testing-patterns.md |
| Supabase | references/supabase-patterns.md |
| Deployment | references/deployment-patterns.md |
| Browser Tools | references/browser-automation.md |
| Versioning | references/version-management.md |
| Framework | Rule File |
|---|---|
| TypeScript | rules/typescript.md |
| Next.js | rules/nextjs.md |
| React | rules/react.md |
| Supabase | rules/supabase.md |
| Security | rules/security.md |
| Template | Purpose |
|---|---|
templates/CLAUDE.md.template |
Project configuration starter |
templates/settings.json.template |
Permission configuration |
templates/project-plan.md.template |
Project planning document |
templates/implementation-plan.md.template |
Technical implementation plan |
templates/code-review.md.template |
Code review summary |
templates/changelog.md.template |
Project changelog |
templates/CLAUDE.md.template to your project root as CLAUDE.md~/.claude/skills/secret-sauce/rules/typescript.mdtemplates/settings.json.template to .claude/settings.jsonUse templates for consistent project documentation:
project-plan.md.template for planningimplementation-plan.md.template for technical specscode-review.md.template for reviewsEvery project CLAUDE.md should include:
<type>(<scope>): <description>feature/<name>, fix/<name>All configuration in @/config:
import { env, isProduction, getServiceUrl } from '@/config';
Secrets (API keys) → .env.local only
Configs (models, URLs) → Database with fallback
zodResponseFormat()signal to fetch callsisAbortError() to handle cancellationusePolling for dashboards with visibility-aware intervalsany)Object.prototype.hasOwnProperty.call()