nomistakes

Prevent coding errors, security vulnerabilities, and anti-patterns in TypeScript, JavaScript, and Node.js projects.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/dupe-com/skills --skill nomistakes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nomistakes
Source: https://github.com/dupe-com/skills/tree/main/skills/nomistakes
Command: npx skills add https://github.com/dupe-com/skills --skill nomistakes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the pervasive problem of AI-generated and human-written code containing preventable bugs, security vulnerabilities, performance issues, and anti-patterns that cause production outages, technical debt, and costly debugging sessions. It acts as an always-available coding coach that enforces proven best practices at the point of writing, reducing error rates by catching issues before they enter the codebase.

Core Features & Use Cases

  • 16 Core Error Prevention Principles: Covers input validation, error handling, null safety, async operation safety, type safety, boundary checks, resource management, immutability, configuration validation, defensive programming, Core Web Vitals optimization, fire-and-forget bug detection, Next.js Server Actions error handling, OWASP Top 10 2025 security patterns, TypeScript 5.x safety features, and modern validation library selection.
  • Production-Ready Code Examples: Includes complete, working implementations for API route handlers, data fetching services, form validation, file upload handlers, background job processors, and database repositories with full error handling and type safety.
  • Workflow Integration Tools: Automated Biome migration script, AI code review checklists, adversarial review (VDD) patterns, comprehensive testing strategies for error coverage, and pre-commit checklists to validate code before shipping.
  • Use Case Example: When building a new user authentication endpoint, this Skill ensures you add input validation, rate limiting, secure password hashing, proper error responses, and tests for error cases like invalid input and database failures.

Quick Start

Use the nomistakes skill to review your new user registration API code for missing input validation, unhandled async errors, and security gaps before merging the pull request.

Frequently Asked Questions about nomistakes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent common security vulnerabilities and anti-patterns in TypeScript code?

Preventing security vulnerabilities and anti-patterns in TypeScript requires enforcing input validation, null safety, type safety, and OWASP Top 10 compliance at the point of writing to catch issues before they ship.

What are the best practices for error handling in Next.js Server Actions?

Error handling best practices for Next.js Server Actions include comprehensive input validation, async operation safety, and structured error responses to prevent fire-and-forget bugs and ensure production stability.

How do I review AI-generated code for missing input validation and security gaps?

Reviewing AI-generated code for missing input validation and security gaps requires applying adversarial review patterns and pre-commit checklists to detect preventable bugs, rate limiting, and unhandled async errors.

Does this defensive programming approach work with Node.js API route handlers?

Yes, defensive programming applies to Node.js API route handlers by enforcing boundary checks, resource management, configuration validation, and secure password hashing to ensure production-ready implementations.

Can I use Biome linting to enforce modern framework patterns and TypeScript safety features?

Yes, Biome linting can enforce modern framework patterns and TypeScript 5.x safety features through automated migration scripts that validate code quality and prevent fire-and-forget bugs.

What is the best way to ensure Core Web Vitals optimization during refactoring?

Core Web Vitals optimization during refactoring is ensured by applying specific error prevention principles that address performance issues, resource management, and modern validation library selection to prevent regressions.