diff options
Diffstat (limited to 'modules/development/pi-coding-agent/skills/performance-analysis/SKILL.md')
| -rw-r--r-- | modules/development/pi-coding-agent/skills/performance-analysis/SKILL.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/development/pi-coding-agent/skills/performance-analysis/SKILL.md b/modules/development/pi-coding-agent/skills/performance-analysis/SKILL.md index e8dad8b..0a65471 100644 --- a/modules/development/pi-coding-agent/skills/performance-analysis/SKILL.md +++ b/modules/development/pi-coding-agent/skills/performance-analysis/SKILL.md @@ -7,6 +7,13 @@ description: "Measure before optimizing, identify likely bottlenecks, make a tar Measure before optimizing, identify likely bottlenecks, make a targeted change, and verify the effect. +## Subagents +When you need to delegate sub‑tasks, use the `pi-subagents` skill. + +**Example:** To optimize a slow endpoint, run a **scout** to profile CPU usage in the `handler` function, another **scout** to measure I/O latency in the `storage` layer, and an **implementer** to apply algorithmic improvements while a **reviewer** compares benchmarks against the baseline. + +*You may adapt the delegation pattern to fit the exact requirements of the codebase.* + ## Workflow ### 1. Measure @@ -27,4 +34,4 @@ Measure before optimizing, identify likely bottlenecks, make a targeted change, ### 4. Verify - Re-measure after change - Compare to baseline -- Check for regressions
\ No newline at end of file +- Check for regressions |
