Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

writing-tests

Decide whether a new pytest, Jest, or Playwright test earns its place before writing it.

  • Part of PostHog/posthog
  • 153 installs
  • Developer Tools · Testing and debugging

When to use it

You're about to add an assertion or fixture and aren't sure it catches a real regression or belongs in an existing test.

For example

You say

Use the writing-tests skill to check my plan: I want to add a test that parse_filters keeps the team_id clause, and I'm not sure whether to extend the existing parse_filters test or write a new one.

You get
  • Decision on extending vs new test
  • Named regression the test catches
  • Red-check step to confirm failure

How it works

  • Asks you to break the guarded line and watch the test fail before committing.
  • Pushes coverage down a cost ladder, from pure functions up to Playwright.
  • Flags low-value shapes like framework tests, change-detectors, and coverage-chasing.