aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/pi-coding-agent/skills/refactoring
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-27 19:06:55 +0530
committerArpit Chakladar <arpit@chakladar.me>2026-09-29 23:42:33 +0530
commit1312572fa140367010978f20129543c71052c281 (patch)
tree5acdde67d1512537e9a31f8ef5624b93ec81ae64 /modules/development/pi-coding-agent/skills/refactoring
parent9097b97080051022f15e821701f85de5ac7da3d4 (diff)
downloadhome-manager-config-1312572fa140367010978f20129543c71052c281.tar.gz
home-manager-config-1312572fa140367010978f20129543c71052c281.zip
feat(development/pi-coding-agent): added instructions on using subagents
Diffstat (limited to 'modules/development/pi-coding-agent/skills/refactoring')
-rw-r--r--modules/development/pi-coding-agent/skills/refactoring/SKILL.md7
1 files changed, 7 insertions, 0 deletions
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