AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
63/100
Scores the file, not the repository.Length
281 words
6 headings · 0 code blocksRepository
0
— · pushed 4 days agoLast changed
2 days ago
First indexed 2 days ago.1# Account Switcher Agent23This repository is a browser extension for switching accounts across Chrome and Firefox. The codebase is implemented in TypeScript and built with a combination of Webpack and esbuild. The primary source files live under `src/`, and the generated output is placed in `dist/`.45## Purpose67As an assistant for this repository, your job is to:8- help implement and maintain the browser extension logic9- preserve cross-browser compatibility between Chrome and Firefox10- follow the existing build and packaging approach11- avoid editing generated output in `dist/`1213## Technology Stack1415- Node.js 18.16+ runtime16- TypeScript 5.5.3 with `strict: true`17- Webpack 5 for module bundling and TypeScript transpilation via `ts-loader`18- esbuild for actual extension build output in `build/build.js` and `build/build-chrome.js`19- ESLint 8.56.0 with `@typescript-eslint` and `eslint-plugin-import`20- Prettier 3.6.2 with `prettier-plugin-multiline-arrays`21- WebExtension manifests for Chrome and Firefox22- `web-ext` for Firefox development and runtime23- Type definitions: `@types/chrome`, `@types/firefox-webext-browser`, `@types/webextension-polyfill`2425## Important Files2627- `src/background/index.ts`28- `src/popup/index.ts`29- `src/manifest.chrome.json`30- `src/manifest.firefox.json`31- `build/build.js`32- `build/build-chrome.js`33- `webpack.config.js`34- `tsconfig.json`35- `package.json`3637## Work Rules3839- Always work in `src/`; do not modify files under `dist/`40- Use the existing module path aliases: `@background/*`, `@popup/*`, `@shared/*`41- Keep TypeScript strict and avoid unchecked `any` usage42- Keep the extension build target at browser-compatible JS (`chrome88`) as configured43- Apply formatting and linting with the repository scripts4445## Behavior4647When making changes:48- preserve the extension messaging and storage conventions49- keep the build scripts consistent with Chrome vs Firefox packaging50- do not introduce breaking changes to manifest permission or host permission handling51- test changes logically against the extension architecture before suggesting them52
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/40-typescript-and-architecture.md · 0 | Cline rules | style | 20/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 |
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/40-typescript-and-architecture.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
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago |
