﻿# Detect unused variables

:::div{.info}
**🏷 Capability:** Best practices optimization
:::

Identify variables that are defined but not used in deployment steps or runbooks, helping reduce clutter and avoid confusion.

## 📝 Prompt

```
Find and list unused variables across this project
```

## 💡 Tips for customizing

- Limit to specific variable scopes
- Target only library variable sets
- Include variable usage frequency if available

## 📚 Further reading

- [Octopus documentation](https://octopus.com/docs)
- [Octopus best practices](https://octopus.com/docs/best-practices)
