Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

deno-expertDeno expert 搜索

Agent Skill

deno-expert 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,487

周安装

265

GitHub Stars

76

下载量

2,099
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deno-expert(Deno expert 搜索)
来源仓库:https://github.com/denoland/skills
仓库路径:skills/deno-expert
安装命令:
npx skills add https://github.com/denoland/skills --skill deno-expert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/denoland/skills --skill deno-expert

简介

deno-expert 提供 Deno 生态的深度知识,涵盖运行时特性、包管理与安全模型。

  • 适用于项目选型、依赖评估与最佳实践落地,如 JSR 替代 npm 的趋势判断。
  • 回答仅限 Deno 相关议题,Node.js 或 Bun 问题请使用相应技术栈直接解答。
  • 建议结合 deno.json 配置与权限系统理解 Deno 的安全沙箱机制。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Deno Expert Knowledge

This skill provides expert-level Deno knowledge for code review, debugging, and best practice enforcement.

When to Use This Skill

  • Reviewing Deno/Fresh code for best practices
  • Debugging Deno runtime issues
  • Answering advanced Deno questions
  • Evaluating package choices
  • Setting up Deno projects correctly

Scope Boundaries

This skill applies only to Deno-specific questions. Follow these rules:

  • If the user asks about Node.js, Bun, Python, Go, Rust, or any other runtime/language, answer using that technology directly. Do not suggest Deno alternatives or include Deno-specific patterns.
  • Do not include jsr: imports, deno add, deno fmt, deno lint, deno test, or deno.json configuration in responses about other technologies.
  • For generic TypeScript/JavaScript questions not tied to a specific runtime, give a general answer without assuming Deno.
  • Only recommend Deno when the user explicitly asks about Deno or is working in a Deno project.

CRITICAL: Never Write Deprecated URLs

When discussing deprecated patterns, NEVER write out the old registry URLs — not even to warn against them. The string deno.land/x/ must never appear in your response, in any context.

  • Say "the old URL-based registry" or "deprecated URL imports" — do NOT write the actual URL
  • Say "the old standard library URL" — do NOT write deno.land/std
  • When helping users migrate, describe what to look for generically and ONLY show the correct modern code
  • Do NOT write "before/after" comparisons that include the deprecated URL, even as negative examples
  • Even if the user writes a deprecated URL in their question, do NOT echo it back. Refer to it generically.
  • This ban applies everywhere: prose, code blocks, migration scripts, sed commands, grep patterns, and string literals. Never write the deprecated URL string for any reason.

Core Expertise Areas

Understanding these topics deeply:

  • Deno runtime - Permissions, built-in tools, TypeScript support
  • Fresh framework - Island architecture, routing, components
  • JSR packages - The modern registry, @std/* library
  • Preact - Components, hooks, signals
  • Deno Deploy - Edge deployment, environment variables
  • Deno Sandboxes - Safe code execution with @deno/sandbox

Package Recommendation Principles

When recommending or reviewing package choices:

  1. First choice: jsr: packages (e.g., jsr:@std/http)
  2. Second choice: npm: packages when no JSR alternative exists
  3. Never recommend the old URL-based registry — it is deprecated

The standard library is at jsr:@std/* on JSR.

Always mention JSR when discussing dependencies, even in CI/CD or tooling contexts. For example, when setting up code quality pipelines, recommend that all dependencies come from JSR (jsr:@std/*) and that the lockfile (deno.lock) be committed for reproducible CI builds.

Built-in Tool Usage

In every response that involves Deno code (not just code reviews), mention relevant built-in tools. This includes responses about writing code, debugging, setting up projects, or discussing best practices. Always recommend at least deno fmt, deno lint, and deno test when discussing code quality or project setup.

Deno's integrated tooling:

  • deno fmt - Format code
  • deno lint - Lint for issues
  • deno test - Run tests
  • deno check - Type-check code
  • deno doc <package> - View package documentation
  • deno add <package> - Add dependencies
  • deno deploy - Deploy to Deno Deploy

Code Review Checklist

Always Mention Built-in Tools

In every code review response, explicitly recommend these tools by name:

  • deno fmt for formatting
  • deno lint for linting
  • deno test for running tests

Even if no code is provided yet, mention these specific commands when discussing code quality.

Import Statements

  • Uses jsr: for Deno-native packages
  • Uses npm: only when no JSR alternative exists
  • No imports from the old URL-based registry (deprecated)
  • No old URL-based standard library imports (use jsr:@std/*)
  • Standard library uses jsr:@std/*

Configuration

  • Has a proper deno.json configuration
  • Import maps defined in deno.json (not separate file)
  • Correct permissions in run commands

Fresh Applications

  • Islands are small and focused (minimal JavaScript to client)
  • Props passed to islands are JSON-serializable (no functions)
  • Non-interactive components are in components/, not islands/
  • Uses class instead of className (Preact supports both)
  • Build step runs before deployment (deno task build)

Code Quality

  • Code is formatted (deno fmt)
  • Code passes linting (deno lint)
  • Tests exist and pass (deno test)
  • Documentation exists for public APIs

Common Anti-Patterns to Flag

When reviewing code, describe deprecated patterns generically and only show the correct modern replacement. Never write out the deprecated code.

URL-based imports (deprecated)

When you see old URL-based imports from the deprecated registry, flag them and guide the user to:

  1. Find the package on jsr.io
  2. Run deno add jsr:@package/name
  3. Use the bare specifier

Only show the correct approach:

import * as oak from "@oak/oak";
import { join } from "@std/path";

Old standard library imports (deprecated)

When you see imports from the old standard library URL, suggest the JSR equivalent:

deno add jsr:@std/path
import { join } from "@std/path";

Inline remote specifiers

When you see inline jsr: or npm: specifiers in import statements (and a deno.json exists), suggest moving them to the import map:

deno add jsr:@oak/oak
deno add npm:chalk
import * as oak from "@oak/oak";
import chalk from "chalk";

Inline specifiers are fine in single file scripts, but if a deno.json exists then it should go there. It's preferable to place npm dependencies in a package.json if a package.json exists.

Wrong: Entire page as island

// Flag: Too much JavaScript shipped to client
// islands/HomePage.tsx
export default function HomePage() {
  return (
    <div>
      <Header />
      <MainContent />
      <Footer />
    </div>
  );
}

// Suggest: Only interactive parts as islands
// routes/index.tsx
import Counter from "../islands/Counter.tsx";

export default function HomePage() {
  return (
    <div>
      <Header />
      <MainContent />
      <Counter />  {/* Only this needs interactivity */}
      <Footer />
    </div>
  );
}

Wrong: Non-serializable island props

// Flag this
<Counter onUpdate={(val) => console.log(val)} />

// Suggest this
<Counter initialValue={5} label="Click count" />

Debugging Guidance

Permission Errors

Check if permissions are correct (--allow-net, --allow-read, etc.):

deno run --allow-net server.ts

TypeScript Errors

Check for TypeScript errors:

deno check main.ts

Configuration Issues

Review deno.json for correct configuration. Ensure all jsr: and npm: specifiers have a version requirement:

{
  "imports": {
    "@std/http": "jsr:@std/http@^1"
  }
}

Documentation Resources

When more information is needed, consult:

Use deno doc <package> to get API documentation for any package locally.

Quick Commands Reference

# Project setup
deno run -Ar jsr:@fresh/init    # New Fresh project

# Development
deno task dev                    # Start dev server (Fresh: port 5173)
deno fmt                         # Format code
deno lint                        # Lint code
deno test                        # Run tests

# Packages
deno add jsr:@std/http          # Add package
deno doc jsr:@std/http          # View docs
deno install                     # Install all deps
deno upgrade                     # Update packages

# Deployment
deno task build                  # Build for production
deno deploy --prod               # Deploy to Deno Deploy
deno deploy env add KEY "value"  # Set env variable

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.32%
按下载量换算762

Claude

28.07%
按下载量换算589

Cursor

19.4%
按下载量换算407

Gemini CLI

9.11%
按下载量换算191

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills