design-test-gate
Skill2 starsChanged 5 months agoMITView on GitHub
Use before Android UI, UX, Material 3, Compose design or visual refactor work to verify build and tests first, stop on failures, and define safe validation before design changes.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- super-android-kotlin-firebaseSkill
- accessibilitySkill
- agp9-kotlin-migrationSkill
- android-architectureSkill
- android-coreSkill
- android-navigation-3Skill
- code-review-refactorSkill
- compose-contextual-design-systemSkill
- compose-performanceSkill
- context-aware-ui-designSkill
- debuggingSkill
- dependency-injectionSkill
- dependency-upgrade-safetySkill
- edge-to-edge-adaptive-uiSkill
- firebase-ai-logicSkill
- firebase-authSkill
- firebase-cloud-functionsSkill
- firebase-coreSkill
- firebase-crashlytics-analyticsSkill
- firebase-emulator-ciSkill
- firebase-messagingSkill
- firestore-costs-quotasSkill
- firestoreSkill
- gradle-buildSkill
- jetpack-composeSkill
- kotlin-coreSkill
- macrobenchmark-baseline-profilesSkill
- networking-retrofit-ktorSkill
- play-store-releaseSkill
- r8-proguard-optimizationSkill
- room-datastoreSkill
- screen-ux-auditSkill
- security-privacySkill
- testingSkill
- ui-state-designSkill
- workmanager-background-syncSkill
- xml-to-compose-migrationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 18 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before changing Compose UI, Material 3 theme, screen layout, design system components or UX copy.
- Distinctive: line 13
When the user asks for a redesign, visual improvement, UI polish, app makeover or design refactor.
- Distinctive: line 14
When an AI-generated app needs design review but may have broken build, tests or Gradle setup.
- Distinctive: line 15
When design changes could affect navigation, ViewModels, Firebase data, local persistence or accessibility.
- Distinctive: line 28
Run or request the baseline build/test commands before making visual changes.
- Distinctive: line 29
If build or tests fail, stop design work and report the failure with the smallest next debugging step.
- Distinctive: line 30
If validation passes, define the design scope, affected screens and regression risks.
- Distinctive: line 36
Always treat build/tests as the first step for UI or UX work.
- Distinctive: line 37
Do not redesign around a broken build unless the user explicitly asks to triage the failure first.
- Distinctive: line 38
Do not hide test failures behind visual recommendations.
- Distinctive: line 40
Prefer the cheapest meaningful command first, then broaden validation for risky UI changes.
- Distinctive: line 41
If commands cannot run locally, explain the blocker and provide the exact command the user should run.
- Distinctive: line 54
Do not assume these companion skills are installed.
- Distinctive: line 90
Test result known or blocker reported.
- Distinctive: line 97
Use $super-android-kotlin-firebase to run the design-test-gate before improving this Compose screen.
- Distinctive: line 98
Use $super-android-kotlin-firebase to verify this AI-generated Android app is safe to redesign.
- Distinctive: line 99
Use $super-android-kotlin-firebase to stop if build/tests fail, then tell me what to fix before UI polish.
- Distinctive: line 103
Start with gate status: passed, failed or blocked.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Protect Android design work with an engineering gate: build and tests first, design second.
When to use
- Before changing Compose UI, Material 3 theme, screen layout, design system components or UX copy.
- When the user asks for a redesign, visual improvement, UI polish, app makeover or design refactor.
- When an AI-generated app needs design review but may have broken build, tests or Gradle setup.
- When design changes could affect navigation, ViewModels, Firebase data, local persistence or accessibility.
Inputs to inspect
- Current branch status and changed files.
- Gradle files, module structure and available test tasks.
- Existing unit, UI, screenshot, preview or instrumentation tests.
- Recent build/test failures, CI logs and flaky test notes.
- Target screen, flow or component requested for design work.
Required workflow
- Inspect the project structure and identify the smallest relevant validation commands.
- Run or request the baseline build/test commands before making visual changes.
- If build or tests fail, stop design work and report the failure with the smallest next debugging step.
- If validation passes, define the design scope, affected screens and regression risks.
- Select related design skills only after the gate passes.
- End with commands that should be rerun after design changes.
Rules
- Always treat build/tests as the first step for UI or UX work.
- Do not redesign around a broken build unless the user explicitly asks to triage the failure first.
- Do not hide test failures behind visual recommendations.
- Preserve existing behavior, ViewModels, repositories, Firebase logic, navigation and persistence.
- Prefer the cheapest meaningful command first, then broaden validation for risky UI changes.
- If commands cannot run locally, explain the blocker and provide the exact command the user should run.
Related existing skills
Local skills to invoke
- testing
- debugging
- gradle-build
- code-review-refactor
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.
- aldefy/compose-skill — use for deeper Jetpack Compose, Material 3, design-to-code, theming or Compose architecture guidance.
- skydoves/android-testing-skills — use for deeper Android or Compose UI testing, semantics, assertions or test workflow guidance.
Files commonly touched
build.gradle.ktssettings.gradle.ktsgradle/libs.versions.tomlsrc/testsrc/androidTest- CI workflow files
- Design target files only after validation passes
Commands to validate
./gradlew assembleDebug
./gradlew test
./gradlew lint
./gradlew connectedDebugAndroidTest
npm run checkCommon mistakes to avoid
- Starting a redesign before confirming the app builds.
- Running only UI tests when a unit test would catch the broken state faster.
- Treating flaky tests as irrelevant to design work.
- Changing Gradle versions just to make design changes.
- Ignoring broken accessibility or UI tests because the screen "looks better."
Checklist
- Baseline command identified.
- Build result known.
- Test result known or blocker reported.
- Design scope limited to requested surfaces.
- Related skills selected after the gate.
- Post-change validation commands listed.
Example prompts
- Use $super-android-kotlin-firebase to run the design-test-gate before improving this Compose screen.
- Use $super-android-kotlin-firebase to verify this AI-generated Android app is safe to redesign.
- Use $super-android-kotlin-firebase to stop if build/tests fail, then tell me what to fix before UI polish.
Expected response style
Start with gate status: passed, failed or blocked. If failed, lead with the failing command and stop design recommendations. If passed, summarize the safe design scope, related skills to use next, and validation commands to rerun.
References
- ../../docs/audits/FUENTES_LOCALES.md
- references/design-test-gate-notes.md
- templates/design-test-gate-report-template.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

