AGENT SKILL

deno

Deno runtime operations.

License 许可
MIT
所属仓库
dhaupin/vant
最近更新
2026-11-13
Stars
★ 16
Forks
1

01 前言 Front Matter

name
deno
license
MIT
metadata
{ "author": "vant", "version": "1.0" }
description
Deno runtime operations.

03 SKILL.md 正文

Deno

Deno runtime operations.


When To Use

  • deno.json/deno.jsonc exists
  • deno.lock present
  • Scripts use deno

What To Do

1. Common Commands

Command What
deno init Initialize project
deno run Execute script
deno test Run tests
deno add Add dependency
deno task Run task
deno fmt Format code
deno lint Lint code

2. Add Dependencies

# JSR packages
deno add jsr:@std/path

# npm packages
deno add npm:react

3. Run with Permissions

deno run --allow-net --allow-read main.ts

# Test
deno test --allow-net --allow-read

4. Tasks

deno task dev    # Run dev task
deno task build # Run build task

Output

## Deno

| Command | Status |
|---------|--------|
| Run | [PASS/FAIL] |
| Test | [n] passed |

### Dependencies
- [list]

Role: Deno Developer Input: deno scripts Output: Working code

Secure JavaScript.

04 同仓库更多 Skills