deno

Deno-specific conventions and patterns.

$ 安裝

git clone https://github.com/lambdalisue/dotfiles /tmp/dotfiles && cp -r /tmp/dotfiles/home/claude/skills/deno ~/.claude/skills/dotfiles

// tip: Run this command in your terminal to install the skill


name: deno description: Deno-specific conventions and patterns.

Conventions

  • Imports: Explicit extensions (.ts), JSR > @std > npm
  • Config: deno.json for imports, tasks, lint, fmt
  • Tools: deno fmt/lint/check/test (not Prettier/ESLint/Vitest)
  • No node_modules

Testing

Deno.test("behavior description", async (t) => {
  await t.step("specific case", () => {
    // AAA pattern, @std/assert
  });
});

Permissions

Document in JSDoc: @requires --allow-read