Skip to content
Back to skills

Setup Agent Code Style Deno

ASecurity

Use when the user asks to add Deno/TypeScript code-style rules to AGENTS.md, or during initial Deno project setup. Do NOT trigger for non-Deno TypeScript projects (use setup-agent-code-style-strict), or for runtime-agnostic style advice.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentstypescriptdocker

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add korchasa/flowai --skill setup-agent-code-style-deno --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup Agent Code Style Deno?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup Agent Code Style Deno
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/korchasa-setup-agent-code-style-deno/badge)](https://www.skillsdirectory.com/skills/korchasa-setup-agent-code-style-deno)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: setup-agent-code-style-deno
description: Use when the user asks to add Deno/TypeScript code-style rules to AGENTS.md, or during initial Deno project setup. Do NOT trigger for non-Deno TypeScript projects (use setup-agent-code-style-strict), or for runtime-agnostic style advice.
---

## Purpose
Integrates TypeScript/Deno coding standards into AGENTS.md to maintain consistency.

## Prerequisites
- AGENTS.md must exist in project root
- Project uses Deno

## File Target
- Target file is **AGENTS.md** (project agent definitions), NOT CLAUDE.md.
- If AGENTS.md does not exist, inform the user and stop.

## Injection Location
Add code style rules to AGENTS.md after the "Project tooling Stack" section, before "Architecture".

## Code Style Rules (to inject)

```markdown
## Code Style (Deno + TypeScript)

### Dependency Imports
- Use bare specifiers for dependencies defined in deno.json/imports
- Avoid direct jsr:/npm:/https: imports in source code
- Example: `import { assertEquals } from "@std/assert";` instead of `import { assertEquals } from "jsr:@std/assert";`
- **Exception:** Standalone scripts (e.g., in `framework/skills/*/scripts/`) that run without deno.json MUST use `jsr:` specifiers

### Dockerfile Optimization
- Use `deno compile` to create static binaries for production Docker images
- Implement multi-stage builds:
  - Compilation stage: `denoland/deno:latest`
  - Runtime stage: debian slim image
- Compile with explicit permissions: `--allow-net`, `--allow-read`, `--allow-env`
- Copy only compiled binary and necessary static files to runtime stage
- Set environment variables for proper network binding
```

## Workflow
- [ ] Read project AGENTS.md
- [ ] Locate "Architecture" section
- [ ] Insert code style rules before "Architecture"
- [ ] Verify proper markdown formatting
- [ ] No duplicate sections

Files in this skill

  • SKILL.md1.8 KB
  • acceptance-tests/basic/mod.ts2 KB
  • acceptance-tests/no-spurious-invocation/mod.ts1.2 KB
  • acceptance-tests/trigger-adj-1/mod.ts1016 B
  • acceptance-tests/trigger-false-1/mod.ts971 B
  • acceptance-tests/trigger-pos-1/mod.ts779 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.