DigiTransact · Vibe Coding Academy

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 categories
Transfer 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

Follow-up prompts

Link to this prompt
Meter shared storage Advanced

Account for deleted files and retained versions separately.

Recommended tools: OpenAI Codex or Claude Code

Complete prompt

Specify the state transitions and implement the core business rule for {{project}}. Account for deleted files and retained versions separately.

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 usage breakdown explains all 10 GB rather than hiding retention.

Worked example

Input: 8 GB live; 2 GB retained.
Passing result: The usage breakdown explains all 10 GB rather than hiding retention.

Common mistakes

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt
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

Follow-up prompts

Link to this prompt