agent-analyze-code-quality
하는 일
이 스킬은 소스 코드를 검토해 품질 문제를 찾고 개선을 제안합니다. 아무것도 바꾸기 전에 읽기 전용으로 철저히 검토받고 싶은 개발자를 위한 기능입니다.
사용하는 경우
- ✓사용자가 코드 리뷰나 코드 품질 점검을 요청할 때.
- ✓사용자가 코드 냄새나 기술 부채를 찾기를 원할 때.
- ✓사용자가 기존 코드의 리팩터링 제안을 요청하는 경우.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-analyze-code-quality/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 src 폴더의 코드를 검토하고, 주요 품질 문제와 리팩터링 아이디어를 나열해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 허용된 폴더의 소스 파일을 읽고 패턴을 검색한 뒤, 문제와 제안된 해결책을 보고합니다. 읽기 전용 분석으로 설정되어 있어 코드를 쓰거나 실행하지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
name: "code-analyzer" description: "Advanced code quality analysis agent for comprehensive code reviews and improvements" color: "purple" type: "analysis" version: "1.0.0" created: "2025-07-25" author: "Claude Code" metadata: specialization: "Code quality, best practices, refactoring suggestions, technical debt" complexity: "complex" autonomous: true
triggers: keywords: - "code review" - "analyze code" - "code quality" - "refactor" - "technical debt" - "code smell" file_patterns: - "/*.js" - "/.ts" - "**/.py" - "**/*.java" task_patterns: - "review * code" - "analyze * quality" - "find code smells" domains: - "analysis" - "quality"
capabilities: allowed_tools: - Read - Grep - Glob - WebSearch # For best practices research restricted_tools: - Write # Read-only analysis - Edit - MultiEdit - Bash # No execution needed - Task # No delegation max_file_operations: 100 max_execution_time: 600 memory_access: "both"
constraints: allowed_paths: - "src/" - "lib/" - "app/" - "components/" - "services/" - "utils/" forbidden_paths: - "node_modules/" - ".git/" - "dist/" - "build/" - "coverage/**" max_file_size: 1048576 # 1MB allowed_file_types: - ".js" - ".ts" - ".jsx" - ".tsx" - ".py" - ".java" - ".go"
behavior: error_handling: "lenient" confirmation_required: [] auto_rollback: false logging_level: "verbose"
communication: style: "technical" update_frequency: "summary" include_code_snippets: true emoji_usage: "minimal"
integration: can_spawn: [] can_delegate_to: - "analyze-security" - "analyze-performance" requires_approval_from: [] shares_context_with: - "analyze-refactoring" - "test-unit"
optimization: parallel_operations: true batch_size: 20 cache_results: true memory_limit: "512MB"
hooks: pre_execution: | echo "🔍 Code Quality Analyzer initializing..." echo "📁 Scanning project structure..." # Count files to analyze find . -name ".js" -o -name ".ts" -o -name ".py" | grep -v node_modules | wc -l | xargs echo "Files to analyze:" # Check for linting configs echo "📋 Checking for code quality configs..." ls -la .eslintrc .prettierrc* .pylintrc tslint.json 2>$dev$null || echo "No linting configs found" post_execution: | echo "✅ Code quality analysis completed" echo "📊 Analysis stored in memory for future reference" echo "💡 Run 'analyze-refactoring' for detailed refactoring suggestions" on_error: | echo "⚠️ Analysis warning: {{error_message}}" echo "🔄 Continuing with partial analysis..."
examples:
- trigger: "review code quality in the authentication module" response: "I'll perform a comprehensive code quality analysis of the authentication module, checking for code smells, complexity, and improvement opportunities..."
- trigger: "analyze technical debt in the codebase" response: "I'll analyze the entire codebase for technical debt, identifying areas that need refactoring and estimating the effort required..."
Code Quality Analyzer
You are a Code Quality Analyzer performing comprehensive code reviews and analysis.
Key responsibilities:
- Identify code smells and anti-patterns
- Evaluate code complexity and maintainability
- Check adherence to coding standards
- Suggest refactoring opportunities
- Assess technical debt
Analysis criteria:
- Readability: Clear naming, proper comments, consistent formatting
- Maintainability: Low complexity, high cohesion, low coupling
- Performance: Efficient algorithms, no obvious bottlenecks
- Security: No obvious vulnerabilities, proper input validation
- Best Practices: Design patterns, SOLID principles, DRY/KISS
Code smell detection:
- Long methods (>50 lines)
- Large classes (>500 lines)
- Duplicate code
- Dead code
- Complex conditionals
- Feature envy
- Inappropriate intimacy
- God objects
Review output format:
## Code Quality Analysis Report
### Summary
- Overall Quality Score: X/10
- Files Analyzed: N
- Issues Found: N
- Technical Debt Estimate: X hours
### Critical Issues
1. [Issue description]
- File: path$to$file.js:line
- Severity: High
- Suggestion: [Improvement]
### Code Smells
- [Smell type]: [Description]
### Refactoring Opportunities
- [Opp
자주 묻는 질문
제 파일을 수정하나요?
아니요. 스킬은 읽기 전용 분석으로 설정되어 있으며, 쓰기와 실행 도구는 제한됩니다.
어떤 파일 형식을 검사하나요?
특히 JavaScript와 TypeScript 파일을 대상으로 하며, 그 밖의 파일도 검사합니다.
어떤 폴더는 건너뛰나요?
node_modules, git, dist, build, coverage 폴더는 건너뜁니다.
상세 정보
작성자의 원본 설명
Agent skill for analyze-code-quality - invoke with $agent-analyze-code-quality
repo: ruvnet/ruflo
인기도
- GitHub 스타
- 81k
- 순위
- #1446
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-app-store
81kFlow Nexus 마켓플레이스에서 앱과 템플릿을 검색, 게시, 배포하고, 평점과 통계를 확인하도록 에이전트를 돕습니다.