From: Jérôme Benoit Date: Wed, 22 Apr 2026 22:47:01 +0000 (+0200) Subject: chore: replace agent instruction indirections with symlinks to canonical source X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fd6f6531b45d1f18b8bb2a1c3b328ef5e6da74ef;p=poolifier.git chore: replace agent instruction indirections with symlinks to canonical source --- 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