All skills
isolating-product-facade-contracts
Migrate a PostHog product to a facade plus contracts layer, splitting internals from presentation.
- Part of PostHog/posthog
- 192 installs
- Developer Tools · Backend
When to use it
Your product still lives under products/<name>/ but core code imports its models, logic, or views directly, and you need a step-by-step migration plan.
For example
You say
Use isolating-product-facade-contracts to migrate the web_analytics product to a facade and contracts layer, starting from a fresh scan.
You get
- Migration phase assessment
- Caller sweep checklist
- PR strategy recommendation
How it works
- Runs product:maturity, product:lint, and product:isolate:scan first to decide which migration phase you're in.
- Covers coupling the import scan misses, like reverse accessors, signals, test fixtures, and HogQL system tables.
- Defaults to one PR with reviewable commits, slicing by owning team only when core coupling is large.
Before installing
The product must already live under products/<name>/; moving code out of posthog/, ee/, or shared directories is out of scope.
More Backend skills
See all- golang-pro19.8kWrites concurrent Go services with goroutines, channels, gRPC or REST, and profiles performance.
- php-pro16.4kBuilds modern PHP applications with strict typing, Laravel or Symfony, tests and REST or GraphQL APIs.
- cuopt-routing-api-python2.3kBuilds and solves vehicle routing, traveling salesman, and pickup-delivery problems in Python with cuOpt.
- cuopt-server-api-python2.2kStarts the cuOpt REST server and calls its endpoints from Python or curl.
Also in this pack
- react-doctor511Diagnoses and fixes React codebase health issues, including performance problems, security gaps and code quality.
- hogli267Explains the PostHog developer CLI and repo tooling for running, building, testing, and linting.
- clickhouse-migrations266Writes and modifies ClickHouse database migrations following project rules.
- survey-sdk-audit255Audits survey SDK features and version requirements, then implements survey changes across backend, UI, and SDKs.