add-types · git:20261115.237aa7d · 2026-11-15 · sha256 d1fffa9181699395
add-types git:20261115.237aa7dA
Immutable. This exact content never changes and is served at /api/v1/blob/d1fffa9181699395.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_ev5tiynbqarxlckh/d1fffa91816993951807590e2edb4d76c62c3daf8e029e11c4f3a9e8fafcddec.json
Then /plugin install add-types@markdownregistry-ev5tiynbqarxlckh in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
--- name: add-types description: Adds precise type annotations to one file and fixes the checker errors that show up, without leaning on any or ignores. disable-model-invocation: true --- Add precise types to: $ARGUMENTS 1. Identify the language and the checker already configured (tsconfig.json, mypy.ini, pyproject.toml, pyright). Run it once and record the starting error count. Do not change checker settings. 2. Read the file and its callers and tests to learn the real shapes of parameters, return values and data structures. Check library types in node_modules or site-packages rather than guessing. 3. Annotate bottom-up: data shapes first (interfaces, TypedDict, dataclasses, enums, union literals), then function signatures, then variables the checker cannot infer. 4. Avoid `any`, `object`, `Any`, `as unknown as`, `# type: ignore` and `@ts-ignore`. If a value really is unknown, use `unknown` and narrow it. 5. Run the checker again and fix each error at its cause. If an error exposes a genuine bug, stop and describe it instead of silencing it. 6. Run the tests to make sure runtime behavior is unchanged. Report starting versus ending error counts, the new types you defined, and any real bugs found. Do not edit other files without asking.