What problem does it solve?
It prevents duplicated authorization and business logic when the same protected resource operation must be exposed through internal APIs, public or versioned APIs, Copilot tools, and other trusted adapters in the Sim codebase.
Core Features & Use Cases
- Shared semantic operations: Define one operation registry entry with role, workspace-key policy, and principal kinds, then reuse it across every surface.
- Layered migration guidance: Enforces a strict boundary between authentication adapters, route or tool adapters, application use cases, repositories, and presenters.
- Behavior preservation: Requires freezing legacy observable behavior with characterization tests before moving code, including errors, audit, rate limits, and side effects.
- Use Case: When adding a new protected endpoint like renaming a workspace file, use this Skill to route internal API, v2 public API, and Copilot tool calls through one authorized application use case without changing wire contracts.
Quick Start
Use $migrate-application-operation to migrate the rename endpoint for workspace files into a shared authorized application use case across the internal API and Copilot.