From fd6f6531b45d1f18b8bb2a1c3b328ef5e6da74ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 23 Apr 2026 00:47:01 +0200 Subject: [PATCH] chore: replace agent instruction indirections with symlinks to canonical source --- AGENTS.md | 31 +------------------------------ CLAUDE.md | 1 + GEMINI.md | 1 + 3 files changed, 3 insertions(+), 30 deletions(-) mode change 100644 => 120000 AGENTS.md create mode 120000 CLAUDE.md create mode 120000 GEMINI.md diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 6f5f8422c..000000000 --- a/AGENTS.md +++ /dev/null @@ -1,30 +0,0 @@ -# Agent Guidelines for Poolifier - -## Build/Test Commands - -- `pnpm build` - Build for development -- `pnpm test` - Run tests -- `pnpm test -- --grep "pattern"` - Run tests matching pattern -- `pnpm lint` - Run ESLint -- `pnpm format` - Format with Biome + ESLint fix - -## Code Style - -- **Imports**: Use `.js` extensions for TypeScript imports (Node16 module resolution) -- **Naming**: camelCase for variables/functions, PascalCase for classes/types/interfaces -- **Types**: Explicit types over `any`, use type guards and discriminated unions -- **Async**: Prefer async/await over raw Promises, handle rejections with try/catch -- **Formatting**: 2-space indent, single quotes, no semicolons, trailing commas (ES5) -- **Error Handling**: Use typed errors with structured properties - -## Key Patterns - -- Export types with `export type {}` syntax -- Use `.js` file extensions in imports even for `.ts` files -- Follow established factory/strategy patterns for pool implementations -- MessageChannel/MessagePort for worker communication, postMessage/on for worker messaging, store Promise resolvers in Maps -- Maintain single source of truth for configuration defaults - -## Repository Rules - -See `.github/copilot-instructions.md` for comprehensive coding standards including DRY principles, naming coherence, and TypeScript conventions. Follow quality gates: lint, format, and test passes required. diff --git a/AGENTS.md b/AGENTS.md new file mode 120000 index 000000000..02dd13412 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1 @@ +.github/copilot-instructions.md \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 000000000..02dd13412 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +.github/copilot-instructions.md \ No newline at end of file diff --git a/GEMINI.md b/GEMINI.md new file mode 120000 index 000000000..02dd13412 --- /dev/null +++ b/GEMINI.md @@ -0,0 +1 @@ +.github/copilot-instructions.md \ No newline at end of file -- 2.53.0