Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/zakariaf/flutter-skills/accessibility-as-codenpx skills add zakariaf/Flutter-Skills --skill accessibility-as-codegit clone --depth 1 https://github.com/zakariaf/Flutter-SkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zakariaf/flutter-skills/accessibility-as-code)<a href="https://agentmods.dev/skills/zakariaf/flutter-skills/accessibility-as-code"><img src="https://agentmods.dev/badge/skills/zakariaf/flutter-skills/accessibility-as-code.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00195 | $0.03743 |
| Opus 5 | $0.00097 | $0.01871 |
| Sonnet 5 | $0.00039 | $0.00749 |
| Haiku 4.5 | $0.00019 | $0.00374 |
Grade A, and why
accessibility-as-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Accessibility is a coding standard, not a checklist
Accessibility is authored into the widget as you write it — the same tier as "the button actually works." There is no lint for any of this: flutter_lints and very_good_analysis ship zero a11y rules. Enforcement is the widget itself, review of your own diff, and widget tests. Applies to every interactive View, every Icon/Image, every state, and every color choice.
Testing mechanics (guideline matchers, golden lanes, RTL, honest conformance limits) live in widget-golden-and-a11y-testing; this skill is the authoring discipline.
Non-negotiable rules
- Every interactive node gets
Semantics(button: true, label: ...)— a rawGestureDetectorwith no semantics silently locks out every screen-reader and switch user. Correct semantics make TalkBack, VoiceOver, Switch Access and Switch Control work for free; it is definition-of-done, never a backlog ticket. - Every
Icon/Imagegets asemanticLabel, or is wrapped inExcludeSemanticsbecause it is decorative. There is no third option — an unlabelledIconis invisible to a screen reader. - Read a11y state from
MediaQueryat build time, never from app state.MediaQueryis anInheritedWidgetwith correct-by-construction invalidation; pushing it through a provider trades a compiler-guaranteed rebuild for a frame of staleness in the one area where being wrong is total failure. - Never
MediaQuery.withClampedTextScaling, nevertextScaleFactor. Both are clamping hacks that silently defeat the text-scale matrix while contrast and tap-target guidelines still pass green. Enforce with a source grep (see Anti-patterns). - Never
FittedBox, computedfontSize, orTextOverflow.ellipsisto make a label fit. They turn "doesn't fit at 200%" from a loud test failure into truncated or shrunk text on a device. Build flexible heights and let text wrap. - Never encode state through color alone. Pair every stateful signal with at least one non-color channel — icon + text label + shape/pattern + position. Color-only state is invisible under
invertColors, grayscale color-correction, and to every screen-reader user. - Contrast is measured against the composited background in both themes — body/icon text ≥ 4.5:1 (AA 1.4.3), large/hero text ≥ 3:1 (AA) — large text never has to clear a higher bar than body. Never test against the nominal token color when a fill, gradient, or translucency sits between text and surface.
- Every interactive target is ≥ 44×44 logical pixels and single-tap. No long-press or precise-gesture-only affordances; hand-off and motor-impaired use demand a large forgiving target.
- Traversal order is authored with
sortKey, never inherited from layout — visual position optimized for the thumb actively pessimises linear screen-reader/switch scanning. - Honor
boldText; keep haptics through reduced motion. HardcodingfontWeightthrows the setting away. ReaddisableAnimationsfromMediaQueryhere, but resolve how motion collapses throughdesign-system-structure's reduced-motion token +resolveMotionhelper (that skill owns the mechanism) — an animation that still conveys meaning with no reduced-motion path is a bug.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 219 lines · 195 tokens per session scan A 121fc6ac78eb
accessibility-as-code is a skill published in the GitHub repository zakariaf/Flutter-Skills (2 stars, last pushed 6d ago), licensed MIT. It adds 195 tokens to every session and 3,743 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
desktop-brand-builder
Generate a branded Qwen Code desktop package from the Tauri desktop shell using a minimal brandId and logo. Use when the user wants a custom, white-label, or rebranded desktop client, installer, DMG/EXE/AppImage/deb, or one-click brand build on top of packages/desktop-shell.
presentation-styling
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation.
dataviz
Design guidance for charts, graphs, dashboards, maps, and data visualizations, including a local palette validator.
frontend-design-saas
S-tier SaaS dashboard and product UI reference. Use this skill when building application shells, data tables, settings panels, billing pages, dashboards, auth flows, admin tools, or any internal/customer-facing SaaS product UI. Inspired by Stripe, Linear, Vercel, Airbnb, Notion. Covers neutral-led design tokens…
frontend-design-landing-page
Marketing landing page and conversion-focused product page reference. Use this skill when building hero sections, feature grids, pricing pages, testimonials, CTAs, footers, navigation bars, or any public-facing marketing surface. Covers a warm, professional, developer-friendly design language (cream backgrounds…
frontend-design
Produce intentional, responsive, accessible UI work and perform visual QA instead of generic component assembly.