saas-dev:analytics-delivery

Convert PageSpec analytics layers into PostHog capture code and deployment configs.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/antonyfmunoz/OS --skill saas-dev-analytics-delivery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saas-dev:analytics-delivery
Source: https://github.com/antonyfmunoz/OS/tree/main/skills/saas-dev-skill/.claude/skills/saas-dev/skills/analytics-delivery
Command: npx skills add https://github.com/antonyfmunoz/OS --skill saas-dev-analytics-delivery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires posthog-js, node, typescript, github actions, docker, railway cli, fly cli, render deploy hook.

What problem does it solve?

Shipping a new SaaS product often fails late because analytics are incomplete, feature flags are missing, and deployments lack safe, repeatable configuration—so teams lose time and ship blind.

Core Features & Use Cases

  • PostHog instrumentation delivery: Automatically injects posthog.capture() into page components using your PageSpec analytics layers, including deduped load events and structured manual capture snippets.
  • Feature flags and dashboard setup: Creates feature flags via the PostHog API when the required keys are present and generates baseline dashboard setup guidance.
  • Deployment infrastructure generation: Produces Dockerfile, .dockerignore, platform configs, and GitHub Actions CI/CD, then runs deploy with preflight validation and a confirmation gate.

Quick Start

Use the saas-dev:analytics-delivery skill to instrument your SaaS app with PostHog and generate deployment + CI/CD files for your chosen hosting target.

Frequently Asked Questions about saas-dev:analytics-delivery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Can I generate Docker and CI/CD configurations for Railway, Render, or Fly deployments?

PostHog feature flags are created directly via the PostHog API when the required project keys are present, and the process also generates baseline dashboard setup guidance to help you monitor flag usage and analytics events.

How do I set up PostHog feature flags and dashboards during SaaS deployment?

PostHog feature flags are created directly via the PostHog API when the required project keys are present, and the process also generates baseline dashboard setup guidance to help you monitor flag usage and analytics events.

What is needed to detect PostHog project keys for environment configuration?

Yes, you can generate Dockerfiles, .dockerignore, platform-specific configurations, and GitHub Actions CI/CD workflows for Railway, Render, Fly, or custom targets, complete with preflight validation and a confirmation gate before deployment execution.

How does taxonomy auditing work for PostHog event instrumentation?

Taxonomy auditing scans your PageSpec event taxonomy to detect collisions before code generation, ensuring that automatically injected posthog.capture calls and manual capture snippets remain deduplicated and structurally sound across page components.

Does the analytics delivery process include deployment preflight validation?

Yes, the process runs gated preflight validation and deployment execution after generating your Docker, platform configs, and CI/CD workflow output, ensuring safe and repeatable SaaS releases with guardrails.