Skip to content

Commit 3c6b8e8

Browse files
authored
feat: add AGENT.md to provide a unified config file for codebase (#292)
1 parent ee92fcd commit 3c6b8e8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

update.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,17 @@ const sanity = [
447447
'schema.json',
448448
]
449449

450+
// @keep-sorted
451+
const agent = [
452+
'.clinerules',
453+
'.cursorrules',
454+
'.replit.md',
455+
'.windsurfrules',
456+
'AGENTS.md',
457+
'CLAUDE.md',
458+
'GEMINI.md',
459+
]
460+
450461
// @keep-sorted
451462
const base = {
452463
'.clang-tidy': '.clang-format, .clangd, compile_commands.json',
@@ -579,6 +590,7 @@ const full = sortObject({
579590
'*.db': stringify(sqlite),
580591
'*.razor': stringify(razor),
581592
'sanity.config.*': stringify(sanity),
593+
'AGENT.md': stringify(agent),
582594
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, stringify([...i, ...libraries])])),
583595
...svelteKitRouting,
584596
}, (a, b) => {

0 commit comments

Comments
 (0)