icons
Skill117 starsChanged 10 days agoMITView on GitHub
Conventions for picking, sizing, and bundling Fluent icons. USE WHEN: adding or changing an icon in a `*.tsx` file, or picking an icon name.
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
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
- Distinctive: line 8
When looking for icon names,
- Very specific: line 19
After choosing an icon through an alternate method, verify that its exact export name exists in the installed @fluentui/react-icons package.
- Very specific: line 21
Prefer using the unsized icons without the number suffix, e.g.
- Very specific: line 23
When adding icons to Fluent components, use the bundleIcon utility from @fluentui/react-icons to combine filled and regular icons.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Icon Usage
When looking for icon names,
- Prefer searching the installed
@fluentui/react-iconsexports so the names match the version the app actually uses. Run this from this app's directory, replacing the search expression with the concept you need:
node -e "const icons = require('@fluentui/react-icons'); console.log(Object.keys(icons).filter(name => /document.*add/i.test(name) && !/\d/.test(name) && /(?:Regular|Filled)$/.test(name)).join('\n'));"The example searches document-add icons, excludes numbered-size exports, and keeps filled/regular styles.
- As an alternate, search the icon repo names for discovery or visual previews:
https://github.com/microsoft/fluentui-system-icons/blob/main/icons_regular.mdorhttps://github.com/microsoft/fluentui-system-icons/blob/main/icons_filled.md. - After choosing an icon through an alternate method, verify that its exact export name exists in the installed
@fluentui/react-iconspackage; the online catalog may include icons from newer versions.
Prefer using the unsized icons without the number suffix, e.g. TextBulletListTreeFilled instead of TextBulletListTree20Filled. This allows the icon to scale dynamically within buttons and other components.
When adding icons to Fluent components, use the bundleIcon utility from @fluentui/react-icons to combine filled and regular icons. For example:
const TraceIcon = bundleIcon(TextBulletListTreeFilled, TextBulletListTreeRegular);
<Button icon={<TraceIcon />} />;Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- JetBrains/intellij-community★ 21ksame name
- DetachHead/rebased★ 6.3ksame name
- laguagu/claude-code-nextjs-skills★ 71same name
- dkadts/landing-kit-building★ 2same name
- DegreeSign/skills★ 1same name
- alexjmiller5/agent-config-public★ 0same name
- AsimSayed/claude-skills★ 0same 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- hub/AGENTS.mdAGENTS.md
- starters/coreai/AGENTS.mdAGENTS.md
- starters/minimal/AGENTS.mdAGENTS.md
- replica-pick-and-polishSkill
- replica-publish-prototypeSkill
- review-hub-feedbackSkill
- code-reviewSkill
- write-testsSkill
- coreai-ds-fluentui-reactSkill
- css-stylingSkill
- features-variantsSkill
- interpreting-htmlSkill
- lintSkill
- new-variantSkill
- react-componentsSkill
- routingSkill
- start-appSkill
- state-managementSkill
- context-templatesSkill
- accessibility-auditSkill
- add-seed-dataSkill
- agent-browserSkill
- browser-canvas-validationSkill
- component-design-system-reviewSkill
- create-prototypeSkill
- developer-handoffSkill
- prepare-feedback-proposalsSkill
- product-designSkill
- prototype-controlsSkill
- responsive-auditSkill
- review-hub-feedbackSkill
- setup-skillsSkill
- visual-design-reviewSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

