Skills

03 Assert

Assert the work behaves by iterating the project's coding assertions until they pass...

Install

npx skills add ai-driven-dev/framework --skill 03-assert -g -a claude-code -y
Category
Design
Updated
4d ago
License
MIT
Context cost
Lightabout 420 tokens
Runs scripts
No, instructions only

What it does

Assert the work behaves by iterating the project's coding assertions until they pass, plus optional architecture and frontend facets. Use to validate an implementation. Not for reviewing or writing tests.

Skill: assert

Validate that the work behaves as intended: run the project's assertions, iterating and fixing until they pass.

Actions

#ActionFacet
01assertRun the project's coding assertions, fixing until they pass
02assert-architectureReport where the code breaks the documented architecture
03assert-frontendInspect the running UI, fixing until the behavior is right

Run every applicable facet by default, or one when named. Coding (01) always applies; add 03 when the work has a UI and a frontend is running, the facet resolving the URL itself; run 02 only when architecture conformance is asked for. Skip a facet whose precondition is absent, with a noted reason. Ask only when the intent is genuinely ambiguous. Before running an action, read its file in actions/, not only the table or assets.

Transversal rules

  • Gate: it returns a pass or fail verdict on the work.
  • Fix loop: the coding and frontend facets fix and re-run until they pass. The architecture facet only reports, never fixes.
  • Stop only when every selected assertion passes a final clean sweep.
  • On supplied CI failures, fixing facets collect all failed checks, repair each reproducible failure locally, and rerun every applicable command in the final sweep; the caller pushes once after green if authorized, with CI-only checks unverified.

Assets

  • assets/task-template.md: the tracking file the frontend facet fills across its fix loop.

More in Design