fandhe-ai/agent-reference-skills

fastify

Fastify (Node.js 高速 HTTP サーバーフレームワーク, v5) の API リファレンス。 fastify.register, encapsulation, fastify-plugin, decorateRequest / decorateReply, onRequest / preHandler / onSend フック, JSON Schema + Ajv, Type Providers (TypeBox / Zod), fastify.inject, FSTERR, find-my…

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill fastify

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Fastify API リファレンス

Fastify — Node.js ネイティブの高速 HTTP サーバーフレームワーク(対象バージョン v5.12.1)。 encapsulation されたプラグインツリー・decorators・ライフサイクルフック・JSON Schema ベースの validation/serialization を中核とする API 設計・実装時に参照する。

hono(Web Standards / マルチランタイム JS)・go-echo(Go)・fandhe-backend(Rust)は別フレームワークであり、 同名の Router / plugin / middleware / hooks 概念を混同しない。pino は Fastify のロガー本体(Fastify 側は logger / loggerInstance 接続 API のみ)、zod はスキーマライブラリ本体(Fastify では Type Provider 経由で接続) であり、それぞれの API 自体は各スキルを参照する。

v4→v5 の破壊的変更は references/guides/migration-v5.md に一覧があり、影響を受ける個別ページには ## Notes に per-page で明記している(server/instance-lifecycle.md, server/instance-routing.md, server/instance-decorators.md, server/instance-content-type.md, request-reply/request.md, request-reply/reply-redirect.md, request-reply/reply-hijack-trailers.md, errors-logging/logging.md, validation-serialization/schema-basics.md, validation-serialization/type-providers.md, plugins/plugins.md, routing/constraints-versioning.md 等)。

ディレクトリ構成

text
skills/fastify/
  SKILL.md
  references/
    getting-started/
      README.md
      installation.md
      first-server.md
      first-plugin.md
      loading-order.md
      validate-data.md
      serializing-data.md
      request-payload.md
      cli-usage.md
      lts.md
      warnings.md
    server/
      README.md
      factory-options.md
      router-options.md
      instance-lifecycle.md
      instance-routing.md
      instance-plugins.md
      instance-decorators.md
      instance-schemas.md
      instance-handlers.md
      instance-content-type.md
      instance-inject.md
      instance-misc.md
      content-type-parser.md
    routing/
      README.md
      route-options.md
      shorthand-declaration.md
      url-parameters.md
      async-await-handlers.md
      route-prefixing.md
      constraints-versioning.md
      route-config-log-level.md
      http2.md
    request-reply/
      README.md
      request.md
      reply-methods.md
      reply-send.md
      reply-serialization.md
      reply-redirect.md
      reply-errors.md
      reply-hijack-trailers.md
    hooks-lifecycle/
      README.md
      lifecycle.md
      request-hooks.md
      application-hooks.md
      hook-scope.md
      route-level-hooks.md
      diagnostics-channel-hooks.md
    plugins/
      README.md
      plugins.md
      encapsulation.md
      fastify-plugin.md
      decorators.md
      middleware.md
      write-plugin.md
      plugins-guide.md
    validation-serialization/
      README.md
      schema-basics.md
      ajv-configuration.md
      schema-refs-shared.md
      response-serialization.md
      validator-serializer-compiler.md
      schema-error-handling.md
      type-providers.md
      write-type-provider.md
      fluent-schema.md
    typescript/
      README.md
      getting-started.md
      route-generics.md
      plugin-typing.md
      api-type-system.md
      code-completion-tips.md
    errors-logging/
      README.md
      error-handling.md
      fastify-error-codes.md
      logging.md
    guides/
      README.md
      testing.md
      serverless.md
      recommendations.md
      database.md
      benchmarking.md
      delay-accepting-requests.md
      detecting-client-abort.md
      prototype-poisoning.md
      migration-v5.md
      migration-v4.md
      migration-v3.md
  samples/
    README.md
    basic-server.md
    plugin-encapsulation.md
    decorators.md
    hooks-auth.md
    validation-json-schema.md
    type-provider-typebox.md
    typescript-server.md
    error-handling.md
    logging-pino.md
    testing-inject.md
    serverless-lambda.md
    graceful-shutdown.md
    database-integration.md
  scripts/
    README.md
    install.md
    generate.md
    dev.md
    debug.md
    test.md
    benchmark.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
プロジェクト初期セットアップ、最小サーバー起動、CLI 利用、警告コードgetting-startedreferences/getting-started/README.md
ファクトリオプション、find-my-way ルーターオプション、インスタンスライフサイクル、fastify.injectserverreferences/server/README.md
ルート宣言、URL パラメータ、async/await ハンドラー、バージョニング制約、HTTP/2routingreferences/routing/README.md
Request プロパティ、Reply メソッド、reply.send、リダイレクト、hijack/trailersrequest-replyreferences/request-reply/README.md
onRequest 等のリクエストフック、アプリケーションフック、フックスコープ、diagnostics_channelhooks-lifecyclereferences/hooks-lifecycle/README.md
fastify.register、encapsulation、fastify-plugin、decorators、Express 互換 middlewarepluginsreferences/plugins/README.md
JSON Schema + Ajv、response シリアライズ、Type Providers (TypeBox/Zod)、fluent-schemavalidation-serializationreferences/validation-serialization/README.md
TypeScript 型付け、ルートジェネリクス、プラグインの型、型補完typescriptreferences/typescript/README.md
エラーハンドリング、FST_ERR_* コード一覧、Pino ロガー接続errors-loggingreferences/errors-logging/README.md
テスト、サーバーレスデプロイ、DB 連携、ベンチマーク、v3/v4/v5 移行ガイドguidesreferences/guides/README.md
典型的な使い方を知りたいsamplessamples/README.md
インストール・CLI コマンドを知りたいscriptsscripts/README.md

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills
fandhe-ai
Communauté

fandhe-frontend

Rust 製フロントエンドフレームワーク fandhe-frontend のリファレンス。 SSR / SPA / SSG / View Transitions、hydration、Document builder(SSR 組み込み)、CSP meta、単一実行ファイル配布、Vercel、既定エスケープ。 クレート core / app / interactive / server(generatepages) / headless-ui(Primitives, AutocompleteToken, passkey) / pre-styled-ui(Themes, motion) / wireframe-ui(Wireframes) / animation(data- 属性) / wasm-full。 Blocks(Hero / Pricing / Cart 等セクション例 335 件)。CLI fw。

Installations / 1h
2
GitHub Stars
4
Mis à jour
3 nov.
fandhe-ai
Communauté

playwright

Playwright v1.64 (E2E / コンポーネントテストフレームワーク) リファレンス。 test, expect, page, locator, getByRole / getByText / getByLabel / getByTestId / getByRef、 toBeVisible, click, fill, route, mock, fixtures、playwright.config.ts、 auth 永続化、Credentials (passkeys / WebAuthn)、WebStorage、WebMCP、 Playwright MCP / playwright-cli、trace viewer、screencast、test locks、codegen、UI モード。

Installations / 1h
2
GitHub Stars
4
Mis à jour
3 nov.
fandhe-ai
Communauté

rust

Rust 言語リファレンス。 別名: rustlang, rs (拡張子)、Rust-lang。 TRPL (The Rust Programming Language)、Rust by Example、Reference、 Cargo Book、rustc Book、rustdoc Book、Rustonomicon (Unsafe Rust)、 Edition Guide、Standard Library、Error Index。 所有権、ライフタイム、トレイト、async / await、エラーハンドリング、マクロ。

Installations / 1h
2
GitHub Stars
4
Mis à jour
3 nov.
fandhe-ai
Communauté

better-auth

Better Auth (TypeScript 認証フレームワーク) v1.7 リファレンス。 認証・認可、サインアップ・サインイン、セッション管理、OAuth、パスキー、二要素認証 (2FA / TOTP)、SSO / SAML、SCIM、 OAuth Provider (OAuth 2.1 / OIDC)、MCP 認可 (@better-auth/mcp)、Infrastructure (dash / sentinel)、 プラグイン (organization, admin, magic-link, anonymous 等)。betterAuth, createAuthClient, signUp, signIn, getSession。 Next.js, Nuxt, SvelteKit, Hono, Express, Expo, TanStack, Effect 統合。

Installations / 1h
2
GitHub Stars
4
Mis à jour
24 oct.