ノート

Contract-Based Email Validator Prompt

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

Millie Marconi

2026年2月10日

Contract-Based Email Validator Prompt A structured prompt template for generating production-ready code with explicit goals, constraints, format, and failure criteria, tested against a simple prompt for better results.

プロンプト内容保存

🌐
Generate Python function to validate email addresses. GOAL: Process 50K emails/sec, 99.9% accuracy CONSTRAINTS: No regex libraries, max 30 lines, Python 3.10+ FORMAT: Function + type hints + docstring + 5 test cases FAILURE: If uses external libs OR lacks error handling OR runs >20ms per 1K emails

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

次で続行:

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

使い方

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

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

参考資料

カテゴリ:coding| twitter| python| email-validation

ノート