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 --- modules/development/pi-coding-agent/skills/refactoring/SKILL.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/development/pi-coding-agent/skills/refactoring') diff --git a/modules/development/pi-coding-agent/skills/refactoring/SKILL.md b/modules/development/pi-coding-agent/skills/refactoring/SKILL.md index f947cff..09f01fa 100644 --- a/modules/development/pi-coding-agent/skills/refactoring/SKILL.md +++ b/modules/development/pi-coding-agent/skills/refactoring/SKILL.md @@ -7,6 +7,13 @@ description: "Explicitly preserve behavior while improving structure; identify u Explicitly preserve behavior while improving structure; identify unnecessary abstraction and avoid scope creep. +## Subagents +When you need to delegate sub‑tasks, use the `pi-subagents` skill. + +**Example:** When refactoring a legacy module, use a **scout** to identify all call sites of the `legacy::utils` functions, another **scout** to map the test coverage for each, and an **implementer** to inline or replace them incrementally while a **reviewer** ensures behavior is preserved. + +*You may adapt the delegation pattern to fit the exact requirements of the codebase.* + ## Principles ### Preserve Behavior -- cgit v1.2.3