Fastify API

Community

Refactor Fastify APIs safely with clear boundaries

AuthorLevironexe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fastify codebases often drift into inconsistent patterns, duplicated route logic, scattered validation, and hard-to-change handlers that make refactors risky.

Core Features & Use Cases

  • Phased architectural rules for structuring routes, plugins, schemas, and services so concerns stay separated (validation in schemas, cross-cutting in plugins, business logic in services).
  • Safe Fastify best practices including TypeBox schema validation, global error handling, and startup-time config validation to prevent runtime surprises.
  • Use Case: You are inheriting a Fastify API where routes manually parse inputs, auth logic is duplicated, and failures return inconsistent shapes; use this Skill to standardize structure and error/validation behavior while keeping behavior stable.

Quick Start

Tell your agent: implement the Fastify API structure by moving schema validation into src/schemas, encapsulating auth/DB/error handling into src/plugins, and refactoring route handlers to call pure services in src/services.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Fastify API
Download link: https://github.com/Levironexe/architect/archive/main.zip#fastify-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.