UIPrompt Library
Account
App DashboardsFreeDeveloper toolsflowStructure checked

Switchyard Feature-Flag Readiness Review

Assign rollout owners, review four computed checks and download a JSON handoff with this complete free prompt and working example.

Prompt output preview

Switchyard Feature-Flag Readiness Review

Switchyard Feature-Flag Readiness Review prototype poster
AI-reviewed exampleExample overview
Open interactive preview

Try the working example

  • Assign release and rollback owners
  • Review four derived checks
  • Reset and retry local preparation

Example output from this prompt. Your result will vary with your AI tool and edits.

Prompt
Build Switchyard, a polished local feature-flag readiness workspace for a developer-tools release lead. The buyer job is to inspect a proposed flag rollout, resolve missing ownership and export an honest review handoff. Deliver one self-contained index.html with inline CSS and JavaScript, no framework, external dependencies or network calls. This is an interactive implementation, not another design brief.

Inputs and customization
- Product: Switchyard. Flag: search-v3. Target: fictional PROD sandbox. Customize these labels, accent palette, initial fixture values and allowed owners in one clearly marked configuration object.
- Allowed owners: Maya Chen, Arun Patel, Jules Brooks. Use a native select with an empty “Choose an owner” option for release owner and rollback owner. Initial release owner Maya Chen; rollback owner empty.
- Two explicit checkboxes: “Expiry documented” initially checked; “Test cohort verified” initially checked. A read-only four-item check ledger mirrors release owner, expiry, cohort and rollback owner. Never infer a pass from a label or elapsed timer.
- Visible disclosure: “Fictional sandbox. Nothing is deployed or sent. Changes reset on reload.” Do not invent telemetry, credentials, customer evidence, integrations, certification or live deployment success.

Visual direction
Use an editorial industrial control-room style: warm ivory background, deep charcoal text, restrained cobalt primary action, muted steel borders, amber unresolved state. A compact dark masthead carries Switchyard and a small “Local review” marker. Main heading “Release with a clear rollback.” with one sentence explaining the job. Show flag identity and destination prominently but separate them from the review status.
Desktop: a generous two-column workspace, editable manifest on the left and a crisp readiness ledger on the right; a full-width handoff panel below. Use consistent 8px spacing rhythm, 16px minimum body text, tabular count numerals, readable monospace labels, clear native form controls, 44px actions and generous whitespace. Avoid dense decorative dashboards, huge empty hero areas, gradients and tiny captions. A simple static DEV → STAGE → PROD schematic may support context, but must say the flag remains in STAGE and must never imply an actual transition. No canvas or animation is needed.
Mobile: stack identity, manifest, ledger and handoff in task order. At 320px all content and controls fit without horizontal page scrolling; long JSON wraps inside its own panel. Keep primary actions full width on small screens. Honor reduced motion, 200% zoom, keyboard focus, semantic heading order and WCAG AA contrast. Status must use words as well as color. Include a descriptive page title and inline data favicon.

Behavior and truthfulness
1. Show derived input readiness immediately: three of four checks complete initially. “Review checks” captures an immutable snapshot of the four current inputs and starts a disclosed 350ms local preparation state, then displays its four PASS/NEEDS ACTION outcomes. While pending, disable the review button but keep Reset available. No outcome comes from random values or timing. Zero completed checks must have helpful copy: “No checks complete. Start by choosing a release owner.”
2. Missing owner or unchecked boxes are legitimate incomplete review outcomes, not form errors. An incomplete review says “Needs action” and lists exact unresolved items. All four complete says “Ready for review — not deployed.” Assignment alone never claims a live operation. The user can change the rollback owner and rerun to produce the new computed result.
3. Any input change immediately invalidates the previous reviewed snapshot, hides its downloadable handoff and announces “Inputs changed. Review again.” If a change happens during pending preparation, invalidate the run so it cannot later publish stale output. No stale success or duplicate completion after reset, rapid clicks or changed inputs.
4. The handoff begins with an empty state explaining that Review checks creates a local record. After successful preparation, show a read-only textarea containing formatted JSON with schemaVersion 1, product, flag, target, currentEnvironment “STAGE”, localOnly true, inputs, four check outcomes, unresolved array and readiness (“needs-action” or “ready-for-review”). Do not include timestamps, invented IDs or claimed server storage. The JSON is derived solely from the captured snapshot and remains immutable until invalidated.
5. “Download JSON” produces a real Blob download named switchyard-review.json whose bytes equal the displayed textarea. It is available for either completed review outcome, disabled before a completed review and while preparing. Success copy must say file prepared, never server saved. Catch file-preparation failures, preserve JSON, show a retry action and keep manual selection available. Provide a “Select JSON” button that focuses and selects the read-only textarea for manual copying; do not claim clipboard success.
6. Include an explicitly labeled “Simulate next preparation failure” checkbox in a compact “Demo testing” disclosure. It is not a readiness input and is consumed by the next review. On failure show an actionable error, no completed handoff, and a Retry review action. Retry captures current valid inputs using the same guarded preparation path. This is a disclosed test fixture, not a simulated server outage. Reset restores all initial inputs, clears failure toggles, pending work, output and errors, and returns to the initial empty handoff state.
7. Use async/await for asynchronous code; a monotonic run token is sufficient for stale-result prevention. Update user text with textContent, not injected HTML. Announce results/errors via one polite status region. Do not move focus unexpectedly. Use native disabled buttons with adjacent explanations; no toast-only outcomes. No persistence, API, paid offers, tracking events or external links are needed inside the fictional workspace except a “Source prompt” link to /prompts/app-dashboards-app-dashboards-prompts-for-developer-tools-admin-command-center-20260702-free/.

Acceptance checklist
- Initial state: exactly 3/4, missing rollback owner, empty handoff, download unavailable. Review produces three passes and one needs-action, with matching JSON.
- Choose Jules Brooks for rollback; old output invalidates immediately. Rerun yields 4/4, ready-for-review, environment still STAGE. Download parses and exactly matches the textarea.
- Clear both owners and uncheck both boxes: 0/4 and useful zero-state copy. Review JSON lists exactly four unresolved checks; nothing deploys.
- Toggle failure fixture, review and observe actionable error with no output; retry succeeds. Reset during loading and changing an input during loading cannot produce late output. Rapid repeat actions cannot duplicate completions.
- Reset after success restores initial values and empty handoff. Select JSON selects all displayed text. A failed Blob/download preparation preserves manual JSON and retry.
- Test at desktop 1440px and mobile 390px/320px plus tablet width, keyboard, focus visibility, readable contrast and reduced motion. Inspect actual screenshots and fix clipping, dense spacing and misleading copy before describing this as tested. Report the actual execution tool/model/date separately; never invent human review, other-model compatibility or live integrations.

Prompt brief

Audience
Developer-tools release leads and SaaS builders
Use case
Review feature-flag readiness and export a local handoff

Expected result

  • A responsive four-check workspace with computed readiness, immutable JSON, real downloads and honest recovery states.

Quality checklist

  • Resolve the missing rollback owner and rerun all four checks.
  • Keep incomplete reviews useful with exact unresolved items.
  • Invalidate stale output on input changes or reset.
  • Download exact JSON and recover with manual selection.
  • Complete the workflow at desktop, tablet and 320px mobile widths.
Share a result example

Paste a public image URL from a result this prompt helped create. Submissions stay private until reviewed.

Related prompts