Claude Code CommandUtilities27 installs

Check File

Install with the Claude Code Templates CLI
$ npx claude-code-templates@latest --command="utilities/check-file" --yes

Requires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.

What's inside this command

Component source

File Analysis Tool

Perform comprehensive analysis of $ARGUMENTS to identify code quality issues, security vulnerabilities, and optimization opportunities.

Task

I'll analyze the specified file and provide detailed insights on:

  • Code quality metrics and maintainability
  • Security vulnerabilities and best practices
  • Performance bottlenecks and optimization opportunities
  • Dependency usage and potential issues
  • TypeScript/JavaScript specific patterns and improvements
  • Test coverage and missing tests

Process

I'll follow these steps:

  • Read and parse the target file
  • Analyze code structure and complexity
  • Check for security vulnerabilities and anti-patterns
  • Evaluate performance implications
  • Review dependency usage and imports
  • Provide actionable recommendations for improvement

Analysis Areas

Code Quality

  • Cyclomatic complexity and maintainability metrics
  • Code duplication and refactoring opportunities
  • Naming conventions and code organization
  • TypeScript type safety and best practices

Security Assessment

  • Input validation and sanitization
  • Authentication and authorization patterns
  • Sensitive data exposure risks
  • Common vulnerability patterns (XSS, injection, etc.)

Performance Review

  • Bundle size impact and optimization opportunities
  • Runtime performance bottlenecks
  • Memory usage patterns
  • Lazy loading and code splitting opportunities

Best Practices

  • Framework-specific patterns (React, Vue, Angular)
  • Modern JavaScript/TypeScript features usage
  • Error handling and logging practices
  • Testing patterns and coverage gaps

I'll provide specific, actionable recommendations tailored to your project's technology stack and architecture.

Type
Command
Category
Utilities
Installs
27
Source
GitHub ↗

Related Claude Code Commands

Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.