simpmusic-icons
Skill by maxrave-dev
Explains how to add or change icons in the SimpMusic project. Icons are generated Material Symbols ImageVectors addressed as SimpIcons.<Name>, with no icon library dependency. Written for developers working on the SimpMusic codebase.
Install simpmusic-icons
Built from the published package, never by AI.
git clone --depth 1 https://github.com/maxrave-dev/SimpMusic /tmp/SimpMusic && mkdir -p ~/.claude/skills && cp -r /tmp/SimpMusic/.claude/skills/simpmusic-icons ~/.claude/skills/simpmusic-iconsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/maxrave-dev/SimpMusic /tmp/SimpMusic && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/SimpMusic/.claude/skills/simpmusic-icons ~/.gemini/antigravity-cli/skills/simpmusic-iconsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a contributor guide for adding or changing icons in the SimpMusic project. Each icon lives in its own file under ui/icon as a generated Material Symbols ImageVector, declared as SimpIcons.<Name>. It gives the Google Fonts download command, the axis values to keep the set consistent, and the edits to make to the downloaded file. The project does not use the material-icons dependency or XML icon drawables.
It also covers the traps: each icon needs its own import, ImageVector is not a Painter, and icons whose colour carries meaning stay as resources. Glyphs that spill past Material's 20x20 live area are fitted by a buildSimpIcon() step, and a small round button can cut a glyph that fills the square. The guide is for developers working on the SimpMusic codebase who are adding, replacing or fixing an icon.
Written from the project's SKILL.md and checked against it.
What it can do
- Add a new iconDownload a Material Symbols Compose file from Google's font service with fixed axis values.
- Rename for the projectChange the package, declare SimpIcons.<Name>, and rename the backing field to match.
- Off-state iconsUse FILL=0 only for the off half of a state pair, such as FavoriteBorder.
- Fit glyphs to live areabuildSimpIcon() shrinks glyphs that pass the centred 20x20 square so sizes read consistently.
- Use icons in ComposeImport each icon separately and pass SimpIcons.<Name> to Icon or the project's icon buttons.
- Convert to PainterUse rememberVectorPainter(SimpIcons.X) where AsyncImage or DrawScope needs a Painter.
What you need
- SimpMusic repository checkout
- curl to download the icon file
Try asking
- Add a Material Symbols icon named Lyrics to SimpMusic using the icon steps.
- Replace a Res.drawable icon in this SimpMusic screen with a SimpIcons icon.
- Why does my SimpIcons ImageVector cause a Painter type error in AsyncImage?
Good to know
- Icons whose colour carries meaning stay as XML or PNG resources.
- Do not add autoMirror = true to icon builders.
- SimpIconsFitTest fails if a file ends with .build() instead of buildSimpIcon().
- Icons in one row should share one size unless a deliberate hierarchy is intended.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/simpmusic-icons/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to simpmusic-icons
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
simpmusic-icons: common questions
Why does SimpMusic avoid the material-icons dependency?
The source says the material-icons dependency and XML icon drawables are deliberately absent and must not return. It does not give a reason.
Why does my icon fail with an ImageVector or Painter error?
ImageVector is not a Painter. Icon and Image accept both, but AsyncImage placeholder and error, DrawScope drawing and Painter parameters need rememberVectorPainter(SimpIcons.X).
Which SimpMusic icons keep their original colours?
The downloaded and favorite icons, the logos and the app bitmaps stay as resources because their colour carries meaning. A shared symbol can take an explicit iconColor instead.
How do I install simpmusic-icons?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is simpmusic-icons free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is simpmusic-icons safe to use?
It scores 89 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to simpmusic-icons?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
