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
yaml
Data serialization.
★ 16
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16