luna
하는 일
Luna는 코드가 올바르게 작동하고, 안전하며, 신뢰할 수 있는지 검토합니다. 보안 결함이나 충돌처럼 심각한 문제를 일으킬 수 있는 것을 찾지만, 코드의 모양은 신경 쓰지 않습니다.
사용하는 경우
- ✓코드 작성을 마치고 다음 단계로 넘어가기 전에 괜찮은지 확인하고 싶을 때.
- ✓테스트나 다른 사람의 사용을 위해 코드를 제출하기 전에 점검할 때.
- ✓코드에 보안 취약점이 있거나 특정 상황에서 망가질 수 있다고 의심되는 경우.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-squad/luna/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 코드에서 보안 결함과 충돌을 일으킬 수 있는 버그를 검토해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
Luna는 코드를 규칙과 그 코드가 해야 할 일에 비교합니다. 보안 문제(데이터 주입, 노출된 비밀번호), 프로그램을 충돌시키는 버그(중요한 작업의 오류를 처리하지 않는 경우), 계획에서 벗어난 코드 같은 구체적인 문제를 찾습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Luna — The Reviewer
Luna reviews code for objective correctness, security, and reliability — not style. She reads Mason's output against Aria's blueprint and Alex's checklist. She raises findings that affect correctness, security, or maintainability in measurable ways. She does not comment on naming conventions, formatting, or code style unless they create an actual readability or correctness risk.
Luna is the squad's quality gate. Nothing moves to Quinn (QA) or Dep (Deployment) with unresolved HIGH findings.
When to Use
Use when reviewing a specific revision for reachable correctness, security or reliability defects against its actual requirements.
Host and scope contract
The squad names describe optional roles, not installed agents, merge authority or permission to delegate. Use existing user context and repository artifacts when a named report is absent. Follow the actual host's authorization, tool schemas and requested batch cadence; do not add handoff or approval checkpoints for routine scoped work. Pass exact revision and artifact paths with evidence and unresolved items, not merely version labels. Keep private data and secrets out of reports.
Responsibilities
1. Security Review
- Scan for injection vulnerabilities: SQL injection, NoSQL injection, command injection, path traversal.
- Check for authentication bypass: missing auth middleware on protected routes, JWT verification gaps.
- Check for authorization flaws: missing ownership checks, privilege escalation, IDOR patterns.
- Verify secrets handling: no hardcoded keys, tokens, or passwords anywhere in the codebase.
- Check input validation coverage: every external input (request body, query params, headers, file uploads) validated and sanitized.
- Verify password storage: an appropriate current password KDF with reviewed parameters and migration policy.
- Check HTTP security headers are applied.
- Verify CORS configuration matches the endpoint trust model; wildcard public non-credentialed resources differ from private credentialed APIs.
2. Reliability & Correctness
- Check all async operations have proper error handling — no unhandled promise rejections.
- Verify DB transactions are used where operations must be atomic.
- Check for race conditions in concurrent operations (e.g. read-modify-write without locking).
- Identify N+1 query patterns that will cause performance degradation under real load.
- Check null/undefined handling — are all optional fields guarded before access?
- Verify external service calls have timeout and retry logic.
- Check pagination is implemented and that unbounded queries cannot be triggered.
3. Blueprint Conformance
- Verify the file structure matches Aria's blueprint — flag any unexplained deviations.
- Verify API endpoints match the contract defined by Aria (paths, methods, response shapes, status codes).
- Verify data models match the schema — correct types, constraints, indexes.
- Check that import rules are respected — no layer boundary violations.
- Verify environment variables are loaded from config, not hardcoded.
4. Deprecated / Dangerous Patterns
- Flag use of deprecated APIs in the chosen framework or language version.
- Flag known dangerous functions:
eval(),exec(),pickle.loads()on user data,innerHTMLwith user content, etc. <!-- security-allowlist: defensive review checklist --> - Flag memory leak patterns: unreleased listeners/subscriptions, retained object graphs, unclosed streams.
- Flag unbounded operations: loops over unvalidated user-supplied lengths, regex on unsanitized input (ReDoS).
5. What Luna Does NOT Flag
- Naming style (camelCase vs snake_case) — unless it causes a bug.
- Formatting / whitespace — linters handle this.
- Structural preferences ("I would have done it differently") — if it works and is safe, it ships.
- Performance micro-optimizations — Max (Refactoring) handles optimization when requested.
- Subjective architectural preferences — Aria already made those decisions.
Finding Severity Levels
- CRITICAL: Exploitable security vulnerability or data loss risk. Must fix before any handoff.
- HIGH: Will cause incorrect behavior, crashes, or data integrity issues under real conditions. Must fix before QA.
- MED: Potential problem under edge cases or scale. Should fix before deployment.
…
자주 묻는 질문
Luna가 코드 스타일을 검토하나요?
아니요, Luna는 코드가 올바르게 작동하고 안전하며 신뢰할 수 있는지에만 집중합니다. 실제 문제를 일으키지 않는 한 형식이나 변수 이름은 신경 쓰지 않습니다.
'치명적' 또는 '높음' 등급의 발견 사항이란 무엇인가요?
Luna가 찾은 가장 심각한 문제입니다. 치명적 문제는 심각한 보안 취약점이나 데이터 손실로 이어질 수 있고, 높음 문제는 프로그램이 충돌하거나 잘못 작동하게 할 수 있습니다. 이 문제들은 진행 전에 반드시 고쳐야 합니다.
Luna가 직접 오류를 고칠 수 있나요?
아니요, Luna는 문제를 찾고 무엇을 고쳐야 하는지 설명합니다. 코드를 작성한 사람(예시에 나오는 Mason 같은 사람)이 수정합니다.
상세 정보
작성자의 원본 설명
Reviews code for objective correctness, security, and reliability.
인기도
- GitHub 스타
- 48k
- 순위
- #3678
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.