RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cline rules/ogisetiawan/account-switcher

Cline rules

.clinerules/40-typescript-and-architecture.md

TypeScript 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 blocks

Repository

0

— · pushed 4 days ago

Last changed

2 days ago

First indexed 2 days ago.
ogisetiawan/account-switcher/.clinerules/40-typescript-and-architecture.mdRawGitHub
1---
2description: TypeScript strictness and architecture rules for background, popup, and shared modules
3globs: ["src/**/*.ts", "src/**/*.tsx"]
4alwaysApply: false
5---
6 
7TypeScript 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.
12 
13Architecture 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.

What it covers

code-style

Stack — with the evidence

typescript

(1.00)

eslint

(1.00)

javascript

(0.60)

Glob targeting

  • src/**/*.ts
  • src/**/*.tsx

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
ogisetiawan
Language
—
License
—
Archived
no

All configs in this repo

Also in ogisetiawan/account-switcher

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
ogisetiawan/account-switcher.cursor/rules/00-project-core.mdc · 0Cursor rulestypescripteslint+1style34/1002 days ago
ogisetiawan/account-switcher.cursor/rules/50-testing-and-change-safety.mdc · 0Cursor rulestypescripteslint+1lint-format20/1002 days ago
ogisetiawan/account-switcher.cursor/rules/30-security-and-storage.mdc · 0Cursor rulestypescripteslint+1style34/1002 days ago
ogisetiawan/account-switcher.clinerules/00-project-core.md · 0Cline rulestypescripteslint+1style34/1002 days ago
ogisetiawan/account-switcher.clinerules/10-build-and-manifest.md · 0Cline rulestypescripteslint+1style34/1002 days ago
ogisetiawan/account-switcher.clinerules/30-security-and-storage.md · 0Cline rulestypescripteslint+1style34/1002 days ago
ogisetiawan/account-switcher.clinerules/50-testing-and-change-safety.md · 0Cline rulestypescripteslint+1lint-format20/1002 days ago
ogisetiawan/account-switcher.cursor/rules/10-build-and-manifest.mdc · 0Cursor rulestypescripteslint+1style34/1002 days ago
ogisetiawan/account-switcher.cursor/rules/40-typescript-and-architecture.mdc · 0Cursor rulestypescripteslint+1style20/1002 days ago
ogisetiawan/account-switcherAGENTS.md · 0AGENTS.mdtypescripteslint+1lint-formatdo-notagent-behaviour63/1002 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.

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-keeper.clinerules/50-pubmed-project.md · 6Cline rulespytestruff+6testlint-formatstylearch+194/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
prabhakar267/paper-games.clinerules/git-commit-guidelines.md · 0Cline rulesjavascriptlint-formatstylearchgit+393/1002 days ago
VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1Cline rulestypescriptvite+4setuparchtypesdo-not93/100yesterday
HerringtonDarkholme/megarepo.clinerules/02-development.md · 17Cline rulesnodejavascriptsetupbuildteststyle+392/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