posthog-integration Cursor ruleA
posthog-integration from posthog/wizard is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add posthog/wizard/e2e-tests/test-applications/react-native-test-app/.cursor/rules/posthog-integration.mdc@git:20250418.2a704f7Pins git:20250418.2a704f7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- posthog/wizard
- Path
e2e-tests/test-applications/react-native-test-app/.cursor/rules/posthog-integration.mdc- Versions recorded
- 1
- Latest version
- git:20250418.2a704f7, committed Apr 18, 2025
- Size
- 1,556 bytes
- Repository stars
- 201
- License
- MIT
apply when interacting with PostHog/analytics tasks.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
Never hallucinate an API key. Instead, always use the API key populated in the .env file. # Feature flags A given feature flag should be used in as few places as possible. Do not increase the risk of undefined behavior by scattering the same feature flag across multiple areas of code. If the same feature flag needs to be introduced at multiple callsites, flag this for the developer to inspect carefully. If a job requires creating new feature flag names, make them as clear and descriptive as possible. If using TypeScript, use an enum to store flag names. If using JavaScript, store flag names as strings to an object declared as a constant, to simulate an enum. Use a consistent naming convention for this storage. enum/const object members should be written UPPERCASE_WITH_UNDERSCORE. Gate flag-dependent code on a check that verifies the flag's values are valid and expected. # Custom properties If a custom property for a person or event is at any point referenced in two or more files or two or more callsites in the same file, use an enum or const object, as above in feature flags. # Naming …
Read the whole file at its exact version.
How to install
mdr add posthog/wizard/e2e-tests/test-applications/react-native-test-app/.cursor/rules/posthog-integration.mdc@sha256:9c0eba90b26525a5The line at the top of this page pins the label git:20250418.2a704f7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_vmzonc6bnohctd7e)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Apr 18, 2025.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1556 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
posthog/wizard · 201 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vmzonc6bnohctd7e GET https://markdownregistry.com/api/v1/resolve?ref=posthog/wizard/e2e-tests/test-applications/react-native-test-app/.cursor/rules/posthog-integration.mdc GET https://markdownregistry.com/api/v1/blob/9c0eba90b26525a5f6f6704ee168ecf692fef1fef232dffb92b717617f894830
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.