
Fastify Best Practise
This is a comprehensive ruleset that teaches Claude how to write production-grade Fastify applications. It covers 14 topic areas from server setup and plugin architecture to authentication, error handling, and TypeScript integration. Each rule includes side-by-side bad/good examples so Claude can catch common mistakes like skipping schema validation or misusing encapsulation. The autoload-based project structure is solid and the testing guidance around inject() and buildServer factories is genuinely helpful. If you're building anything more serious than a hello-world API with Fastify, this will push Claude toward patterns that actually scale instead of the quick-and-dirty snippets you'd find in a basic tutorial.
- skills.sh installs
- 358
- GitHub stars
- 16
- last updated
- Jun 3, 2026
Install
$ npx -y skills add thecodepace/fastify-skills --skill fastify-best-practise --agent claude-codeInstalls into .claude/skills of the current project.
Files
Fastify Best Practices
A curated set of rules and patterns for building production-ready Fastify applications. Each rule includes incorrect and correct examples with explanations.
How It Works
- The agent identifies that the user is working with Fastify or asking about Fastify patterns
- The relevant rule file is loaded based on the topic (routes, validation, encapsulation, etc.)
- The agent applies the best practices from the rule when generating or reviewing code
Rules
The rules are organized by topic in the rules/ directory. Each rule follows a consistent format with impact rating, incorrect/correct examples, and references to official docs.
Sponsors
Details
- Repository
- github.com/thecodepace/fastify-skills
- First seen
- Jun 3, 2026