DEVELOPMENT WORKBOOK
SaaS development prompts
Work through 14 saas development tasks. Open a brief to see its worked example, customise the variables and copy the completed prompt.
← All categoriesTransfer workspace ownership Advanced
Ensure a workspace never loses its last authorised owner.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Ensure a workspace never loses its last authorised owner.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Ownership remains unchanged until acceptance.
Worked example
Input: owner invites a successor who has not accepted. Passing result: Ownership remains unchanged until acceptance.
Common mistakes
- Treating the normal path as sufficient without checking this case: owner invites a successor who has not accepted.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Ownership remains unchanged until acceptance.
- For “Transfer workspace ownership”, show the smallest evidence a second reviewer would need before sign-off.
Pause a tenant subscription Advanced
Separate temporary suspension from data deletion.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Separate temporary suspension from data deletion.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Data stays intact and the billing schedule shows a resume date.
Worked example
Input: school pauses for the vacation. Passing result: Data stays intact and the billing schedule shows a resume date.
Common mistakes
- Treating the normal path as sufficient without checking this case: school pauses for the vacation.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Data stays intact and the billing schedule shows a resume date.
- For “Pause a tenant subscription”, show the smallest evidence a second reviewer would need before sign-off.
Preview a plan downgrade Advanced
Identify features that exceed the destination tier.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Identify features that exceed the destination tier.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Preview lists two seats to resolve before changing plans.
Worked example
Input: team has seven seats; destination allows five. Passing result: Preview lists two seats to resolve before changing plans.
Common mistakes
- Treating the normal path as sufficient without checking this case: team has seven seats; destination allows five.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Preview lists two seats to resolve before changing plans.
- For “Preview a plan downgrade”, show the smallest evidence a second reviewer would need before sign-off.
Expire a trial gracefully Advanced
Give users read-only access rather than losing export access on expiry.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Give users read-only access rather than losing export access on expiry.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Editing stops but all three invoices remain exportable within policy.
Worked example
Input: trial ends with three invoices. Passing result: Editing stops but all three invoices remain exportable within policy.
Common mistakes
- Treating the normal path as sufficient without checking this case: trial ends with three invoices.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Editing stops but all three invoices remain exportable within policy.
- For “Expire a trial gracefully”, show the smallest evidence a second reviewer would need before sign-off.
Delegate billing contacts Advanced
Separate invoice delivery from access to operational records.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Separate invoice delivery from access to operational records.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. The bookkeeper can obtain invoices but cannot browse customer jobs.
Worked example
Input: external bookkeeper needs receipts only. Passing result: The bookkeeper can obtain invoices but cannot browse customer jobs.
Common mistakes
- Treating the normal path as sufficient without checking this case: external bookkeeper needs receipts only.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The bookkeeper can obtain invoices but cannot browse customer jobs.
- For “Delegate billing contacts”, show the smallest evidence a second reviewer would need before sign-off.
Track tenant onboarding milestones Advanced
Mark completion from meaningful actions rather than page views.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Mark completion from meaningful actions rather than page views.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Import remains incomplete until a valid row is saved.
Worked example
Input: visitor opens import screen without uploading. Passing result: Import remains incomplete until a valid row is saved.
Common mistakes
- Treating the normal path as sufficient without checking this case: visitor opens import screen without uploading.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Import remains incomplete until a valid row is saved.
- For “Track tenant onboarding milestones”, show the smallest evidence a second reviewer would need before sign-off.
Reconcile a tenant rename Advanced
Use stable identifiers when changing public slugs.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Use stable identifiers when changing public slugs.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Existing references resolve to the same workspace ID.
Worked example
Input: workspace moves from acme-old to acme-new. Passing result: Existing references resolve to the same workspace ID.
Common mistakes
- Treating the normal path as sufficient without checking this case: workspace moves from acme-old to acme-new.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Existing references resolve to the same workspace ID.
- For “Reconcile a tenant rename”, show the smallest evidence a second reviewer would need before sign-off.
Budget tenant background jobs Advanced
Preserve fairness when one organisation starts a large import.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Preserve fairness when one organisation starts a large import.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. The single file receives a processing turn before the bulk import finishes.
Worked example
Input: one tenant submits 500 files; another submits one. Passing result: The single file receives a processing turn before the bulk import finishes.
Common mistakes
- Treating the normal path as sufficient without checking this case: one tenant submits 500 files; another submits one.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The single file receives a processing turn before the bulk import finishes.
- For “Budget tenant background jobs”, show the smallest evidence a second reviewer would need before sign-off.
Design support access expiry Advanced
Limit approved assistance to a short window with auditable scope.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Limit approved assistance to a short window with auditable scope.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. After noon the support view closes and access history remains.
Worked example
Input: owner grants invoice inspection until noon. Passing result: After noon the support view closes and access history remains.
Common mistakes
- Treating the normal path as sufficient without checking this case: owner grants invoice inspection until noon.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: After noon the support view closes and access history remains.
- For “Design support access expiry”, show the smallest evidence a second reviewer would need before sign-off.
Model reusable seat invitations Advanced
Release reserved capacity when invitations expire.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Release reserved capacity when invitations expire.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. A fresh invitation can reserve that seat once.
Worked example
Input: last seat held by yesterday’s expired invitation. Passing result: A fresh invitation can reserve that seat once.
Common mistakes
- Treating the normal path as sufficient without checking this case: last seat held by yesterday’s expired invitation.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: A fresh invitation can reserve that seat once.
- For “Model reusable seat invitations”, show the smallest evidence a second reviewer would need before sign-off.
Handle a subscription grace period Advanced
Separate payment retry status from final cancellation.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Separate payment retry status from final cancellation.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Existing access continues until a declared cutoff.
Worked example
Input: renewal pending confirmation during grace. Passing result: Existing access continues until a declared cutoff.
Common mistakes
- Treating the normal path as sufficient without checking this case: renewal pending confirmation during grace.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Existing access continues until a declared cutoff.
- For “Handle a subscription grace period”, show the smallest evidence a second reviewer would need before sign-off.
Separate sandbox from billable work Advanced
Exclude clearly marked demonstration usage from invoices.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Exclude clearly marked demonstration usage from invoices.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. Reports remain in demo analytics but add no billable usage.
Worked example
Input: demo workspace generates 80 reports. Passing result: Reports remain in demo analytics but add no billable usage.
Common mistakes
- Treating the normal path as sufficient without checking this case: demo workspace generates 80 reports.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Reports remain in demo analytics but add no billable usage.
- For “Separate sandbox from billable work”, show the smallest evidence a second reviewer would need before sign-off.
Plan tenant data offboarding Advanced
Track export delivery before scheduled deletion.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Specify the state transitions and implement the core business rule for {{project}}. Track export delivery before scheduled deletion.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a transition table, rule implementation and example fixtures. Identify the source of truth and show what happens when an action is repeated.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A transition table, rule implementation and example fixtures. The timeline shows export status and the earliest permitted deletion date.
Worked example
Input: tenant requests closure while export is building. Passing result: The timeline shows export status and the earliest permitted deletion date.
Common mistakes
- Treating the normal path as sufficient without checking this case: tenant requests closure while export is building.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The timeline shows export status and the earliest permitted deletion date.
- For “Plan tenant data offboarding”, show the smallest evidence a second reviewer would need before sign-off.