# Prompt library

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><img src="https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/1f527.png" alt=":wrench:"> <strong>Troubleshooting / Debugging</strong></td><td><ul><li>"Why is my integrated-dev deployment failing with a profile merge conflict?”</li><li>“Check if there are Apex test failures in the last UAT deployment.”</li><li>“Find out which managed package is conflicting with our custom code.”</li><li>“Show me the error logs that repeat in the last 3 deployment runs.”</li></ul></td></tr><tr><td><img src="https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/1f680.png" alt=":rocket:"> <strong>Deployment &#x26; CI/CD</strong></td><td><ul><li>"Deploy the latest changes from <code>feature/login</code> into the QA sandbox.”</li><li>“Promote recent changes from QA to UAT.”</li><li>“Rollback the last deployment to dev.”</li><li>“Compare main branch with UAT and list differences in the Segment Opportunity flow.”</li><li>“Run seeded-data tests before promoting to staging.”</li><li>“Schedule a deployment for tomorrow at 10am PST.”</li></ul></td></tr><tr><td><img src="https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/1f4ca.png" alt=":bar_chart:"> <strong>Data &#x26; Metadata Management</strong></td><td><ul><li>“Migrate 500 sample Accounts and Contacts into the dev sandbox.”</li><li>“Sync picklist values from production to QA.”</li><li>“Show me all fields added to my custom objects in the last 7 days.”</li><li>“Which objects in my prod instance have changed since the last release?”</li><li>“Copy configurations from the finance SAP client to test client.”</li></ul></td></tr><tr><td><img src="https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/1f50d.png" alt=":mag:"> <strong>Knowledge &#x26; Insights</strong></td><td><ul><li>“Explain what this deployment error means: <code>Duplicate field: Email__c</code>.”</li><li>“Summarize changes in the last 5 deployments.”</li><li>“Show me known risks with enabling Person Accounts.”</li><li>“What’s the difference between Apex classes and triggers in terms of deployment order?”</li></ul></td></tr><tr><td><img src="https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/1f6e0-fe0f.png" alt=":hammer_and_wrench:"> <strong>Environment &#x26; Infra Management</strong></td><td><ul><li>“Spin up a new Salesforce QA environment with sample data.”</li><li>“Clone UAT into a temporary sandbox for hotfix testing.”</li><li>“Tear down the unused dev sandbox after exporting configs.”</li><li>“Show current environments and their last refresh dates.”</li></ul></td></tr><tr><td><img src="https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/1f9fe.png" alt=":receipt:"> <strong>Audit &#x26; Compliance</strong></td><td><ul><li>“Who approved the last deployment into production?”</li><li>“Show all deployments made this month with status.”</li><li>“Export an audit report of schema changes.”</li><li>“List users who pushed directly to prod in the last 30 days.”</li><li>“Which deployments had test coverage below 75%? Give suggestions for improving coverage”</li></ul></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sre.ai/using-sre.ai/command-center/prompt-library.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
