pattern rule · warning

pattern-conformance

A page declared as a known pattern omits a required component contract.

What it flags

Pages matching a page pattern (by path or a windcraft:pattern annotation) must compose the contracts the pattern requires — e.g. a sign-in page needs its Form and Button.

How to run it

Run npx windcraft check to run this and the other rules over your project. It ships at warning severity by default, and your AI tools can call it on a snippet over MCP through validate_component_code — so drift is caught as the code is written, not just in review.

Related

Catch design drift before it ships.