create-architecture-test
Installation
SKILL.md
Create Architecture Test
When To Use
Use this skill when you need to enforce layer boundaries, dependency direction, or code placement rules.
Inputs Needed
- Rule to enforce, affected namespaces, allowed exceptions, and regression target.
Workflow
- Inspect existing architecture tests and the relevant code layers.
- Identify the smallest meaningful boundary to protect.
- Write the test for app-owned code first.
- Add ignore rules only for framework-generated or vendor-owned code when needed.
- Keep assertions stable and easy to read.
- Add a companion behavior test if the architecture rule protects something user-visible.