Skip to main content

code-review-practices

Code review best practices, quality gates, security checks, and constructive feedback guidelines for collaborative development

소스 정보

저장소
Hack23/riksdagsmonitor
최근 소스 활동
2026년 4월 16일 09:31
감지된 SKILL.md 언어
영어
스타
13
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
code-review-practices
description
Code review best practices, quality gates, security checks, and constructive feedback guidelines for collaborative development
license
Apache-2.0
# Code Review Practices Skill ## 🔴 AI FIRST Quality Principle > **Apply the AI FIRST principle: never accept first-pass quality. Minimum 2 iterations. Read all output, improve every section. No shortcuts.** ## Purpose Establishes effective code review practices that improve code quality, catch bugs early, and maintain security standards while fostering collaborative development. ## Review Checklist ### MUST CHECK 1. **Functionality** — Code solves the stated problem, edge cases handled 2. **Design** — Follows project patterns, appropriate abstraction 3. **Code Quality** — Readable, maintainable, DRY, proper naming 4. **Testing** — Unit tests included, coverage adequate, edge cases tested 5. **Security** — No hardcoded secrets, input validation, XSS/injection prevention 6. **Performance** — No obvious inefficiencies, queries optimized 7. **Documentation** — README updated, complex logic explained ## PR Size Guidelines - Small: < 200 lines (ideal) - Medium: 200-500 lines (acceptable) - Large: 500-1000 lines (split if possible) - XL: > 1000 lines (must split) ## Feedback Guidelines ### Effective Comments - Focus on code, not the person - Provide constructive suggestions with examples - Use labels: `MUST FIX`, `SHOULD FIX`, `NIT`, `QUESTION`, `SUGGESTION`, `PRAISE` ### Security-Focused Review - Authentication/authorization checks - Input validation and sanitization - No secrets in code, secure logging - Dependencies from trusted sources - Lock files updated ## Approval Criteria - ✅ APPROVE: All MUST FIX resolved, tests passing, security checks pass - 💬 COMMENT: Clarification needed, non-blocking suggestions - 🔄 REQUEST CHANGES: Critical bugs, security vulnerabilities, missing tests ## Related Policies - [Secure Development Policy](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Secure_Development_Policy.md)
GitHub에서 보기