# Fastify Best Practices (agent skill)

> Fastify Best Practices is an agent skill (a SKILL.md file) from mcollina/skills. Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. It works with Claude Code and has 1,949 GitHub stars across a repository of 2 listed skills.

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/mcollina/skills |
| Skill path | skills/fastify/SKILL.md |
| Skill name | fastify-best-practices |
| GitHub stars | 1,949 |
| Installs on skills.sh | 66,021 |
| License | MIT |
| Skills in repo | 2 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code |
| Category | Security |
| Last commit | Oct 3, 2026 |

## When it triggers

- Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/mcollina/skills.git
cp -r skills/skills/fastify ~/.claude/skills/fastify-best-practices   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/mcollina/skills.git
cp -r skills/skills/fastify .agents/skills/fastify-best-practices   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/mcollina/skills.git
cp -r skills/skills/fastify .cursor/skills/fastify-best-practices   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/mcollina/skills/fastify-best-practices

---

Canonical page: https://appsgit.com/skills/mcollina-fastify-best-practices
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
