writing-tests
Skill40k starsChanged 58 days agoLicence not identifiedView on GitHub
Gates whether a new test should exist and forces it to be efficient, protecting CI from low-value test bloat. Use before any change to what a pytest, Jest, or Playwright test asserts or sets up, down to one fixture or one assertion added to an existing block. Front-loads the value bar (every test must catch a realistic regression no existing test already catches; extend the nearest existing test before writing a new standalone one; test behavior through the public interface, not implementation details; collapse near-duplicates into parameterized cases) and the efficiency bar (deterministic, isolated, fast; pick the cheapest test level; Django TestCase over TransactionTestCase; no sleeps, no real network; no time bombs from absolute dates left to age against the real clock; no database a test never uses). Includes a "don't write it" decision tree. For fixing an existing flaky test use `/fixing-flaky-tests`; after this gate says a Playwright test is warranted, use `/playwright-test` for mechanics.
16 other projects use a version of this.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- PostHog/posthog-fossword for word, first seen Oct 4, 2026
- JetBrains/intellij-communitytheir own version, first seen Oct 3, 2026
- iliaal/ai-skillstheir own version, first seen Oct 3, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
- schmitthub/clawkertheir own version, first seen Sep 8, 2026
- ZaxbyHub/opencode-swarmtheir own version, first seen Sep 5, 2026
Who's talking about PostHog/posthog
- A Hacker News story“Posthog/.cursorrules”Hacker News · Mar 9, 2025 · 193 points
- A Hacker News story“Posthog – open-source analytics and UX research tool”Hacker News · Jun 3, 2024 · 127 points
- PostHog/posthog-flutter“Flutter Session Recordings (Android/iOS)”GitHub · Jan 2, 2024 · 90 reactions
- PostHog/posthog-flutter“PostHog Survey on Flutter”GitHub · Mar 1, 2024 · 13 reactions
- PostHog/posthog-ios“Apple error tracking support”GitHub · Dec 9, 2025 · 11 reactions
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on Bluesky, GitHub and Hacker News (24 times).
On Bluesky · 11
- Oct 10, 2026PostHog's hard problem is not adding another tool. It is making analytics, replay, flags, experiments, and customer data keep the same… — @iam.slys.dev4 likes and reposts
- Aug 24, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 PostHog / posthog ⭐ 38,827 (+293) 🗒 Python 🦔 PostHog is the leading platform for building… — @github-trending.bsky.social4 likes and reposts · 1 reply
- Jul 17, 2026📦 PostHog / posthog ⭐ 35,613 (+58) 🗒 Python 🦔 PostHog is an all-in-one developer platform for building successful products. We offer… — @github-trending.bsky.social2 likes and reposts
- Aug 31, 2025keajs.org The maintainer works at Posthog. Bear in mind its a reasonably large Python/TypeScript monolith github.com/PostHog/post... — @dogpawhat.tech2 likes and reposts
- Aug 22, 2026今日のGitHubトレンド PostHog/posthog PostHogは、自律的な製品開発を支援するオープンソースプラットフォームです。 問題の診断や機会の発見、修正に必要なツールを統合的に提供し、製品の成長を促進します。… — @dailygithubtrends.bsky.social1 likes and repost
6 more on Bluesky
- Aug 21, 2026📦 PostHog / posthog ⭐ 37,821 (+41) 🗒 Python 🦔 PostHog is the leading platform for building self-driving products. Our developer tools –… — @github-trending.bsky.social1 likes and repost · 3 replies
- Jul 16, 2026今日のGitHubトレンド PostHog/posthog PostHogは、製品開発を成功させるためのツールを統合したオープンソースのオールインワンプラットフォームです。… — @dailygithubtrends.bsky.social1 likes and repost
- Jun 3, 2024Posthog – open-source analytics and UX research tool (@github.com) Main Link | Discussion — @newsycombinator.bsky.social1 likes and repost
- Oct 10, 2023📦 PostHog / posthog ⭐ 13,797 (+80) 🗒 TypeScript 🦔 PostHog provides open-source product analytics, session recording, feature flagging… — @github-trending-js.bsky.social1 likes and repost
- Feb 20, 2026今日のGitHubトレンド PostHog/posthog PostHogは、製品開発に必要なツールをまとめたオープンソースのプラットフォームです。 イベント分析、セッション録画、機能フラグ、ユーザー調査などを提供し、製品の改善を支援します。… — @dailygithubtrends.bsky.social0 likes and reposts · 2 replies
- Jun 1, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 PostHog / posthog ⭐ 18,052 (+110) 🗒 Python 🦔 PostHog provides open-source product analytics, session… — @github-trending.bsky.social0 likes and reposts · 1 reply
On GitHub · 9
- Jan 2, 2024Flutter Session Recordings (Android/iOS) — PostHog/posthog-flutter90 reactions · 28 comments
- Mar 1, 2024PostHog Survey on Flutter — PostHog/posthog-flutter13 reactions · 12 comments
- Dec 9, 2025Apple error tracking support — PostHog/posthog-ios11 reactions · 5 comments
- Feb 5, 2026Unable to pull remote config (single payload) items via `useFeatureFlagWithPayload` from `posthog-react-native` — PostHog/posthog-js10 reactions · 4 comments
- Feb 27, 2024PostHog Survey on Android — PostHog/posthog-android8 reactions · 2 comments
4 more on GitHub
- Apr 9, 2026Analytics: Add PostHog echo backend — grafana/grafana7 reactions · 9 comments
- Nov 28, 2025React Native plugin for native exceptions - error tracking — PostHog/posthog-js7 reactions · 2 comments
- Dec 5, 2023BI TODOs — PostHog/requests-for-comments-public7 reactions · 12 comments
- Nov 14, 2025chore: add required scopes — PostHog/posthog.com3 reactions · 1 comment
On Hacker News · 4
- Mar 9, 2025Posthog/.cursorrules193 points · 93 comments
- Jun 3, 2024Posthog – open-source analytics and UX research tool127 points · 37 comments
- Feb 20, 2026A PR with multiple bots talking to each other3 points · 1 comment
- Sep 1, 2025Temporal at PostHog2 points
Used with
Projects with it also use create-tasks and reviewing-code.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
NTCodingSkillcreate-tasks
Creates well-formed tasks following a template that engineers can implement. Triggers on: 'create tasks', 'define work items', 'break this down', creating tasks from PRD, converting requirements into actionable tasks, feature breakdown, sprint planning.
Also in 3 projects that use this
augmntSkillreviewing-code
Provides structured code review with prioritized feedback. Use when reviewing PRs, analyzing code quality, checking for bugs, or auditing changes. Triggers on "review this", "check this code", PR reviews, or code quality questions.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 1
- PostHog/posthog-foss★ 721100% same
Edited · 0
None found.
Wrote their own version · 15
- JetBrains/intellij-community★ 21ksame name
- cashew-labs/libretto★ 904same name
- ZaxbyHub/opencode-swarm★ 485same name
- NTCoding/claude-skillz★ 352same name
- schmitthub/clawker★ 54same name
- iliaal/ai-skills★ 43same name
- lox/agent-skills★ 15same name
- witi-projects/Skills★ 2same name
- augmnt/webdev-skills★ 1same name
- codecharmhq/claude-code-skills★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository119 other files it gives its agents.
- AGENTS.mdAGENTS.md
- common/AGENTS.mdAGENTS.md
- proto/AGENTS.mdAGENTS.md
- rust/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- common/CLAUDE.mdCLAUDE.md
- proto/CLAUDE.mdCLAUDE.md
- rust/CLAUDE.mdCLAUDE.md
- .cursor/rules/django-python.mdcCursor rule
- .cursor/rules/react-typescript.mdcCursor rule
- .cursor/rules/rust.mdcCursor rule
- adding-activity-loggingSkill
- adding-api-scopesSkill
- adding-inbound-webhooksSkill
- adding-inbox-sourcesSkill
- adding-ingestion-warningsSkill
- adding-mcp-store-serversSkill
- adding-personhog-rpcSkill
- adding-product-alertingSkill
- adding-project-secret-api-key-authSkill
- adopting-generated-api-typesSkill
- analyzing-experiment-precompute-canarySkill
- analyzing-experiment-query-performanceSkill
- analyzing-insights-across-teamsSkill
- announcing-behavior-changesSkill
- auditing-llm-gateway-paritySkill
- auditing-warehouse-source-coverageSkill
- authenticating-to-clickhouseSkill
- authoring-ci-workflowsSkill
- autoresolving-pr-conflictsSkill
- building-product-empty-statesSkill
- clickhouse-migrationsSkill
- debugging-ci-failuresSkill
- debugging-local-replaySkill
- debugging-local-task-agent-runsSkill
- debugging-mcp-analyticsSkill
- debugging-signals-pipelineSkill
- debugging-table-access-deniedSkill
- depot-ciSkill
- depot-container-buildsSkill
- depot-github-runnersSkill
- developing-subscriptionsSkill
- django-migrationsSkill
- django-startup-timeSkill
- documenting-warehouse-sourcesSkill
- editing-agents-mdSkill
- establishing-code-ownershipSkill
- extending-hobby-smoke-testsSkill
- extending-personhog-test-harnessSkill
- finding-llm-gateway-migration-candidatesSkill
- fixing-flaky-testsSkill
- gating-production-deploysSkill
- gating-sensitive-actionsSkill
- generating-clickhouse-query-performance-reportsSkill
- hogliSkill
- implementing-mcp-toolsSkill
- implementing-mcp-ui-appsSkill
- implementing-warehouse-sourcesSkill
- improving-drf-endpointsSkill
- improving-mcp-toolsSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. 0 are common, 18 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
The licence could not be identified — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

