Deployment & CI/CD Workflow
Claude Code can run every check command in sequence and compile results. The 'do not actually deploy' guardrail is critical for trust. Checking for hardcoded secrets and undocumented env vars catches the issues that cause most deployment failures.
Prepare this project for deployment. Here is what I need: **Target:** {{deploymentTarget}} **Current state:** {{currentState}} **Tasks:** 1. **Pre-deploy checks:** - Run the full test suite: {{testCommand}} - Run lint: {{lintCommand}} - Run type check: {{typeCheckCommand}} - Check for any TODO/FIXME comments in the code that should be resolved - Verify environment variables are documented 2. **Build verification:** - Run {{buildCommand}} and ensure it succeeds - Check the build output size and flag anything unusually large 3. **Deployment config:** - Verify {{configFile}} has the correct settings for {{environment}} - Check that sensitive values are using environment variables, not hardcoded 4. **Create a deploy checklist** as a comment summarizing: - What tests passed/failed - Any warnings from the build - Environment variables needed - Any manual steps required after deploy Do not actually deploy — just prepare everything and give me the checklist.
Variables to customize
Why this prompt works
Claude Code can run every check command in sequence and compile results. The 'do not actually deploy' guardrail is critical for trust. Checking for hardcoded secrets and undocumented env vars catches the issues that cause most deployment failures.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Get thorough code reviews with actionable feedback tailored to your language, framework, and standards.
Context-Aware Code CompletionProviding the surrounding code and project context lets the model match existing patterns exactly. The constraint against modifying existing code prevents unwanted side effects.
Inline Code SuggestionConstraining suggestions to match existing style and scope produces insertions that feel native to the codebase. The 'no explanation' rule mimics real inline completion behavior.
Code ExplanationThe audience level parameter adjusts complexity automatically. Requiring a usage example ensures the explanation is practical, not just theoretical.