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

# Context

> Attach files, folders, images, and git commits to your messages

## Mentioning Files and Folders

Type `@` to attach files or folders as context. ami reads the content and includes it in the conversation.

### Examples

| Syntax                       | Description                     |
| :--------------------------- | :------------------------------ |
| `@src/components/Button.tsx` | Attach a specific file          |
| `@src/utils/`                | Attach an entire folder         |
| `@src/api.ts:10-50`          | Attach specific line ranges     |
| `@package.json`              | Useful for showing dependencies |

File autocomplete appears after typing 4+ characters. Press `Tab` to accept suggestions.

You can also drag files from your file explorer directly into the chat.

<Tip>
  Attach relevant files upfront. If you know which files matter, mention them in
  your first message. It saves ami from searching.
</Tip>

## Attaching Images

Attach screenshots, diagrams, or mockups to your messages.

| Method          | How                                    |
| :-------------- | :------------------------------------- |
| **Paste**       | `Cmd+V` to paste from clipboard        |
| **Drag & drop** | Drop images directly onto the chat     |
| **Mention**     | `@path/to/image.png` to attach by path |

**Supported formats:** PNG, JPEG, GIF, WebP

**Maximum size:** 30MB

<Tip>
  Use screenshots to show ami exactly what you're seeing: error messages, UI
  bugs, design references.
</Tip>

## Referencing Git Commits

Click **@ Context** to search for and select a git commit. This is useful for reviewing recent changes or understanding what was modified.
