Cline rules
.clinerules/development-guidelines.mdCline rules
Quality
59/100
Scores the file, not the repository.Length
270 words
9 headings · 0 code blocksRepository
0
— · pushed 467 days agoLast changed
3 days ago
First indexed 3 days ago.1# Development Guidelines23This document outlines the development practices and guidelines for the Lorentzian Geometry Visualization project.45## Code Style67- Use TypeScript for all new code8- Follow ESLint rules configured in the project9- Use functional components, written as normal functions with hooks for React components10- Use named exports for components and utilities1112## Component Structure1314- Each component should have a single responsibility15- Use the Context API for shared state (see `VelocityContext.tsx`)16- Keep components small and focused17- Extract reusable logic into custom hooks1819## Styling2021- Use Tailwind CSS utility classes for styling22- Follow the project's color scheme and design system23- Use responsive design principles24- Avoid inline styles unless absolutely necessary2526## Performance Considerations2728- Memoize expensive calculations29- Use React.memo for components that render often but rarely change30- Be mindful of re-renders in components that display visualizations31- Consider using useCallback for functions passed as props3233## Physics Accuracy3435- Ensure all physics calculations are accurate according to special relativity36- Document the mathematical basis for calculations in comments37- Use appropriate units and conversions38- Validate visualizations against known examples3940## Accessibility4142- Ensure all interactive elements are keyboard accessible43- Use semantic HTML elements44- Provide appropriate ARIA attributes45- Ensure sufficient color contrast for text4647## Testing4849- Write tests for physics calculations50- Test edge cases (e.g., velocities approaching c)51- Ensure visualizations render correctly at different screen sizes5253## Documentation5455- Document complex physics concepts56- Add JSDoc comments to functions and components57- Keep the README updated with setup and usage instructions58
Also in johnwlockwood/lorentzian-geometry
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 |
|---|---|---|---|---|---|
| johnwlockwood/lorentzian-geometry.clinerules/project-overview.md · 0 | Cline rules | no sections | 44/100 | 3 days ago | |
| johnwlockwood/lorentzian-geometry.clinerules/tech-stack.md · 0 | Cline rules | buildlint-formatarchdependencies+2 | 71/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 | |
| BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0 | Cline rules | buildstylearchgit+2 | 96/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 | |
| u9401066/zotero-keeper.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 |
