| name | simplify |
| description | Route simplify using exact migration registry [{"unit":"simplify/default","routing":{"negative_boundaries":["Design a replacement architecture for the entire billing subsystem.","Implement a new helper capability and expose it through the API.","Refactor several modules around a new responsibility boundary."],"positive_triggers":["Reduce duplication in this single helper without changing its behavior.","Simplify this small function by flattening unnecessary nesting.","Streamline the named code path with the smallest behavior-preserving edit."]}}]. |
Simplify a Bounded Code Path
Remove incidental complexity from one well-defined target while preserving its intended behavior.
Protocol
- Inspect the target, callers, tests, and repository conventions. Name the exact complexity to remove.
- Record behavior invariants and capture the smallest reliable baseline. Do not mix existing failures with simplification results.
- Prefer deletion, direct control flow, existing abstractions, and local deduplication over new layers.
- Keep the edit small enough to review as one behavior-preserving change. Exclude new features, architecture replacement, and unrelated cleanup.
- Repeat the same focused checks after the change, then any proportionate checks required by affected callers.
- Review the diff for altered error behavior, ordering, state, public interfaces, or weakened tests.
- Complete the repository-required review workflow, then deterministic verification, before claiming completion. Any fix after review creates a new fingerprint and requires review again.
Result
Report the removed complexity, preserved invariants, changed files, before/after evidence, and residual uncertainty.
Pack handoff
This canonical skill is distributed from the core plugin. Its legacy development-pack payload remains immutable migration provenance and is not a runtime routing surface.
{
"positive_triggers": [
"Reduce duplication in this single helper without changing its behavior.",
"Simplify this small function by flattening unnecessary nesting.",
"Streamline the named code path with the smallest behavior-preserving edit."
],
"negative_boundaries": [
"Design a replacement architecture for the entire billing subsystem.",
"Implement a new helper capability and expose it through the API.",
"Refactor several modules around a new responsibility boundary."
]
}