Cline rules
.clinerules/project-conventions.mdCline rules
Quality
70/100
Scores the file, not the repository.Length
351 words
8 headings · 1 code blocksRepository
0
— · pushed 403 days agoLast changed
3 days ago
First indexed 3 days ago.1## Brief overview23This Cline rule file outlines the coding conventions, naming conventions, folder structure, code styles, tech stack, and tools used in the current project.45## Code Conventions67- Use TypeScript for all code.8- Strong typing with no 'any'.9- Interfaces over types for object definitions.10- Const assertions for literals.11- Discriminated unions for complex states.12- Functional components only.13- Props interface for every component.14- Early returns for conditional rendering.15- Error boundaries for error handling.1617## Naming Conventions1819- Files/Directories: kebab-case20- Components: PascalCase21- Functions/Variables: camelCase22- Constants: SCREAMING_SNAKE_CASE23- Types/Interfaces: PascalCase2425## Folder Structure2627- Follow the defined directory organization:28```plaintext29 ├── app/30 │ ├── api/ # API routes31 │ ├── (dashboard)/ # Dashboard routes group32 │ └── _components/ # Page-specific components33 ├── components/34 │ ├── ui/ # Shadcn components35 │ └── shared/ # Shared components36 ├── lib/37 │ ├── utils/ # Utility functions38 │ ├── config/ # Configuration39 │ └── types/ # TypeScript types40 ├── hooks/ # Custom React hooks41 └── public/ # Static assets42```43- Co-locate related files.44- Keep components close to where they're used.45- Shared code goes up the tree.4647## Code Styles4849- ESLint for code quality.50- Prettier for formatting.51- TypeScript strict mode.52- Husky pre-commit hooks.53- Maximum file size: 300 lines.54- Maximum function size: 50 lines.5556## Tech Stack5758- Frontend Framework: Next.js 14.x59- Language: TypeScript 5.x60- State Management:61 - Server State: @tanstack/react-query v562 - URL State: nuqs63 - Form State: react-hook-form64- UI Components:65 - Shadcn UI (Base components)66 - Radix UI (Accessibility)67 - TailwindCSS (Styling)68- Data Display: @tanstack/react-table69- Validation: Zod70- Routing: Next.js App Router with Parallel Routes7172## Tools7374- Node.js ≥ 18.1775- pnpm (for package management)76- VS Code with recommended extensions77- Git ≥ 2.407879## AI Code Guidelines8081- AI-generated code should adhere to all existing project conventions and standards.82- Review and refactor AI-generated code for clarity, efficiency, and maintainability.83- Ensure AI-generated code includes appropriate comments and documentation.84- Verify AI-generated code against project requirements and test cases.85
Also in HVT-Software/t-management
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| HVT-Software/t-management.clinerules/project-guide.md · 0 | Cline rules | stylearch | 70/100 | 3 days ago | |
| HVT-Software/t-management.github/copilot-instructions.md · 0 | Copilot instructions | lint-formatstylearchgit+2 | 60/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| bashdeban/fastmind.clinerules/.project-consistency-keeper2.md · 5 | Cline rules | setupbuildtestlint-format+11 | 100/100 | 3 days ago | |
| JCodesMore/ai-website-cloner-template.clinerules · 31k | Cline rules | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1 | Cline rules | setuparchtypesdo-not | 93/100 | yesterday | |
| blendsdk/codeops-mcp.clinerules/project.md · 0 | Cline rules | buildteststylearch+7 | 91/100 | 3 days ago | |
| cline/cline.clinerules/general.md · 66k | Cline rules | setupbuildstylearch+2 | 86/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/60-pubmed-python.md · 6 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago |
