/nlsmdn:codebase-review-typescript [repository and package scope]from nlsmdn
Supply TypeScript and JavaScript structural evidence to codebase-review using dependency-cruiser, ESLint complexity, and Git churn. Use for whole-codebase import-cycle and complexity-hotspot investigation, or when discovered as a project-local codebase-review extension. Does not replace review-typescript's type-design checks or review a diff.
Ships in nlsmdn. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Projects or packages containing handwritten JavaScript/TypeScript, including JSX/TSX. Resolve
the source scope and its tsconfig from the approved baseline. In a monorepo, select each
distinct package/resolver scope explicitly; do not assume the root tsconfig covers everything.
The typescript kit opts in. Other kits need not change, and review-typescript retains its
type-design scope.
Enrich these existing aspects. Do not create a second architecture review, duplicate the
ledger, or run the full codebase-review workflow from this skill. Standalone use is read-only
analysis of the user-specified revision and scope; return verified concerns and coverage gaps.
The lead runs scripts/collect.py once per collection identity after plan approval. Requires
Python 3.12+, Git, Node supported by dependency-cruiser (22, 24, or 26+), and npm. The runner
installs pinned analysis packages with lifecycle scripts disabled into a separate tool cache;
it does not modify project manifests, lockfiles, hooks, or source. Install and analysis
subprocesses each have a three-minute hard deadline.
python3 <this-skill>/scripts/collect.py \
--root <git-root> --ref <approved-sha> --scope src --tsconfig tsconfig.json \
--output <RUN>/extensions/typescript/src/<revision>
Use --scope . when the package includes root-level entry files such as App.tsx. Paths are
repository-relative; omit --tsconfig for JavaScript without one. Add repeatable --exclude
regexes for generated sources not covered by the defaults, such as an API declaration folder
or generated icon components. Defaults exclude tests, declarations, build output, and common
generated paths. Inspect inputs in the summary to validate the actual source population.
--days sets the history window (180 by default, ending at the approved commit).
The collector materializes that revision in temporary storage and removes it afterwards. It may borrow installed dependencies for module resolution, rebinding local workspace links to the snapshot and flagging source that escapes it. This does not verify installed versions against the baseline lockfile. Report dependency-context limits where they affect conclusions. Missing packages and unresolved aliases require investigation, not suppression. If a monorepo's packages have different installed dependency trees or resolver configurations, collect separately. Keep cross-package cycle investigation at a scope that includes both sides.
Output: summary.json, the raw graph in dependencies.json, filtered ESLint diagnostics in
complexity.json, configuration and stderr logs. The summary carries baseline, scope, tools,
exclusions, input paths and per-check status. Exit 0 means collection completed, not that
there are no candidates; exit 2 means incomplete/failed collection. Preserve the report and
surface its limitation. An existing output directory must be empty; reuse recorded matching
evidence or select a new one. Do not overwrite a baseline report on resume.
No graph or complexity algorithm is implemented here. The wrapper groups dependency-cruiser cycle reports and combines ESLint's cyclomatic complexity with Git file-commit counts. The rank is complexity × file commits; it is not a risk score. jscpd remains an optional separate investigation when a specific duplication concern warrants it. Existing Knip checks remain responsible for unused-code analysis.
Read tool choices and limitations when adjusting collection behavior.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nielsmadan/skills --plugin nlsmdn65 skills in this plugin
/blind-spotsSurface consequential decisions a plan, design, or research brief left silently assumed, by interviewing the user in dependency order. Use when the user says "blind spots", "grill me", "stress-test this plan", "poke holes in this", "what am I missing", "interrogate this design", "what haven't I decided", or needs a loose idea or research brief clarified before work begins. Do NOT use for a clear factual lookup, to explain a previous reply in more detail (use `huh`), to generate ideas when it is unclear what to build (use `ideation`), or to review an already-written plan with agents (use `review-plan`)./brainstormWork out how to solve a problem the user can already name — interview them with `blind-spots` to understand it, generate structurally different approaches, validate each with an independent critic, then present the survivors with trade-offs and a recommendation. Use when the user says "brainstorm", "brainstorm approaches", "how should we solve/approach/tackle X", "what are our options", "compare approaches", "think this through with me", or wants solutions weighed before committing. Works on any topic, with codebase recon when a repo is involved; `--debate` adds external advisors for high-stakes calls. Do NOT use when stuck on what to build or what the problem is (use `ideation`), to probe an already-chosen plan (use `blind-spots`), or to pick a library or service (use `evaluate-tech`).