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

# Debug skill

> Use the debug skill to find and fix project failures.

Use `debug` when a test, preview, deployment, route, or runtime path fails.

## When to use it

| Use `debug` for                | Use another skill for          |
| ------------------------------ | ------------------------------ |
| Failing tests or builds        | Planned feature work           |
| Runtime errors                 | Branch review                  |
| Broken previews or deployments | Source-backed product research |

## What to provide

| Input        | Example                                                     |
| ------------ | ----------------------------------------------------------- |
| Failure      | The preview route `/settings` returns a server error.       |
| Evidence     | Include logs, screenshots, stack traces, or command output. |
| Scope        | Keep account routes unchanged.                              |
| Verification | Rerun the failing path and relevant checks.                 |

## Example request

```text theme={null}
/debug The preview route /settings returns a server error.
Inspect logs and related code first.
Fix the cause, then rerun the failing path.
```

## Expected output

Agent identifies the likely cause, applies a scoped fix when appropriate, reruns checks, and reports remaining risk.

## Related

| Page                                 | Use it to                        |
| ------------------------------------ | -------------------------------- |
| [Build skill](/agent/skills/build)   | Implement known project changes. |
| [Review skill](/agent/skills/review) | Review fixes before merge.       |
