From 1312572fa140367010978f20129543c71052c281 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 27 Sep 2026 19:06:55 +0530 Subject: feat(development/pi-coding-agent): added instructions on using subagents --- .../pi-coding-agent/skills/performance-analysis/SKILL.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'modules/development/pi-coding-agent/skills/performance-analysis') 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 -- cgit v1.2.3