AI Prompt for Spec-Driven & TDD with AI
Use JetBrains AI Assistant to generate property-based tests for a semver comparator with shrinkable inputs in Deno.test.
More prompts for Spec-Driven & TDD with AI.
Produce a Gherkin BDD scenarios for a file uploads with virus scanning before any code is written, with acceptance criteria Claude/Cursor can turn into tests.
Produce a product requirements doc (PRD) for a background job retry with dead-letter queue before any code is written, with acceptance criteria Claude/Cursor can turn into tests.
Generate executable Gherkin scenarios for role-based access control on admin panel, mapped to step definitions in Jest.
Produce a API contract spec with example payloads for a server-side pagination with cursor before any code is written, with acceptance criteria Claude/Cursor can turn into tests.
Drive a permission checker in Java through a strict TDD loop with Zed Assistant: write failing test, make it pass, refactor.
Drive a time-window aggregator in PHP through a strict TDD loop with JetBrains AI Assistant: write failing test, make it pass, refactor.