ConvoPort / chrome-extension-ui
AGENTS.md2 starsChanged 8 months agoMITView on GitHub
Version 0.1.0 Chrome Extensions Community January 2026 Note: This document is mainly for agents and LLMs to follow when maintaining, generating, or refactoring codebases. Humans may also find it useful, but guidance here is optimized for automation and consistency by AI-assisted workflows. Comprehensive UX/UI design guide for Chrome Extensions, optimized for Manifest V3. Contains 42 rules across 8 categories, prioritized by impact from critical (component selection, accessibility) to incremental (icons and branding). Each rule includes detailed explanations, real-world examples comparing…
In this repository6 other files it gives its agents.
- .agents/skills/chrome-extension/AGENTS.mdAGENTS.md
- chrome-devtoolsSkill
- chrome-extensionSkill
- chrome-extension-uiSkill
- ui-ux-pro-maxSkill
- web-design-guidelinesSkill
The file
Files
Chrome Extensions
Version 0.1.0
Chrome Extensions Community
January 2026
Note:
This document is mainly for agents and LLMs to follow when maintaining,
generating, or refactoring codebases. Humans may also find it useful,
but guidance here is optimized for automation and consistency by AI-assisted workflows.
Abstract
Comprehensive UX/UI design guide for Chrome Extensions, optimized for Manifest V3. Contains 42 rules across 8 categories, prioritized by impact from critical (component selection, accessibility) to incremental (icons and branding). Each rule includes detailed explanations, real-world examples comparing incorrect vs. correct implementations, and specific impact metrics to guide extension development and code review.
Table of Contents
- Component Selection — CRITICAL
- 1.1 Choose Side Panel for Persistent Tasks — CRITICAL (5-10× longer engagement sessions)
- 1.2 Design for Single Purpose — CRITICAL (required for Chrome Web Store approval)
- 1.3 Provide Descriptive Action Tooltips — CRITICAL (prevents user confusion and misdirected clicks)
- 1.4 Request Minimal Permissions — CRITICAL (40-60% higher install conversion rate)
- 1.5 Use Content Scripts for In-Page UI — CRITICAL (eliminates context switching entirely)
- Accessibility & Navigation — CRITICAL
- 2.1 Avoid Keyboard Focus Traps — CRITICAL (WCAG 2.1.2 - users must be able to exit any UI)
- 2.2 Enable Complete Keyboard Navigation — CRITICAL (required for accessibility compliance)
- 2.3 Ensure Sufficient Color Contrast — CRITICAL (WCAG AA requires 4.5:1 for normal text)
- 2.4 Maintain Visible Focus Indicators — CRITICAL (WCAG 2.4.7 requirement for keyboard users)
- 2.5 Use ARIA Labels for Icon-Only Buttons — CRITICAL (makes UI comprehensible to screen reader users)
- 2.6 Use Semantic HTML Elements — CRITICAL (built-in keyboard and screen reader support)
- Popup Design — HIGH
- 3.1 Design Within Popup Size Limits — HIGH (prevents content clipping and scroll issues)
- 3.2 Handle Popup Auto-Close Gracefully — HIGH (prevents data loss and user frustration)
- 3.3 Keep JavaScript in External Files — HIGH (required by Content Security Policy)
- 3.4 Make the Primary Action Obvious — HIGH (reduces time-to-action by 60-80%)
- 3.5 Render Popup Content Instantly — HIGH (200-500ms perceived as laggy by users)
- 3.6 Use Dynamic Popups for State-Based UI — HIGH (reduces cognitive load by showing relevant UI)
- Side Panel UX — HIGH
- 4.1 Choose Tab-Specific vs Window-Wide Panels — HIGH (determines context relevance and user expectations)
- 4.2 Design for Variable Panel Widths — HIGH (prevents layout breaking when users resize)
- 4.3 Design Non-Distracting Side Panels — HIGH (increases session duration by 3-5×)
- 4.4 Lazy Load Panel Sections — HIGH (50-80% faster initial panel render)
- 4.5 Sync Panel Content with Page Context — HIGH (makes panel feel integrated rather than disconnected)
- Content Script UI — MEDIUM-HIGH
- 5.1 Clean Up Injected Elements on Removal — MEDIUM-HIGH (prevents memory leaks and DOM pollution)
- 5.2 Inject UI After DOM Ready — MEDIUM-HIGH (prevents null reference errors and race conditions)
- 5.3 Use Maximum Z-Index for Overlays — MEDIUM-HIGH (ensures UI visibility on all websites)
- 5.4 Use Shadow DOM for Style Isolation — MEDIUM-HIGH (prevents 100% of CSS conflicts with host pages)
- 5.5 Use Unique IDs to Prevent Conflicts — MEDIUM-HIGH (prevents ID collision with page elements)
- Visual Feedback — MEDIUM
- 6.1 Confirm Successful Actions — MEDIUM (builds user confidence and trust)
- 6.2 Show Loading States for Async Operations — MEDIUM (reduces perceived wait time by 40%)
- 6.3 Show Progress for Long Operations — MEDIUM (reduces abandonment during multi-step processes)
- 6.4 Use Badge for At-a-Glance Status — MEDIUM (communicates state without opening extension)
- 6.5 Use Notifications Sparingly — MEDIUM (prevents notification fatigue and user annoyance)
- 6.6 Write Actionable Error Messages — MEDIUM (60% faster error recovery when users know what to do)
- Options & Settings — MEDIUM
- 7.1 Auto-Save Settings on Change — MEDIUM (eliminates lost settings and save button friction)
- 7.2 Provide Sensible Default Settings — MEDIUM (extension works immediately without configuration)
- 7.3 Sync Settings Across Devices — MEDIUM (seamless experience across user's computers)
- 7.4 Use Embedded Options for Simple Settings — MEDIUM (keeps users in context without tab switching)
- Icons & Branding — LOW-MEDIUM
- 8.1 Create Quality Web Store Assets — LOW-MEDIUM (30-50% higher conversion from store listing)
- 8.2 Design a Distinctive Toolbar Icon — LOW-MEDIUM (improves findability in crowded toolbar)
- 8.3 Keep Badge Text Under 4 Characters — LOW-MEDIUM (ensures text is fully visible on toolbar)
- 8.4 Maintain Consistent Visual Style — LOW-MEDIUM (builds brand recognition and professional appearance)
- 8.5 Provide All Required Icon Sizes — LOW-MEDIUM (ensures crisp display across all contexts)
References
- https://developer.chrome.com/docs/extensions/develop/ui
- https://developer.chrome.com/docs/extensions/mv3/a11y/
- https://developer.chrome.com/docs/webstore/best-practices
- https://developer.chrome.com/docs/extensions/develop/ui/add-popup
- https://developer.chrome.com/docs/extensions/reference/api/sidePanel
- https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts
- https://developer.chrome.com/docs/webstore/branding
- https://www.w3.org/WAI/WCAG21/Understanding/
Source Files
This document was compiled from individual reference files. For detailed editing or extension:
| File | Description |
| references/_sections.md | Category definitions and impact ordering |
| assets/templates/_template.md | Template for creating new rules |
| SKILL.md | Quick reference entry point |
| metadata.json | Version and reference URLs |
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.

