new-route

Scaffold ts-rest API routes with contracts, Fastify handlers, and integration tests.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/wordshepherd/colophony --skill new-route
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-route
Source: https://github.com/wordshepherd/colophony/tree/main/.claude/skills/new-route
Command: npx skills add https://github.com/wordshepherd/colophony --skill new-route

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the repetitive setup of new API routes, ensuring consistency and reducing boilerplate code for developers.

Core Features & Use Cases

  • Full Stack Route Generation: Creates contracts, handlers, and tests across your project.
  • Database Integration: Includes Drizzle ORM queries and RLS test cases.
  • Use Case: When adding a new feature like 'user profiles', this Skill will generate all the necessary files to define the API endpoint, handle requests, and write tests, allowing you to focus on the business logic.

Quick Start

Use the new-route skill to scaffold files for a 'users' route.

Frequently Asked Questions about new-route

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

FAQPage Schema
How do I scaffold new Fastify API routes with TypeScript and reduce boilerplate?

Scaffolding new Fastify API routes with TypeScript is automated by this Skill through generating contracts, handlers, and tests. It reduces manual setup by creating consistent endpoint files across your project.

Can I generate Drizzle ORM queries and Row Level Security test cases for ts-rest contracts?

Generating Drizzle ORM queries and Row Level Security test cases for ts-rest contracts is supported. The Skill includes these database integration test cases automatically when scaffolding new API endpoints.

What is the best way to automate setting up a new feature like user profiles with ts-rest?

The best way to automate setting up new features like user profiles with ts-rest is using this Skill to generate all necessary files. It creates contracts, Fastify handlers, and tests so you can focus on business logic.

Does this route scaffolding tool work with Fastify and ts-rest for full stack generation?

Yes, this route scaffolding tool works with Fastify and ts-rest for full stack generation. It creates contracts, handlers, and integration tests across your project to ensure consistent API development practices.

Why should I use an automated scaffolding tool for new API endpoints instead of manual setup?

You should use an automated scaffolding tool for new API endpoints because it ensures consistency and reduces boilerplate code. Manual setup is repetitive and time-consuming, whereas this Skill automates file creation for contracts, handlers, and tests.