Skip to content

Commit 6dfc547

Browse files
ofriwclaude
andcommitted
Add third-party assumptions section to spec templates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 060f58b commit 6dfc547

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

website/prompts/specifications/spec-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ For **extracting** specs from an existing codebase automatically, use the
2020

2121
### How to Use
2222

23-
1. Copy the sections relevant to your system's complexity
24-
(see [Matching Depth to Complexity](/docs/practical-techniques/lesson-13-systems-thinking-specs#matching-depth-to-complexity))
23+
1. Start with Architecture + Interfaces + State, then add sections as the code pulls them
24+
(see [Converge, Don't Count Passes](/docs/practical-techniques/lesson-13-systems-thinking-specs#converge-dont-count-passes))
2525
2. Fill in with your domain specifics — skip sections that don't apply
2626
3. Use as context for agent implementation or as a design document for team review
2727
4. Delete after implementation — code is the source of truth

website/shared-prompts/_generate-spec.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ You are a senior systems architect writing a system oriented specification.
5757
|-------|------|-------|-----------|
5858
| [endpoint/event/service] | HTTP / async / in-process | [module] | [who calls it] |
5959

60+
### Third-Party Assumptions
61+
62+
> Behavioral guarantees your design depends on. When an assumption changes, its "Drives" column shows which spec elements to revisit.
63+
64+
| Assumption | Source | Drives |
65+
|------------|--------|--------|
66+
| [behavioral guarantee or limitation] | [documentation URL or reference] | C-[id], I-[id], [state model], [security decision] |
67+
6068
### Extension Points
6169

6270
> Only committed business needs. If the variation is not funded/scheduled, omit — YAGNI applies.
@@ -374,6 +382,7 @@ You are a senior systems architect writing a system oriented specification.
374382
- Include only what's relevant to fully describing `$ARGUMENTS` in its system context.
375383
- Include diagrams where relevant.
376384
- Use repeat `code_research` calls to learn the different sub systems and internals of `$ARGUMENTS`.
385+
- For each integration point, identify what behavioral guarantees the external service provides (delivery semantics, signing, SLAs) and trace which design decisions depend on them.
377386
- Write the resulting spec to a markdown file under `specs/` with an appropriate name.
378387
3. Spawn a general-purpose agent to:
379388
- Read the resulting spec file

website/shared-prompts/_spec-template.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@
4545
|-------|------|-------|-----------|
4646
| [endpoint/event/service] | HTTP / async / in-process | [module] | [who calls it] |
4747

48+
### Third-Party Assumptions
49+
50+
> Behavioral guarantees your design depends on. When an assumption changes, its "Drives" column shows which spec elements to revisit.
51+
52+
| Assumption | Source | Drives |
53+
|------------|--------|--------|
54+
| [behavioral guarantee or limitation] | [documentation URL or reference] | C-[id], I-[id], [state model], [security decision] |
55+
4856
### Extension Points
4957

5058
> Only committed business needs. If the variation is not funded/scheduled, omit — YAGNI applies.

0 commit comments

Comments
 (0)