:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
from posthog.api.routing import RouterRegistry
from products.skills.backend.api.community_skills import CommunitySkillViewSet
from products.skills.backend.api.marketplace_views import LLMSkillMarketplaceViewSet
from products.skills.backend.api.skills import LLMSkillViewSet
def register_routes(routers: RouterRegistry) -> None:
routers.projects.register(r"llm_skills", LLMSkillViewSet, "project_llm_skills", ["team_id"])
# Instance-global community skills catalog (browse/install/vote). New endpoint, projects-only.
routers.projects.register(r"community_skills", CommunitySkillViewSet, "project_community_skills", ["team_id"])
# Git Smart HTTP marketplace. The prefix is the clone repo root: a client appends
# /info/refs and /git-upload-pack, which map to the viewset's two actions. New endpoint,
# so projects-only (no legacy environments alias).
routers.projects.register(
r"llm_skills/marketplace.git",
LLMSkillMarketplaceViewSet,
"project_llm_skills_marketplace",
["team_id"],
)