analyzing-system-throughput
Analyze and optimize system throughput including request handling, data processing, and resource utilization. Use when identifying capacity limits or evaluating scaling strategies. Trigger with phrases like "analyze throughput", "optimize capacity", or "identify bottlenecks".
- License 许可
- MIT
- 最近更新
- 2025-12-18
- Stars
- ★ 29
- Forks
- 9
01 前言 Front Matter
- name
- analyzing-system-throughput
- license
- MIT
- version
- 1.0.0
- description
- Analyze and optimize system throughput including request handling, data processing, and resource utilization. Use when identifying capacity limits or evaluating scaling strategies. Trigger with phrases like "analyze throughput", "optimize capacity", or "identify bottlenecks".
- allowed-tools
- [ "Read", "Write", "Bash(performance:*)", "Bash(monitoring:*)", "Grep" ]
02 资源文件 14
- 资产文件assets/README.md304 B
- 参考文档gate-contract.json9.7 KB
- 参考文档references/history-and-evidence.md2.3 KB
- 参考文档references/input-acquisition.md4.4 KB
- 参考文档references/lock-mode-spec-generation.md5.7 KB
- 参考文档references/README.md457 B
- 参考文档references/scope-and-limitations.md8.1 KB
- 参考文档references/verification-discipline.md27.7 KB
- 参考文档references/verify-mode-generation.md12.0 KB
- 参考文档references/worktree-preflight.md3.3 KB
- 脚本scripts/analyze_throughput.py4.7 KB
- 脚本scripts/identify_bottlenecks.sh2.9 KB
- 脚本scripts/optimize_concurrency.py2.9 KB
- 脚本scripts/README.md461 B
03 SKILL.md 正文
Overview
This skill allows Claude to analyze system performance and identify areas for throughput optimization. It uses the throughput-analyzer plugin to provide insights into request handling, data processing, and resource utilization.
How It Works
- Identify Critical Components: Determines which system components are most relevant to throughput.
- Analyze Throughput Metrics: Gathers and analyzes current throughput metrics for the identified components.
- Identify Limiting Factors: Pinpoints the bottlenecks and constraints that are hindering optimal throughput.
- Evaluate Scaling Strategies: Explores potential scaling strategies and their impact on overall throughput.
When to Use This Skill
This skill activates when you need to:
- Analyze system throughput to identify performance bottlenecks.
- Optimize system performance for increased capacity.
- Evaluate scaling strategies to improve throughput.
Examples
Example 1: Analyzing Web Server Throughput
User request: "Analyze the throughput of my web server and identify any bottlenecks."
The skill will:
- Activate the
throughput-analyzerplugin. - Analyze request throughput, data throughput, and resource saturation of the web server.
- Provide a report identifying potential bottlenecks and optimization opportunities.
Example 2: Optimizing Data Processing Pipeline
User request: "Optimize the throughput of my data processing pipeline."
The skill will:
- Activate the
throughput-analyzerplugin. - Analyze data throughput, queue processing, and concurrency limits of the data processing pipeline.
- Suggest improvements to increase data processing rates and overall throughput.
Best Practices
- Component Selection: Focus the analysis on the most throughput-critical components to avoid unnecessary overhead.
- Metric Interpretation: Carefully interpret throughput metrics to accurately identify limiting factors.
- Scaling Evaluation: Thoroughly evaluate the potential impact of scaling strategies before implementation.
Integration
This skill can be used in conjunction with other monitoring and performance analysis tools to gain a more comprehensive understanding of system behavior. It provides a starting point for further investigation and optimization efforts.
Prerequisites
- Access to throughput metrics in {baseDir}/metrics/throughput/
- System performance monitoring tools
- Historical throughput baselines
- Current capacity and scaling limits
Instructions
- Identify critical system components for throughput analysis
- Collect request and data throughput metrics
- Analyze resource saturation and queue depths
- Identify bottlenecks and limiting factors
- Evaluate horizontal and vertical scaling strategies
- Generate capacity planning recommendations
Output
- Throughput analysis reports with current capacity
- Bottleneck identification and root cause analysis
- Resource saturation metrics
- Scaling strategy recommendations
- Capacity planning projections
Error Handling
If throughput analysis fails:
- Verify metrics collection infrastructure
- Check system monitoring tool access
- Validate historical baseline data
- Ensure performance testing environment
- Review component identification logic
Resources
- Throughput optimization best practices
- Capacity planning methodologies
- Scaling strategy comparison guides
- Performance bottleneck detection techniques
04 同仓库更多 Skills
testing-visual-regression
Detect visual changes in UI components using screenshot comparison. Use when detecting unintended UI changes or pixel differences. Trigger with phrases like "test visual changes", "compare screenshots", or "detect UI regressions".
generating-unit-tests
Automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions. Use when creating test coverage for functions, classes, or modules. Trigger with phrases like "generate unit tests", "create tests for", or "add test coverage".
generating-test-reports
Generate comprehensive test reports with metrics, coverage, and visualizations. Use when performing specialized testing. Trigger with phrases like "generate test report", "create test documentation", or "show test metrics".
orchestrating-test-execution
Coordinate parallel test execution across multiple environments and frameworks. Use when performing specialized testing. Trigger with phrases like "orchestrate tests", "run parallel tests", or "coordinate test execution".
managing-test-environments
Provision and manage isolated test environments with configuration and data. Use when performing specialized testing. Trigger with phrases like "manage test environment", "provision test env", or "setup test infrastructure".
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".