/icon-maker:create-iconsfrom icon-maker
Resolve icon target constraints and brand evidence, obtain separate direction and artwork approvals, then compile and verify approved SVG/PNG sources for Apple/Xcode, native Android, Expo, browser-extension, PWA, VS Code, Electron, or MCP connector delivery with icon-maker.
Ships in icon-maker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
icon-maker compiles one approved local design source into deterministic
platform icon sets. Image generation is an optional upstream provider step,
not a capability of the offline compiler.
needs-direction or needs-direction-approval to an
image model. imageGenerationAllowed must be true, and only the non-null
imagePrompt field may be used.--placeholder only when the user explicitly requests temporary,
deterministic artwork.Run the source request first when no approved source is already known:
node /path/to/icon-maker/bin/icon-maker.js <repo> --brief --target auto --json
After npm release:
npx iconkit <repo> --brief --target auto --json
Read the JSON form. --brief resolves technicalConstraints, performs a
bounded local brandContext scan, and checks for a configured approved
source. Every response uses schemaVersion: 2; requestType is one of
direction-discovery, direction-review, image-generation, or compile.
A known approved project-local SVG/PNG returns compile and always skips
image generation.
Follow workflow.state exactly:
ready-to-compile / compile: use the reported source and continue to
preview.needs-direction / direction-discovery: concept or mood is missing and
imageGenerationAllowed is false. Review any brand evidence and ask for
the missing intent. If the user is unsure, present exactly the three
text-only hypotheses defined above and wait.needs-direction-approval / direction-review: concept and mood are
complete, but unapproved. Present the direction, explain its expression
and tradeoff, and wait.ready-for-image-generation / image-generation: proceed only when
nextAction is generate-image and imageGenerationAllowed is true.Round-trip a selected hypothesis without shortening it. Use
--direction-name, --concept, --expresses, --visual-metaphor, --mood,
and --tradeoff; add --palette and --avoid when present. Partial input is
preserved in the returned direction, so carry every returned field into
the next invocation or persist it in config. First run the complete payload
without approval to obtain direction-review. After explicit approval,
rerun the identical payload with --approve-direction:
node /path/to/icon-maker/bin/icon-maker.js <repo> --brief \
--target apple,pwa \
--direction-name "Focused signal" \
--concept "clarity emerging from noisy inputs" \
--expresses "calm confidence" \
--visual-metaphor "one bright signal aligned through a field" \
--mood "precise,quiet" \
--tradeoff "abstract rather than literal" \
--palette "#0f172a,#14b8a6" \
--avoid "letters,platform logos" \
--approve-direction --json
The config equivalent is a complete, user-approved direction followed by a
new --brief run:
design: {
name: 'Focused signal',
concept: 'clarity emerging from noisy inputs',
expresses: 'calm confidence',
metaphor: 'one bright signal aligned through a field',
mood: ['precise', 'quiet'],
tradeoff: 'abstract rather than literal',
palette: ['#0f172a', '#14b8a6'],
avoid: ['letters', 'platform logos'],
approved: true,
}
Only these explicit CLI or config approval paths may produce
ready-for-image-generation / generate-image.
Generate and review a candidate only from the approved image-generation
brief. Pass its imagePrompt and sourceContract to an available image provider,
show the result, and stop for artwork approval. For Expo or native Android,
acquire the separate transparent adaptive foreground required by
sourceContract.variants. Treat Android round/monochrome and PWA
maskable/monochrome as optional, separately approved artwork roles; never
relabel the default image to satisfy a technical purpose.
Materialize approved artwork inside the target checkout. Prefer the
provider's local output path. Use --source for a one-off handoff, or run
--init and set mark.source when the path should persist. Set
mark.source.adaptiveForeground for Expo/Android when needed. Use
mark.source.maskable, round, or monochrome only for separately approved
role files. mark.background controls Apple flattening for transparent input.
Compile a preview, then patch separately:
node /path/to/icon-maker/bin/icon-maker.js <repo> --source ./brand/icon.png --target auto --preview --json
node /path/to/icon-maker/bin/icon-maker.js <repo> --source ./brand/icon.png --adaptive-source ./brand/icon-adaptive.png --target expo --preview --json
node /path/to/icon-maker/bin/icon-maker.js <repo> --source ./brand/icon.png --adaptive-source ./brand/icon-adaptive.png --target android --preview --json
node /path/to/icon-maker/bin/icon-maker.js <repo> --source ./brand/icon.png --maskable-source ./brand/icon-maskable.png --target pwa --preview --json
node /path/to/icon-maker/bin/icon-maker.js <repo> --source ./brand/icon.png --target browser-extension --patch --json
After npm release, replace the executable with npx iconkit. Use
--dry-run --json to inspect output paths without writing. Review
icon-preview.html before running the separate --patch command.
Verify the JSON result, including produced[] and warnings[], then run
the read-only checker against persistent config:
node /path/to/icon-maker/bin/icon-maker.js <repo> --target auto --check --strict --json
If --patch was used, inspect the relevant manifest.json, app.json,
AndroidManifest.xml, package.json, or resolved PWA .webmanifest/JSON.
--check validates generated artifacts and supported project wiring; it does
not approve artwork or replace platform build/store review.
apple detects the selected App Icon name from Xcode. Configure
apple.assetCatalog or apple.appIconSet when legacy routing is ambiguous;
existing sets that reference unmanaged files are not replaced. An existing
approved .icon uses apple.deliveryMode: 'icon-composer' and is verified as
a pass-through artifact rather than synthesized.android emits density-specific legacy/round/adaptive resources and v26/v33
XML, then conservatively patches launcher attributes when requested.expo requires a distinct transparent adaptive foreground when the default
artwork has an opaque background.electron emits PNG, ICO, and ICNS and wires supported electron-builder or
static Forge config; pwa resolves public/www manifests and emits optional
role assets only from distinct approved sources.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (heznpc/icon-maker) — no native marketplace selected
npx claudepluginhub p/heznpc-icon-maker