> For the complete documentation index, see [llms.txt](https://metalbear.com/mirrord/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metalbear.com/mirrord/docs/use-cases.md).

# Use Cases

- [Remocal Development](https://metalbear.com/mirrord/docs/use-cases/local-development.md): Run your code locally while it communicates with real cloud services
- [CI/CD Integration](https://metalbear.com/mirrord/docs/use-cases/mirrord-for-ci.md): How to use mirrord in a CI environment with \`mirrord ci\` commands.
- [Preview Environments](https://metalbear.com/mirrord/docs/use-cases/preview-environments.md): Ephemeral, isolated environments connected to your cluster
- [Preview Environments in CI](https://metalbear.com/mirrord/docs/use-cases/preview-environments/preview-environments-in-ci.md): How to automate preview environments in your CI pipeline with PR-based keys and header propagation
- [Chaos Testing](https://metalbear.com/mirrord/docs/use-cases/chaos-testing.md): Introduce unexpected failures or disruptions to chaos test your app with mirrord.
- [Using mirrord with AI](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai.md): Configure AI coding agents to test code changes against your cluster using mirrord
- [Agent Skills for mirrord](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/ai-skills-plugin.md): Install the mirrord skills plugin to give AI coding assistants like Cursor and Claude Code domain-specific knowledge of how to work with mirrord.
- [Configure AI Agents to Use mirrord](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/the-meta-prompt.md): Configure AI coding agents to test code changes against your cluster using mirrord


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://metalbear.com/mirrord/docs/use-cases.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
