ABW
ASIF BRAIN WAVES
PROMPT COMMAND LIBRARY

AI Prompts for Coding

Browse English coding prompts for Python, JavaScript, SQL, debugging, tests and documentation, with Roman Urdu guidance for adapting your request.

300 prompts in this sectionPage 4 of 650 prompts on this page
English draft prompts with Roman Urdu guidance. Prompts have not been tested in each AI tool; adapt your inputs and check the output.

Open the full prompt, fill the bracketed inputs, and review the output. Search all 3,000 commands.

#1951

Create an abortable network request

/coding-create-an-abortable-network-request

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add [AbortController or supported mechanism] to [request flow] with clear cancellation handling. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check canceled requests do not update disposed state. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1952

Clean up a subscription lifecycle

/coding-clean-up-a-subscription-lifecycle

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Repair [subscription code] to dispose listeners and timers at the correct lifecycle boundary. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check reinitialization and repeated teardown. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1953

Convert a callback API into a promise

/coding-convert-a-callback-api-into-a-promise

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Wrap [callback API] once while preserving error-first behavior and cancellation limitations. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check double callbacks and synchronous callback invocation. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1954

Use a Map for identity-based lookup

/coding-use-a-map-for-identity-based-lookup

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Replace [lookup structure] only where [key identity rules] justify Map semantics. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check missing keys, object identity, and iteration order requirements. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1955

Define a safe JSON serialization contract

/coding-define-a-safe-json-serialization-contract

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Serialize [data structure] with explicit handling for dates, undefined values, cycles, and big integers. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check round-trip expectations without promising perfect object reconstruction. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1956

Repair module format interoperation

/coding-repair-module-format-interoperation

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Diagnose [ESM/CommonJS error] from [package configuration] and [runtime version]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check imports, exports, entry points, and test runner compatibility. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1957

Restrict a TypeScript generic correctly

/coding-restrict-a-typescript-generic-correctly

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Improve [generic utility] using constraints that reflect actual required operations. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check inference for representative callers and rejected invalid inputs. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1958

Make an exhaustive switch report omissions

/coding-make-an-exhaustive-switch-report-omissions

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Refactor [union switch] to surface missing variants during type checking. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check a newly added variant produces the intended diagnostic. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1959

Prevent async array iteration mistakes

/coding-prevent-async-array-iteration-mistakes

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Replace [async forEach or mapping code] with intentional sequential or bounded parallel execution. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check order, failures, and concurrency limits. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1960

Review a bundler configuration change

/coding-review-a-bundler-configuration-change

Runtime ya framework version ke saath relevant code aur observed behavior dein. Type-check aur target runtime ki jaanch alag record karein.

JavaScript & TypeScript
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Assess [bundler config diff] against [build targets] and [deployment environment]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check module resolution, output paths, and actual bundle evidence. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1961

Make a form error actionable

/coding-make-a-form-error-actionable

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Revise [form] to associate errors with fields and preserve user-entered values. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check keyboard navigation, announced errors, and recovery after correction. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1962

Add a visible keyboard focus state

/coding-add-a-visible-keyboard-focus-state

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Improve [interactive component] with focus styling that remains visible in [theme]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check focus order and contrast using actual rendered evidence when available. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1963

Repair a modal focus lifecycle

/coding-repair-a-modal-focus-lifecycle

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Implement focus entry, containment where appropriate, escape behavior, and restoration for [modal]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check keyboard-only opening, closing, and nested interaction requirements. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1964

Make a responsive table readable

/coding-make-a-responsive-table-readable

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Adapt [table] for [screen sizes] without hiding required comparison fields. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check overflow, headers, and assistive-technology relationships. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1965

Prevent a layout shift from media loading

/coding-prevent-a-layout-shift-from-media-loading

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Reserve appropriate space for [image or embed] using known dimensions and responsive rules. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Measure layout behavior in the target browser if available. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1966

Handle a slow-loading page state

/coding-handle-a-slow-loading-page-state

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Design loading, empty, error, and successful states for [data view]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check repeated requests and transitions do not leave stale messages. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1967

Build accessible tabs with stable panels

/coding-build-accessible-tabs-with-stable-panels

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Implement [tab set] using documented interaction and semantic requirements. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check keyboard activation, selected state, and panel association. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1968

Make an icon-only action understandable

/coding-make-an-icon-only-action-understandable

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add a meaningful accessible name to [icon button] without duplicating visible text. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check the name reflects the action and state. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1969

Improve a mobile navigation menu

/coding-improve-a-mobile-navigation-menu

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Repair [navigation menu] for touch, keyboard, focus management, and viewport changes. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check opening, closing, route selection, and orientation changes. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1970

Respect reduced-motion preferences

/coding-respect-reduced-motion-preferences

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Adapt [animation] under [motion preference] while preserving essential status communication. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check both preference states and animation cleanup. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1971

Keep filter state in the URL

/coding-keep-filter-state-in-the-url

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Encode [filter model] in query parameters with stable defaults and validation. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check refresh, back navigation, and shareable links. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1972

Prevent a stale search result render

/coding-prevent-a-stale-search-result-render

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Coordinate [search requests] so only the current query controls visible results. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check deliberately reversed response ordering. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1973

Add a clear empty-state action

/coding-add-a-clear-empty-state-action

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Create an empty state for [view] distinguishing no data, no matches, and unavailable data. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check the action is relevant to each state. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1974

Repair an overflow at a narrow breakpoint

/coding-repair-an-overflow-at-a-narrow-breakpoint

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Inspect [layout] and [screenshot dimensions] to locate the element causing horizontal overflow. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check the smallest supported viewport without hiding required content. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1975

Make a chart understandable without color

/coding-make-a-chart-understandable-without-color

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Revise [chart] using labels, patterns, or textual summaries under [data constraints]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check information remains understandable in grayscale and by keyboard if interactive. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1976

Improve a drag-and-drop control alternative

/coding-improve-a-drag-and-drop-control-alternative

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add keyboard or button-based alternatives for [reordering interaction]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check resulting order, announcements, and undo behavior. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1977

Make a live status update restrained

/coding-make-a-live-status-update-restrained

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Choose appropriate live-region behavior for [status messages] without repeated noisy announcements. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check rapid updates and initial page render. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1978

Handle localized text expansion

/coding-handle-localized-text-expansion

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Adapt [component] for [supplied translations] and longer labels without truncating required meaning. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check wrapping, directionality where requested, and button sizing. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1979

Create printable output for one page

/coding-create-printable-output-for-one-page

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add print styles to [report page] while preserving critical values and headings. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check page breaks, clipped tables, and hidden navigation in actual print preview when available. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1980

Audit a component's semantic HTML

/coding-audit-a-component-s-semantic-html

Component ka code, screenshot aur supported screen sizes dein. Target browser mein keyboard aur mobile behavior khud check karein.

Front-End & Accessibility
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Review [component markup] for correct elements, headings, labels, and landmark relationships. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check behavior and accessible meaning before replacing elements. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1981

Separate request transport from domain logic

/coding-separate-request-transport-from-domain-logic

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Refactor [handler] into validation, domain action, and response mapping using minimal new structure. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check error mapping and side effects remain ordered correctly. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1982

Make a background job resumable

/coding-make-a-background-job-resumable

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add checkpoints to [long job] using [durable storage] and [resume rules]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check failure between work completion and checkpoint recording. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1983

Implement a transactional outbox boundary

/coding-implement-a-transactional-outbox-boundary

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Design reliable event publication for [database write] using [available transaction mechanism]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check duplicate delivery and failure before or after commit. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1984

Define a job state machine explicitly

/coding-define-a-job-state-machine-explicitly

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Model [job workflow] with valid states, transitions, and terminal outcomes. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check illegal transitions and recovery from abandoned work. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1985

Handle a poison message in a queue

/coding-handle-a-poison-message-in-a-queue

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Design bounded retries and isolation for [invalid queue message] using [queue capabilities]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check unaffected messages continue processing. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1986

Design a cache key from real inputs

/coding-design-a-cache-key-from-real-inputs

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Create a key scheme for [cached result] including relevant tenant, locale, version, and query inputs. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check collisions and omitted dimensions. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1987

Bound a batch worker's concurrency

/coding-bound-a-batch-worker-s-concurrency

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Limit [worker] to [resource budget] while preserving retries and completion accounting. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check high load, individual failures, and shutdown behavior. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1988

Implement an optimistic update conflict

/coding-implement-an-optimistic-update-conflict

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add version checks for [resource update] using [storage contract]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check stale edits return a recoverable conflict without overwriting newer data. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1989

Keep audit events aligned with writes

/coding-keep-audit-events-aligned-with-writes

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Place [audit recording] at the correct boundary for [write operation]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check failed writes do not produce false success audit events. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1990

Model a reversible deletion workflow

/coding-model-a-reversible-deletion-workflow

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Design [deletion process] under [retention and restore rules] with explicit irreversible steps. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check dependent records and authorized restoration. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1991

Prevent duplicate scheduled job execution

/coding-prevent-duplicate-scheduled-job-execution

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Use [scheduler/storage facilities] to coordinate [job] across multiple instances. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check lease expiration, retries, and overlapping schedules. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1992

Implement graceful worker termination

/coding-implement-graceful-worker-termination

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add stop-accepting, bounded-drain, and cleanup behavior to [worker]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check in-flight completion and restart redelivery semantics. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1993

Represent money without silent precision loss

/coding-represent-money-without-silent-precision-loss

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Model [amount and currency fields] under [precision policy] in [application stack]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check rounding, negative adjustments, and serialization. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1994

Design tenant-aware configuration lookup

/coding-design-tenant-aware-configuration-lookup

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Resolve [configuration] for [tenant] with explicit fallback and access rules. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check missing settings and cross-tenant isolation. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1995

Keep an event schema compatible

/coding-keep-an-event-schema-compatible

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Change [event payload] using [consumer contracts] and [schema policy]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check older consumers and newly introduced optional fields. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1996

Add a circuit breaker from stated requirements

/coding-add-a-circuit-breaker-from-stated-requirements

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Design a breaker around [unstable dependency] using [failure and recovery thresholds]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check open, half-open, and successful recovery transitions. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1997

Build a safe administrative dry run

/coding-build-a-safe-administrative-dry-run

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Add dry-run output for [administrative operation] showing planned changes without applying them. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check write paths are skipped and output matches real targeting rules. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1998

Handle partial success in a workflow

/coding-handle-partial-success-in-a-workflow

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Specify [multi-step operation] outcomes and compensating actions using [business rules]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check compensation failure and clearly report remaining work. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#1999

Use an injected clock for domain deadlines

/coding-use-an-injected-clock-for-domain-deadlines

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Replace direct time reads in [deadline logic] with [clock abstraction]. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check exact deadline, before/after boundaries, and timezone policy. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool
#2000

Create a bounded diagnostic endpoint

/coding-create-a-bounded-diagnostic-endpoint

Business rule, handler ya worker ka code aur required state transitions dein. Asal user behavior aur partial failures ko test environment mein check karein.

Back-End Application Design
Full English prompt
Work from [relevant source/files], [language/runtime/framework versions], and [required behavior or constraints]. Ask only for missing information that affects correctness; otherwise state a limited assumption. Design [diagnostic endpoint] exposing only safe operational status for authorized callers. Preserve existing behavior outside the requested scope and prefer the smallest necessary edit. Return the concrete deliverable this task requires (patch, query, example, checklist, or plan), a brief reason, and verification evidence or steps. Check expensive checks, sensitive fields, and access controls. Distinguish proposed checks from actually executed checks; never invent successful runs. Use sanitized examples and placeholders for credentials or private data.
Draft prompt · not tested in each AI tool