forinda/tasky/use-asset-manager
Claude Code and agent skill by forinda/tasky
- community
Checking that the SKILL.md file is still in the repository.
Use when code reads template files / JSON fixtures via fs.readFile + path arithmetic — switch to assets.<ns>.<key>() and the kick.config.ts assetMap.
Install
npx vskill@latest install forinda/tasky/use-asset-managerSKILL.md
The same SKILL.md was published earlier as forinda/tasky/use-asset-manager.
Configure kick.config.ts:
Consume via the typed Proxy — no __dirname arithmetic, dev/prod paths handled:
Class-field decorator (lazy getter, swappable in tests):
Dynamic dispatch (CMS templates, codegen) — resolveAsset(ns, key) throws UnknownAssetError with { namespace, key } fields when the key is missing.
Test fixtures — swap via env override + cache clear:
Red flags:
- Hand-rolled
process.env.NODE_ENV === 'production' ? join(__dirname, '../templates') : join(__dirname, 'templates')— exactly what the asset manager replaces. keys: 'strip'setting inassetMap.<ns>when basenames may collide — silent last-walk-wins data loss. Default'auto'keeps extensions only for colliding groups.- Non-default Vite
outDirwithout mirroring inkick.config.ts— manifest writes atdist/.kickjs-assets.jsonbut the resolver can't find it. Mirror viabuild.outDir. - Forgetting to re-run
kick typegenafter adding files —assets.mails.newTemplateis a tsc error even though the file ships.kick devdoes this on-change; one-shot CI builds needkick build(orkick build:assetsfor manifest-only). - Same-name
welcome.ejs+welcome/login.ejs— directory wins in the typed surface; the.ejsfile still copies but isn't addressable.
Nuances:
- Resolution pipeline (cached):
KICK_ASSETS_ROOTenv override > built manifest atbuild.outDir/dist/build/out> dev-fallback in-memory walk. Manifest presence = "running from built dist." - Dev-mode glob matcher is a lite implementation —
**/*,**/*.ext,**/*.{a,b}are guaranteed; exotic globs warn-once and accept everything. Runkick build:assetsto exercise the real glob engine.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingserver/.agents/skills/use-asset-manager/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/forinda/tasky/use-asset-manager)