Skip to content

feat: monorepo#93

Open
sarahxsanders wants to merge 4 commits intomainfrom
monorepo
Open

feat: monorepo#93
sarahxsanders wants to merge 4 commits intomainfrom
monorepo

Conversation

@sarahxsanders
Copy link
Collaborator

@sarahxsanders sarahxsanders commented Mar 3, 2026

trusty companion to PostHog/wizard#278

changes needed for monorepo support, plus some prompt quality fixes discovered during testing

Monorepo support

  • new turborepo commandment tag: tells the agent to create per-project turbo.json files for PostHog env vars instead of modifying the root config
  • added turborepo tag to framework variants

Commandment stuff

  • react: block manual pageview/page viewed events, autocapture handles these, manual was creating duplicates
  • nextjs: never add use client to an existing server component, extract a small client component instead
  • js web and node: always use the package manager for dependencies, never hardcode API keys or hosts
  • swift: rewritten SPM dependency guidance to cover xcodeproj and Package.swift projects
  • android: rewritten to detect Groovy vs Kotlin DSL in build.gradle(.kts) and match the existing format
  • laravel: added Laravel 11+ bootstrap/app.php distinction
  • added posthog-api tag: check for existing dashboard/insights before creating duplicates, subagents were creating dupes

Prompt tweaks

  • 1.0 begin: strengthened no-pageview rule with explicit rationale
  • 1.3 conclude: check for existing dashboards/insights before creating new ones to avoid duplicates

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci android
  • /wizard-ci angular
  • /wizard-ci astro
  • /wizard-ci django
  • /wizard-ci fastapi
  • /wizard-ci flask
  • /wizard-ci javascript-node
  • /wizard-ci javascript-web
  • /wizard-ci laravel
  • /wizard-ci next-js
  • /wizard-ci nuxt
  • /wizard-ci python
  • /wizard-ci rails
  • /wizard-ci react-native
  • /wizard-ci react-router
  • /wizard-ci sveltekit
  • /wizard-ci swift
  • /wizard-ci tanstack-router
  • /wizard-ci tanstack-start
  • /wizard-ci vue

Test an individual app:

  • /wizard-ci android/Jetchat
  • /wizard-ci angular/angular-saas
  • /wizard-ci astro/astro-hybrid-marketing
Show more apps
  • /wizard-ci astro/astro-ssr-docs
  • /wizard-ci astro/astro-static-marketing
  • /wizard-ci astro/astro-view-transitions-marketing
  • /wizard-ci django/django3-saas
  • /wizard-ci fastapi/fastapi3-ai-saas
  • /wizard-ci flask/flask3-social-media
  • /wizard-ci javascript-node/express-todo
  • /wizard-ci javascript-node/fastify-blog
  • /wizard-ci javascript-node/hono-links
  • /wizard-ci javascript-node/koa-notes
  • /wizard-ci javascript-node/native-http-contacts
  • /wizard-ci javascript-web/saas-dashboard
  • /wizard-ci laravel/laravel12-saas
  • /wizard-ci next-js/15-app-router-saas
  • /wizard-ci next-js/15-app-router-todo
  • /wizard-ci next-js/15-pages-router-saas
  • /wizard-ci next-js/15-pages-router-todo
  • /wizard-ci nuxt/movies-nuxt-3-6
  • /wizard-ci nuxt/movies-nuxt-4
  • /wizard-ci python/meeting-summarizer
  • /wizard-ci rails/fizzy
  • /wizard-ci react-native/expo-react-native-hacker-news
  • /wizard-ci react-native/react-native-saas
  • /wizard-ci react-router/react-router-v7-project
  • /wizard-ci react-router/rrv7-starter
  • /wizard-ci react-router/saas-template
  • /wizard-ci react-router/shopper
  • /wizard-ci sveltekit/CMSaasStarter
  • /wizard-ci swift/hackers-ios
  • /wizard-ci tanstack-router/tanstack-router-code-based-saas
  • /wizard-ci tanstack-router/tanstack-router-file-based-saas
  • /wizard-ci tanstack-start/tanstack-start-saas
  • /wizard-ci vue/movies

Results will be posted here when complete.

@sarahxsanders sarahxsanders changed the title Monorepo monorepo skillz Mar 3, 2026
@sarahxsanders sarahxsanders changed the title monorepo skillz monorepo support + prompt hardening Mar 3, 2026
@sarahxsanders sarahxsanders changed the title monorepo support + prompt hardening feat: monorepo Mar 3, 2026
@sarahxsanders sarahxsanders marked this pull request as ready for review March 3, 2026 21:53
@sarahxsanders sarahxsanders requested a review from a team March 3, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant