feature-flags-rust
PostHog feature flags for Rust applications
How do I install this agent skill?
npx skills add https://github.com/posthog/skills --skill feature-flags-rustIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill serves as a comprehensive documentation and implementation guide for PostHog feature flags across multiple platforms, including Rust, Node.js, Python, and mobile SDKs. It emphasizes security best practices, such as utilizing environment variables for API keys and tokens.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
PostHog feature flags for Rust
This skill helps you add PostHog feature flags to Rust applications.
Reference files
references/rust.md- Rust 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/posthog/skills/feature-flags-rust">View feature-flags-rust on skillZs</a>