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.
curl -O https://raw.githubusercontent.com/mort-lab/excel-mcp/main/.claude/commands/typescript/TS-review-general.mdgit clone --depth 1 https://github.com/mort-lab/excel-mcpWrote 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.
[](https://agentmods.dev/commands/mort-lab/excel-mcp/ts-review-general)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
-
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
-
Pattern Consistency
- Ensure consistent use of Astro patterns
- Validate TypeScript usage across files
- Check for consistent naming conventions
- Review import/export patterns
-
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
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.
- 8d ago First seen · 261 lines · 0 tokens per session scan A 39efe1127e85
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.
Other commands, from other repositories
typegen
Run Sanity TypeGen and troubleshoot type generation issues.
harness:naming-craft
LLM-judgment skill that critiques identifier names (variables, functions, types, files) against a curated rubric catalog seeded from Martin / Beck / Karlton. First craft-pipeline ceiling skill; cross-cutting (other craft skills call into it for domain-specific naming).
review
Comprehensive code review for blz changes.
stats
Show squad-mcp observability dashboard for past runs in this workspace. Bar charts, score distribution, verdict mix, sparkline trend, per-agent token + wall-clock cost breakdown. Reads .squad/runs.jsonl; never writes. Triggers: "squad stats", "run history", "score distribution", "where did the tokens go", "how much…
ts-review-graph:review
Call the getminimalcontext MCP tool from the ts-review-graph server with.
mdd-rules-typescript
Rules loaded when stack.language includes typescript. Applied additively to audit criteria and build checklists.