Skip to content

Commit 24b285f

Browse files
2 parents c3b1812 + 68a59aa commit 24b285f

13 files changed

Lines changed: 22 additions & 22 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ prompts/
5151

5252
```markdown
5353
---
54-
id: support.reply
54+
id: support/reply
5555
schema_version: 1
5656
provider: openai
5757
model: gpt-5.4
@@ -170,7 +170,7 @@ Define environment and tier overrides in front matter. Precedence: **base → en
170170

171171
```markdown
172172
---
173-
id: support.reply
173+
id: support/reply
174174
schema_version: 1
175175
provider: openai
176176
model: gpt-5.4
@@ -207,7 +207,7 @@ Share system instructions across prompts using `includes`. Included system instr
207207

208208
```markdown
209209
---
210-
id: support.reply
210+
id: support/reply
211211
schema_version: 1
212212
includes:
213213
- ./shared/tone.md

docs/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ If no `--vars` file is provided, the command auto-loads a `.test.yaml` sidecar f
116116

117117
Readable output:
118118
```
119-
── support.reply (openai, gpt-5.4) ────────────────────────
119+
── support/reply (openai, gpt-5.4) ────────────────────────
120120
System: You are a careful support assistant...
121121
User: Customer message: How do I reset my password?...
122122
Tools: get_account_status

docs/composition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Included files can also contain runtime placeholders (`{{ variable }}`), so shar
1717

1818
```markdown
1919
---
20-
id: shared.tone
20+
id: shared/tone
2121
schema_version: 1
2222
---
2323

@@ -30,7 +30,7 @@ Always be polite, professional, and concise. Avoid jargon unless the user uses i
3030

3131
```markdown
3232
---
33-
id: support.reply
33+
id: support/reply
3434
schema_version: 1
3535
provider: openai
3636
model: gpt-5.4
@@ -63,7 +63,7 @@ Included files can themselves include other files. Resolution is recursive — n
6363

6464
```markdown
6565
---
66-
id: shared.safety
66+
id: shared/safety
6767
schema_version: 1
6868
includes:
6969
- ./base-rules.md

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Create a Markdown file with YAML front matter and H1 sections:
3333

3434
```markdown
3535
---
36-
id: support.reply
36+
id: support/reply
3737
schema_version: 1
3838
provider: openai
3939
model: gpt-5.4

docs/overrides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Declare `environments` and `tiers` in front matter. Each key maps to a set of ov
1616

1717
```markdown
1818
---
19-
id: support.reply
19+
id: support/reply
2020
schema_version: 1
2121
provider: openai
2222
model: gpt-5.4

docs/prompt-format.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Every prompt is a Markdown file with two parts: **YAML front matter** for settin
66

77
```markdown
88
---
9-
id: support.reply
9+
id: support/reply
1010
schema_version: 1
1111
provider: openai
1212
model: gpt-5.4
@@ -38,7 +38,7 @@ Required fields:
3838

3939
| Field | Description |
4040
|-------|-------------|
41-
| `id` | Unique identifier for the prompt (e.g. `support.reply`) |
41+
| `id` | Unique identifier for the prompt (e.g. `support/reply`) |
4242
| `schema_version` | Schema version — currently `1` |
4343

4444
## Folder defaults (`defaults.md`)
@@ -188,7 +188,7 @@ A production-ready prompt using all major features:
188188

189189
```markdown
190190
---
191-
id: support.reply
191+
id: support/reply
192192
schema_version: 1
193193
provider: openai
194194
model: gpt-5.4

docs/schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Prompt files use YAML front matter. This page documents every supported field.
66

77
| Field | Type | Required | Description |
88
|-------|------|----------|-------------|
9-
| `id` | `string` | Yes | Unique prompt identifier (e.g. `support.reply`) |
9+
| `id` | `string` | Yes | Unique prompt identifier (e.g. `support/reply`) |
1010
| `schema_version` | `number` | Yes | Schema version — currently `1` |
1111
| `description` | `string` | No | Human-readable description of the prompt |
1212
| `provider` | `string` | No | `openai`, `anthropic`, `gemini`, `google`, `openrouter`, `any` |

fixtures/prompts/shared/tone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: shared.tone
2+
id: shared/tone
33
schema_version: 1
44
---
55

fixtures/prompts/support/reply.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: support.reply
2+
id: support/reply
33
schema_version: 1
44
provider: openai
55
model: gpt-5.4

src/cli/commands/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Say hello to {{ name }} and ask how you can help them today.
3737
`.trimStart();
3838

3939
const TONE_INCLUDE = `---
40-
id: shared.tone
40+
id: shared/tone
4141
schema_version: 1
4242
---
4343

0 commit comments

Comments
 (0)