excel-mcp: Command for Claude Code

.claude/commands/typescript/TS-review-general.md

TS-review-general is a command for Claude Code from mort-lab/excel-mcp. It costs 0 tokens per session (1,505 once invoked), scanned A, original, MIT.

A command for reviewing a complete TypeScript and Astro codebase, including its structure, coding patterns, performance, and organization.

In plain words
What is it for?
Checking component structure, TypeScript quality, Astro patterns, API routes, image handling, bundle size, and client-side JavaScript.
Why use it?
It helps find inconsistent code, architectural problems, technical debt, and avoidable browser-side work in one review.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is mort-lab/excel-mcp's own configuration. It tells Claude Code how to work on excel-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything excel-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mort-lab/excel-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mort-lab/excel-mcp/main/.claude/commands/typescript/TS-review-general.md
Clone the repo
git clone --depth 1 https://github.com/mort-lab/excel-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for TS-review-general

README.md
[![agentmods](https://agentmods.dev/badge/commands/mort-lab/excel-mcp/ts-review-general/github.svg)](https://agentmods.dev/commands/mort-lab/excel-mcp/ts-review-general)
Your own site
<a href="https://agentmods.dev/commands/mort-lab/excel-mcp/ts-review-general"><img src="https://agentmods.dev/badge/commands/mort-lab/excel-mcp/ts-review-general/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for TS-review-general

Your own site · 80×15
<a href="https://agentmods.dev/commands/mort-lab/excel-mcp/ts-review-general"><img src="https://agentmods.dev/badge/commands/mort-lab/excel-mcp/ts-review-general.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01505
Opus 5 $0.00000 $0.00753
Sonnet 5 $0.00000 $0.00301
Haiku 4.5 $0.00000 $0.00151

Measured 8d ago against content hash 39efe1127e85, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

TS-review-general scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/typescript/TS-review-general.md · 261 lines

How it starts

The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.

General TypeScript/Astro Codebase Review

Perform a comprehensive review of the entire TypeScript/Astro codebase focusing on architecture, patterns, and best practices.

Review scope: $ARGUMENTS

If no specific scope provided, review the entire codebase.

Review Process

  1. Codebase Analysis

    • Analyze overall project structure and architecture
    • Review component organization and modularity
    • Check for consistency across the codebase
    • Identify technical debt and improvement opportunities
  2. Pattern Consistency

    • Ensure consistent use of Astro patterns
    • Validate TypeScript usage across files
    • Check for consistent naming conventions
    • Review import/export patterns
  3. Performance Assessment

    • Evaluate bundle size and optimization
    • Review hydration strategy implementation
    • Check for unnecessary client-side JavaScript
    • Assess image optimization usage

Review Focus Areas

1. Architecture & Structure

  • Islands Architecture implementation
  • Component organization (static vs interactive)
  • Content collections structure
  • API routes organization
  • Proper separation of concerns

2. TypeScript Quality

  • Strict mode compliance across all files
  • Type safety and explicit typing
  • Interface definitions and exports
  • Proper use of Astro's built-in types
  • Generic usage and constraints

3. Astro-Specific Patterns

  • Hydration directives usage patterns
  • Static-first approach implementation
  • Server islands configuration
  • Content management patterns
  • Framework integration consistency

4. Performance & Optimization

  • Bundle analysis and optimization
  • Image optimization implementation
  • Code splitting and lazy loading
  • Unnecessary JavaScript elimination
  • Hydration strategy effectiveness

5. Security & Validation

  • Environment variable management
  • Content Security Policy implementation
  • Input validation patterns
  • API security measures
  • Zod schema consistency

Read the full file on GitHub · 261 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 261 lines · 0 tokens per session scan A 39efe1127e85

Subscribe to this mod's changes

TS-review-general is a command published in the GitHub repository mort-lab/excel-mcp (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,505 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.