

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456789101112# Strict TypeScript: Standalone Features C1314## Task1516Fix all strict-mode TypeScript errors in 5 standalone feature files and add them to `CORE_FILES`.1718## Branch1920```21git checkout main && git pull origin main && git checkout -b cursor/strict/standalone-features-c22```2324## Files (13 errors total)2526### `injected/src/features/exception-handler.js` (1 error)27```28(7,42): error TS7006: Parameter 'e' implicitly has an 'any' type.29```3031### `injected/src/features/favicon.js` (3 errors)32```33(25,13): error TS7034: Variable 'trailing' implicitly has type 'any'.34(30,26): error TS7005: Variable 'trailing' implicitly has an 'any' type.35(109,37): error TS2345: Argument of type '(link: HTMLLinkElement) => ...' is not assignable to parameter of type '(value: Element, ...) => ...'.36```3738### `injected/src/features/gpc.js` (1 error)39```40(5,10): error TS7006: Parameter 'args' implicitly has an 'any' type.41```4243### `injected/src/features/navigator-interface.js` (6 errors)44```45(13,10): error TS7006: Parameter 'args' implicitly has an 'any' type.46(19,10): error TS7006: Parameter 'args' implicitly has an 'any' type.47(23,30): error TS7006: Parameter 'args' implicitly has an 'any' type.48(34,17): error TS2322: Type '(object: object, propertyName: string | symbol, descriptor: StrictPropertyDescriptor) => void' is not assignable to type '<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T'.49(59,40): error TS7053: Element implicitly has an 'any' type (string index on {}).50(64,17): error TS7053: Element implicitly has an 'any' type (string index on {}).51```5253### `injected/src/features/performance-metrics.js` (2 errors)54```55(50,21): error TS7006: Parameter 'callback' implicitly has an 'any' type.56(54,26): error TS7006: Parameter 'callback' implicitly has an 'any' type.57```5859## Fix Patterns6061- **TS7006** (Parameter implicitly any): Add `@param {Type}` JSDoc. For `args`, check parent class.62- **TS7034/TS7005** (Variable implicitly any): Add explicit `/** @type {X} */` at declaration.63- **TS2345** (Argument not assignable): In favicon.js, the `Array.from(elements).map(link => ...)` callback expects `Element` but the function types it as `HTMLLinkElement`. Cast inside the callback or use proper generic: `/** @type {HTMLLinkElement[]} */ (Array.from(elements))`.64- **TS2322** (Type not assignable): In navigator-interface.js, `Object.defineProperty` return type mismatch. May need to cast the wrapped function or adjust the type assertion.65- **TS7053** (No index signature): Cast config objects to `Record<string, unknown>` or define proper `@typedef`.6667## Workflow68691. `npm ci`702. Add all 5 files to CORE_FILES in `scripts/check-strict-core.js`713. Fix each file's errors724. `npm run tsc-strict-core` — must pass735. `npm run test-unit` — must pass746. `npm run lint` — must pass (run `npm run lint-fix` first if needed)757. Commit: `fix(types): add strict checking for standalone feature files (batch C)`768. `git push -u origin cursor/strict/standalone-features-c`7778## Constraints7980- Do NOT use `any` — use `unknown`, specific types, or proper interfaces81- Do NOT use `@ts-ignore` or `@ts-expect-error`82- Do NOT modify files outside the assigned list (except `scripts/check-strict-core.js`)83- Do NOT remove existing CORE_FILES entries84- Preserve existing behavior — type fixes only, no logic changes85
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?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| duckduckgo/content-scope-scriptstypes-generator/AGENTS.md · 70 | AGENTS.md | testarchtypesdo-not | 73/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-broker-protection-actions.mdc · 70 | Cursor rules | buildteststyletypes+4 | 93/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-broker-protection-rest.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-click-to-load.mdc · 70 | Cursor rules | teststyletypesgit+2 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-detectors.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-duckplayer-native.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-duckplayer.mdc · 70 | Cursor rules | setupteststyletypes+4 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-fingerprinting.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-message-bridge.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-standalone-features-a.mdc · 70 | Cursor rules | teststyletypesgit+4 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-standalone-features-b.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-web-compat-and-telemetry.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-zero-errors-batch.mdc · 70 | Cursor rules | testtypesgitdo-not+1 | 81/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsAGENTS.md · 70 | AGENTS.md | buildtestlint-formatstyle+5 | 83/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsinjected/AGENTS.md · 70 | AGENTS.md | buildteststylearch+2 | 92/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsmessaging/AGENTS.md · 70 | AGENTS.md | testarchtesting-strategyapi | 66/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/duckduckgo-content-scope-scripts-cursor-rules-strict-standalone-features-c)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.