frontend-experience
Skill2 starsChanged 7 days agoMITView on GitHub
Use when auditing frontend components, debugging UI state anomalies, verifying form interactions, or inspecting widget trees.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Echo-Scion/portable-brainvibingword for word, first seen Oct 15, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Echo-Scion/portable-brainvibing★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-engineerSkill
- api-contractSkill
- app-lifecycleSkill
- brain-graphSkill
- code-reviewSkill
- cost-optimizerSkill
- data-logicSkill
- feature-discoverySkill
- integrity-sentinelSkill
- meta-agent-adminSkill
- paletteSkill
- project-architectSkill
- project-operatorSkill
- saas-strategistSkill
- self-evolveSkill
- session-offloadSkill
- strict-tddSkill
- systematic-debuggingSkill
- ui-finishSkill
- worker-delegateSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Detect Ecosystem: Check the project root for ecosystem markers (pubspec.yaml = Flutter, package.json = Node/React, Cargo.toml = Rust).
- Very specific: line 20
Before marking any frontend task complete or approving a UI pull request, you MUST execute mechanical linters via run_command and achieve …
- Distinctive: line 32
When writing UI automation scripts (Playwright, Puppeteer, Integration Tests), do NOT blindly guess DOM selectors or widget keys.
- Distinctive: line 34
Reconnaissance: Read the rendered DOM/Tree or capture a screenshot FIRST.
- Distinctive: line 37
Never attempt to interact with the DOM before the network is idle.
- Very specific: line 41
When creating or auditing a frontend view or data-fetching component, the Agent MUST mechanically verify all 5 Core View Data States …
- Distinctive: line 52
When auditing interactions, verify mechanical compliance:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Frontend Experience
Your primary role is to audit and debug frontend architecture. (If the task specifically requests visual styling, color tokens, or motion polish rather than state/logic debugging, load .agents/skills/ui-finish/SKILL.md instead.)
JIT Tool Directives (Execute this FIRST)
- Detect Ecosystem: Check the project root for ecosystem markers (
pubspec.yaml= Flutter,package.json= Node/React,Cargo.toml= Rust). - Load Ecosystem Canon: Based on detected ecosystem, load the relevant canon:
- Flutter:
canons/ecosystems/flutter/flutter-state-map.md - Web/React: Apply standard React 19 / Server Component state patterns and modern hooks.
- Other: Apply universal 4-state mandate below.
- Flutter:
🛠️ Mechanical Verification & Lint Gate (Hard Gate)
Before marking any frontend task complete or approving a UI pull request, you MUST execute mechanical linters via run_command and achieve Exit Code 0:
- Static Analysis & Type Integrity:
- Flutter: Execute
flutter analyzeordart analyze. Zero issues allowed. - Web / React: Execute
npm run lintornpx eslint .. Zero lint errors allowed.
- Flutter: Execute
- Automated Aesthetic Linter:
- Execute
python .agents/evals/audit_aesthetics.py --dir <target_dir>. - Rejects hardcoded generic colors (
Colors.red, inline generic hexes) and validates responsive primitives. Must returnExit Code 0.
- Execute
- Test Suite Verification:
- Execute
flutter testornpm testcovering the modified components. Must returnExit Code 0.
- Execute
🔍 UI Testing: Reconnaissance-then-Action Pattern
When writing UI automation scripts (Playwright, Puppeteer, Integration Tests), do NOT blindly guess DOM selectors or widget keys.
- Wait for Network Idle: Dynamic apps must finish JS execution (
wait_for_load_state('networkidle')or pump widget frames). - Reconnaissance: Read the rendered DOM/Tree or capture a screenshot FIRST.
- Discover: Identify accurate selectors (
role=,text=, semantic IDs) from the actual rendered state. - Action: Execute interactions only using confirmed, discovered selectors. Never attempt to interact with the DOM before the network is idle.
Component & Screen State Map (MANDATORY — Unified 2-Level Contract)
When creating or auditing a frontend view or data-fetching component, the Agent MUST mechanically verify all 5 Core View Data States (matching core/dna.py and ui-finish 6-Family State Machine; standalone interactive controls follow the 8-State Interactive Contract in ui-finish):
- LOADING (Skeleton / Shimmer) — Request in-flight; preserve layout geometry with skeleton shimmer or contained spinner (
aria-busy="true"). - EMPTY (First-Time vs. Filtered-to-Empty) — Collection is empty; distinguish first-time onboarding CTA from filtered search empty state (
"Clear filters"). - POPULATED (Success) — Data loaded and rendered cleanly.
- PARTIAL / OFFLINE (Degraded State) — Stale cache banner, offline draft indicator, or partial sub-widget degradation without full-screen crash.
- ERROR (Actionable Recovery) — Request failed; display human-readable recovery message with explicit retry callback.
Verification Action: The Agent MUST use
grep_searchon the target component file to verify that branches for error, empty, and loading states are physically present in the widget/component tree. Submitting a component that only handles the POPULATED state is a protocol violation.
Micro-UX & Form Interaction Standards (Universal)
When auditing interactions, verify mechanical compliance:
- Actionable Error Clarity: Error displays must not expose raw system stack traces or uncaught exception strings. Provide clear recovery actions (e.g., "Network error. Tap to retry.").
- Disabled States During In-Flight Requests: Form submit buttons MUST be mechanically disabled (
disabled={isLoading}oronPressed: isLoading ? null : ...) while async requests are active to prevent double-submit anomalies. - Form Validation & Inline Feedback: Inputs must display validation error text inline below the field upon validation failure.
- Destructive Actions: Irreversible operations (Delete, Reset, Purge) MUST be gated by a confirmation modal or alert dialog.
- Notifications: Critical actions must trigger feedback toast/snackbar upon completion or failure.
📚 Mandatory Knowledge Routing (JIT References)
If your current task intersects with these domains, you MUST execute view_file on the target BEFORE writing code:
| If User Prompt/Task Relates To... | Immediately Load (view_file) |
| Flutter Debugger | .agents/canons/ecosystems/flutter/flutter-debugger.md |
| UX Designer | .agents/skills/frontend-experience/references/ux-designer.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.

