SkillBeginner@nextrush/nextrush

NextRush Framework Skill

A unified agent skill for building Node.js HTTP APIs with NextRush. Covers functional routing, decorator-based controllers, middleware, dependency injection, and structured error handling.

frameworkroutingmiddlewarecontrollersdependency-injectionerror-handling

What Is This?

The nextrush skill is a single, unified agent skill that teaches AI coding assistants how to build with the NextRush framework. It follows the Agent Skills open standard and works with GitHub Copilot, Claude, Cursor, and other AI tools.

Install

npx skills add 0xTanzim/nextrush

This copies the skill into your project so your AI assistant can reference it when writing NextRush code.

What's Included

The skill covers all core NextRush capabilities through a main SKILL.md and detailed reference files:

TopicReference FileWhat You'll Learn
Middlewarereferences/middleware.mdKoa-style async middleware, error boundaries, auth, timing
Routingreferences/routing.mdFunctional routes, CRUD, params, query strings, pagination
Controllersreferences/controllers.md@Controller, decorators, guards, parameter injection
DIreferences/dependency-injection.md@Service, scopes, tokens, testing with mocks
Errorsreferences/error-handling.mdHttpError hierarchy, error middleware, custom errors

Quick Start

import { createApp, createRouter, listen } from 'nextrush';

const app = createApp();
const router = createRouter();

router.get('/', (ctx) => ctx.json({ message: 'Hello NextRush' }));

app.route('/', router);
await listen(app, 3000);

Compatibility

Works with any AI coding tool that supports the Agent Skills specification:

  • GitHub Copilot — installs to .github/skills/
  • Claude Code — installs to .claude/skills/
  • Cursor / Codex — installs to .agents/skills/

Source

The skill source lives at skills/nextrush/ in the NextRush repository.