feature-flags-api

PostHog feature flags for API applications, used to control and manage feature toggles within an application.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "feature-flags-api" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ed175182d232edb20cc53a15ca41e98df0b4a58761e8cdf47f4e937bd800180e. Verify the upstream source and version against https://skills.sh/posthog/skills/feature-flags-api before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skills.sh

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

PostHog feature flags for API applications, used to control and manage feature toggles within an application.

0 Downloads

Introduction source: third_party · posthog · 1.0.0 Reference

SkillPi interpretation

Tasks
PostHog feature flags for API applications
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: feature-flags-api
description: PostHog feature flags for API applications
metadata:
  author: PostHog
  version: 1.9.4

PostHog feature flags for API

This skill helps you add PostHog feature flags to API applications.

Reference files

  • references/api.md - API feature flags installation - docs
  • references/adding-feature-flag-code.md - Adding feature flag code - docs
  • references/best-practices.md - Feature flag best practices - docs

Consult the documentation for API details and framework-specific patterns.

Key principles

  • Environment variables: Always use environment variables for PostHog keys. Never hardcode them.
  • Minimal changes: Add feature flag code alongside existing logic. Don't replace or restructure existing code.
  • Boolean flags first: Default to boolean flag checks unless the user specifically asks for multivariate flags.
  • Server-side when possible: Prefer server-side flag evaluation to avoid UI flicker.

PostHog MCP tools

Check if a PostHog MCP server is connected. If available, look for tools related to feature flag management (creating, listing, updating, deleting flags). Use these tools to manage flags directly in PostHog rather than requiring the user to do it manually in the dashboard.

Framework guidelines

No specific framework guidelines.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 PostHog 功能标志集成能力,解决 API 应用程序开发中的实际需求
  • 面向开发者群体,具有明确的实用场景
Trigger Precision85/100

Highlights

  • 触发描述清晰明确,边界清晰,覆盖合理
Structure and Standards70/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档结构缺少具体的使用场景说明和端到端示例

    Recommendation: 补充 When to Use 章节和具体的使用示例,帮助用户更好地理解何时以及如何使用该 Skill

Highlights

  • 关键原则清晰,frontmatter 完整,引用了相关参考文档
Execution Reliability55/100

Areas to improve

  • 工具来源/参数不明 Reported severity: Major

    未明确说明 PostHog MCP 工具的具体调用方式和参数格式

    Recommendation: 详细说明 PostHog MCP 工具的使用方法,包括必要的参数和调用示例

  • 异常处理缺失 Reported severity: Major

    未覆盖 PostHog 服务不可用等异常场景的处理机制

    Recommendation: 增加对网络异常、服务不可用等场景的处理说明,并提供相应的错误处理建议

Highlights

  • 提到了使用 PostHog MCP 工具进行 flag 管理,体现了对平台能力的利用
Evidence Verifiability (mean of the first four)71/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.