daloyjs-best-practices
OfficialDaloyJS best practices for secure APIs.
Authordaloyjs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Best practices for building, testing, and hardening this DaloyJS REST API on the Deno runtime. This guide is the single source of truth for adding routes, writing tests, ensuring secure defaults, managing permissions, and aligning with quality gates across the project.
Core Features & Use Cases
- Contract-first routing and validation with Zod: ensure request and response schemas are defined at the route level and validated at boundaries.
- Secure-by-default baseline: enforce requestId, secureHeaders, and rateLimit, with explicit permissions in deno.json.
- OpenAPI generation and docs: guidelines to regenerate the API spec and keep docs in sync.
- Testing, typechecking, and governance: recommended testing patterns, test coverage goals, and code-review guardrails to maintain quality gates.
Quick Start
Review this guidance before making substantial changes to routes, tests, or security configurations to ensure compliant, secure deployments.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: daloyjs-best-practices Download link: https://github.com/daloyjs/daloy/archive/main.zip#daloyjs-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.