본문으로 건너뛰기
cccskills
무료GitHub에 공개

fandhe-backend

Rust 製バックエンド HTTP サーバーフレームワーク fandhe-backend のリファレンス。fandhe-backend-core / -http / -routes。Server, BoundServer, Router(merge), Handler。

拡張点 Middleware(on_response_with_status)/ UpgradeHandler / RequestGate / Interceptor。

Diagnostics, StreamingResponse, SetCookie session(__Host-), sans-IO HTTP/1.1, graceful shutdown。

プラグイン cors, websocket(WsSender), graphql, openapi, webrtc, jwt(JwtGate, JwtPolicy), csrf(CsrfGate)。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(79)

  • SKILL.md8.6 KB
  • references/core/bound-server.md3.4 KB
  • references/core/diagnostics.md6.5 KB
  • references/core/extension-points.md4.7 KB
  • references/core/gate-context.md1.5 KB
  • references/core/handler.md2.2 KB
  • references/core/interceptor.md3.2 KB
  • references/core/middleware.md4.0 KB
  • references/core/README.md1.6 KB
  • references/core/rebind-handle.md2.0 KB
  • references/core/request-gate.md2.9 KB
  • references/core/server.md5.2 KB
  • references/core/streaming-response.md2.5 KB
  • references/core/upgrade-handler.md1.8 KB
  • references/getting-started/crates.md4.3 KB
  • references/getting-started/features.md3.0 KB
  • references/getting-started/installation.md1.8 KB
  • references/getting-started/minimal-server.md2.8 KB
  • references/getting-started/overview.md2.3 KB
  • references/getting-started/README.md661 B
  • references/guides/extension-points.md10.0 KB
  • references/guides/feature-samples.md7.1 KB
  • references/guides/graceful-shutdown.md6.6 KB
  • references/guides/reading.md1.7 KB
  • references/guides/README.md1.1 KB
  • references/guides/streaming.md4.9 KB
  • references/guides/tutorial.md2.9 KB
  • references/http/body.md2.6 KB
  • references/http/buffer.md1.9 KB
  • references/http/chunked.md3.0 KB
  • references/http/connection.md3.4 KB
  • references/http/cookie.md6.7 KB
  • references/http/error.md3.0 KB
  • references/http/form.md4.4 KB
  • references/http/location.md4.1 KB
  • references/http/overview.md2.6 KB
  • references/http/percent.md2.3 KB
  • references/http/query.md1.9 KB
  • references/http/README.md3.0 KB
  • references/http/request.md3.7 KB
  • references/http/response.md6.7 KB
  • references/http/socket.md1.5 KB
  • references/plugins/compression.md6.2 KB
  • references/plugins/cors.md3.6 KB
  • references/plugins/csrf.md8.0 KB
  • references/plugins/graphql.md2.7 KB
  • references/plugins/hub-wiring.md7.5 KB
  • references/plugins/jwt.md14.2 KB
  • references/plugins/openapi.md3.1 KB
  • references/plugins/README.md3.4 KB
  • references/plugins/static.md6.0 KB
  • references/plugins/tracing.md3.6 KB
  • references/plugins/webrtc-proxy.md2.6 KB
  • references/plugins/webrtc.md2.6 KB
  • references/plugins/websocket.md18.6 KB
  • references/routes/handler-types.md2.7 KB
  • references/routes/path-patterns.md3.2 KB
  • references/routes/README.md438 B
  • references/routes/router.md6.5 KB
  • samples/compression.md2.0 KB
  • samples/cors.md3.7 KB
  • samples/crud-routing.md5.0 KB
  • samples/csrf-gate.md2.5 KB
  • samples/custom-middleware.md2.5 KB
  • samples/full-featured-app.md5.3 KB
  • samples/graceful-shutdown.md2.0 KB
  • samples/graphql-schema.md3.6 KB
  • samples/interceptor.md3.6 KB
  • samples/jwt-gate.md3.0 KB
  • samples/minimal-server.md1.6 KB
  • samples/README.md3.5 KB
  • samples/request-gate-auth.md3.8 KB
  • samples/session-cookie-see-other.md2.8 KB
  • samples/static-file-serving.md3.2 KB
  • samples/streaming-response.md2.4 KB
  • samples/websocket-handler.md10.5 KB
  • scripts/dev.md5.3 KB
  • scripts/install.md2.0 KB
  • scripts/README.md318 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

fandhe-backend

fandhe-backend は Rust 製バックエンド HTTP サーバーフレームワーク。Server / BoundServer を核に、Middleware / UpgradeHandler / RequestGate / Interceptor という 4 つの拡張点で Web サーバーの挙動を組み立てる。sans-IO な HTTP/1.1 パーサー、DoS 上限、graceful shutdown を標準機能として持ち、CORS・圧縮・静的配信・WebSocket・GraphQL・OpenAPI・WebRTC 等はすべて feature フラグで切り出したプラグインとして提供される(pay-for-what-you-use)。ただし Gate 型の hub-wiring / jwt / csrf は feature を持たない独立クレートで、Server::gate で登録する。

他スキルとの使い分け — Server / Router / Middleware / CORS / WebSocket という語は複数のフレームワークで共通するため誤参照しやすい。hono(Web Standards JS)・fastify(Node.js ネイティブ)・go-echo(Go)は別フレームワークであり、いずれも本スキルとは別物。fandhe-frontend は同じ fandhe ファミリーの Rust 製フロントエンド層(SSR / SPA / SSG)であり、Rust 製バックエンド HTTP サーバーを調べる場合は本スキル(fandhe-backend)を参照すること。

対象バージョン: v0.5.0(2026-10-16 crates.io 公開、15 クレート lockstep、git e23b9a2。各ページ内の「vX.Y.Z で追加」は導入バージョンを示す)。

公式ドキュメント: https://fandhe-ai.github.io/fandhe-backend/

ディレクトリ構成

skills/fandhe-backend/
  SKILL.md
  references/
    getting-started/
      README.md
      overview.md
      crates.md
      features.md
      installation.md
      minimal-server.md
    guides/
      README.md
      reading.md
      tutorial.md
      feature-samples.md
      extension-points.md
      streaming.md
      graceful-shutdown.md
    core/
      README.md
      server.md
      bound-server.md
      handler.md
      middleware.md
      request-gate.md
      gate-context.md
      upgrade-handler.md
      rebind-handle.md
      interceptor.md
      streaming-response.md
      diagnostics.md
      extension-points.md
    routes/
      README.md
      router.md
      path-patterns.md
      handler-types.md
    http/
      README.md
      overview.md
      request.md
      response.md
      cookie.md
      location.md
      query.md
      form.md
      percent.md
      body.md
      chunked.md
      buffer.md
      error.md
      socket.md
      connection.md
    plugins/
      README.md
      cors.md
      compression.md
      static.md
      tracing.md
      websocket.md
      graphql.md
      openapi.md
      webrtc.md
      webrtc-proxy.md
      hub-wiring.md
      jwt.md
      csrf.md
  samples/
    README.md
    minimal-server.md
    crud-routing.md
    custom-middleware.md
    request-gate-auth.md
    interceptor.md
    cors.md
    websocket-handler.md
    graphql-schema.md
    streaming-response.md
    graceful-shutdown.md
    static-file-serving.md
    compression.md
    full-featured-app.md
    csrf-gate.md
    jwt-gate.md
    session-cookie-see-other.md
  scripts/
    README.md
    install.md
    dev.md

探索手順

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

  1. 下記マッピング表でタスクに対応するカテゴリを探す。同名ファイルが複数カテゴリに存在する点に注意する(extension-points.md は guides = 拡張点の契約・自作手順、core = 型ごとの API 定義・全体フロー。overview.md は getting-started = フレームワーク全体像、http = crate 内モジュール構成。minimal-server.md / streaming-response.md / graceful-shutdown.md / cors.md / compression.md / interceptor.md は references と samples の双方に存在し、references = API 定義、samples = 動く配線例)
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

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

タスクカテゴリ参照 README
フレームワークの全体像・2 つの核となる原則、クレート構成、feature フラグ一覧、インストール手順、最小構成のコード例を知りたいgetting-startedreferences/getting-started/README.md
最小サーバから Middleware 実装までの段階的チュートリアル、feature 別サンプル一覧、4 拡張点の契約・自作手順、ストリーミング送信、graceful shutdown の手順、ガイド群の読み方・対象読者を知りたいguidesreferences/guides/README.md
Server / BoundServer / Handler / Middleware / RequestGate / UpgradeHandler / Interceptor / StreamingResponse の型定義・API、GateContext(RequestGate::check へ渡される接続コンテキスト、peer_addr)、BoundServer::rebind_handle / RebindHandle(稼働中 listener の無停止差し替え)、4 拡張点・plugin シームの全体フローを知りたいcorereferences/core/README.md
リダイレクト返却・レスポンス差し替え(Interceptor の intercept / map_response)を知りたいcorereferences/core/README.md
実行時診断の送信先を差し替えたい(Diagnostics trait / DiagnosticEvent / StderrDiagnostics / Server::diagnostics)corereferences/core/README.md
ステータスコード付きアクセスログを取りたい(Middleware::on_response_with_status)corereferences/core/README.md
Router のルーティング規則、{name} / {*name} パスパターン、HandlerFuture 等の公開型エイリアス、Router::merge による複数 Router の合成と衝突検出を知りたいroutesreferences/routes/README.md
WebSocket でサーバーから push したい(WsSender)、接続の開閉フック(on_open / on_close / CloseReason)、ハンドシェイク検証(handshake check)、パスパターン、ping keepalive を知りたいpluginsreferences/plugins/README.md
sans-IO なリクエスト/レスポンスパーサー、Cookie・クエリ・フォーム・percent-decode、body フレーミング・chunked コーディング、読み取りバッファ、エラーレスポンス、ソケットオプション・keep-alive を知りたいhttpreferences/http/README.md
セッション Cookie(SetCookie::session、__Host- / __Secure- 接頭辞)、POST 後 303(Response::see_other / SameOriginLocation)、Vary / no-store、フォーム上限(FormLimits)を知りたいhttpreferences/http/README.md
JWT 検証ゲート(JwtGate / JwtPolicy / JWKS KeySet)、CSRF ゲート(CsrfGate、Sec-Fetch-Site / Origin)を使いたいpluginsreferences/plugins/README.md
CORS・圧縮・静的配信・トレーシング・WebSocket・GraphQL・OpenAPI・WebRTC(in-process / proxy)・hub 共通配線・JWT / CSRF ゲートなど、プラグイン API を知りたいpluginsreferences/plugins/README.md
最小サーバ、CRUD ルーティング、Middleware / RequestGate / Interceptor 自作、CORS・WebSocket・GraphQL・ストリーミング・graceful shutdown・静的配信・圧縮・JwtGate・CsrfGate・セッション Cookie + 303 の動く配線例、実運用形テンプレートを知りたいsamplessamples/README.md
クレート導入・feature 有効化コマンド、ビルド・実行・テスト・lint・依存監査コマンドを知りたいscriptsscripts/README.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

amd-rocm

무료

AMD ROCm / HIP GPU コンピューティングリファレンス。 hipMalloc, hipLaunchKernelGGL, HIP Graph, hipGreenCtx, HIPRTC, hipify, rocBLAS, MIOpen, RCCL, hipThreads, libhipcxx, rocprofv3, amd-smi, rocminfo, TheRock / Core SDK 10, CDNA1-4 / RDNA1-4, MI300 / MI350 / MI350P, gfx942, Matrix Core, wave32/64。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 20일 업데이트

Android アプリ開発 (Kotlin) の推奨アーキテクチャリファレンス。 Jetpack, androidx, UI layer, Domain layer, Data layer, state holder, UDF, SSOT, オフラインファースト, モジュール化, ViewModel, viewModelScope, SavedStateHandle, Lifecycle, repeatOnLifecycle, collectAsStateWithLifecycle, LiveData, Hilt による DI, Paging 3 によるページング処理。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 20일 업데이트

Android アプリ開発 (Kotlin) のバックグラウンド・非同期処理リファレンス。 Jetpack androidx WorkManager: Worker, CoroutineWorker, WorkRequest, Constraints, WorkInfo, WorkContinuation, expedited work, テスト。 Service: フォアグラウンドサービス, バウンドサービス, AIDL, Messenger。 AlarmManager, PendingIntent, BroadcastReceiver, JobScheduler, Doze。 Kotlin コルーチン, Flow, StateFlow, SharedFlow, Channel。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 20일 업데이트

Android アプリ開発 (Kotlin) の Gradle ビルドシステムリファレンス。 Android Gradle Plugin (AGP), Kotlin DSL (build.gradle.kts), version catalog, KSP, R8/ProGuard, App Bundle, baseline profile。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 20일 업데이트

Android Jetpack Compose (Kotlin) の androidx Material3 コンポーネントリファレンス。 Button, IconButton, FloatingActionButton, Checkbox, Switch, Slider, TextField, SearchBar, DropdownMenu, Chip, DatePicker, TimePicker, Card, Scaffold, Dialog, BottomSheet, TopAppBar, NavigationBar, NavigationRail, Tab, Snackbar, ProgressIndicator, Badge, Icon, MaterialTheme, ColorScheme, Typography, Shapes。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 20일 업데이트

Android Jetpack Compose (Kotlin) のアニメーション・描画リファレンス。 androidx.compose.animation / graphics API。 AnimatedVisibility, AnimatedContent, animate*AsState, Animatable, AnimationSpec, Canvas, DrawScope, Brush, Path, Color, Image。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 20일 업데이트

Fandhe-AI의 스킬 모두 보기

이 스킬의 문제 신고