The whole hunk
from line 104, old and new numbered
/
lines
from line 104
104104
105105Any resource except a skill can be written as YAML, JSON, or Markdown. In Markdown, the frontmatter is the body and the prose fills the kind's text field: an agent's `system`, an environment's or memory store's `description`, a deployment's first message.
106106
107Resources refer to each other by path. Wherever the API expects another resource's ID, write the relative path to that resource's file instead. In this project, the reviewer agent lists `../skills/pr-summary` under `skills`, the lead agent lists `./reviewer.md` in its roster, and the deployment names its agent, environment, and memory store by path. `ant apply` creates them in dependency order and fills in the real IDs. Apply the whole directory:
107Resources refer to each other by path. Wherever the API expects another resource's ID, write the relative path to that resource's file instead. In this project, the reviewer agent lists `../skills/pr-summary` under `skills`, the lead agent lists `./reviewer.md` in its roster, and the deployment names its agent, environment, and memory store by path. `ant apply` creates them in dependency order and fills in the real IDs. The project has six files:
108108
109<MultiFileExample language="cli" label="CLI">
110 ```bash CLI
111 ant apply .
112 ```
113
109<MultiFileExample variant="explorer">
114110 <File filename="agents/reviewer.md">
115111 ```markdown
116112 ---
from line 187
191187 ```
192188 </File>
193189</MultiFileExample>
190
191Apply the whole directory:
192
193```bash CLI
194ant apply .
195```
194196
195197`claude-lock.json` then has an entry for every file in the project.
196198