codebase-improvement-advisor
既存のコードベース全体を分析し、リファクタリング・最適化の提案を自動生成するためのスキル。 TypeScript/JavaScriptプロジェクトの品質分析、コード改善提案、重複コード検出、セキュリティスキャンなど 「このプロジェクトの改善点を教えて」や「リファクタリング候補をリストアップして」といった依頼に使用する。
Find the perfect capability for your agent.
既存のコードベース全体を分析し、リファクタリング・最適化の提案を自動生成するためのスキル。 TypeScript/JavaScriptプロジェクトの品質分析、コード改善提案、重複コード検出、セキュリティスキャンなど 「このプロジェクトの改善点を教えて」や「リファクタリング候補をリストアップして」といった依頼に使用する。
Expert TypeScript development with advanced type safety, full-stack patterns, and build optimization. Use when designing or refactoring TypeScript, auditing type safety, or improving TS tooling and compile performance.
Generates src/shared/EnvConsts.ts for type-safe environment variable access. Provides TypeScript interface and exports for accessing Vite environment variables throughout the application.
TypeScript refactoring using ts-morph in pnpm monorepos. Use when renaming variables, functions, classes, or types across packages; updating imports; moving files; or performing codemod operations. Triggers on requests involving TypeScript AST manipulation, bulk code changes, or cross-package refactoring.
AI生成コードの冗長性・複雑性を検出し、リファクタリングを行うスキル。「コードを脱臭して」「AIコードをリファクタリング」「冗長なコードを簡潔にして」「このコードを最適化」「複雑度を下げて」などのリクエストで起動する。Python/JavaScript/TypeScriptの生成コードに対して、ガード節の適用、DRY原則の強制、認知的複雑度の低減を実施する。
Review project architecture, identify structural issues, and plan refactoring. Analyzes directory structure, module boundaries, dependencies, and code organization. Provides systematic approaches for cleanup, restructuring, and migration. Primary focus on TypeScript/JavaScript projects with patterns applicable to other languages. Use this skill when auditing codebases, planning refactors, or improving project organization.
Gluegun CLI toolkit patterns for TypeScript-powered command-line apps. Use when building CLI tools, creating command structures, implementing template systems, filesystem operations, HTTP utilities, prompts, or plugin architectures with Gluegun.
Auditing and updating npm dependencies to prevent security vulnerabilities in TypeScript projects
Use this agent when you need to write, review, or refactor TypeScript code following specific architectural patterns without React. This includes creating functions, implementing features, fixing bugs, or modernizing existing TypeScript code to align with modern best practices using kebab-case file naming, one function per file pattern, and Bun for testing.
Generate properly configured tsconfig.json files for TypeScript projects with appropriate compiler options for various project types. Triggers on "create tsconfig", "generate tsconfig.json", "typescript config for", "configure TypeScript".
Enterprise CLI patterns using oclif framework with TypeScript. Use when building oclif CLIs, creating plugins, implementing commands with flags/args, adding auto-documentation, testing CLI commands, or when user mentions oclif, enterprise CLI, TypeScript CLI, plugin system, or CLI testing.
Use this skill when working with TypeScript/JavaScript files (.ts, .tsx, .js, .jsx, .mts, .cts, .mjs, .cjs) in Deno projects, or when the user asks about Deno-specific patterns, imports, configuration, testing, or tooling.
TypeScript/Reactパフォーマンスレビュースキル。測定ファーストの最適化観点でコードをレビュー。フロントエンド(re-render、バンドルサイズ)、バックエンド(N+1、キャッシュ)、API(ペイロード、圧縮)のパフォーマンス問題を検出。「パフォーマンスレビュー」「速度改善」「最適化チェック」などのリクエスト時に使用。
Master ES6+ features including async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional programming patterns for writing clean, efficient JavaScript code. Use when refactoring legacy code, implementing modern patterns, or optimizing JavaScript applications.
Detects N+1 query problems in GraphQL resolvers and TypeScript code. Checks for missing DataLoader usage, sequential database queries in loops, and resolver batching opportunities. Use before committing GraphQL resolvers or during performance reviews.
Automated tooling and detection patterns for JavaScript/TypeScript security vulnerabilities. Provides scan commands, vulnerability patterns, and severity mapping—not output formatting or workflow.
Debug and fix slow TypeScript type checking. Use when tsc or IDE is slow, type checking takes too long, or need to analyze TS compiler performance. Covers diagnostics, tracing, analysis tools, and common fixes.
Best practices for JavaScript/TypeScript development including modern ES6+ patterns, error handling, and performance optimization.