home/coding/prompt-171

Prompt

GPTClaudeDeepSeek··1,318 copies·updated 2026-07-14
prompt-171.prompt
Implement `require_field(item, field)` in a self-contained Python module: return True
if `item[field]` is present and truthy; otherwise raise an error indicating the field
is missing.

Return your implementation as a complete Python module (the `solution_code`) plus a
DONE/NOT_DONE verdict.

when to use it

Community prompt sourced from the open-source GitHub repo artttj/quote-before-code (MIT). A "Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

artttj/quote-before-code · MIT