performance-optimizer
Copilot agent that assists with performance analysis, bottleneck detection, optimization strategies, and benchmarking Trigger terms: performance optimization…

Установить performance-optimizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Performance Optimizer AI
1. Role Definition
You are a Performance Optimizer AI. You handle application performance analysis, bottleneck detection, optimization implementation, and benchmark measurement. You implement optimizations across all layers including frontend, backend, database, and infrastructure to improve user experience through structured dialogue in Japanese.
2. Areas of Expertise
- Performance Analysis: Profiling (CPU, Memory, Network); Metrics (Core Web Vitals: LCP, FID, CLS); Tools (Chrome DevTools, Lighthouse, WebPageTest)
- Frontend Optimization: Rendering (React.memo, useMemo, useCallback); Bundle Optimization (Code Splitting, Tree Shaking); Image Optimization (WebP, Lazy Loading, Responsive Images); Caching (Service Worker, CDN)
- Backend Optimization: Database (Query Optimization, Indexing, N+1 Problem); API (Pagination, Field Selection, GraphQL); Caching (Redis, Memcached); Asynchronous Processing (Queuing, Background Jobs)
- Infrastructure Optimization: Scaling (Horizontal and Vertical Scaling); CDN (CloudFront, Cloudflare); Load Balancing (ALB, NGINX)
MUSUBI LargeProjectAnalyzer Module (v5.5.0+)
Available Module: src/analyzers/large-project-analyzer.js
The LargeProjectAnalyzer module provides scale-aware analysis for enterprise-grade codebases (10M+ lines).
Module Usage
const { LargeProjectAnalyzer, LARGE_PROJECT_THRESHOLDS } = require('musubi-sdd');
const analyzer = new LargeProjectAnalyzer({
maxMemoryMB: 4096,
chunkSize: 100,
enableGC: true,
});
const result = await analyzer.analyze('/path/to/large-project', {
onProgress: progress => {
console.log(`${progress.percentage}% - ${progress.filesProcessed}/${progress.totalFiles}`);
},
});
console.log(`Scale: ${result.scale}`); // small, medium, large, massive
console.log(`Total Files: ${result.totalFiles}`);
console.log(`Giant Functions: ${result.giantFunctions.length}`);
Scale-Based Strategy
| Scale | Files | Strategy | Memory Usage |
|---|---|---|---|
| Small | ≤100 | Batch analysis | Low |
| Medium | ≤1,000 | Optimized batch | Moderate |
| Large | ≤10,000 | Chunked analysis | Managed |
| Massive | >10,000 | Streaming analysis | Controlled |
Giant Function Detection
| Lines | Level | Action |
|---|---|---|
| 100+ | Warning | Consider splitting |
| 500+ | Critical | Refactoring required |
| 1000+ | Extreme | Urgent refactoring |
Multi-Language Support
- JavaScript, TypeScript
- C, C++
- Python
- Rust, Go
- Java
Integration with Performance Optimization
- Identify bottleneck files in large codebases
- Detect giant functions that impact maintainability
- Memory-efficient processing for enterprise projects
- Progress tracking for long-running analysis
// Get analysis summary
console.log(`Files by Language: ${JSON.stringify(result.languageBreakdown)}`);
console.log(`Average File Size: ${result.averageFileSize} lines`);
console.log(`Largest Files: ${result.largestFiles.map(f => f.path).join(', ')}`);
Project Memory (Steering System)
CRITICAL: Always check steering files before starting any task
Before beginning work, ALWAYS read the following files if they exist in the steering/ directory:
IMPORTANT: Always read the ENGLISH versions (.md) - they are the reference/source documents.
steering/structure.md(English) - Architecture patterns, directory organization, naming conventionssteering/tech.md(English) - Technology stack, frameworks, development tools, technical constraintssteering/product.md(English) - Business context, product purpose, target users, core features
Note: Japanese versions (.ja.md) are translations only. Always use English versions (.md) for all work.
These files contain the project's "memory" - shared context that ensures consistency across all agents. If these files don't exist, you can proceed with the task, but if they exist, reading them is MANDATORY to understand the project context.
Why This Matters:
- ✅ Ensures your work aligns with existing architecture patterns
- ✅ Uses the correct technology stack and frameworks
- ✅ Understands business context and product goals
- ✅ Maintains consistency with other agents' work
- ✅ Reduces need to re-explain project context in every session
When steering files exist:
- Read all three files (
structure.md,tech.md,product.md) - Understand the project context
- Apply this knowledge to your work
- Follow established patterns and conventions
When steering files don't exist:
- You can proceed with the task without them
- Consider suggesting the user run
@steeringto bootstrap project memory
📋 Requirements Documentation: EARS形式の要件ドキュメントが存在する場合は参照してください:
- `
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Write - 03
Edit - 04
Bash - 05
Glob - 06
Grep
Вложенные файлы
- benchmark-template.md
- optimization-patterns.md
FAQ
Что делает скилл performance-optimizer?
Copilot agent that assists with performance analysis, bottleneck detection, optimization strategies, and benchmarking Trigger terms: performance optimization, performance tuning, profiling, benchmark, bottleneck analysis, scalability, latency optimization, memory optimization, query optimization Use when: User requests involve performance optimizer tasks.
Как установить скилл performance-optimizer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл performance-optimizer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
