---
slug: "denoland"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/donjo/denoland@main/README.md"
repo: "https://github.com/donjo/denoland"
source_file: "README.md"
branch: "main"
---
# Denoland Plugin for Claude Code

A Claude Code plugin for building modern Deno applications with Fresh, JSR, and Deno Deploy.

**Current Version:** 0.6.2

## What This Plugin Does

This plugin teaches Claude modern Deno development practices:

- **Prefer JSR over deno.land/x** - The deprecated registry that many LLMs default to
- **Use Deno's built-in tools** - `deno fmt`, `deno lint`, `deno test`, `deno doc`
- **Fresh framework patterns** - Island architecture, Preact, Tailwind
- **Deno Deploy workflow** - The `deno deploy` CLI for deployment
- **Sandbox SDK** - Safe execution of untrusted code

## Installation

First, add the marketplace:

```
/plugin marketplace add donjo/denoland
```

Then install the plugin:

```
# Install to user scope (default, available in all projects)
/plugin install denoland@donjo-denoland

# Or install to project scope (shared with team via git)
/plugin install denoland@donjo-denoland --scope project

# Or install to local scope (gitignored, just for you)
/plugin install denoland@donjo-denoland --scope local
```

Alternatively, use the interactive plugin manager by running `/plugin` in Claude Code.

For local development:
```bash
claude plugin link /path/to/denoland
```

## What's Included

### Skills (Automatic Knowledge)

Skills are applied automatically when Claude detects you're working in a Deno project.

| Skill | Purpose |
|-------|---------|
| `deno-guidance` | Core best practices, JSR packages, Deno CLI workflow |
| `deno-deploy` | Deno Deploy deployment workflows |
| `deno-frontend` | Fresh framework, Preact components, Tailwind CSS |
| `deno-sandbox` | Sandbox SDK for safe code execution |

### Commands

| Command | Purpose |
|---------|---------|
| `/deno-init` | Scaffold a new Deno project (Fresh, CLI, library, or API) |
| `/deno-deploy` | Deploy your app to Deno Deploy |

### Agent

| Agent | Purpose |
|-------|---------|
| `deno-expert` | Specialized helper for Deno questions, code review, and debugging |

## Key Features

### JSR Package Priority

This plugin ensures Claude recommends the right package sources:

```typescript
// Preferred - JSR packages
import { serve } from "jsr:@std/http";

// Also good - npm packages (when no JSR alternative)
import express from "npm:express";

// Avoid - deprecated registry
import { serve } from "https://deno.land/std/http/server.ts"; // DON'T USE
```

### Deno CLI Workflow

The plugin encourages using Deno's built-in tools:

```bash
deno fmt          # Format code
deno lint         # Lint for issues
deno test         # Run tests
deno doc <pkg>    # View package docs
deno add <pkg>    # Add dependencies
deno deploy       # Deploy to Deno Deploy
```

### Fresh Development

Proper Fresh patterns with island architecture:

```bash
deno run -Ar jsr:@fresh/init    # Create project
deno task dev                    # Development (port 5173)
deno task build                  # Production build
deno deploy --prod               # Deploy
```

## Documentation Resources

- [Deno Documentation](https://docs.deno.com)
- [Deno Fundamentals](https://docs.deno.com/runtime/fundamentals/)
- [Fresh Documentation](https://fresh.deno.dev/docs)
- [JSR Registry](https://jsr.io)
- [Deno Deploy](https://docs.deno.com/deploy/)
- [Deno Sandboxes](https://deno.com/deploy/sandboxes)

## Contributing

This plugin is open source. Contributions welcome!

## License

MIT
