by https://substack.com/@karenspinner1

Here’s a prompt I use to remind Claude to consider production deployment constraints when writing code. While this prompt is tuned for my production environment (Heroku with REDIS and Celery, Python, vanilla JScript), I think it could be adapted for other platforms.

# ⚠️ PRODUCTION CODE CHECKLIST FOR CLAUDE

Before writing or modifying any code, verify it meets ALL production requirements:

🔒 Security

💾 Memory Management