frontend-polish
Skill1 starsChanged 42 days agoMITView on GitHub
Polish an existing Orbit screen or component for visual consistency, responsiveness, accessibility, and interaction quality. Use for /frontend-polish and for requests to improve the UI/UX or feel of an existing interface.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- MaxMiksa/Autonomous-Companytheir own version, first seen Oct 15, 2026
- MaxMiksa/Auto-Companytheir own version, first seen Oct 2, 2026
- matyasstoch/david-skillstheir own version, first seen Jun 15, 2026
- davidme6/frontend-polish-skilltheir own version, first seen Jun 2, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- MaxMiksa/Auto-Company★ 3.2ksame name
- MaxMiksa/Autonomous-Company★ 3.2ksame name
- matyasstoch/david-skills★ 59same name
- davidme6/frontend-polish-skill★ 1same name
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 repository10 other files it gives its agents.
- cleanupSkill
- commitSkill
- create-prSkill
- deps-updateSkill
- document-featureSkill
- extend-orbitSkill
- fix-ciSkill
- fix-reviewSkill
- responsive-checkSkill
- reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. 0 are common, 11 are distinctive, and 16 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Keep the product's current style, features, and data semantics.
- Distinctive: line 14
Do not change controllers, routes, Inertia prop shapes, the database, business rules, Policies, or permissions.
- Very specific: line 15
Do not add dependencies, a new component library, or a new icon set without a separate request.
- Distinctive: line 16
Do not implement actions the backend does not support.
- Very specific: line 17
Do not create commits, PRs, or publish anything unless the user already asked for it.
- Very specific: line 22
Read CLAUDE.md, check the Git state, and identify the target page (resources/js/Pages/) or component …
- Very specific: line 24
If you have access to the running app (composer dev on :8000 or make up) and browser tools, look at the screen before changing it.
- Distinctive: line 27
Verify the result visually and functionally if tools allow.
- Distinctive: line 31
Check only what applies to the target interface.
- Very specific: line 35
Keep the product's spacing rhythm, type hierarchy, colors, icon sizes, and button patterns.
- Very specific: line 37
Check both themes: Orbit supports dark and light via data-theme (ThemeContext) and the user-selectable accent (AccentContext).
- Distinctive: line 38
Do not add decorations, gradients, or animations purely for effect.
- Very specific: line 42
Check loading, empty, error, success, and disabled states using existing signals (Inertia processing, errors, AlertContext).
- Very specific: line 44
Keep entered data after an error (Inertia useForm keeps it by default — do not reset it).
- Distinctive: line 46
Do not introduce optimistic updates without a supported error path and state rollback.
- Distinctive: line 50
Check hover, focus-visible, active, and disabled.
- Very specific: line 51
Use semantic elements, accessible names, form labels (FormField), and correct error associations (aria-describedby, aria-invalid).
- Very specific: line 52
Keep a logical Tab order and keyboard support.
- Very specific: line 53
Never remove a visible focus indicator.
- Distinctive: line 54
Check contrast in both themes and comfortable click/touch targets.
- Very specific: line 59
Check narrow and wide viewports and text zoom.
- Very specific: line 60
Check overflow, long project/issue/label names, many items (boards, tables, member lists), and that important actions are reachable without …
- Very specific: line 61
Avoid extra network requests (e.g.
- Distinctive: line 65
Check the main user path, keyboard use, relevant states, both themes, and screen sizes.
- Very specific: line 67
Run npx tsc --noEmit, npm run lint, and the relevant Vitest tests (npx vitest run <path>), or make type-check, make lint, make test-js in …
- Very specific: line 68
Add or update a colocated *.test.tsx (Testing Library) only for a meaningful interaction change.
- Distinctive: line 69
If no browser is available or the app does not run, do the code-level verification you can and clearly state that visual verification was …
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Polish
Refine the specified Orbit interface (Inertia.js + React/TypeScript + Tailwind) within the existing design system. Make changes that help users complete their current tasks more easily.
Boundaries
- Keep the product's current style, features, and data semantics. Do not redesign the whole application.
- Edit the specified page or component and the frontend pieces it strictly needs. Do not expand the scope to other modules.
- Do not change controllers, routes, Inertia prop shapes, the database, business rules, Policies, or permissions. Work with the props and contracts that already exist.
- Do not add dependencies, a new component library, or a new icon set without a separate request. Icons come from
lucide-reactviaComponents/Atoms/Icon; overlays use the existingModal/useFloatingDropdownpatterns and@headlessui/reactalready in the project. - Do not implement actions the backend does not support. Never show fake success or fake progress.
- Do not create commits, PRs, or publish anything unless the user already asked for it. When they do, use the
commitandcreate-prskills. - Preserve the user's existing changes and follow
CLAUDE.md.
Process
- Read
CLAUDE.md, check the Git state, and identify the target page (resources/js/Pages/**) or component (resources/js/Components/{Atoms,Molecules,Organisms}/**). If no target is given, use the unambiguous context of the current task; otherwise ask for one. - Review the components, styles, CSS variables in
resources/css/global.css, existing states, and similar screens. Check where a shared component is used (rg "<ComponentName") so a change does not break other views. - If you have access to the running app (
composer devon :8000 ormake up) and browser tools, look at the screen before changing it. Record a baseline and try the main interaction. Never claim a visual audit based on code alone. - Pick concrete problems in scope: usability obstacles, accessibility, and inconsistent states first, visual details second. Briefly describe the planned fixes, then implement them within the request.
- Make small changes using existing components,
cvavariants,cn()from@/utils/cn, and CSS variables. Avoid editingglobal.csswhen the fix can be scoped to the view. - Verify the result visually and functionally if tools allow. Review the diff and run the relevant project checks.
Areas to check
Check only what applies to the target interface.
Visual consistency
- Keep the product's spacing rhythm, type hierarchy, colors, icon sizes, and button patterns. Prefer existing Atoms (
Button,IconButton,Badge,Input, …) over ad-hoc markup. - Fix alignment, label readability, and long-content behavior. Provide access to the full text when it is truncated (e.g.
titleor a tooltip pattern already used in the project). - Check both themes: Orbit supports dark and light via
data-theme(ThemeContext) and the user-selectable accent (AccentContext). Use the CSS variables (bg-[var(--bg-color)],text-[var(--text-gray-color)],border-[var(--border-color)],var(--accent-color), …) instead of hardcoded colors. - Do not add decorations, gradients, or animations purely for effect.
States and messages
- Check loading, empty, error, success, and disabled states using existing signals (Inertia
processing,errors,AlertContext). - Fit the empty state to the situation: "no data yet" and "no results for these filters" must be distinguishable. Reuse
EmptyStateCardwhere it fits. - Keep entered data after an error (Inertia
useFormkeeps it by default — do not reset it). Show the cause and an available next action when the contract allows it. - Limit layout shift while loading. Prevent double submission of an in-flight action (e.g. disable on
processing). - Do not introduce optimistic updates without a supported error path and state rollback. Remember mutations redirect back and Inertia re-renders with fresh props.
Interactions and accessibility
- Check hover, focus-visible, active, and disabled. Never convey information only through color or hover.
- Use semantic elements, accessible names, form labels (
FormField), and correct error associations (aria-describedby,aria-invalid). - Keep a logical Tab order and keyboard support. For dialogs, check focus entry, focus trapping, Escape, and focus return to the trigger, following the existing
Modal/ModalContextpattern. - Never remove a visible focus indicator. Avoid conflicts with the global shortcuts registered through
ShortcutContext(seeShortcutHelpModalfor the current list). - Check contrast in both themes and comfortable click/touch targets.
- Respect
prefers-reduced-motion(Tailwindmotion-reduce:). Keep animations short and never delay the action.
Responsiveness and performance
- Check narrow and wide viewports and text zoom. For a full breakpoint matrix (360 to 1440, zoom, touch), use the
responsive-checkskill. Match breakpoints to the layout's existing Tailwind breakpoints andSidebarbehavior. - Check overflow, long project/issue/label names, many items (boards, tables, member lists), and that important actions are reachable without hover.
- Avoid extra network requests (e.g. unnecessary
router.reload), expensive effects, and unjustified memoization. Base optimization on a concrete problem.
Verification
- Check the main user path, keyboard use, relevant states, both themes, and screen sizes.
- Review the other usages of a shared component if the fix can affect them.
- Run
npx tsc --noEmit,npm run lint, and the relevant Vitest tests (npx vitest run <path>), ormake type-check,make lint,make test-jsin Docker. Keep the frontend coverage gate invite.config.jsin mind. - Add or update a colocated
*.test.tsx(Testing Library) only for a meaningful interaction change; do not write tests that copy CSS values. - If no browser is available or the app does not run, do the code-level verification you can and clearly state that visual verification was not done. Never claim the screen looks correct.
Final report
List the most important fixes and how they affect using the screen, the changed files, the checks you ran, and limitations. Include a before/after comparison only if you actually captured one. Report problems that need backend work or a larger design effort separately.
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.

