Agent skill
performance-baseline-capturer
Capture performance baselines before migration for regression comparison and SLA verification
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/code-migration-modernization/skills/performance-baseline-capturer
SKILL.md
Performance Baseline Capturer Skill
Captures comprehensive performance baselines before migration to enable post-migration regression comparison and SLA verification.
Purpose
Enable performance benchmarking for:
- Response time measurement
- Throughput baseline
- Resource utilization tracking
- Load test execution
- Percentile calculation
Capabilities
1. Response Time Measurement
- Capture response times
- Measure latency percentiles
- Track by endpoint
- Document SLA targets
2. Throughput Baseline
- Measure requests per second
- Track concurrent users
- Document peak capacity
- Establish limits
3. Resource Utilization Tracking
- Monitor CPU usage
- Track memory consumption
- Measure disk I/O
- Record network usage
4. Load Test Execution
- Run baseline load tests
- Execute stress tests
- Perform soak tests
- Document results
5. Percentile Calculation
- Calculate P50/P90/P95/P99
- Track distribution
- Identify outliers
- Set thresholds
6. Regression Threshold Setting
- Define acceptable ranges
- Set alert thresholds
- Document tolerances
- Create comparison criteria
Tool Integrations
| Tool | Purpose | Integration Method |
|---|---|---|
| JMeter | Load testing | CLI |
| Gatling | Performance testing | CLI |
| k6 | Modern load testing | CLI |
| Locust | Python load testing | CLI |
| Artillery | Node.js testing | CLI |
| wrk | HTTP benchmarking | CLI |
Output Schema
{
"baselineId": "string",
"timestamp": "ISO8601",
"environment": {
"name": "string",
"resources": {}
},
"metrics": {
"responseTime": {
"p50": "number",
"p90": "number",
"p95": "number",
"p99": "number",
"mean": "number"
},
"throughput": {
"requestsPerSecond": "number",
"peakRps": "number",
"concurrentUsers": "number"
},
"resources": {
"cpu": {},
"memory": {},
"disk": {},
"network": {}
}
},
"thresholds": {
"responseTime": {},
"throughput": {},
"errors": {}
}
}
Integration with Migration Processes
- migration-testing-strategy: Baseline establishment
- performance-optimization-migration: Performance tracking
Related Skills
migration-validator: Post-migration comparisontest-coverage-analyzer: Test planning
Related Agents
performance-validation-agent: Performance verificationmigration-testing-strategist: Test planning
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?