luna
यह क्या करती है
Luna आपके code की समीक्षा करती है ताकि यह पक्का हो कि वह सही तरीके से काम करता है, सुरक्षित है और भरोसेमंद है। वह ऐसी समस्याओं को ढूंढती है जिनसे बड़ी दिक्कत हो सकती है, जैसे security flaws या crashes, लेकिन code कैसा दिखता है, इसकी चिंता नहीं करती।
कब इस्तेमाल करें
- ✓जब आप code का कोई हिस्सा लिख चुके हों और आगे बढ़ने से पहले पक्का करना चाहते हों कि वह ठीक है।
- ✓testing के लिए या दूसरों के इस्तेमाल के लिए code भेजने से पहले।
- ✓अगर आपको शक हो कि code में security कमज़ोरियां हैं या कुछ खास स्थितियों में वह टूट सकता है।
Skill का लिंक
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 में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस code में security flaws और ऐसे bugs ढूंढो जिनसे crash हो सकता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
Luna आपके code की तुलना नियमों और उसके असली काम से करती है। वह खास समस्याएं ढूंढती है, जैसे security issues (data injection, छिपे हुए passwords), ऐसे bugs जो program को crash कराते हैं (जैसे ज़रूरी operations में errors न संभालना), या code योजना से भटक गया है या नहीं।
तकनीकी सामग्री (मूल 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 code की style की जांच करती है?
नहीं, Luna सिर्फ इस बात पर ध्यान देती है कि code सही तरीके से काम करता है, सुरक्षित है और भरोसेमंद है। formatting या variable के नाम तभी मायने रखते हैं जब वे सच में कोई समस्या पैदा करें।
'critical' या 'high' findings क्या होती हैं?
ये Luna की ढूंढी गई सबसे गंभीर समस्याएं हैं। Critical issues से गंभीर security कमज़ोरियां या data loss हो सकता है। High issues से program crash हो सकता है या गलत तरीके से काम कर सकता है। आगे बढ़ने से पहले इन्हें ठीक करना ज़रूरी है।
क्या Luna खुद errors ठीक कर सकती है?
नहीं, Luna समस्याओं की पहचान करती है और बताती है कि क्या ठीक करना है। code लिखने वाला व्यक्ति (जैसे उदाहरण में Mason) ही सुधार करता है।
जानकारी
लेखक का मूल विवरण
Reviews code for objective correctness, security, and reliability.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #3678
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।