feature-flags-nodejs

Integration and usage of PostHog feature flags for Node.js applications, intended for managing feature flags in backend environments.

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-nodejs" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-aebe7f2b6f616fbb55e0fc33eedfc51ef8078e2f3fca0ec2fead6b6eeaa4a448. Verify the upstream source and version against https://skills.sh/posthog/skills/feature-flags-nodejs 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

Integration and usage of PostHog feature flags for Node.js applications, intended for managing feature flags in backend environments.

0 Downloads

Introduction source: third_party · posthog · 1.0.0 Reference

SkillPi interpretation

Tasks
PostHog feature flags for Node.js 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-nodejs
description: PostHog feature flags for Node.js applications
metadata:
  author: PostHog
  version: 1.9.4

PostHog feature flags for Node.js

This skill helps you add PostHog feature flags to Node.js applications.

Reference files

  • references/nodejs.md - Node.js 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 Value78/100

Highlights

  • 提供 PostHog 功能标志在 Node.js 应用中的集成能力,具有明确的实用价值
  • 面向开发者群体,解决功能标志集成的常见需求
Trigger Precision85/100

Highlights

  • description 明确描述了 Skill 的核心功能,触发词精准
Structure and Standards75/100

Areas to improve

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

    文档中缺少 When to Use 章节,用户无法快速了解适用场景

    Recommendation: 建议添加 When to Use 章节,说明 Skill 的适用场景和使用时机

  • 缺少端到端示例 Reported severity: Minor

    文档中缺少具体的端到端使用示例,用户可能难以理解完整流程

    Recommendation: 建议添加一个完整的端到端示例,展示从安装到使用功能标志的完整流程

Highlights

  • 文档结构清晰,包含关键原则和参考文件说明
  • frontmatter 完整,包含必要的元数据信息
Execution Reliability65/100

Areas to improve

  • 缺少错误处理机制说明 Reported severity: Major

    未详细说明 PostHog MCP 工具调用时的错误处理机制,如服务器未连接时的降级处理

    Recommendation: 建议添加错误处理说明,包括 MCP 服务器不可用时的降级方案和重试机制

  • 缺少工具调用参数说明 Reported severity: Major

    未详细说明 PostHog MCP 工具的具体调用参数和使用方法

    Recommendation: 建议补充 PostHog MCP 工具的具体调用参数说明和使用示例

Highlights

  • 提到了使用 PostHog MCP 工具进行标志管理,提供了自动化管理能力
Evidence Verifiability (mean of the first four)76/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.