Write or extend tests for the Chai repo. Triggered by "write a test", "add tests", "test this", or as the follow-up when a component/util lands without coverage. Local unit tests use JUnit 6 (Jupiter); Compose/UI behaviour is tested as instrumented tests. Picks the right source set and idioms; does not invent mocking/assertion libraries the catalog does not declare.
Find design-system violations in Chai source — raw Material components, hardcoded colors, bare .dp magic numbers, @Preview instead of @ChaiPreview. Triggered by "audit-design-system-usage", "/audit", or by checks/code-reviewer. This is the check the broken chailinter is meant to do. Reports; does not edit.
Verify the Chai project assembles. Triggered by "check-build", "/check-build", "does it build", or by checks as the assemble gate. Runs `./gradlew assembleDebug` only — no mutation, no formatting.
Run Android Lint on Chai and report. Triggered by "check-lint", "/check-lint", "run lint", or by checks as the lint gate. Runs `./gradlew lintDebug` only — reports the first violation, never edits.
Umbrella pre-PR gate for Chai. Triggered by "checks", "/checks", "run the checks", or by any agent that needs a green light before committing or opening a PR. Runs the design-system audit, Android Lint, unit tests, and a debug assemble, then reports a single pass/fail.
Produce a commit subject, branch name, and PR title that match Chai's conventions. Triggered by "commit-convention", "/commit-convention", "write a commit message", or by the gitter agent before committing or opening a PR.
Update gradle/libs.versions.toml toward latest stable and verify safely. Triggered by "dependency-bump", "/dependency-bump", "update dependencies", "bump versions". Follows the dependency checklist in docs/tech/findings.md.
Scaffold a new Chai design-system component the right way. Triggered by "new-chai-component", "/new-chai-component", "add a Chai component", or "create a C<Name>". Ensures tokens, ChaiTheme.colors, and @ChaiPreview instead of raw Material / hardcoded values.