feature-flags-java
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-java" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-864b9eb3704d58919059a1d01148786ff4a6bb95b072bb99a333003b95ffc80f. Verify the upstream source and version against https://skills.sh/posthog/skills/feature-flags-java 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 Java applications.
Introduction source: third_party · posthog · 1.0.0 Reference
SkillPi interpretation
- Tasks
- PostHog feature flags for Java applications
- Testing
- Not tested
Browse files
Frontmatter
name: feature-flags-java
description: PostHog feature flags for Java applications
metadata:
author: PostHog
version: 1.9.4PostHog feature flags for Java
This skill helps you add PostHog feature flags to Java applications.
Reference files
references/java.md- Java feature flags installation - docsreferences/adding-feature-flag-code.md- Adding feature flag code - docsreferences/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
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 为 Java 开发者提供 PostHog 功能标志集成的实用解决方案
- 包含明确的最佳实践指导,如环境变量使用和布尔标志优先原则
Highlights
- 触发描述精准明确,专门针对 Java 应用的 PostHog 功能标志场景
- 边界清晰,不易与其他技能混淆
Areas to improve
-
缺少具体使用示例 Reported severity: Minor
文档中提到了参考文件和最佳实践,但缺少端到端的实际使用示例
Recommendation: 添加具体的代码示例和使用场景说明,帮助用户更好地理解如何集成
-
缺少 When to Use 章节 Reported severity: Minor
文档结构完整但缺少明确的使用场景说明章节
Recommendation: 添加 When to Use 章节,说明在什么情况下应该使用此技能
Highlights
- 文档结构清晰,包含关键原则和参考文件指引
- 提供了 PostHog MCP 工具的使用建议
Areas to improve
-
缺少异常处理说明 Reported severity: Minor
文档强调了最佳实践但未提及错误处理和异常情况处理
Recommendation: 添加关于网络错误、配置错误等异常情况的处理建议
Highlights
- 明确建议使用环境变量避免硬编码密钥
- 提供了服务端评估优先的建议以避免 UI 闪烁
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.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.