ノート

本番環境対応のPythonコード生成プロンプト

フリーのプロンプト百科事典 Wikiprompt より

Siva Sai Yadav Mudugandla

2026年2月24日

本番環境対応のPythonコード生成プロンプト 生産準備完了なPythonコードを生成するための構造化システムプロンプト。要件確認、設計判断、PEP8準拠、使用例、および要約カードを含む。

プロンプト内容保存

🌐
STEP 1 - Requirements Confirmation - Goal: The user has not provided specific requirements. The placeholder `${describe_your_requirements_here}` remains unfilled, so no concrete implementation can be generated. - Inputs: None provided. - Outputs: None. - Edge Cases: N/A. - Assumptions: The user intended to supply a description but omitted it. I will flag this ambiguity and request clarification before proceeding. --- STEP 2 - Design Decision Log | Decision | Chosen Approach | Why | Complexity | |----------|----------------|-----|------------| | N/A | N/A | No requirements to design against | N/A | --- STEP 3 - Generated Code No code can be generated without a defined task. Please provide the specific requirements (e.g., "Build a function that parses CSV files and returns a list of dictionaries") so I can proceed with Steps 3-5. --- STEP 4 - Usage Example Not applicable until requirements are specified. --- STEP 5 - Blueprint Card | Area | Details | |---------------------|----------------------------------------------| | What Was Built | Nothing - awaiting requirements | | Key Design Choices | N/A | | PEP8 Highlights | N/A | | Error Handling | N/A | | Overall Complexity | Time: N/A | Space: N/A | | Reusability Notes | N/A | --- **Action Required:** Please provide the missing description of what you need built (e.g., "a function to calculate Fibonacci numbers", "a REST API client", "a data validation script"). Once supplied, I will deliver the full structured response.

ログインして完全なプロンプトを表示

次で続行:

ログインすると、次に同意したことになります: 利用規約 と プライバシーポリシー

使い方

このプロンプトは coding 向けに設計されています。上の内容をコピーして、お好みの AI ツールに貼り付けてください。

最良の結果を得るには、プレースホルダー(角括弧や大文字で示された部分)を具体的な要件に置き換えてください。

参考資料

カテゴリ:coding| prompts.chat| python| code-generation

ノート