leblondx/deno icon
public
Published on 4/8/2025
Deno

xpert in Deno2 Runtime, its APIs, JSR @std packages, Deploy™ and Subhosting, in Fresh the full stack web framework for JavaScript and TypeScript developers, in TypeScript v5.7, and compatible Tailwind.

Rules
Prompts
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

anthropic Claude 3.5 Sonnet model icon

Claude 3.5 Sonnet

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage voyage-code-3 model icon

voyage-code-3

voyage

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

ollama Local Gemma model icon

Local Gemma

ollama

Always use ES modules and direct URL imports according to Deno standards
Prefer using Deno standard library (@std) over npm modules when possible
Implement security permissions with appropriate CLI flags
Use Promises and async/await instead of callbacks
Follow Deno formatting conventions (deno fmt)
Always include explicit TypeScript types
Use modern JavaScript features (ES2022+)
Prefer native Deno modules over npm alternatives when available
Each file must include a standardized header at the very top with no blank lines above it
File header tags must be separated by exactly three spaces
Each major section must use a standardized block comment header with exactly three blank lines preceding it
Every function must include a properly formatted documentation block with exactly three blank lines before it
Function documentation tags on the same line must be separated by exactly three spaces
The @description tag must always be the last one in function documentation
Deno Docshttps://docs.deno.com/runtime/fundamentals/
Deno Standard Libraryhttps://jsr.io/@std
Fresh Frameworkhttps://fresh.deno.dev/docs/introduction

Prompts

Learn more
deno-init
Initialize a new Deno project
Create a new Deno project with the recommended file structure, including deno.json, 
necessary permissions, and ES module imports. The project should follow best practices 
as of 2025 and include configuration for unit testing.

Follow these strict formatting rules for all files:

1. File Title Header:
   - Must be the first content in the file (no blank lines above it)
   - Format: 
     /** FileName.ts
      * -------------------------------------------------------------------------------------------------------------------------
      * @file ./FileName.ts   @version 1.0.0   @date 2025-04-08
      * @description Brief description of the file.
      * -----------------------------------------------------------------------------------------------------------------------*/
   - Tags must be separated by exactly three spaces

2. Section Headers:
   - Must have exactly three blank lines before each section header
   - Format:
     /** 1. SECTION_NAME
      * -----------------------------------------------------------------------------------------------------------------------*/
   - No additional indentation before the comment block

3. Function Documentation:
   - Must have exactly three blank lines before the function documentation block
   - Format:
     /** 
      * FUNCTION_NAME
      * -------------------------------------------------------------------------------------------------------------------------
      * @function FUNCTION_NAME   @version 1.0.0   @public   @alpha   @date 2025-04-08
      * @param {TYPE} paramName - Description.
      * @return {RETURN_TYPE} - Description.
      * @description Brief description of the function.
      * -----------------------------------------------------------------------------------------------------------------------*/
   - Tags on the same line must be separated by exactly three spaces
   - The @description tag must always be the last one
format
Format the current Deno file according to standardized documentation
I'll format the current Deno file according to our standardized documentation requirements:
1. Add a proper file header at the very top (no blank lines above):
  /** {{fileName}}
    * -------------------------------------------------------------------------------------------------------------------------
    * @file {{filePath}}   @version 1.0.0   @date {{currentDate}}
    * @description Brief description based on file contents.
    * -----------------------------------------------------------------------------------------------------------------------*/

2. Add section headers with exactly three blank lines before each:
  /** 1. SECTION_NAME
    * -----------------------------------------------------------------------------------------------------------------------*/

3. Add function documentation blocks with exactly three blank lines before each:
  /** 
    * FUNCTION_NAME
    * -------------------------------------------------------------------------------------------------------------------------
    * @function FUNCTION_NAME   @version 1.0.0   @public   @alpha   @date {{currentDate}}
    * @param {TYPE} paramName - Description.
    * @return {RETURN_TYPE} - Description.
    * @description Brief description of the function.
    * -----------------------------------------------------------------------------------------------------------------------*/

I'll ensure all tags are separated by exactly three spaces and that @description is always the last tag.
Please format the entire file content and replace it with the properly formatted version.
add-deno-tasks
Add tasks for @public functions to deno.jsonc
I'll scan the codebase for functions with the @public tag in their documentation header and add them as tasks to deno.jsonc.

I'll look for patterns like:
```
/** 
 * FUNCTION_NAME
 * -------------------------------------------------------------------------------------------------------------------------
 * @function FUNCTION_NAME   @version 1.0.0   @public   @alpha   @date 2025-04-08
 * ...
 */
```

For each function with @public tag, I'll create a task in deno.jsonc with:
- Task name matching the function name
- Command to run the file with appropriate permissions

I'll first check if deno.jsonc exists, and create it if needed.

Context

Learn more
@file
Reference any file in your current workspace
@code
Reference specific functions or classes from throughout your project
@codebase
Reference the most relevant snippets from your codebase
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@terminal
Reference the last command you ran in your IDE's terminal and its output
@currentFile
Reference the currently open file

No Data configured

MCP Servers

Learn more

No MCP Servers configured