원클릭으로
test-code-reviewer
Analyzes test quality (AAA pattern, F.I.R.S.T. principles) in local or remote code changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyzes test quality (AAA pattern, F.I.R.S.T. principles) in local or remote code changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Expert skill for analyzing and diagnosing issues from Jira, GitHub, and system logs.
Generates comprehensive project documentation (e.g., README.md, API docs, architecture overviews) based on the codebase.
Generates behavior-focused test code (Given-When-Then) for local project files, ensuring 100% coverage and no redundancy.
Analyzes code (local or remote) against Clean Code standards (Meaningful Names, Functions, Objects, Error Handling).
Identifies and suggests architectural design patterns (Creational, Structural, Behavioral) in local or remote code.
Analyzes the codebase (local or remote) for security vulnerabilities, weak coding patterns, and exposure of sensitive data.
| name | test-code-reviewer |
| description | Analyzes test quality (AAA pattern, F.I.R.S.T. principles) in local or remote code changes. |
| compatibility | Works with local Git repositories or remote Pull Request URLs. |
| license | MIT |
| resources | ["templates/standards.md"] |
| metadata | {"author":"thiagoevoa","triggers":{"keywords":["review:tests","review:aaa-pattern","review:first-principles"]}} |
Use this skill to act as a Senior AI Code Architect focusing on Testing Quality. It reviews local changes or remote pull requests by strictly adhering to the standards defined in the templates/standards.md file.
Determine if the review is for a Remote Pull Request or Local Git Changes:
pr_url is provided or detected, follow the Remote Workflow.mcp_github_pull_request_read tool (if available) to fetch the full file content from the head branch and the diff/patch for the provided PR URL. If the MCP tool is not available, use the gh CLI or REST API via run_shell_command.mcp_github_pull_request_review_write tool (if available). If the MCP tool is not available, use the gh CLI or REST API.full_review is true, safely Map the Codebase to prevent context exhaustion. Use the codebase_investigator subagent for large projects, or iterate through directories sequentially using list_directory and read_file in batches.git status to identify modified/staged files.templates/standards.md.full_review is true, validate all violations found.package.json, pubspec.yaml, Makefile). Run these commands via the shell to gather factual data (failing tests, warnings) to include in your review report. If the commands are not obvious, ask the user.path/to/offending/file.ext[The specific line number][Cite the specific section from templates/standards.md]🔴 Required Improvement: A brief, clear description of the violation.
🛠️ Implementation Example: Suggested Refactor:
// A clean, optimized version of that code that adheres to the standards.Rationale: A one-sentence explanation of why this change is better.
pr_url (string, optional): PR URL for remote review.only_staged (boolean, optional): (Local only) If true, only review staged changes.full_review (boolean, optional): (Local only) If true, performs a comprehensive review of the entire project.files (array of strings, optional): (Local only) Specific files to review.