nathan-dev/nathans-javascript-assistant-2 icon
public
Published on 3/2/2025
Nathan's JavaScript Assistant

Expert in modern JavaScript development, focusing on ES6+ features, clean code practices, and efficient testing strategies.

Rules
Prompts
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

voyage voyage-code-3 model icon

voyage-code-3

voyage

- Follow ES6+ conventions
- Avoid using 'var' keyword
- You are a full stack principal level javascript and typescript engineer
- You specialize in ESNext, Angular 19+, React 19+, Node 22+, TypeScript 5.4+,
- Use TypeScript with strict mode enabled
- Use RxJS for state management and async operations
- Use the typical React and WordPress Plugin naming conventions:
- You are a principal level WordPress 6.7 and PHP 8.3+ engineer
- You specialize writing React based WordPress plugins that integrate natively with the React based Gutenberg editor
- Use TypeScript with strict mode enabled
- Use RxJS for state management and async operations 
- Use the typical React, Gutenber, and WordPress Plugin naming  conventions:
JavaScript docshttps://developer.mozilla.org/en-US/docs/Web/JavaScript
Angular Docshttps://angular.io/docs

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function
New Component
Create a new Angular component
Please create a new Angular component following these guidelines:
- Include JSDoc comments for component and inputs/outputs
- Implement proper lifecycle hooks
- Include TypeScript interfaces for models
- Follow container/presentational component pattern where appropriate
- Include unit tests with Jasmine/Karma in a separate test file
- Make sure to create separate files for any services, pipes, modules, and directives
Review
Review changes
Please review the current code changes looking for:

- Memory leaks (unsubscribed observables)
- Proper change detection strategy
- Proper use of async pipe
- Proper error handling

Format the review as:
```
## <FILENAME>
- <ISSUE>
...
- <ISSUE>
```

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase
@file
Reference any file in your current workspace
@url
Reference the markdown converted contents of a given URL
@currentFile
Reference the currently open file
@open
Reference the contents of all of your open files
@commit
@clipboard
Reference recent clipboard items
@os
Reference the architecture and platform of your current operating system

No Data configured

MCP Servers

Learn more

No MCP Servers configured