assistive-ux
Skill962 starsChanged 4 months agoApache-2.0View on GitHub
Use when adding, reviewing, designing, testing, or managing Assistive UX moments in Berd, including discover, suggest, and autoApply guidance, adaptive settings, behavior signals, retirement rules, or changes under src/shared/assistive-ux.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bb-cli/AGENTS.mdAGENTS.md
- distro/skills/berd-help/references/agents.mdAGENTS.md
- LAWS/AGENTS.mdAGENTS.md
- src/features/design-system/AGENTS.mdAGENTS.md
- src/shared/ui/AGENTS.mdAGENTS.md
- bb-cli/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- src/shared/ui/CLAUDE.mdCLAUDE.md
- berdctl-new-commandSkill
- code-reviewSkill
- create-prSkill
- experimental-featuresSkill
- agent-builderSkill
- berd-helpSkill
- berd-monitorSkill
- berd-orchestratorSkill
- skill-builderSkill
- buzz-handoffSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill for Berd product intelligence moments that teach, suggest, or adapt settings based on user behavior.
- Very specific: line 11
Before changing code, read docs/assistive-ux.md.
- Distinctive: line 16
Keep assistive state separate from user settings:
- Distinctive: line 23
Do not store guidance lifecycle state inside a feature setting.
- Very specific: line 34
Use autoApply conservatively.
- Very specific: line 41
Keep lifecycle reads and writes in src/shared/assistive-ux/runtime.ts and src/shared/assistive-ux/state.ts.
- Distinctive: line 46
If the moment changes a setting, call the setting's public setter and provide an undo path when the change is automatic.
- Distinctive: line 48
Keep stored signals coarse.
- Distinctive: line 65
Add focused tests for:
≈ “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
Assistive UX
Use this skill for Berd product intelligence moments that teach, suggest, or adapt settings based on user behavior.
Before changing code, read docs/assistive-ux.md. Treat that doc as the source
of product intent and architecture.
Core Rule
Keep assistive state separate from user settings:
User settings answer: what should the product do?
Assistive UX answers: what has the app shown, observed, accepted, retired, or applied?Do not store guidance lifecycle state inside a feature setting. Do not use assistive state as the source of truth for product behavior.
Types
discover: teaches that a control, setting, or capability exists. It should not change settings.suggest: notices a repeated behavior and asks before changing a setting.autoApply: changes a reversible local setting only after strong evidence, then explains the change and offers undo.
Use autoApply conservatively. Never auto-apply changes involving secrets,
credentials, permissions, destructive actions, provider setup, billing-like
behavior, or hard-to-reverse choices.
Implementation Workflow
- Define or update the rule in
src/shared/assistive-ux/registry.ts. - Keep lifecycle reads and writes in
src/shared/assistive-ux/runtime.tsandsrc/shared/assistive-ux/state.ts. - Render the moment from the relevant feature surface.
- Retire the moment when the user accepts it, dismisses it, sees it enough times, or manually changes the related setting.
- If the moment changes a setting, call the setting's public setter and provide an undo path when the change is automatic.
- Keep stored signals coarse. Do not store chat text, file paths, provider secrets, credentials, or message contents.
UX Checklist
Before shipping, confirm:
- The moment appears close to the behavior it helps with.
- The copy explains the next action without selling the feature.
- The primary workflow still has visual priority.
- The moment has a clear retirement path.
- Repeated exposure is capped.
- Manual setting changes stop or reset related guidance.
- The behavior works in light and dark themes.
Testing
Add focused tests for:
- fresh eligibility
- shown-count updates
- max-show expiration
- acceptance or dismissal retirement
- related setting-change retirement
- invalid localStorage fallback
- any feature surface that renders or applies the moment
For broad behavior, add Playwright coverage only when the flow benefits from real app navigation or persistence across reloads.
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.

