Fundus
Use Fundus to import, replace, reimport, organize, process, validate, preload, and render production assets in Svelte 5 mobile app projects that already declare Fundus, contain fundus.config.ts, or are explicitly adopting Fundus. Use for Fundus setup, asset libraries, local files, Figma selection sources, images, slices, video, chroma-key video, audio, manifests, generated modules, the Fundus CLI or editor, runtime components, delivery budgets, and preload lifecycles.From its SKILL.md
npx -y skills add grischaerbe/fundus-skill --skill fundusAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.2 KB, 998 tokens by cl100k_base, as published. Nobody here has run it
Fundus
Manage a Svelte mobile app's production assets through Fundus while preserving its deterministic, typed asset pipeline.
Start from project state
Run Fundus commands from the host project root, next to fundus.config.ts.
- Detect the host package manager from its lockfile. Confirm Node.js 20.19 or newer, Svelte 5, and a runtime dependency on
fundusbefore executing the CLI. - If Fundus is missing and the user explicitly requested setup, install it with the host package manager, for example
npm install fundus. Do not rely on an executor downloading Fundus temporarily. - Use the package manager's local-only runner for every command. With npm, use
npm exec --no -- fundus;--noprevents a missing local package from falling back to a registry download. - Inspect
fundus.config.tsbefore running it because it is executable TypeScript. - If the config exists, inspect project state with
npm exec --no -- fundus state --json. For a large library, capture the JSON in a temporary file outside the repository and usejqto read only the assets or manifests relevant to the task. - If the config does not exist and setup was requested, run
npm exec --no -- fundus init --jsononce after installation. - Read focused command help before using unfamiliar flags, for example
npm exec --no -- fundus asset ingest --help.
Use JSON output for agent-driven work. Treat the installed CLI's help and JSON responses as the authoritative contract.
Preserve the asset pipeline
- Treat raw originals, the Fundus library, and
fundus.config.tsas inputs. - Never hand-edit processed proxies or generated manifest modules. Change their inputs and regenerate them.
- Prefer stable asset IDs. Refresh an existing repeatable source with
asset reimport. Useasset replaceto keep identity and metadata while establishing a new authoritative source: a local file disconnects provenance, while--from figmastores a new repeatable Figma source. - Use Fundus CLI mutations instead of editing the library JSON directly. Mutations validate, persist, process affected assets, and regenerate manifests as one operation.
- Inspect Fundus references and search host source before renaming or deleting an asset or manifest. Update generated-module imports, manifest export names, and typed asset-property usages in the same task.
- Do not perform destructive asset, folder, or manifest deletion unless the user requested it.
- Run
npm exec --no -- fundus check --jsonafter changes. Runnpm exec --no -- fundus build --jsonfirst when files, configuration, or generated output may be stale. - Report warnings and validation issues. Do not leave known host import or type errors for the user to repair manually.
Design for mobile delivery
- Treat manifests as delivery units and preload groups, not merely folders.
- Group assets by the screen, route, overlay, or interaction flow that needs them. Avoid one catch-all manifest when it inflates startup cost.
- Record manifest membership and
deliveredBytesbefore and after delivery changes withnpm exec --no -- fundus manifest list --json; report the byte delta. - Account for passive members pulled into a manifest through asset references.
- Give each preloaded manifest one lifecycle owner. Multiple
preload()calls on the same generated manifest do not create independent holds, so never let repeated component instances each callrelease()independently. - Preload shortly before a screen or flow becomes interactive, handle rejection explicitly, and release only after the final consumer is gone.
- Prefer
Slicefor stretchable mobile UI surfaces instead of shipping multiple fixed-size variants. - Keep original source quality in raw assets and tune delivered proxies through Fundus parameters and presets.
Read references/mobile-workflows.md when planning manifest boundaries, runtime loading, rendering, or mobile asset budgets.
Operate through the CLI
Use the visual editor for authoring that benefits from direct preview, such as slice insets, chroma-key tuning, or browsing a large library. Use the CLI for repeatable agent work, batch inspection, CI, and precise mutations.
Read references/cli.md before ingesting, mutating, organizing, or validating assets.
Finish the task
- Run
npm exec --no -- fundus check --json. - Run the host project's relevant typecheck, tests, or build when generated imports or runtime rendering changed.
- Run
git status --short --untracked-files=allbefore reviewing the diff so new raw assets and generated files are included. Review the library, proxies, and generated modules as well as tracked changes. - Summarize changed asset IDs, manifest membership, delivered-size impact, warnings, and checks run.
What ships with it: 3 files
12.5 KB alongside SKILL.md
agents/
- openai.yaml230 B
references/
- cli.md8.5 KB
- mobile-workflows.md3.8 KB