🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

PR-Proof-of-Work

by @newtontech

TDD-driven E2E workflow with real Playwright browser screenshots as PR proof. Use when: (1) fix bugs or implement features with test-first approach, (2) crea...

Versionv1.0.0
πŸ”’ Constraints

  • One issue at a time β€” complete one PR before starting the next
  • BEFORE and AFTER must BOTH exist before PR comment β€” hard gate, no exceptions
  • Screenshots save to worktree via E2E_SCREENSHOT_DIR, never to main repo
  • Always study β‰₯2 passing tests first β€” this is the #1 rule
  • NEVER use page.setContent() β€” real app only
  • Playwright TS transform rejects inline object params β€” always extract to variable
  • screenshot-reporter.ts must be copied to each worktree's e2e/ (not on fix branches)
  • Test MUST pass before PR β€” never create PR with failing tests
  • View on ClawHub
    TERMINAL
    clawhub install pr-proof-of-work

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’