Files
coder/docs/ai-coder/agents/projects.md
T
Nick Vigilante 16551fd67f feat: enable Coder.AbbreviationFirstUse (#30878)
Adds `Coder.AbbreviationFirstUse`, a Vale rule that requires each
abbreviation to be expanded on its first use on a page, in the form
"Expanded Form (ABBR)". It supports [WCAG 2.2 Level AAA Success
Criterion 3.1.4
(Abbreviations)](https://www.w3.org/TR/WCAG22/#abbreviations). Following
the "Adding a Vale rule" pattern in `docs/.style/README.md`, the PR has
two commits: the cleanup first, then the enable.

## Cleanup commit

431 first uses expanded across 167 pages, so the rule ships with zero
findings across `docs/`, excluding `docs/.style/style-guide/`. The
branch was rebuilt on current `main`, so pages added or moved since the
first draft are covered.

- Where the first use is a bold UI label (**CA Path**, **Add redirect
URI**, **Redirect URI**), the label stays as the UI shows it and the
expansion goes elsewhere in the same paragraph or list item.
- Reversed forms such as "PKCE (Proof Key for Code Exchange)" are
flipped to the expanded-first form.
- A few sentences took a small rewording to fit the expansion: list
steps that would pass the 20-word limit (`Coder.StepLength`), and spots
where the expansion would nest parentheses.
- MITM is expanded as "machine-in-the-middle" rather than
"man-in-the-middle". Every use describes the AI Gateway Proxy
intercepting traffic on purpose, so "on-path attacker" doesn't fit. The
inclusive-language table on `accessibility-and-inclusion.md` gains the
substitution: "on-path attacker" for the attack, "machine-in-the-middle"
for the feature.
- Unrelated fixes on lines already being edited: `DERP MAP` → `DERP
map`, and `ENV` → "environment variable" in `faqs.md`.

## Enable commit

**Rule design.** The rule is a `conditional`. `first` matches 2 to 6
capitals, each optionally followed by digits (`EC2`, `P2P`), and a
lookahead lets a plural `s` count as a use of the singular. `second`
captures the abbreviation in `word (ABBR)`, including `(CI/CD)` and
`(PCI DSS)` pairs. Vale collects the captures across the page's blocks
in document order, so a later expansion doesn't cover an earlier use.
Within a single paragraph, list item, or table cell, an expansion
anywhere in the block counts.

**Scope.** `scope: ~heading` skips headings, because a page title often
names an abbreviation that the first paragraph then expands. Vale
already skips front matter, code blocks, inline code, and link URLs.
`.vale.ini` turns the rule off for the pages generated from Go source
that `Coder.UnitSpacing` already skips: `docs/reference/{api,cli}/*.md`,
`configuration-reference.md`, and `prometheus.md`.

**Severity: `warning`.** Whether an abbreviation is familiar enough to
skip is a judgment call, so this is guidance with legitimate exceptions,
not hard policy.

**Exceptions**, each group commented in the rule file:

| Group | Entries | Reason |
| --- | --- | --- |
| Known to every reader | AI, API, AWS, CLI, CPU, DNS, GCP, HTTP(S), ID,
IDE, IP, JSON, OS, PR, RAM, SDK, SQL, SSH, TLS, UI, URL, VM, YAML |
Abbreviations every reader of the docs knows. Plurals such as VMs and
SDKs pass too |
| Units, clock times, file and package formats | GB, KB, MB, AM, PM,
CSV, GIF, JPEG, PDF, PNG, RPM, SVG, VSIX, ZIP | Readers know these by
the abbreviation, not the expansion |
| Not abbreviations | NOTE, TIP, OK, README, SKILL, ALL, AND, ANY,
ERROR, MUST, NOT, ON, OR, DELETE, GET, POST, PUT, ILIKE, VACUUM, LOGIN,
PLAIN, NUL, CRON, TERM, DOCS, `DOC\d+`, `RFC\d+`, TL, DR | Alert labels,
file names, emphasis in capitals, HTTP methods, SQL keywords, SMTP auth
mechanisms, rule labels in `docs/AGENTS.md`, RFC numbers, TL;DR |
| Names written in capitals | VS, IDEA, IU, NGINX, SUSE, GNU, XFCE, DX,
IBM, DCV, TRAMP, MSYS2, NET, VSX, ARM, AMD, GPT, AES, GCM, HMAC, HS256,
RSA, SHA, SHA256 | The capitals are the product, company, or algorithm
name (VS Code, IntelliJ IDEA, .NET, Open VSX, Amazon DCV, AMD) |

The "known to every reader" group is the list that needs judgment, and
it's the one to push back on. The other groups only stop the regex from
treating words and names as abbreviations.

**Documentation.** A new "Expand abbreviations on first use" section on
`accessibility-and-inclusion.md`, and the style guide README's checks
table, coverage table, and rule counts (90 → 91 rules, 22 → 23
tool-checked).

## Known limits

- The rule checks that an expansion exists, not that it's correct: any
word followed by `(ABBR)` satisfies it.
- An abbreviation in an image's alt text is checked before the paragraph
around it, so one alt text (`aws-marketplace.md`) carries its own
expansion.
- Some expansions read heavily in dense table cells and inline lists,
for example the four Kubernetes services in `docker-in-workspaces.md`.
They're correct, but a reviewer may prefer adding a specific
abbreviation to the exceptions instead.

## Testing

- `vale docs/` (Vale 3.7.1 through mise): zero
`Coder.AbbreviationFirstUse` findings. Findings from every other rule
match `main` file for file.
- `pnpm run format-docs`, `pnpm run lint-docs`,
`scripts/check_emdash.sh`, and `make lint/prose` run clean, and the
repository pre-commit hooks (including `lint/style-claims`) pass on both
commits.

Linear: DOCS-1311

Generated by Coder Agents on behalf of @nickvigilante.
2026-11-02 14:41:15 -05:00

6.4 KiB

title
title
Projects

Note

Projects are in early access. Behavior and APIs might change between releases.

Projects group related Coder Agents chats. Every chat in a project gets the project's instructions, skills, and memory, so you don't repeat the same context in each chat. Your projects appear in the Projects section of the Agents page sidebar.

What a project provides

Capability What it does
Instructions Text added to the system prompt of every chat in the project.
Skills Skills available only to chats in the project.
Memory Durable notes that the agent saves in one chat and reads in later chats.

Ownership

Each project belongs to one organization and is owned by the user who created it. You choose the organization when you create the project, and you can't change it later. Chats in a project must be in the project's organization.

Any organization member who can use Coder Agents can create projects in that organization. Each user can own up to 100 projects across all organizations.

A project is private to its owner. Coder records project, instruction, skill, and memory changes in the audit log.

Create a project

  1. On the Agents page, select New project in the Projects section of the sidebar.
  2. Enter a Project name and an optional Description, and pick an icon.
  3. Choose the Organization.
  4. Select Create project.

The project page shows a Details panel with the project owner, creation date, organization, skills, and instructions, and lists your chats in the project.

To rename or delete a project, open the project's menu on its page or in the sidebar and select Edit project or Delete project. Deleting a project deletes its instructions, skills, and memories. Its chats are kept and move back to your chat list.

Add chats to a project

  • Start a chat from the project page. The composer is locked to the project's organization.
  • In the general new-chat composer, choose the project in the project picker. The picker defaults to No project.
  • Move an existing chat: open the chat's menu, select Move to project, and choose a project. Select Remove from project to take it out.
  • Drag a chat in the sidebar onto a project folder.

You can move only top-level chats that you own, that aren't archived, and that aren't running. Sub-agent chats always follow their top-level chat. After a move, the chat's next turn uses the new project's instructions, skills, and memory.

The API equivalent is PATCH /api/v2/chats/{chat} with project_id. Set project_id to the nil universally unique identifier (UUID) (00000000-0000-0000-0000-000000000000) to remove a chat from its project.

Instructions

Project instructions are added to the system prompt of every chat in the project, including sub-agent chats. Use them for conventions, context, and preferences that apply to all work in the project.

To add or change them, select Create or the edit icon under Instructions in the project's Details panel. Chats read instructions on every turn, so a change takes effect on each chat's next turn.

Instructions use the deployment's prompt size limit, set with --chat-max-prompt-bytes (default 128 KiB).

Skills

Project skills are single-file SKILL.md skills that only chats in the project can load. Manage them by selecting the Skills row in the project's Details panel.

A project skill can show as a one-click action above the project's chat composers, or be limited to manual use from the / menu. For details on the format, limits, and how skills from different sources resolve, visit Project skills.

Memory

Each project has a set of memories: short, named notes that persist across every chat in the project. The agent manages them with four tools:

Tool Purpose
read_memory Read a memory's full body.
save_memory Save a new memory.
delete_memory Delete a memory.
consolidate_memory Delete and save several memories in one atomic step, to merge or replace them.

The agent saves facts that matter in future chats without being asked, such as how people on the project work, corrections, decisions, deadlines, and where to find information outside the codebase. It doesn't save what it can derive from the code or Git history. The agent is told not to save secrets, credentials, or personal details in memory. You can also ask the agent to remember or forget something.

How memory reaches the agent:

  • Each chat sees an index of memory names and one-line descriptions, and reads a full memory only when it needs it.
  • A change made in one chat reaches other chats at the start of their next turn.
  • Only top-level chats get the memory tools. Sub-agent chats don't read or write memory.
  • Memories can't be edited. To change one, the agent replaces it.
  • When a chat leaves a project, its next turn drops the memories it saw.
Limit Value
Memories per project 200. The agent is prompted to consolidate as the project nears the limit.
Name Lowercase letters, digits, -, and _, up to 64 characters.
Description 150 characters.
Body 8 KB.

The dashboard doesn't show memories yet. To list, read, create, or delete them directly, use /api/experimental/organizations/{organization}/chats/projects/{project}/memories.