Skip to content

Commit 3f60ad1

Browse files
committed
Centralize agent instructions via nested includes
CLAUDE.md includes docs/development/index.md. AGENTS.md and copilot-instructions.md include CLAUDE.md, getting everything transitively via recursive include expansion. Extract coverage gate and file placement into separate files to keep the dev index short (CLAUDE.md stays under 300 lines). Use static links in the dev index pending #133 (catalog glob context fix for nested includes). https://claude.ai/code/session_01J3g8NnEwGYyJWXD1bqtTii
1 parent 282434f commit 3f60ad1

3 files changed

Lines changed: 9 additions & 33 deletions

File tree

.github/copilot-instructions.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,9 @@ heading-level: "absolute"
135135
Build and test reference for mdsmith contributors.
136136
See also:
137137

138-
<?catalog
139-
glob:
140-
- "*.md"
141-
- "!index.md"
142-
sort: path
143-
row: "- [{summary}](../docs/development/{filename})"
144-
?>
145-
- [Codecov coverage gate and CI status checks.](../docs/development/coverage.md)
146-
- [Where to place Markdown files and documentation types.](../docs/development/file-placement.md)
147-
- [Rebase, CI monitoring, and review comment resolution.](../docs/development/pr-fixup-workflow.md)
148-
<?/catalog?>
138+
- [Coverage gate](../docs/development/coverage.md)
139+
- [File placement](../docs/development/file-placement.md)
140+
- [PR fixup workflow](../docs/development/pr-fixup-workflow.md)
149141

150142
#### Build & Test Commands
151143

AGENTS.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,9 @@ heading-level: "absolute"
142142
Build and test reference for mdsmith contributors.
143143
See also:
144144

145-
<?catalog
146-
glob:
147-
- "*.md"
148-
- "!index.md"
149-
sort: path
150-
row: "- [{summary}](docs/development/{filename})"
151-
?>
152-
- [Codecov coverage gate and CI status checks.](docs/development/coverage.md)
153-
- [Where to place Markdown files and documentation types.](docs/development/file-placement.md)
154-
- [Rebase, CI monitoring, and review comment resolution.](docs/development/pr-fixup-workflow.md)
155-
<?/catalog?>
145+
- [Coverage gate](docs/development/coverage.md)
146+
- [File placement](docs/development/file-placement.md)
147+
- [PR fixup workflow](docs/development/pr-fixup-workflow.md)
156148

157149
### Build & Test Commands
158150

CLAUDE.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,9 @@ heading-level: "absolute"
128128
Build and test reference for mdsmith contributors.
129129
See also:
130130

131-
<?catalog
132-
glob:
133-
- "*.md"
134-
- "!index.md"
135-
sort: path
136-
row: "- [{summary}](docs/development/{filename})"
137-
?>
138-
- [Codecov coverage gate and CI status checks.](docs/development/coverage.md)
139-
- [Where to place Markdown files and documentation types.](docs/development/file-placement.md)
140-
- [Rebase, CI monitoring, and review comment resolution.](docs/development/pr-fixup-workflow.md)
141-
<?/catalog?>
131+
- [Coverage gate](docs/development/coverage.md)
132+
- [File placement](docs/development/file-placement.md)
133+
- [PR fixup workflow](docs/development/pr-fixup-workflow.md)
142134

143135
### Build & Test Commands
144136

0 commit comments

Comments
 (0)