RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cline rules/johnwlockwood/lorentzian-geometry

Cline rules

.clinerules/development-guidelines.md
Cline rules

Quality

59/100

Scores the file, not the repository.

Length

270 words

9 headings · 0 code blocks

Repository

0

— · pushed 467 days ago

Last changed

3 days ago

First indexed 3 days ago.
johnwlockwood/lorentzian-geometry/.clinerules/development-guidelines.mdRawGitHub
1# Development Guidelines
2 
3This document outlines the development practices and guidelines for the Lorentzian Geometry Visualization project.
4 
5## Code Style
6 
7- Use TypeScript for all new code
8- Follow ESLint rules configured in the project
9- Use functional components, written as normal functions with hooks for React components
10- Use named exports for components and utilities
11 
12## Component Structure
13 
14- Each component should have a single responsibility
15- Use the Context API for shared state (see `VelocityContext.tsx`)
16- Keep components small and focused
17- Extract reusable logic into custom hooks
18 
19## Styling
20 
21- Use Tailwind CSS utility classes for styling
22- Follow the project's color scheme and design system
23- Use responsive design principles
24- Avoid inline styles unless absolutely necessary
25 
26## Performance Considerations
27 
28- Memoize expensive calculations
29- Use React.memo for components that render often but rarely change
30- Be mindful of re-renders in components that display visualizations
31- Consider using useCallback for functions passed as props
32 
33## Physics Accuracy
34 
35- Ensure all physics calculations are accurate according to special relativity
36- Document the mathematical basis for calculations in comments
37- Use appropriate units and conversions
38- Validate visualizations against known examples
39 
40## Accessibility
41 
42- Ensure all interactive elements are keyboard accessible
43- Use semantic HTML elements
44- Provide appropriate ARIA attributes
45- Ensure sufficient color contrast for text
46 
47## Testing
48 
49- Write tests for physics calculations
50- Test edge cases (e.g., velocities approaching c)
51- Ensure visualizations render correctly at different screen sizes
52 
53## Documentation
54 
55- Document complex physics concepts
56- Add JSDoc comments to functions and components
57- Keep the README updated with setup and usage instructions
58 

Sections

  • Development Guidelines
  • Code Style
  • Component Structure
  • Styling
  • Performance Considerations
  • Physics Accuracy
  • Accessibility
  • Testing
  • Documentation

What it covers

testlint-formatcode-stylearchitectureuiperformancedocs

Stack — with the evidence

typescript

(1.00)

vite

(1.00)

eslint

(1.00)

react

(0.70)

tailwind

(0.70)

vitest

(0.70)

javascript

(0.60)

bun

(0.60)

Format

Cline rules

A single file or a folder of files, all always-on. The folder form is the simplest way any format here lets you split rules into topics without also learning an activation model.

What the corpus says about it

Repository

Owner
johnwlockwood
Language
—
License
—
Archived
no

All configs in this repo

Also in johnwlockwood/lorentzian-geometry

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
johnwlockwood/lorentzian-geometry.clinerules/project-overview.md · 0Cline rulestypescriptvite+6no sections44/1003 days ago
johnwlockwood/lorentzian-geometry.clinerules/tech-stack.md · 0Cline rulestypescriptvite+6buildlint-formatarchdependencies+271/1003 days ago
Diff against .clinerules/project-overview.md Diff against .clinerules/tech-stack.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
bashdeban/fastmind.clinerules/.project-consistency-keeper2.md · 5Cline rulestypescriptnode+8setupbuildtestlint-format+11100/1003 days ago
JCodesMore/ai-website-cloner-template.clinerules · 31kCline rulestypescriptnode+7buildlint-formatstylearch+397/1002 days ago
BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0Cline rulesjavascripttailwind+5buildstylearchgit+296/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1Cline rulestypescriptvite+4setuparchtypesdo-not93/100yesterday
blendsdk/codeops-mcp.clinerules/project.md · 0Cline rulestypescriptvitest+3buildteststylearch+791/1003 days ago
cline/cline.clinerules/general.md · 66kCline rulestypescriptnode+12setupbuildstylearch+286/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack