Featbitのロゴ

Featbit

コミュニティ
JinFanZheng
featbit

FeatBit official documentation real-time Q&A assistant. Activate when user mentions "FeatBit", "feature flag", "feature toggle", or asks about FeatBit SDK integration, deployment, or configuration. Capabilities: Real-time fetching from docs.featbit.co and GitHub, supporting SDK integration, Docker/K8s deployment, feature flag configuration, A/B testing, and more.

概要

公開者JinFanZheng
リポジトリkode-sdk-csharp
スキル名featbit
スター
80
フォーク
30
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    JinFanZhengがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Featbit」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/JinFanZheng/kode-sdk-csharp/tree/main/examples/Kode.Agent.WebApiAssistant/skills/featbit
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JinFanZheng/kode-sdk-csharp.git /tmp/kode-sdk-csharp
mkdir -p .claude/skills
cp -r /tmp/kode-sdk-csharp/examples/Kode.Agent.WebApiAssistant/skills/featbit .claude/skills/featbit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFeatbitを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFeatbitを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Featbitは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

FeatBit Documentation Q&A Assistant

Real-time fetching with precise routing, no index maintenance, always up-to-date information.

Documentation Architecture (Critical)

Doc TypeHostingFetch MethodReason
SDK IntegrationGitHub READMEwebReader on GitHubSDK docs not on official site
Deployment/Featuresdocs.featbit.cowebReader on docsStandard doc structure
All TypesReal-time, no cacheFeatBit under active development, docs update frequently

Decision Logic: If question contains "SDK", "integration", "client", "server" keywords → GitHub; otherwise → docs.featbit.co

Workflow

User Question
    ↓
[MANDATORY Step 1] Load Routing Rules
    ↓
Use fs_read to completely read the following files (do NOT set line limits):
  - references/page-map.md (29 documentation page mappings)
  - references/keywords.md (keyword matching priority rules)

[IMPORTANT] usage.md is for humans, Agent does NOT need to load it.
    ↓
Identify question type and platform according to keywords.md rules
    ↓
Locate relevant documentation pages from page-map.md (note SDK vs other docs hosting difference)
    ↓
Use webReader to fetch page content (GitHub URLs for SDK, docs.featbit.co for others)
    ↓
Answer question based on page content
    ↓
Attach source links

Answer Guidelines

Must Include

  1. Direct Answer: Clear answer in the language of the question, do not repeat the question
  2. Code Examples: Provide directly runnable code for SDK integration questions
  3. Source Links: Attach official documentation links at the end of each answer
markdown
## Answer

To integrate .NET SDK, follow these steps...

### Code Example

\`\`\`csharp
using FeatBit.ServerSdk;
var client = FbClient.Create(...);
\`\`\`

---
**Source**: [.NET Server SDK](https://github.com/featbit/featbit-dotnet-sdk)

Special Cases

No answer in documentation:

Sorry, the official documentation does not contain information about "xxx".
Please check [Official Documentation](https://docs.featbit.co/) or ask in [GitHub Issues](https://github.com/featbit/featbit/issues).

Multiple relevant pages:

Based on your question, the following documentation may be relevant:
1. [Page 1 Title](URL1) - Brief description
2. [Page 2 Title](URL2) - Brief description

NEVER DO (Learned from Pitfalls)

  1. NEVER assume all docs are on docs.featbit.co

    • ❌ Wrong: Using webReader on GitHub may get incomplete content
    • ✅ Right: SDK questions → GitHub README, others → docs.featbit.co
    • 🚨 Consequence: Providing incorrect SDK integration steps
  2. NEVER use LaunchDarkly or other competitor docs to infer

    • ❌ Wrong: "Feature flags should be similar"
    • ✅ Right: Must fetch from FeatBit official docs, say "not found in docs" if missing
    • 🚨 Consequence: APIs are completely different, causes integration failure
  3. NEVER cache documentation content for more than 24 hours

    • ❌ Wrong: Caching SDK docs to save tokens
    • ✅ Right: Always fetch in real-time, especially SDK content
    • 🚨 Consequence: FeatBit SDK updates frequently, cache leads to outdated API advice
  4. NEVER confuse SDK Key and Environment Secret

    • ❌ Wrong: Both keys serve the same purpose, use either
    • ✅ Right: SDK Key for client connections, Environment Secret for server API
    • 🚨 Consequence: Most common beginner mistake, causes SDK initialization failure
  5. NEVER answer with generic "feature flag" concepts

    • ❌ Wrong: Explaining what is feature flag, why use it
    • ✅ Right: Jump directly to "how to create in FeatBit UI" operational steps
    • 🚨 Consequence: User wants operational steps, not concept explanation
  6. NEVER ignore platform differences

    • ❌ Wrong: .NET SDK and JavaScript SDK initialize the same way
    • ✅ Right: Each platform SDK has specific initialization parameters and config
    • 🚨 Consequence: Cross-platform application leads to non-executable code

Tools

Recommended Tool: query.py

Location: scripts/query.py

Use Case: Quick documentation page location (no full answer needed)

python
from scripts.query import FeatBitDocFinder

# Find relevant pages
pages = FeatBitDocFinder.find_pages("How to integrate .NET SDK")

# Output:
# [
#   {
#     "url": "https://github.com/featbit/featbit-dotnet-sdk",
#     "category": "sdk",
#     "reason": "Matched category: sdk, platform: dotnet"
#   }
# ]

Command Line Usage:

bash
# Query pages
python scripts/query.py "How to configure targeting rules"

# List all pages
python scripts/query.py --list-pages

# JSON output
python scripts/query.py "Where to find SDK key?" --json

Note: This tool is only for page location. Full Q&A still requires fetching page content.

Quick Reference

Question Type Quick Reference

Question TypeKeywordsHostingExample
SDK Integrationsdk, integration, initialize, client, serverGitHub"How to integrate React SDK?"
Deployment Operationsdeployment, docker, kubernetes, helmdocs.featbit.co"Docker deployment steps"
Feature Managementfeature flag, toggle, targeting, rollout, ab testdocs.featbit.co"How to configure targeting rules?"
Configuration Managementsdk key, secret, environment, webhookdocs.featbit.co"Where to find SDK key?"

Decision Framework

Before Fetching Documentation, Ask Yourself:

  1. Precise Location: Does the question contain platform/category keywords?

    • Yes → Use keywords.md rules for precise matching
    • No → Return overview page https://docs.featbit.co/
  2. Documentation Location: Is this an SDK question or other question?

    • SDK → Go to GitHub README
    • Other → Go to docs.featbit.co
    • Basis: Classification in page-map.md
  3. Timeliness: Does this type of information change frequently?

    • SDK API → Must fetch in real-time
    • Core concepts → Can cache 24h (but real-time still recommended)
  4. Completeness: Does the user need operational steps or concept explanation?

    • Operations → Fetch directly and provide steps
    • Concepts → Explain first, then provide doc link

Handling Fetch Failures

SymptomPossible CauseSolution
404 ErrorURL expiredCheck if page-map.md needs update
Empty ContentGitHub README in non-standard locationTry fetching repository root directory
Incomplete ContentwebReader parsing issueTry fetching directly from raw.githubusercontent.com

Extension & Maintenance

Adding New Documentation Pages

Edit PAGES dictionary in scripts/query.py:

python
PAGES = {
    "sdk": {
        "new-platform": "https://github.com/featbit/featbit-new-platform-sdk",
    },
    "deployment": {
        "new-platform": "https://docs.featbit.co/installation/new-platform",
    },
}

Adding New Keywords

Edit KEYWORDS dictionary in scripts/query.py:

python
KEYWORDS = {
    "new-platform": ["new-platform", "np", "new platform"],
}

Important: When modifying, also update:

  • references/page-map.md - Documentation mapping
  • references/keywords.md - Keyword rules

Reference Materials

  • references/page-map.md - Complete mapping of 29 documentation pages (Agent MUST load)
  • references/keywords.md - Keyword matching rules and priorities (Agent MUST load)
  • references/usage.md - Human usage guide (Agent does NOT need to load)

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Featbit」では何ができますか?

FeatBit official documentation real-time Q&A assistant. Activate when user mentions "FeatBit", "feature flag", "feature toggle", or asks about FeatBit SDK integration, deployment, or configuration. Capabilities: Real-time fetching from docs.featbit.co and GitHub, supporting SDK integration, Docker/K8s deployment, feature flag configuration, A/B testing, and more.

TypingMindでFeatbitを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Featbitはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFeatbitをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/JinFanZheng/kode-sdk-csharp/tree/main/examples/Kode.Agent.WebApiAssistant/skills/featbitを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Featbitを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Featbitで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFeatbitを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Featbit」は無料ですか?

はい。JinFanZhengがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇