Cline rules
.clinerules/40-typescript-and-architecture.mdTypeScript strictness and architecture rules for background, popup, and shared modules
Cline rules
Quality
20/100
Scores the file, not the repository.Length
98 words
0 headings · 0 code blocksRepository
0
— · pushed 4 days agoLast changed
2 days ago
First indexed 2 days ago.1234567TypeScript and architecture rules:8- Keep `strict: true` assumptions intact.9- Prefer explicit types for messages, storage records, and extension state.10- Use shared types/interfaces for communication between background, popup, and shared modules.11- Avoid leaking browser-specific implementation details across unrelated modules.1213Architecture guidance:14- Keep business logic separate from UI rendering code.15- Keep popup logic thin; prefer shared helpers or background-driven flows for non-trivial logic.16- Reuse existing utilities before creating new abstractions.17- Prefer pure functions for parsing, transformation, validation, and state mapping.18- Use guard clauses and narrow types instead of deeply nested conditionals.
Also in ogisetiawan/account-switcher
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 |
|---|---|---|---|---|---|
| ogisetiawan/account-switcher.cursor/rules/00-project-core.mdc · 0 | Cursor rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/50-testing-and-change-safety.mdc · 0 | Cursor rules | lint-format | 20/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/30-security-and-storage.mdc · 0 | Cursor rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/00-project-core.md · 0 | Cline rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/10-build-and-manifest.md · 0 | Cline rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/30-security-and-storage.md · 0 | Cline rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/50-testing-and-change-safety.md · 0 | Cline rules | lint-format | 20/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/10-build-and-manifest.mdc · 0 | Cursor rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/40-typescript-and-architecture.mdc · 0 | Cursor rules | style | 20/100 | 2 days ago | |
| ogisetiawan/account-switcherAGENTS.md · 0 | AGENTS.md | lint-formatdo-notagent-behaviour | 63/100 | 2 days ago |
Diff against .cursor/rules/00-project-core.mdc Diff against .cursor/rules/50-testing-and-change-safety.mdc Diff against .cursor/rules/30-security-and-storage.mdc Diff against .clinerules/00-project-core.md Diff against .clinerules/10-build-and-manifest.md Diff against .clinerules/30-security-and-storage.md Diff against .clinerules/50-testing-and-change-safety.md Diff against .cursor/rules/10-build-and-manifest.mdc Diff against .cursor/rules/40-typescript-and-architecture.mdc Diff against AGENTS.md
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-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 | |
| prabhakar267/paper-games.clinerules/git-commit-guidelines.md · 0 | Cline rules | lint-formatstylearchgit+3 | 93/100 | 2 days ago | |
| VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1 | Cline rules | setuparchtypesdo-not | 93/100 | yesterday | |
| HerringtonDarkholme/megarepo.clinerules/02-development.md · 17 | Cline rules | setupbuildteststyle+3 | 92/100 | 3 days ago |
