Extract Slice

Extract code from Hanami app module into a dedicated slice — DO NOT change behavior, every test must pass after the move, identify bounded context, use `create-slice`, `git mv` preserving history, update namespaces App::X→X plus `Deps[...]` and route defs, run full test suite before and after, load supporting files only when needed (progressive disclosure). Covers identifying extraction boundaries, moving files while preserving history, updating imports and dependencies, and verifying the extraction. Trigger words: extract slice, extract to slice, move to slice, create slice from existing, refactor to slice, modularize.

igmarin 06cc018 2 files · 6.3 KB Updated

File contents

igmarin/hanakai-yaku/tree/main/skills/slices/extract-slice commit 06cc0183f8

Frequently asked questions

npx skillmds@latest add igmarin/extract-slice