[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMSBP1DZZ85CBA1A9RRNFZ":3,"skill-same:01M7EMSBP1DZZ85CBA1A9RRNFZ":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EMSBP1DZZ85CBA1A9RRNFZ","deno-pro",null,"Deno runtime guidance — TypeScript-first development, permissions, standard library, and deploying Deno apps.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-deno-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deno-pro\ndescription: Deno runtime guidance — TypeScript-first development, permissions, standard library, and deploying Deno apps.\ncategory: development\n---\n\n## Overview\n\nDeno is a secure-by-default JavaScript\u002FTypeScript runtime built by the creator of Node.js, designed to fix Node's historical pain points: it ships TypeScript support, a built-in toolchain (formatter, linter, test runner), and URL-based imports instead of a package manager by default. Its permission model — no file, network, or environment access unless explicitly granted — makes it a strong choice for running untrusted or third-party code. This skill covers practical Deno development, dependency management, and deployment.\n\n## When to use\n\n- Starting a new TypeScript backend, API, or edge function where you want zero toolchain config.\n- Running third-party or generated code and needing sandbox-style permissions.\n- Choosing between Deno, Node, and Bun for a project.\n- Publishing a library for the Deno ecosystem (JSR) or cross-runtime code.\n- Deploying to Deno Deploy or containerizing a Deno service.\n- Building CLIs or scripts where a single binary with no install step is valuable.\n- Evaluating supply-chain security for JavaScript dependencies.\n\n## Core concepts\n\n- **Secure by default.** Scripts run with no permissions. Grant explicitly with flags (`--allow-net`, `--allow-read`, `--allow-env=KEY`) or prompt the user. Prefer the narrowest scope: `--allow-net=api.example.com` beats blanket `--allow-net`.\n- **TypeScript first-class.** No build step: Deno type-checks and runs `.ts` directly. Note that type checking is skipped with `--no-check` for speed — use it in dev, keep checks in CI.\n- **URL and JSR imports.** Dependencies come from URLs or the JSR registry (`jsr:@std\u002Fhttp\u002Ffile-server`). Pin versions in an import map (`deno.json` `imports`) so builds are reproducible and reviewable.\n- **Built-in toolchain.** `deno fmt`, `deno lint`, and `deno test` replace Prettier\u002FESLint\u002FJest for most projects. Use them; the zero-config defaults are deliberately opinionated.\n- **Standard library (`@std`).** JSR's `@std\u002F*` packages (http, cli, testing, uuid, datetime) are the blessed equivalents of npm staples — prefer them over random URL imports.\n- **Node compatibility.** Deno supports `node:` specifiers and a growing share of npm packages via `npm:` imports and `package.json` interop. It is good but not perfect — test npm deps, especially native ones, before committing.\n- **Fresh and islands architecture.** For server-rendered web apps, the Fresh framework ships zero JS to the client by default, hydrating only interactive \"islands\" — a good fit for content-heavy sites.\n- **Deno KV.** Built-in key-value store (backed by SQLite locally) for sessions, caches, and queues without provisioning a database — ideal for small services and edge deployments.\n- **Permissions as documentation.** The flags a program needs are a readable manifest of what it touches — review them in code review like you would dependency changes.\n- **Single-binary compile.** `deno compile` bundles your app into a standalone executable with no runtime install — excellent for CLIs and simple distributions.\n\n## Practical workflow\n\n1. **Install and pin the version.** Use the official installer and record the version in CI:\n   ```bash\n   deno --version\n   ```\n   - Pin the exact version in CI config so builds don't drift with new releases.\n2. **Initialize the project.** Create `deno.json` with tasks and an import map:\n   ```json\n   {\n     \"tasks\": { \"dev\": \"deno run --watch --allow-net main.ts\", \"test\": \"deno test --allow-all\" },\n     \"imports\": { \"@std\u002Fhttp\": \"jsr:@std\u002Fhttp@1\" }\n   }\n   ```\n   - Keep tasks as the canonical way to run things; document any required env vars alongside.\n3. **Write with explicit imports.** Use `jsr:`\u002F`npm:`\u002F`node:` specifiers; avoid bare URLs scattered through code — centralize them in the import map.\n4. **Develop with permissions in mind.** Run with the minimum flags your app needs; when a new permission prompt appears in dev, decide deliberately before adding the flag to the task definition.\n   - Start restrictive and widen only with justification; record why each permission exists.\n5. **Test and lint.** `deno test` with `@std\u002Ftesting` assertions and `deno lint && deno fmt --check` in CI catch most issues.\n   - Use `deno test --coverage` and enforce a coverage floor on critical modules.\n6. **Benchmark hot paths.** `deno bench` for micro-benchmarks of parsing, serialization, or crypto code before optimizing blindly.\n7. **Compile for distribution.** `deno compile --allow-net --output myapp main.ts` produces a single binary for CLIs or simple deploys.\n8. **Deploy.** For containers, use the official minimal image and a multi-stage build; for Deno Deploy, push from git. Cache dependencies at build time (`deno cache main.ts`) so cold starts stay fast.\n   - Bake the permission flags into the container CMD so production can't accidentally run with wider access.\n\n   - When a permission error appears, run with `--allow-all` temporarily to identify what's needed, then narrow it back down — never ship the broad flags.\n\n   ```bash\n   # find which permissions a script actually needs\n   deno run --allow-all main.ts   # works? now bisect:\n   deno run --allow-net --allow-read main.ts\n   ```\n\n## Common pitfalls\n\n- **Granting `--allow-all`** in production because a permission prompt was annoying — defeats the security model; scope flags per environment.\n- **Unpinned URL imports** (`https:\u002F\u002Fdeno.land\u002Fx\u002F...\u002Fmod.ts`) that silently upgrade and break builds — always pin with an import map and lockfile (`deno.lock`).\n- **Assuming npm parity** — native modules and deep `node_modules` hacks often fail; verify each npm dependency under Deno before relying on it.\n- **Skipping type checks** with `--no-check` everywhere — fast in dev, but CI must run `deno check` or type errors ship.\n- **Using unstable APIs** without the `--unstable` flag pinned and documented — they can change between releases.\n- **Forgetting the lockfile** in CI — `deno.lock` is your reproducibility guarantee; commit it.\n- **Treating `deno.json` tasks as a full build system** — for complex pipelines (codegen, multi-service), pair with a real task runner.\n- **Permissions drift** — flags accreting over time until the app effectively has `--allow-all`; audit the task definitions periodically.\n- **No graceful shutdown** — Deno handles SIGTERM, but long-lived connections still need explicit draining in server code.\n- **Developing against latest, deploying pinned old** — version skew between dev and prod causing \"works on my machine\"; pin everywhere.\n- **Vendoring ignored** — remote-only dependencies breaking air-gapped or flaky-network deploys; `deno vendor` for critical services.\n- **Fresh as a SPA** — skipping islands architecture and shipping a JS bundle for static content; Fresh's zero-JS default is the point.\n","## Overview\n\nDeno is a secure-by-default JavaScript\u002FTypeScript runtime built by the creator of Node.js, designed to fix Node's historical pain points: it ships TypeScript support, a built-in toolchain (formatter, linter, test runner), and URL-based imports instead of a package manager by default. Its permission model — no file, network, or environment access unless explicitly granted — makes it a strong choice for running untrusted or third-party code. This skill covers practical Deno development, dependency management, and deployment.\n\n## When to use\n\n- Starting a new TypeScript backend, API, or edge function where you want zero toolchain config.\n- Running third-party or generated code and needing sandbox-style permissions.\n- Choosing between Deno, Node, and Bun for a project.\n- Publishing a library for the Deno ecosystem (JSR) or cross-runtime code.\n- Deploying to Deno Deploy or containerizing a Deno service.\n- Building CLIs or scripts where a single binary with no install step is valuable.\n- Evaluating supply-chain security for JavaScript dependencies.\n\n## Core concepts\n\n- **Secure by default.** Scripts run with no permissions. Grant explicitly with flags (`--allow-net`, `--allow-read`, `--allow-env=KEY`) or prompt the user. Prefer the narrowest scope: `--allow-net=api.example.com` beats blanket `--allow-net`.\n- **TypeScript first-class.** No build step: Deno type-checks and runs `.ts` directly. Note that type checking is skipped with `--no-check` for speed — use it in dev, keep checks in CI.\n- **URL and JSR imports.** Dependencies come from URLs or the JSR registry (`jsr:@std\u002Fhttp\u002Ffile-server`). Pin versions in an import map (`deno.json` `imports`) so builds are reproducible and reviewable.\n- **Built-in toolchain.** `deno fmt`, `deno lint`, and `deno test` replace Prettier\u002FESLint\u002FJest for most projects. Use them; the zero-config defaults are deliberately opinionated.\n- **Standard library (`@std`).** JSR's `@std\u002F*` packages (http, cli, testing, uuid, datetime) are the blessed equivalents of npm staples — prefer them over random URL imports.\n- **Node compatibility.** Deno supports `node:` specifiers and a growing share of npm packages via `npm:` imports and `package.json` interop. It is good but not perfect — test npm deps, especially native ones, before committing.\n- **Fresh and islands architecture.** For server-rendered web apps, the Fresh framework ships zero JS to the client by default, hydrating only interactive \"islands\" — a good fit for content-heavy sites.\n- **Deno KV.** Built-in key-value store (backed by SQLite locally) for sessions, caches, and queues without provisioning a database — ideal for small services and edge deployments.\n- **Permissions as documentation.** The flags a program needs are a readable manifest of what it touches — review them in code review like you would dependency changes.\n- **Single-binary compile.** `deno compile` bundles your app into a standalone executable with no runtime install — excellent for CLIs and simple distributions.\n\n## Practical workflow\n\n1. **Install and pin the version.** Use the official installer and record the version in CI:\n   ```bash\n   deno --version\n   ```\n   - Pin the exact version in CI config so builds don't drift with new releases.\n2. **Initialize the project.** Create `deno.json` with tasks and an import map:\n   ```json\n   {\n     \"tasks\": { \"dev\": \"deno run --watch --allow-net main.ts\", \"test\": \"deno test --allow-all\" },\n     \"imports\": { \"@std\u002Fhttp\": \"jsr:@std\u002Fhttp@1\" }\n   }\n   ```\n   - Keep tasks as the canonical way to run things; document any required env vars alongside.\n3. **Write with explicit imports.** Use `jsr:`\u002F`npm:`\u002F`node:` specifiers; avoid bare URLs scattered through code — centralize them in the import map.\n4. **Develop with permissions in mind.** Run with the minimum flags your app needs; when a new permission prompt appears in dev, decide deliberately before adding the flag to the task definition.\n   - Start restrictive and widen only with justification; record why each permission exists.\n5. **Test and lint.** `deno test` with `@std\u002Ftesting` assertions and `deno lint && deno fmt --check` in CI catch most issues.\n   - Use `deno test --coverage` and enforce a coverage floor on critical modules.\n6. **Benchmark hot paths.** `deno bench` for micro-benchmarks of parsing, serialization, or crypto code before optimizing blindly.\n7. **Compile for distribution.** `deno compile --allow-net --output myapp main.ts` produces a single binary for CLIs or simple deploys.\n8. **Deploy.** For containers, use the official minimal image and a multi-stage build; for Deno Deploy, push from git. Cache dependencies at build time (`deno cache main.ts`) so cold starts stay fast.\n   - Bake the permission flags into the container CMD so production can't accidentally run with wider access.\n\n   - When a permission error appears, run with `--allow-all` temporarily to identify what's needed, then narrow it back down — never ship the broad flags.\n\n   ```bash\n   # find which permissions a script actually needs\n   deno run --allow-all main.ts   # works? now bisect:\n   deno run --allow-net --allow-read main.ts\n   ```\n\n## Common pitfalls\n\n- **Granting `--allow-all`** in production because a permission prompt was annoying — defeats the security model; scope flags per environment.\n- **Unpinned URL imports** (`https:\u002F\u002Fdeno.land\u002Fx\u002F...\u002Fmod.ts`) that silently upgrade and break builds — always pin with an import map and lockfile (`deno.lock`).\n- **Assuming npm parity** — native modules and deep `node_modules` hacks often fail; verify each npm dependency under Deno before relying on it.\n- **Skipping type checks** with `--no-check` everywhere — fast in dev, but CI must run `deno check` or type errors ship.\n- **Using unstable APIs** without the `--unstable` flag pinned and documented — they can change between releases.\n- **Forgetting the lockfile** in CI — `deno.lock` is your reproducibility guarantee; commit it.\n- **Treating `deno.json` tasks as a full build system** — for complex pipelines (codegen, multi-service), pair with a real task runner.\n- **Permissions drift** — flags accreting over time until the app effectively has `--allow-all`; audit the task definitions periodically.\n- **No graceful shutdown** — Deno handles SIGTERM, but long-lived connections still need explicit draining in server code.\n- **Developing against latest, deploying pinned old** — version skew between dev and prod causing \"works on my machine\"; pin everywhere.\n- **Vendoring ignored** — remote-only dependencies breaking air-gapped or flaky-network deploys; `deno vendor` for critical services.\n- **Fresh as a SPA** — skipping islands architecture and shipping a JS bundle for static content; Fresh's zero-JS default is the point.\n",{"name":5,"category":24,"description":7},"development","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-deno-pro",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill deno-pro",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill deno-pro",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill deno-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-deno-pro\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]