packages/kilo-docs/STYLE_GUIDE.md
This guide covers writing, formatting, and structuring documentation for the Kilo Code docs site.
Kilo Code documentation should be:
kilo run to execute a task" not "You can run kilo run"## Installing Kilo Code
### VS Code Extension
### CLI
Use numbered lists for step-by-step instructions. Each step should be a complete action.
1. Open VS Code
2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
3. Search for "Kilo Code"
4. Click the dropdown arrow next to **Install** and select **Install Pre-Release Version**
Use callouts to highlight important information. Choose the right type:
| Type | Use for |
|---|---|
note | General information users should know |
tip | Helpful shortcuts or best practices |
info | Context or background information |
warning | Potential problems or important cautions |
danger | Critical warnings that could cause data loss |
generic | Content without a specific visual treatment |
{% callout type="tip" %}
**The easiest way to configure Kilo is to ask the agent.** Just tell the agent what you want.
{% /callout %}
/docs/ for internal links.md extensionsGood: [Quickstart Guide](/docs/getting-started/quickstart)
Bad: [Click here](/docs/getting-started/quickstart)
kilo run for CLI examples, not hypothetical commands```bash
kilo run "create a utils.py file with a function that adds two numbers"
```
Use backticks for inline code, file references, and commands:
kilo.jsonc for configuration filesCtrl+Shift+X for keyboard shortcutssrc/utils.ts for file pathsUse the Markdoc image tag format:
{% image src="/docs/img/kilo-provider/connected-accounts.png" alt="Connect account screen" width="800" caption="Connect account screen" /%}
Image path rules:
/docs prefixpackages/kilo-docs/public/img/screenshot-tests/ when availableUse compact markdown tables without padding:
| Command | What it runs |
|---|---|
| `kilo serve` | The prod CLI on `$PATH`. |
Use tabs for platform-specific content:
{% tabs %}
{% tab label="VS Code" %}
Content for VS Code
{% /tab %}
{% tab label="CLI" %}
Content for CLI
{% /tab %}
{% /tabs %}
Use fenced mermaid blocks for architecture diagrams:
```mermaid
flowchart LR
A --> B
```
This documentation site is maintained with AI assistance. When reviewing or editing:
Use consistent terms throughout:
| Term | Use for |
|---|---|
| Kilo Code | The product name |
| kilo CLI | The command-line interface |
| VS Code extension | The VS Code extension |
| JetBrains plugin | The JetBrains IDE plugin |
kilo serve | The local HTTP server |
kilo run | The headless execution command |
| agent | The AI assistant |
lib/nav/lib/nav/index.ts to export the new nav sectiongetting-started.ts, code-with-ai.ts)docs/description-of-changedocs/ prefixprevious-docs-redirects.js when moving or removing pages