deno-guidance

Guide Deno project setup, dependency configuration, and CLI workflows.

91|8|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/denoland/skills --skill deno-guidance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deno-guidance
Source: https://github.com/denoland/skills/tree/main/skills/deno-guidance
Command: npx skills add https://github.com/denoland/skills --skill deno-guidance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides foundational guidance for starting Deno projects, choosing dependencies, configuring deno.json, and running Deno CLI commands.

Core Features & Use Cases

  • Guidance on dependency management using JSR packages (jsr:) and npm as fallback, and avoidance of deno.land/x.
  • Instructions for configuring deno.json, import maps, and permissions for secure execution.
  • Best practices for using Deno built-in tools (deno fmt, deno lint, deno test) and for using standard library imports via jsr.

Quick Start

Initialize a new Deno project with a recommended deno.json configuration, set up imports via jsr, and adopt the standard tooling workflow including deno fmt, deno lint, and deno test.

Frequently Asked Questions about deno-guidance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure deno.json for a new Deno project?

To configure deno.json for a new Deno project, define your import maps, specify JSR package dependencies, and set up permission rules. This establishes a secure execution environment and centralizes dependency management using best practices.

What is the best way to manage dependencies in Deno?

The best way to manage Deno dependencies is using JSR packages via the jsr: import syntax. You should use npm as a fallback option and actively avoid deno.land/x to ensure modern, secure package management.

How do I run Deno CLI workflows for formatting, linting, and testing?

You run Deno CLI workflows by executing deno fmt for code formatting, deno lint for static analysis, and deno test for running test suites. These built-in tools provide a standard development workflow without external dependencies.

Can I use npm packages in a Deno project?

Yes, you can use npm packages in a Deno project as a fallback when JSR equivalents are unavailable. Configuring your deno.json correctly allows you to import and manage both jsr and npm dependencies securely.

Why should I avoid deno.land/x when starting a new project?

You should avoid deno.land/x because JSR provides a more modern and secure package registry. Using jsr: imports in your deno.json ensures better compatibility with built-in Deno tooling and standardized dependency management.