Logotipo de Featbit

Featbit

Comunidad
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.

Descripción general

EditorJinFanZheng
Repositoriokode-sdk-csharp
Nombre de la habilidadfeatbit
Estrellas
80
Forks
30
Archivos incluidos
4
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 4

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por JinFanZheng en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Featbit en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/JinFanZheng/kode-sdk-csharp/tree/main/examples/Kode.Agent.WebApiAssistant/skills/featbit
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Featbit en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Featbit automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Featbit no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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)

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Featbit en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Featbit está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Featbit en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/JinFanZheng/kode-sdk-csharp/tree/main/examples/Kode.Agent.WebApiAssistant/skills/featbit. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Featbit?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Featbit?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Featbit con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Featbit?

Sí. JinFanZheng la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇