deno

Deno特定的约定和模式。

📖 中文导读:Deno特定的约定和模式。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

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