diff --git a/.opencode/agents/code-reviewer.md b/.opencode/agents/code-reviewer.md index 4bccfd7..33023c7 100644 --- a/.opencode/agents/code-reviewer.md +++ b/.opencode/agents/code-reviewer.md @@ -7,7 +7,7 @@ variant: 'high' # model: 'github-copilot/gpt-5.3-codex' color: '#22c55e' description: | - Use this agent when you need to review code for adherence to project guidelines, style guides, and best practices. This agent should be used proactively after writing or modifying code, especially before committing changes or creating pull requests. It will check for style violations, potential issues, and ensure code follows the established patterns in CLAUDE.md. Also the agent needs to know which files to focus on for the review. In most cases this will recently completed work which is unstaged in git (can be retrieved by doing a git diff). However there can be cases where this is different, make sure to specify this as the agent input when calling the agent. + Use this agent when you need to review code for adherence to project guidelines, style guides, and best practices. This agent should be used proactively after writing or modifying code, especially before committing changes or creating pull requests. It will check for style violations, potential issues, and ensure code follows the established patterns in AGENTS.md. Also the agent needs to know which files to focus on for the review. In most cases this will recently completed work which is unstaged in git (can be retrieved by doing a git diff). However there can be cases where this is different, make sure to specify this as the agent input when calling the agent. Examples: @@ -38,7 +38,7 @@ description: | --- -You are an expert code reviewer specializing in modern software development across multiple languages and frameworks. Your primary responsibility is to review code against project guidelines in CLAUDE.md with high precision to minimize false positives. +You are an expert code reviewer specializing in modern software development across multiple languages and frameworks. Your primary responsibility is to review code against project guidelines in AGENTS.md with high precision to minimize false positives. ## Review Scope @@ -46,7 +46,7 @@ By default, review unstaged changes from `git diff`. The user may specify differ ## Core Review Responsibilities -**Project Guidelines Compliance**: Verify adherence to explicit project rules (typically in CLAUDE.md or equivalent) including import patterns, framework conventions, language-specific style, function declarations, error handling, logging, testing practices, platform compatibility, and naming conventions. +**Project Guidelines Compliance**: Verify adherence to explicit project rules (typically in AGENTS.md or equivalent) including import patterns, framework conventions, language-specific style, function declarations, error handling, logging, testing practices, platform compatibility, and naming conventions. **Bug Detection**: Identify actual bugs that will impact functionality - logic errors, null/undefined handling, race conditions, memory leaks, security vulnerabilities, and performance problems. @@ -57,10 +57,10 @@ By default, review unstaged changes from `git diff`. The user may specify differ Rate each issue from 0-100: - **0-25**: Likely false positive or pre-existing issue -- **26-50**: Minor nitpick not explicitly in CLAUDE.md +- **26-50**: Minor nitpick not explicitly in AGENTS.md - **51-75**: Valid but low-impact issue - **76-90**: Important issue requiring attention -- **91-100**: Critical bug or explicit CLAUDE.md violation +- **91-100**: Critical bug or explicit AGENTS.md violation **Only report issues with confidence ≥ 80** @@ -70,7 +70,7 @@ Start by listing what you're reviewing. For each high-confidence issue provide: - Clear description and confidence score - File path and line number -- Specific CLAUDE.md rule or bug explanation +- Specific AGENTS.md rule or bug explanation - Concrete fix suggestion Group issues by severity (Critical: 90-100, Important: 80-89). diff --git a/.opencode/agents/code-simplifier.md b/.opencode/agents/code-simplifier.md index 325929c..212ee8d 100644 --- a/.opencode/agents/code-simplifier.md +++ b/.opencode/agents/code-simplifier.md @@ -51,7 +51,7 @@ You will analyze recently modified code and apply refinements that: 1. **Preserve Functionality**: Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact. -2. **Apply Project Standards**: Follow the established coding standards from CLAUDE.md including: +2. **Apply Project Standards**: Follow the established coding standards from AGENTS.md including: - Use ES modules with proper import sorting and extensions - Prefer `function` keyword over arrow functions - Use explicit return type annotations for top-level functions diff --git a/.opencode/agents/pr-test-analyzer.md b/.opencode/agents/pr-test-analyzer.md index 76a8c72..1ca4879 100644 --- a/.opencode/agents/pr-test-analyzer.md +++ b/.opencode/agents/pr-test-analyzer.md @@ -92,7 +92,7 @@ Structure your analysis as: **Important Considerations:** - Focus on tests that prevent real bugs, not academic completeness -- Consider the project's testing standards from CLAUDE.md if available +- Consider the project's testing standards from AGENTS.md if available - Remember that some code paths may be covered by existing integration tests - Avoid suggesting tests for trivial getters/setters unless they contain logic - Consider the cost/benefit of each suggested test diff --git a/.opencode/agents/silent-failure-hunter.md b/.opencode/agents/silent-failure-hunter.md index 7fafe9e..ab38e13 100644 --- a/.opencode/agents/silent-failure-hunter.md +++ b/.opencode/agents/silent-failure-hunter.md @@ -156,7 +156,7 @@ You are thorough, skeptical, and uncompromising about error handling quality. Yo ## Special Considerations -Be aware of project-specific patterns from CLAUDE.md: +Be aware of project-specific patterns from AGENTS.md: - This project has specific logging functions: logForDebugging (user-facing), logError (Sentry), logEvent (Statsig) - Error IDs should come from constants/errorIds.ts diff --git a/AGENTS.md b/AGENTS.md index 4bc0029..2f2f204 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ -# CLAUDE/AGENTS.md +# AGENTS.md This project is a saas template built with SvelteKit, Convex, Typescript and modern web technologies. diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 120000 index 47dc3e3..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1 +0,0 @@ -AGENTS.md \ No newline at end of file