
Asset Canister
This is how you host a frontend on the Internet Computer. It handles static file deployment with certified responses that browsers can verify came from the blockchain, not a centralized server. The real value here is the mistakes section: it walks through the wrong `dir` path that silently breaks deploys, missing SPA rewrites that cause 404s on refresh, and the `ic_env` cookie bug if you pin asset canister Wasm below 0.30.2. Covers `.ic-assets.json5` configuration for routing and caching, automatic gzip and brotli compression, and programmatic uploads via the SDK. Use this when deploying React, Vue, or any static build output to IC.
- skills.sh installs
- 228
- GitHub stars
- 39
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dfinity/icskills --skill asset-canister --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is how you host a frontend on the Internet Computer. It handles static file deployment with certified responses that browsers can verify came from the blockchain, not a centralized server. The real value here is the mistakes section: it walks through the wrong `dir` path that silently breaks deploys, missing SPA rewrites that cause 404s on refresh, and the `ic_env` cookie bug if you pin asset canister Wasm below 0.30.2. Covers `.ic-assets.json5` configuration for routing and caching, automatic gzip and brotli compression, and programmatic uploads via the SDK. Use this when deploying React, Vue, or any static build output to IC.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/dfinity/icskills
- Categories
- Frontend Development, DevOps & CI/CD, Release Management
- First seen
- Jun 3, 2026