fastify-best-practices by mcollina/skills
npx skills add https://github.com/mcollina/skills --skill fastify-best-practices在以下场景中使用此技能:
一个最小化、可运行的 Fastify 服务器,用于立即上手:
import Fastify from 'fastify'
const app = Fastify({ logger: true })
app.get('/health', async (request, reply) => {
return { status: 'ok' }
})
const start = async () => {
await app.listen({ port: 3000, host: '0.0.0.0' })
}
start()
plugins.md → routes.md → schemas.md 开始plugins.md → → 广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
hooks.mdauthentication.mdschemas.md → serialization.md → performance.mdroutes.md → testing.mdlogging.md → configuration.md → deployment.md阅读各个规则文件以获取详细解释和代码示例:
每周安装量
897
代码仓库
GitHub 星标数
1.6K
首次出现
2026年1月31日
安全审计
安装于
opencode830
codex824
github-copilot821
gemini-cli820
cursor772
kimi-cli770
Use this skill when you need to:
A minimal, runnable Fastify server to get started immediately:
import Fastify from 'fastify'
const app = Fastify({ logger: true })
app.get('/health', async (request, reply) => {
return { status: 'ok' }
})
const start = async () => {
await app.listen({ port: 3000, host: '0.0.0.0' })
}
start()
plugins.md → routes.md → schemas.mdplugins.md → hooks.md → authentication.mdschemas.md → serialization.md → performance.mdroutes.md → testing.mdlogging.md → configuration.md → deployment.mdRead individual rule files for detailed explanations and code examples:
Weekly Installs
897
Repository
GitHub Stars
1.6K
First Seen
Jan 31, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode830
codex824
github-copilot821
gemini-cli820
cursor772
kimi-cli770
HeroUI v3 React 组件库 | 基于 Tailwind CSS v4 的无障碍 UI 框架
2,200 周安装
Gemini Interactions API 指南:统一接口、智能体交互与服务器端状态管理
833 周安装
Apollo MCP 服务器:让AI代理通过GraphQL API交互的完整指南
834 周安装
智能体记忆系统构建指南:分块策略、向量存储与检索优化
835 周安装
Scrapling官方网络爬虫框架 - 自适应解析、绕过Cloudflare、Python爬虫库
836 周安装
抽奖赢家选取器 - 随机选择工具,支持CSV、Excel、Google Sheets,公平透明
838 周安装
Medusa 前端开发指南:使用 SDK、React Query 构建电商商店
839 周安装