Skip to content

Commit 1aaef81

Browse files
committed
fixed issue #12469
1 parent a5de45e commit 1aaef81

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

.agents/skills/docs-style/SKILL.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: docs-style
3+
description: Style guidelines for writing and updating documentation. Use when writing new docs, updating existing docs, or reviewing docs for quality.
4+
---
5+
6+
# Docs Style Guide
7+
8+
## Principles
9+
10+
- **Be concise** — no filler. Make it easy to find what you're looking for
11+
- **Task-oriented** — frame around what the user is trying to do, not what the product can do
12+
- **Progressive disclosure** — guide from introduction to advanced use-cases. Don't throw users into the deep end
13+
- **Real examples over abstract explanations** — show, don't describe
14+
- **Code snippets must be copy-pasteable** — no placeholder values that silently break, no missing imports
15+
- **Prerequisites up front** — don't surprise the user halfway through
16+
- **One topic per page** — if you're covering two things, split it
17+
- **Link, don't repeat** — reference other docs instead of duplicating content
18+
- **Scannable headings** — skimming the TOC should reveal the page structure
19+
- **Show expected output** — after a step, tell the user what they should see
20+
- **Consistent terminology** — pick one term for a concept, use it everywhere
21+
- **Screenshots/GIFs for key product features** — use visuals when they teach faster than text
22+
- **Know which type of doc you're writing** — a tutorial (learning), a how-to (completing a task), a reference (looking something up), or an explanation (understanding why). Don't mix them in one page
23+
- **Tutorials should be completable** — a user following every step should end up with a working result, every time
24+
- **Reference docs should be exhaustive and consistent** — cover everything, use the same structure for every entry
25+
26+
## Tone
27+
28+
- **Don't be patronizing** — the reader is a developer. Don't tell them when to use something in a "when to use X vs Y" comparison table. If the distinction matters, state it plainly at the top of the relevant section in a sentence, then move on.
29+
- **Respect the reader's time** — open with the command or code, not a paragraph explaining what they're about to see. Lead with the thing, then explain.
30+
- **No personality** — the docs aren't a character. Don't try to be warm, clever, or endearing. No "Let's dive in!", no "The Magic of...", no "Pro Tip:", no emoji in headings. Developers see through it instantly and it reads like marketing copy wearing a docs costume. Just be direct and clinical. The docs serve information, they don't have a relationship with the reader.
31+
- **Inline guidance over callout boxes** — prefer weaving tips into the prose rather than using `<Tip>`, `<Info>`, `<Warning>`, etc. These components break reading flow and look heavy when overused. Reserve them for truly critical warnings (e.g. data loss, security). One per page is a good ceiling; zero is often fine.
32+
- **Examples should feel real** — use realistic file paths, realistic prompts, realistic tasks. Not `> Tell me about the CLI` but `> @tests/auth.test.ts This test started failing after the last migration`.
33+
- **Examples earn their place** — don't add "Example: Doing X" sections that are just English prompts in a code block. Examples are valuable when they demonstrate non-obvious syntax, flags, piping, or configuration. If the reader could figure it out from the rest of the page, skip the example.
34+
- **No "Next Steps" sections** — don't end pages with a "Next Steps" or "What's Next?" section with CardGroups linking to other pages. The sidebar navigation already does this. If a link to another page is relevant, put it inline where the context is, not in a generic footer.
35+
- **Page title = sidebar title** — the `title` in frontmatter should match the sidebar label. Drop `sidebarTitle` unless there's a genuine reason for them to differ. Don't stuff extra context into the page title (e.g., "Continue CLI (cn) Overview" → "Overview").
36+
- **No subtitle/description in frontmatter** — don't use the `description` field. The opening paragraph of the page should provide whatever context is needed. Metadata subtitles add clutter and duplicate what the prose already says.
37+
38+
## Headings
39+
40+
- **Direct and plain, not clever or engaging** — headings should just say what the section is about. Verbs are fine when they're direct ("Resume previous sessions"). Gerund phrases that sound like tutorial chapter titles are not ("Giving Context with @" → "`@` Context"). The test isn't grammatical — it's tonal. If it sounds like a friendly narrator is walking you through something, rewrite it. If it just plainly states what the section covers, it's good.
41+
- **Scannable over descriptive** — skimming the TOC should reveal the page structure at a glance. Keep headings short and plain.

docs/customize/deep-dives/configuration.mdx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,37 @@ When editing this file, you can see the available options suggested as you type,
2828

2929
See the full reference for `config.yaml` [here](/reference).
3030

31+
### Local Config Profiles
32+
33+
In addition to the main `config.yaml`, you can create multiple local config profiles by adding YAML files to a `.continue/configs/` directory:
34+
35+
- `~/.continue/configs/` for profiles available across all workspaces
36+
- `<workspace>/.continue/configs/` for profiles available only in that workspace
37+
38+
Each `.yaml` or `.yml` file is loaded as a separate local profile and appears in the config selector. Creating, editing, or deleting a file in `.continue/configs/` automatically reloads Continue.
39+
40+
Local profile files use the same YAML schema as `config.yaml`.
41+
42+
```text
43+
.continue/
44+
|-- config.yaml
45+
|-- configs/
46+
| |-- default.yaml
47+
| `-- code-review.yaml
48+
|-- agents/
49+
| `-- local-agent.yaml
50+
`-- assistants/
51+
`-- local-assistant.yaml
52+
```
53+
54+
Continue also discovers YAML profiles from these local directories:
55+
56+
- `.continue/configs/`
57+
- `.continue/agents/`
58+
- `.continue/assistants/`
59+
60+
Use `.continue/configs/` for general local config profiles. The `.continue/agents/` and `.continue/assistants/` directories are supported alongside it for existing local agent and assistant profiles. These directories can be placed in your workspace or in your global Continue directory. On Windows, use `%USERPROFILE%\.continue\configs\`, `%USERPROFILE%\.continue\agents\`, or `%USERPROFILE%\.continue\assistants\` for global profiles.
61+
3162
## Legacy Configuration Methods (Deprecated)
3263

3364
<Info>

0 commit comments

Comments
 (0)