> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging.poolside.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Example workflows

> Common tasks you can accomplish with Poolside Agent CLI.

Use these examples as starting points for prompts in `pool` or `pool exec`.

## Refactoring a module

```text theme={null}
@src/auth/ Refactor the authentication module to use the new OAuth2 library.
Update all imports and ensure tests still pass.
```

## Adding a feature

```text theme={null}
Add a dark mode toggle to the app. Update the theme system, add a toggle
component in the settings, and persist the preference to localStorage.
```

## Fixing issues

```text theme={null}
@src/components/DataTable.tsx Fix the pagination bug where clicking "Next"
on the last page causes an error. Add defensive checks and update tests.
```
