[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EGEXAXTEF2A44NQJXAHCF7":3,"skill-same:01M6EGEXAXTEF2A44NQJXAHCF7":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6EGEXAXTEF2A44NQJXAHCF7","ln-511-code-quality-checker",null,"Checks DRY\u002FKISS\u002FYAGNI\u002Farchitecture compliance with quantitative Code Quality Score. Validates decisions via MCP Ref. Reports with SEC-\u002FPERF-\u002FMNT-\u002FARCH-\u002FBP-\u002FOPT- prefixes.","levalencia\u002Fagent-god-mode","levalencia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6962857?v=4","01M6EB0FZZ4BPQPC4HET4QY6NM","Luis Valencia ","01M6EB0G4HWHPWW0H9X7QKSAHP",3,"MIT","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-511-code-quality-checker\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"code quality","code","quality","quality checker","ln 511 code quality checker","MCP","architecture","perf","compliance","decisions","yagni","reports","arch","dry","via","2026-11-10 10:12:30",false,"---\nname: ln-511-code-quality-checker\ndescription: \"Checks DRY\u002FKISS\u002FYAGNI\u002Farchitecture compliance with quantitative Code Quality Score. Validates decisions via MCP Ref. Reports with SEC-\u002FPERF-\u002FMNT-\u002FARCH-\u002FBP-\u002FOPT- prefixes.\"\nlicense: MIT\n---\n\n> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# Code Quality Checker\n\nAnalyzes Done implementation tasks with quantitative Code Quality Score based on metrics, MCP Ref validation, and issue penalties.\n\n## Inputs\n\n| Input | Required | Source | Description |\n|-------|----------|--------|-------------|\n| `storyId` | Yes | args, git branch, kanban, user | Story to process |\n\n**Resolution:** Story Resolution Chain.\n**Status filter:** In Progress, To Review\n\n## Purpose & Scope\n- Load Story and Done implementation tasks (exclude test tasks)\n- Calculate Code Quality Score using metrics and issue penalties\n- **MCP Ref validation:** Verify optimality, best practices, and performance via external sources\n- Check for DRY\u002FKISS\u002FYAGNI violations, architecture boundary breaks, security issues\n- Produce quantitative verdict with structured issue list; never edits Linear or kanban\n\n## Code Metrics\n\n| Metric | Threshold | Penalty |\n|--------|-----------|---------|\n| **Cyclomatic Complexity** | ≤10 OK, 11-20 warning, >20 fail | -5 (warning), -10 (fail) per function |\n| **Function size** | ≤50 lines OK, >50 warning | -3 per function |\n| **File size** | ≤500 lines OK, >500 warning | -5 per file |\n| **Nesting depth** | ≤3 OK, >3 warning | -3 per instance |\n| **Parameter count** | ≤4 OK, >4 warning | -2 per function |\n\n## Code Quality Score\n\nFormula: `Code Quality Score = 100 - metric_penalties - issue_penalties`\n\n**Issue penalties by severity:**\n\n| Severity | Penalty | Examples |\n|----------|---------|----------|\n| **high** | -20 | Security vulnerability, O(n²)+ algorithm, N+1 query |\n| **medium** | -10 | DRY violation, suboptimal approach, missing config |\n| **low** | -3 | Naming convention, minor code smell |\n\n**Score interpretation:**\n\n| Score | Status | Verdict |\n|-------|--------|---------|\n| 90-100 | Excellent | PASS |\n| 70-89 | Acceptable | CONCERNS |\n| \u003C70 | Below threshold | ISSUES_FOUND |\n\n## Issue Prefixes\n\n| Prefix | Category | Default Severity | MCP Ref |\n|--------|----------|------------------|---------|\n| SEC- | Security (auth, validation, secrets) | high | — |\n| SEC-DESTR- | Destructive ops (guards: DB, FS, MIG, ENV, FORCE) | high\u002Fmedium | — |\n| PERF- | Performance (algorithms, configs, bottlenecks) | medium\u002Fhigh | ✓ Required |\n| MNT- | Maintainability (DRY, SOLID, complexity, dead code) | medium | — |\n| ARCH- | Architecture (layers, boundaries, patterns, contracts) | medium | — |\n| BP- | Best Practices (implementation differs from recommended) | medium | ✓ Required |\n| OPT- | Optimality (better approach exists for this goal) | medium | ✓ Required |\n\n**OPT- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| OPT-OSS- | Open-source replacement available (cross-ref ln-645 audit) | medium (high if >200 LOC) |\n\n**ARCH- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| ARCH-LB- | Layer Boundary: I\u002FO outside infra, HTTP in domain | high |\n| ARCH-TX- | Transaction Boundaries: commit() in 3+ layers, mixed UoW ownership | high (CRITICAL if auth\u002Fpayment) |\n| ARCH-DTO- | Missing DTO (4+ params without DTO), Entity Leakage (ORM entity in API response) | medium (high if auth\u002Fpayment) |\n| ARCH-DI- | Dependency Injection: dependencies not replaceable for testing (direct instantiation, no injection mechanism). Exception: small scripts\u002FCLIs where params\u002Fclosures suffice → skip | medium |\n| ARCH-CEH- | Centralized Error Handling: errors silently swallowed, stack traces leak to prod, no consistent error logging. Exception: 50-line scripts → downgrade to LOW | medium (high if no handler at all) |\n| ARCH-SES- | Session Ownership: DI session + local session in same module | medium |\n| ARCH-AI-SEB | Side-Effect Breadth: 3+ side-effect categories in one **leaf** function. **Conflict Resolution:** orchestrator\u002Fcoordinator functions (imports 3+ services AND delegates sequentially) are EXPECTED to have multiple categories — do NOT flag SEB | medium |\n| ARCH-AI-AH | Architectural Honesty: read-named function with write side-effects | medium |\n| ARCH-AI-FO | Flat Orchestration: **leaf** service imports 3+ other services. Orchestrator imports are expected — do NOT flag | medium |\n\n**PERF- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| PERF-ALG- | Algorithm complexity (Big O) | high if O(n²)+ |\n| PERF-CFG- | Package\u002Flibrary configuration | medium |\n| PERF-PTN- | Architectural pattern performance | high |\n| PERF-DB- | Database queries, indexes | high |\n\n**MNT- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| MNT-DC- | Dead code: replaced implementations, unused exports\u002Fre-exports, backward-compat wrappers, deprecated aliases | medium (high if public API) |\n| MNT-DRY- | DRY violations: duplicate logic across files | medium |\n| MNT-GOD- | God Classes: class with >15 methods or >500 lines (not just file size) | medium (high if >1000 lines) |\n| MNT-SIG- | Method Signature Quality: boolean flag params, unclear return types, inconsistent naming, >5 optional params | low |\n| MNT-ERR- | Error Contract inconsistency: mixed raise + return None in same service | medium |\n\n## When to Use\n- **Invoked by ln-510-quality-coordinator** Phase 2\n- All implementation tasks in Story status = Done\n- Before ln-512 tech debt cleanup and ln-510 inline agent review\n\n## Workflow (concise)\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Finput_resolution_pattern.md`\n\n1) **Resolve storyId:** Run Story Resolution Chain per guide (status filter: [In Progress, To Review]).\n2) Load Story (full) and Done implementation tasks (full descriptions) via Linear; skip tasks with label \"tests\".\n3) **Collect changed files** (`changed_files[]`):\n   **MANDATORY READ:** `shared\u002Freferences\u002Fgit_scope_detection.md`\n   - IF invoked by ln-510: use `changed_files[]` from coordinator context → proceed to Enrich step in guide\n   - IF invoked standalone: run full algorithm from guide\n4) **Two-Layer Detection (MANDATORY):**\n   **MANDATORY READ:** `shared\u002Freferences\u002Ftwo_layer_detection.md`\n   All threshold-based findings require Layer 2 context analysis. Layer 1 finding without Layer 2 = NOT a valid finding. Before reporting any metric violation, ask: \"Is this violation intentional or justified by design?\" See Exception column in metrics below.\n\n5) **Calculate code metrics:**\n   - Cyclomatic Complexity per function (target ≤10; Exception: enum\u002Fswitch dispatch, state machines, parser grammars → downgrade to LOW)\n   - Function size (target ≤50 lines; Exception: orchestrator functions with sequential delegation)\n   - File size (target ≤500 lines; Exception: config\u002Fschema\u002Fmigration files, generated code)\n   - Nesting depth (target ≤3)\n   - Parameter count (target ≤4; Exception: builder\u002Foptions patterns)\n\n6) **MCP Ref Validation (MANDATORY for code changes — SKIP if `--skip-mcp-ref` flag passed):**\n\n   > **Fast-track mode:** When invoked with `--skip-mcp-ref`, skip this entire step (no OPT-, BP-, PERF- checks). Proceed directly to step 6 (static analysis). This reduces cost from ~5000 to ~800 tokens while preserving metrics + static analysis coverage.\n\n   **Level 1 — OPTIMALITY (OPT-):**\n   - Extract goal from task (e.g., \"user authentication\", \"caching\", \"API rate limiting\")\n   - Research alternatives: `ref_search_documentation(\"{goal} approaches comparison {tech_stack} 2026\")`\n   - Compare chosen approach vs alternatives for project context\n   - Flag suboptimal choices as OPT- issues\n\n   **Level 2 — BEST PRACTICES (BP-):**\n   - Research: `ref_search_documentation(\"{chosen_approach} best practices {tech_stack} 2026\")`\n   - For libraries: `query-docs(library_id, \"best practices implementation patterns\")`\n   - Flag deviations from recommended patterns as BP- issues\n\n   **Level 3 — PERFORMANCE (PERF-):**\n   - **PERF-ALG:** Analyze algorithm complexity (detect O(n²)+, research optimal via MCP Ref)\n   - **PERF-CFG:** Check library configs (connection pooling, batch sizes, timeouts) via `query-docs`\n   - **PERF-PTN:** Research pattern pitfalls: `ref_search_documentation(\"{pattern} performance bottlenecks\")`\n   - **PERF-DB:** Check for N+1, missing indexes via `query-docs(orm_library_id, \"query optimization\")`\n\n   **Triggers for MCP Ref validation:**\n   - New dependency added (package.json\u002Frequirements.txt changed)\n   - New pattern\u002Flibrary used\n   - API\u002Fdatabase changes\n   - Loops\u002Frecursion in critical paths\n   - ORM queries added\n\n7) **Analyze code for static issues (assign prefixes):**\n   **MANDATORY READ:** `shared\u002Freferences\u002Fclean_code_checklist.md`, `shared\u002Freferences\u002Fdestructive_operation_safety.md`\n   - SEC-: hardcoded creds, unvalidated input, SQL injection, race conditions\n   - SEC-DESTR-: unguarded destructive operations — use code-level guards table from destructive_operation_safety.md (loaded above). Check all 5 guard categories (DB, FS, MIG, ENV, FORCE).\n   - MNT-: DRY violations (MNT-DRY-: duplicate logic), dead code (MNT-DC-: per checklist), complex conditionals, poor naming\n   - **MNT-DRY- cross-story hotspot scan:** Grep for common pattern signatures (error handlers: `catch.*Error|handleError`, validators: `validate|isValid`, config access: `getSettings|getConfig`) across ALL `src\u002F` files (count mode). If any pattern appears in 5+ files, sample 3 files (Read 50 lines each) and check structural similarity. If >80% similar → MNT-DRY-CROSS (medium, -10 points): `Pattern X duplicated in N files — extract to shared module.`\n   - **MNT-DC- cross-story unused export scan:** For each file modified by Story, count `export` declarations. Then Grep across ALL `src\u002F` for import references to those exports. Exports with 0 import references → MNT-DC-CROSS (medium, -10 points): `{export} in {file} exported but never imported — remove or mark internal.`\n   - **OPT-OSS- cross-reference ln-645 (static, fast-track safe):** IF `docs\u002Fproject\u002F.audit\u002Fln-640\u002F*\u002F645-open-source-replacer*.md` exists (glob across dates, take latest), check if any HIGH-confidence replacement matches files changed in current Story. IF match found → create OPT-OSS-{N} issue with module path, goal, recommended package, confidence, stars, license from ln-645 report. Severity: high if >200 LOC, medium otherwise. This check reads local files only — no MCP calls — runs even with `--skip-mcp-ref`.\n   - ARCH-: layer violations, circular dependencies, guide non-compliance\n   - ARCH-LB-: layer boundary violations (HTTP\u002FDB\u002FFS calls outside infrastructure layer)\n   - ARCH-TX-: transaction boundary violations (commit() across multiple layers)\n   - ARCH-DTO-: missing DTOs (4+ repeated params), entity leakage (ORM entities returned from API)\n   - ARCH-DI-: direct instantiation in business logic (no DI container or mixed patterns)\n   - ARCH-CEH-: centralized error handling absent or bypassed\n   - ARCH-SES-: session ownership conflicts (DI + local session in same module)\n   - ARCH-AI-SEB: side-effect breadth (3+ categories in one **leaf** function; orchestrator functions exempt — see Conflict Resolution in table above)\n   - ARCH-AI-AH: architectural honesty (read-named function with hidden writes)\n   - ARCH-AI-FO: flat orchestration (**leaf** service importing 3+ services; orchestrator imports exempt)\n   - MNT-GOD-: god classes (>15 methods or >500 lines per class)\n   - MNT-SIG-: method signature quality (boolean flags, unclear returns)\n   - MNT-ERR-: error contract inconsistency (mixed raise\u002Freturn patterns in same service)\n\n8) **Calculate Code Quality Score:**\n   - Start with 100\n   - Subtract metric penalties (see Code Metrics table)\n   - Subtract issue penalties (see Issue penalties table)\n\n9) Output verdict with score and structured issues. Add Linear comment with findings.\n\n## Critical Rules\n- Read guides mentioned in Story\u002FTasks before judging compliance.\n- **MCP Ref validation:** For ANY architectural change, MUST verify via ref_search_documentation before judging.\n- **Context7 for libraries:** When reviewing library usage, query-docs to verify correct patterns.\n- Language preservation in comments (EN\u002FRU).\n- Do not create tasks or change statuses; caller decides next actions.\n\n## Definition of Done\n- Story and Done implementation tasks loaded (test tasks excluded).\n- Code metrics calculated (Cyclomatic Complexity, function\u002Ffile sizes).\n- **MCP Ref validation completed:**\n  - OPT-: Optimality checked (is chosen approach the best for the goal?)\n  - BP-: Best practices verified (correct implementation of chosen approach?)\n  - PERF-: Performance analyzed (algorithms, configs, patterns, DB)\n- ARCH- subcategories checked (LB, TX, DTO, DI, CEH, SES); MNT- subcategories checked (DC, DRY, GOD, SIG, ERR).\n- Issues identified with prefixes and severity, sources from MCP Ref\u002FContext7.\n- Code Quality Score calculated.\n- **Output format:**\n  ```yaml\n  verdict: PASS | CONCERNS | ISSUES_FOUND\n  code_quality_score: {0-100}\n  metrics:\n    avg_cyclomatic_complexity: {value}\n    functions_over_50_lines: {count}\n    files_over_500_lines: {count}\n  issues:\n    # OPTIMALITY\n    - id: \"OPT-001\"\n      severity: medium\n      file: \"src\u002Fauth\u002Findex.ts\"\n      goal: \"User session management\"\n      finding: \"Suboptimal approach for session management\"\n      chosen: \"Custom JWT with localStorage\"\n      recommended: \"httpOnly cookies + refresh token rotation\"\n      reason: \"httpOnly cookies prevent XSS token theft\"\n      source: \"ref:\u002F\u002Fowasp-session-management\"\n\n    # OPTIMALITY - OSS Replacement (from ln-645, fast-track safe)\n    - id: \"OPT-OSS-001\"\n      severity: high\n      file: \"src\u002Futils\u002Femail-validator.ts\"\n      goal: \"Email validation with MX checking\"\n      finding: \"Custom 245-line module has HIGH-confidence OSS replacement\"\n      chosen: \"Custom email-validator.ts (245 lines)\"\n      recommended: \"zod + zod-email (28k stars, MIT, 95% coverage)\"\n      reason: \"Battle-tested, actively maintained, reduces maintenance burden\"\n      source: \"ln-645-audit\"\n\n    # BEST PRACTICES\n    - id: \"BP-001\"\n      severity: medium\n      file: \"src\u002Fapi\u002Froutes.ts\"\n      finding: \"POST for idempotent operation\"\n      best_practice: \"Use PUT for idempotent updates (RFC 7231)\"\n      source: \"ref:\u002F\u002Fapi-design-guide#idempotency\"\n\n    # PERFORMANCE - Algorithm\n    - id: \"PERF-ALG-001\"\n      severity: high\n      file: \"src\u002Futils\u002Fsearch.ts:42\"\n      finding: \"Nested loops cause O(n²) complexity\"\n      current: \"O(n²) - nested filter().find()\"\n      optimal: \"O(n) - use Map\u002FSet for lookup\"\n      source: \"ref:\u002F\u002Fjavascript-performance#data-structures\"\n\n    # PERFORMANCE - Config\n    - id: \"PERF-CFG-001\"\n      severity: medium\n      file: \"src\u002Fdb\u002Fconnection.ts\"\n      finding: \"Missing connection pool config\"\n      current_config: \"default (pool: undefined)\"\n      recommended: \"pool: { min: 2, max: 10 }\"\n      source: \"context7:\u002F\u002Fpg#connection-pooling\"\n\n    # PERFORMANCE - Database\n    - id: \"PERF-DB-001\"\n      severity: high\n      file: \"src\u002Frepositories\u002Fuser.ts:89\"\n      finding: \"N+1 query pattern detected\"\n      issue: \"users.map(u => u.posts) triggers N queries\"\n      solution: \"Use eager loading: include: { posts: true }\"\n      source: \"context7:\u002F\u002Fprisma#eager-loading\"\n\n    # ARCHITECTURE - Entity Leakage\n    - id: \"ARCH-DTO-001\"\n      severity: high\n      file: \"src\u002Fapi\u002Fusers.ts:35\"\n      finding: \"ORM entity returned directly from API endpoint\"\n      issue: \"User entity with password hash exposed in GET \u002Fusers response\"\n      fix: \"Create UserResponseDTO, map entity → DTO before return\"\n\n    # ARCHITECTURE - Centralized Error Handling\n    - id: \"ARCH-CEH-001\"\n      severity: medium\n      file: \"src\u002Fapp.ts\"\n      finding: \"No global error handler registered\"\n      issue: \"Unhandled exceptions return stack traces to client in production\"\n      fix: \"Add app.use(globalErrorHandler) with sanitized error responses\"\n\n    # MAINTAINABILITY - God Class\n    - id: \"MNT-GOD-001\"\n      severity: medium\n      file: \"src\u002Fservices\u002Forder-service.ts\"\n      finding: \"God class with 22 methods and 680 lines\"\n      issue: \"OrderService handles creation, payment, shipping, notifications\"\n      fix: \"Extract PaymentService, ShippingService, NotificationService\"\n\n    # MAINTAINABILITY - Dead Code\n    - id: \"MNT-DC-001\"\n      severity: medium\n      file: \"src\u002Fauth\u002Flegacy-adapter.ts\"\n      finding: \"Backward-compatibility wrapper kept after migration\"\n      dead_code: \"legacyLogin() wraps newLogin() — callers already migrated\"\n      action: \"Delete legacy-adapter.ts, remove re-export from index.ts\"\n\n    # MAINTAINABILITY - DRY\n    - id: \"MNT-DRY-001\"\n      severity: medium\n      file: \"src\u002Fservice.ts:42\"\n      finding: \"DRY violation: duplicate validation logic\"\n      suggested_action: \"Extract to shared validator\"\n  ```\n- Linear comment posted with findings.\n\n## Reference Files\n- Git scope detection: `shared\u002Freferences\u002Fgit_scope_detection.md`\n- Code metrics: `references\u002Fcode_metrics.md` (thresholds and penalties)\n- Guides: `docs\u002Fguides\u002F`\n- Templates for context: `shared\u002Ftemplates\u002Ftask_template_implementation.md`\n- **Clean code checklist:** `shared\u002Freferences\u002Fclean_code_checklist.md`\n- **MANDATORY READ:** `shared\u002Freferences\u002Fresearch_tool_fallback.md`\n\n---\n**Version:** 5.0.0\n**Last Updated:** 2026-01-29\n","> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# Code Quality Checker\n\nAnalyzes Done implementation tasks with quantitative Code Quality Score based on metrics, MCP Ref validation, and issue penalties.\n\n## Inputs\n\n| Input | Required | Source | Description |\n|-------|----------|--------|-------------|\n| `storyId` | Yes | args, git branch, kanban, user | Story to process |\n\n**Resolution:** Story Resolution Chain.\n**Status filter:** In Progress, To Review\n\n## Purpose & Scope\n- Load Story and Done implementation tasks (exclude test tasks)\n- Calculate Code Quality Score using metrics and issue penalties\n- **MCP Ref validation:** Verify optimality, best practices, and performance via external sources\n- Check for DRY\u002FKISS\u002FYAGNI violations, architecture boundary breaks, security issues\n- Produce quantitative verdict with structured issue list; never edits Linear or kanban\n\n## Code Metrics\n\n| Metric | Threshold | Penalty |\n|--------|-----------|---------|\n| **Cyclomatic Complexity** | ≤10 OK, 11-20 warning, >20 fail | -5 (warning), -10 (fail) per function |\n| **Function size** | ≤50 lines OK, >50 warning | -3 per function |\n| **File size** | ≤500 lines OK, >500 warning | -5 per file |\n| **Nesting depth** | ≤3 OK, >3 warning | -3 per instance |\n| **Parameter count** | ≤4 OK, >4 warning | -2 per function |\n\n## Code Quality Score\n\nFormula: `Code Quality Score = 100 - metric_penalties - issue_penalties`\n\n**Issue penalties by severity:**\n\n| Severity | Penalty | Examples |\n|----------|---------|----------|\n| **high** | -20 | Security vulnerability, O(n²)+ algorithm, N+1 query |\n| **medium** | -10 | DRY violation, suboptimal approach, missing config |\n| **low** | -3 | Naming convention, minor code smell |\n\n**Score interpretation:**\n\n| Score | Status | Verdict |\n|-------|--------|---------|\n| 90-100 | Excellent | PASS |\n| 70-89 | Acceptable | CONCERNS |\n| \u003C70 | Below threshold | ISSUES_FOUND |\n\n## Issue Prefixes\n\n| Prefix | Category | Default Severity | MCP Ref |\n|--------|----------|------------------|---------|\n| SEC- | Security (auth, validation, secrets) | high | — |\n| SEC-DESTR- | Destructive ops (guards: DB, FS, MIG, ENV, FORCE) | high\u002Fmedium | — |\n| PERF- | Performance (algorithms, configs, bottlenecks) | medium\u002Fhigh | ✓ Required |\n| MNT- | Maintainability (DRY, SOLID, complexity, dead code) | medium | — |\n| ARCH- | Architecture (layers, boundaries, patterns, contracts) | medium | — |\n| BP- | Best Practices (implementation differs from recommended) | medium | ✓ Required |\n| OPT- | Optimality (better approach exists for this goal) | medium | ✓ Required |\n\n**OPT- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| OPT-OSS- | Open-source replacement available (cross-ref ln-645 audit) | medium (high if >200 LOC) |\n\n**ARCH- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| ARCH-LB- | Layer Boundary: I\u002FO outside infra, HTTP in domain | high |\n| ARCH-TX- | Transaction Boundaries: commit() in 3+ layers, mixed UoW ownership | high (CRITICAL if auth\u002Fpayment) |\n| ARCH-DTO- | Missing DTO (4+ params without DTO), Entity Leakage (ORM entity in API response) | medium (high if auth\u002Fpayment) |\n| ARCH-DI- | Dependency Injection: dependencies not replaceable for testing (direct instantiation, no injection mechanism). Exception: small scripts\u002FCLIs where params\u002Fclosures suffice → skip | medium |\n| ARCH-CEH- | Centralized Error Handling: errors silently swallowed, stack traces leak to prod, no consistent error logging. Exception: 50-line scripts → downgrade to LOW | medium (high if no handler at all) |\n| ARCH-SES- | Session Ownership: DI session + local session in same module | medium |\n| ARCH-AI-SEB | Side-Effect Breadth: 3+ side-effect categories in one **leaf** function. **Conflict Resolution:** orchestrator\u002Fcoordinator functions (imports 3+ services AND delegates sequentially) are EXPECTED to have multiple categories — do NOT flag SEB | medium |\n| ARCH-AI-AH | Architectural Honesty: read-named function with write side-effects | medium |\n| ARCH-AI-FO | Flat Orchestration: **leaf** service imports 3+ other services. Orchestrator imports are expected — do NOT flag | medium |\n\n**PERF- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| PERF-ALG- | Algorithm complexity (Big O) | high if O(n²)+ |\n| PERF-CFG- | Package\u002Flibrary configuration | medium |\n| PERF-PTN- | Architectural pattern performance | high |\n| PERF-DB- | Database queries, indexes | high |\n\n**MNT- subcategories:**\n\n| Prefix | Category | Severity |\n|--------|----------|----------|\n| MNT-DC- | Dead code: replaced implementations, unused exports\u002Fre-exports, backward-compat wrappers, deprecated aliases | medium (high if public API) |\n| MNT-DRY- | DRY violations: duplicate logic across files | medium |\n| MNT-GOD- | God Classes: class with >15 methods or >500 lines (not just file size) | medium (high if >1000 lines) |\n| MNT-SIG- | Method Signature Quality: boolean flag params, unclear return types, inconsistent naming, >5 optional params | low |\n| MNT-ERR- | Error Contract inconsistency: mixed raise + return None in same service | medium |\n\n## When to Use\n- **Invoked by ln-510-quality-coordinator** Phase 2\n- All implementation tasks in Story status = Done\n- Before ln-512 tech debt cleanup and ln-510 inline agent review\n\n## Workflow (concise)\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Finput_resolution_pattern.md`\n\n1) **Resolve storyId:** Run Story Resolution Chain per guide (status filter: [In Progress, To Review]).\n2) Load Story (full) and Done implementation tasks (full descriptions) via Linear; skip tasks with label \"tests\".\n3) **Collect changed files** (`changed_files[]`):\n   **MANDATORY READ:** `shared\u002Freferences\u002Fgit_scope_detection.md`\n   - IF invoked by ln-510: use `changed_files[]` from coordinator context → proceed to Enrich step in guide\n   - IF invoked standalone: run full algorithm from guide\n4) **Two-Layer Detection (MANDATORY):**\n   **MANDATORY READ:** `shared\u002Freferences\u002Ftwo_layer_detection.md`\n   All threshold-based findings require Layer 2 context analysis. Layer 1 finding without Layer 2 = NOT a valid finding. Before reporting any metric violation, ask: \"Is this violation intentional or justified by design?\" See Exception column in metrics below.\n\n5) **Calculate code metrics:**\n   - Cyclomatic Complexity per function (target ≤10; Exception: enum\u002Fswitch dispatch, state machines, parser grammars → downgrade to LOW)\n   - Function size (target ≤50 lines; Exception: orchestrator functions with sequential delegation)\n   - File size (target ≤500 lines; Exception: config\u002Fschema\u002Fmigration files, generated code)\n   - Nesting depth (target ≤3)\n   - Parameter count (target ≤4; Exception: builder\u002Foptions patterns)\n\n6) **MCP Ref Validation (MANDATORY for code changes — SKIP if `--skip-mcp-ref` flag passed):**\n\n   > **Fast-track mode:** When invoked with `--skip-mcp-ref`, skip this entire step (no OPT-, BP-, PERF- checks). Proceed directly to step 6 (static analysis). This reduces cost from ~5000 to ~800 tokens while preserving metrics + static analysis coverage.\n\n   **Level 1 — OPTIMALITY (OPT-):**\n   - Extract goal from task (e.g., \"user authentication\", \"caching\", \"API rate limiting\")\n   - Research alternatives: `ref_search_documentation(\"{goal} approaches comparison {tech_stack} 2026\")`\n   - Compare chosen approach vs alternatives for project context\n   - Flag suboptimal choices as OPT- issues\n\n   **Level 2 — BEST PRACTICES (BP-):**\n   - Research: `ref_search_documentation(\"{chosen_approach} best practices {tech_stack} 2026\")`\n   - For libraries: `query-docs(library_id, \"best practices implementation patterns\")`\n   - Flag deviations from recommended patterns as BP- issues\n\n   **Level 3 — PERFORMANCE (PERF-):**\n   - **PERF-ALG:** Analyze algorithm complexity (detect O(n²)+, research optimal via MCP Ref)\n   - **PERF-CFG:** Check library configs (connection pooling, batch sizes, timeouts) via `query-docs`\n   - **PERF-PTN:** Research pattern pitfalls: `ref_search_documentation(\"{pattern} performance bottlenecks\")`\n   - **PERF-DB:** Check for N+1, missing indexes via `query-docs(orm_library_id, \"query optimization\")`\n\n   **Triggers for MCP Ref validation:**\n   - New dependency added (package.json\u002Frequirements.txt changed)\n   - New pattern\u002Flibrary used\n   - API\u002Fdatabase changes\n   - Loops\u002Frecursion in critical paths\n   - ORM queries added\n\n7) **Analyze code for static issues (assign prefixes):**\n   **MANDATORY READ:** `shared\u002Freferences\u002Fclean_code_checklist.md`, `shared\u002Freferences\u002Fdestructive_operation_safety.md`\n   - SEC-: hardcoded creds, unvalidated input, SQL injection, race conditions\n   - SEC-DESTR-: unguarded destructive operations — use code-level guards table from destructive_operation_safety.md (loaded above). Check all 5 guard categories (DB, FS, MIG, ENV, FORCE).\n   - MNT-: DRY violations (MNT-DRY-: duplicate logic), dead code (MNT-DC-: per checklist), complex conditionals, poor naming\n   - **MNT-DRY- cross-story hotspot scan:** Grep for common pattern signatures (error handlers: `catch.*Error|handleError`, validators: `validate|isValid`, config access: `getSettings|getConfig`) across ALL `src\u002F` files (count mode). If any pattern appears in 5+ files, sample 3 files (Read 50 lines each) and check structural similarity. If >80% similar → MNT-DRY-CROSS (medium, -10 points): `Pattern X duplicated in N files — extract to shared module.`\n   - **MNT-DC- cross-story unused export scan:** For each file modified by Story, count `export` declarations. Then Grep across ALL `src\u002F` for import references to those exports. Exports with 0 import references → MNT-DC-CROSS (medium, -10 points): `{export} in {file} exported but never imported — remove or mark internal.`\n   - **OPT-OSS- cross-reference ln-645 (static, fast-track safe):** IF `docs\u002Fproject\u002F.audit\u002Fln-640\u002F*\u002F645-open-source-replacer*.md` exists (glob across dates, take latest), check if any HIGH-confidence replacement matches files changed in current Story. IF match found → create OPT-OSS-{N} issue with module path, goal, recommended package, confidence, stars, license from ln-645 report. Severity: high if >200 LOC, medium otherwise. This check reads local files only — no MCP calls — runs even with `--skip-mcp-ref`.\n   - ARCH-: layer violations, circular dependencies, guide non-compliance\n   - ARCH-LB-: layer boundary violations (HTTP\u002FDB\u002FFS calls outside infrastructure layer)\n   - ARCH-TX-: transaction boundary violations (commit() across multiple layers)\n   - ARCH-DTO-: missing DTOs (4+ repeated params), entity leakage (ORM entities returned from API)\n   - ARCH-DI-: direct instantiation in business logic (no DI container or mixed patterns)\n   - ARCH-CEH-: centralized error handling absent or bypassed\n   - ARCH-SES-: session ownership conflicts (DI + local session in same module)\n   - ARCH-AI-SEB: side-effect breadth (3+ categories in one **leaf** function; orchestrator functions exempt — see Conflict Resolution in table above)\n   - ARCH-AI-AH: architectural honesty (read-named function with hidden writes)\n   - ARCH-AI-FO: flat orchestration (**leaf** service importing 3+ services; orchestrator imports exempt)\n   - MNT-GOD-: god classes (>15 methods or >500 lines per class)\n   - MNT-SIG-: method signature quality (boolean flags, unclear returns)\n   - MNT-ERR-: error contract inconsistency (mixed raise\u002Freturn patterns in same service)\n\n8) **Calculate Code Quality Score:**\n   - Start with 100\n   - Subtract metric penalties (see Code Metrics table)\n   - Subtract issue penalties (see Issue penalties table)\n\n9) Output verdict with score and structured issues. Add Linear comment with findings.\n\n## Critical Rules\n- Read guides mentioned in Story\u002FTasks before judging compliance.\n- **MCP Ref validation:** For ANY architectural change, MUST verify via ref_search_documentation before judging.\n- **Context7 for libraries:** When reviewing library usage, query-docs to verify correct patterns.\n- Language preservation in comments (EN\u002FRU).\n- Do not create tasks or change statuses; caller decides next actions.\n\n## Definition of Done\n- Story and Done implementation tasks loaded (test tasks excluded).\n- Code metrics calculated (Cyclomatic Complexity, function\u002Ffile sizes).\n- **MCP Ref validation completed:**\n  - OPT-: Optimality checked (is chosen approach the best for the goal?)\n  - BP-: Best practices verified (correct implementation of chosen approach?)\n  - PERF-: Performance analyzed (algorithms, configs, patterns, DB)\n- ARCH- subcategories checked (LB, TX, DTO, DI, CEH, SES); MNT- subcategories checked (DC, DRY, GOD, SIG, ERR).\n- Issues identified with prefixes and severity, sources from MCP Ref\u002FContext7.\n- Code Quality Score calculated.\n- **Output format:**\n  ```yaml\n  verdict: PASS | CONCERNS | ISSUES_FOUND\n  code_quality_score: {0-100}\n  metrics:\n    avg_cyclomatic_complexity: {value}\n    functions_over_50_lines: {count}\n    files_over_500_lines: {count}\n  issues:\n    # OPTIMALITY\n    - id: \"OPT-001\"\n      severity: medium\n      file: \"src\u002Fauth\u002Findex.ts\"\n      goal: \"User session management\"\n      finding: \"Suboptimal approach for session management\"\n      chosen: \"Custom JWT with localStorage\"\n      recommended: \"httpOnly cookies + refresh token rotation\"\n      reason: \"httpOnly cookies prevent XSS token theft\"\n      source: \"ref:\u002F\u002Fowasp-session-management\"\n\n    # OPTIMALITY - OSS Replacement (from ln-645, fast-track safe)\n    - id: \"OPT-OSS-001\"\n      severity: high\n      file: \"src\u002Futils\u002Femail-validator.ts\"\n      goal: \"Email validation with MX checking\"\n      finding: \"Custom 245-line module has HIGH-confidence OSS replacement\"\n      chosen: \"Custom email-validator.ts (245 lines)\"\n      recommended: \"zod + zod-email (28k stars, MIT, 95% coverage)\"\n      reason: \"Battle-tested, actively maintained, reduces maintenance burden\"\n      source: \"ln-645-audit\"\n\n    # BEST PRACTICES\n    - id: \"BP-001\"\n      severity: medium\n      file: \"src\u002Fapi\u002Froutes.ts\"\n      finding: \"POST for idempotent operation\"\n      best_practice: \"Use PUT for idempotent updates (RFC 7231)\"\n      source: \"ref:\u002F\u002Fapi-design-guide#idempotency\"\n\n    # PERFORMANCE - Algorithm\n    - id: \"PERF-ALG-001\"\n      severity: high\n      file: \"src\u002Futils\u002Fsearch.ts:42\"\n      finding: \"Nested loops cause O(n²) complexity\"\n      current: \"O(n²) - nested filter().find()\"\n      optimal: \"O(n) - use Map\u002FSet for lookup\"\n      source: \"ref:\u002F\u002Fjavascript-performance#data-structures\"\n\n    # PERFORMANCE - Config\n    - id: \"PERF-CFG-001\"\n      severity: medium\n      file: \"src\u002Fdb\u002Fconnection.ts\"\n      finding: \"Missing connection pool config\"\n      current_config: \"default (pool: undefined)\"\n      recommended: \"pool: { min: 2, max: 10 }\"\n      source: \"context7:\u002F\u002Fpg#connection-pooling\"\n\n    # PERFORMANCE - Database\n    - id: \"PERF-DB-001\"\n      severity: high\n      file: \"src\u002Frepositories\u002Fuser.ts:89\"\n      finding: \"N+1 query pattern detected\"\n      issue: \"users.map(u => u.posts) triggers N queries\"\n      solution: \"Use eager loading: include: { posts: true }\"\n      source: \"context7:\u002F\u002Fprisma#eager-loading\"\n\n    # ARCHITECTURE - Entity Leakage\n    - id: \"ARCH-DTO-001\"\n      severity: high\n      file: \"src\u002Fapi\u002Fusers.ts:35\"\n      finding: \"ORM entity returned directly from API endpoint\"\n      issue: \"User entity with password hash exposed in GET \u002Fusers response\"\n      fix: \"Create UserResponseDTO, map entity → DTO before return\"\n\n    # ARCHITECTURE - Centralized Error Handling\n    - id: \"ARCH-CEH-001\"\n      severity: medium\n      file: \"src\u002Fapp.ts\"\n      finding: \"No global error handler registered\"\n      issue: \"Unhandled exceptions return stack traces to client in production\"\n      fix: \"Add app.use(globalErrorHandler) with sanitized error responses\"\n\n    # MAINTAINABILITY - God Class\n    - id: \"MNT-GOD-001\"\n      severity: medium\n      file: \"src\u002Fservices\u002Forder-service.ts\"\n      finding: \"God class with 22 methods and 680 lines\"\n      issue: \"OrderService handles creation, payment, shipping, notifications\"\n      fix: \"Extract PaymentService, ShippingService, NotificationService\"\n\n    # MAINTAINABILITY - Dead Code\n    - id: \"MNT-DC-001\"\n      severity: medium\n      file: \"src\u002Fauth\u002Flegacy-adapter.ts\"\n      finding: \"Backward-compatibility wrapper kept after migration\"\n      dead_code: \"legacyLogin() wraps newLogin() — callers already migrated\"\n      action: \"Delete legacy-adapter.ts, remove re-export from index.ts\"\n\n    # MAINTAINABILITY - DRY\n    - id: \"MNT-DRY-001\"\n      severity: medium\n      file: \"src\u002Fservice.ts:42\"\n      finding: \"DRY violation: duplicate validation logic\"\n      suggested_action: \"Extract to shared validator\"\n  ```\n- Linear comment posted with findings.\n\n## Reference Files\n- Git scope detection: `shared\u002Freferences\u002Fgit_scope_detection.md`\n- Code metrics: `references\u002Fcode_metrics.md` (thresholds and penalties)\n- Guides: `docs\u002Fguides\u002F`\n- Templates for context: `shared\u002Ftemplates\u002Ftask_template_implementation.md`\n- **Clean code checklist:** `shared\u002Freferences\u002Fclean_code_checklist.md`\n- **MANDATORY READ:** `shared\u002Freferences\u002Fresearch_tool_fallback.md`\n\n---\n**Version:** 5.0.0\n**Last Updated:** 2026-01-29\n",{"name":5,"license":15,"description":7},"main","fa638b97a18ff6d9f26cf0eaf3dfa123531bcc87","organized-skills\u002Fln-511-code-quality-checker",1,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode","https:\u002F\u002Fgithub.com\u002Flevalencia","https:\u002F\u002Fmedium.com\u002F@luisevalencia","Microsoft MVP - Artificial Intelligence\r\nMachine Learning Enthusiast\r\n","2026-05-02 06:55:36",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add levalencia\u002Fagent-god-mode --skill ln-511-code-quality-checker",{"tool":64,"command":65},"bunx","bunx skills add levalencia\u002Fagent-god-mode --skill ln-511-code-quality-checker",{"tool":67,"command":68},"pnpm","pnpm dlx skills add levalencia\u002Fagent-god-mode --skill ln-511-code-quality-checker","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-511-code-quality-checker\u002FSKILL.md",true,[72],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fcode_metrics.md","REFERENCE","参考文档",4201,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-511-code-quality-checker\u002Freferences\u002Fcode_metrics.md",[79,101,130,157,183,210],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":44},"01M6EM8ES5M9J4S8N78NJST0YC","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzarr-python\u002FSKILL.md",[],[86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":112,"publishedAt":44},"01M6EM8AR6ZFKZ9YVW8TTG850Z","zabbix","Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper\u002Fsender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User\u002Fpermission management","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzabbix-api-skill\u002FSKILL.md",[107,110,111],{"categoryNo":108,"categoryName":109,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},[103,86,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,43,129],"automation","window management","monitoring","data","templates","api","system","operations","use","maintenance","objects","permission","bulk operations","triggers","host","events","bulk",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":44},"01M6EM6Q9JG846ECQY9A210A26","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fx-twitter-growth\u002FSKILL.md",[],[137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156],"twitter","x twitter growth","growth","competitive intelligence","search","analyzing","plan","marketing","web search","competitors","analyze","write","optimize","social","intelligence","viral","growth engine","mechanics","grow","competitive",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":44},"01M6EM3FQNPYNKPC4CV9TCVNGD","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fwhat-if-oracle\u002FSKILL.md",[],[164,165,166,167,168,169,170,171,172,173,174,175,121,176,177,178,179,180,181,182],"oracle","what if oracle","test","planning","ux","futures","risk","analysis","explore","decision","branch","question","exploration","options","stress-test","strategies","trigger","case","multi",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":192,"publishedAt":44},"01M6EM08C06RGDYCJ86HAPK0FF","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvercel-react-best-practices\u002FSKILL.md",[189],{"categoryNo":190,"categoryName":191,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[193,194,195,196,197,198,199,200,201,202,203,30,204,116,205,206,207,208,209,126],"react","vercel react best practices","best practices","react best practices","vercel","writing","performance","components","react components","guidelines","tasks","Optimization","Next.js","refactoring","performance optimization","next","pages",{"skillNo":211,"name":212,"nameZh":6,"description":213,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":214,"categories":215,"keywords":226,"publishedAt":44},"01M6EM00S13326QM08DTM94J6Z","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvenue-templates\u002FSKILL.md",[216,219,222,223],{"categoryNo":217,"categoryName":218,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":220,"categoryName":221,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":224,"categoryName":225,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000036","内容创作者",[117,227,228,202,229,230,231,232,233,234,235,148,236,237,238,239,240,241,100,242],"venue templates","research","NeurIPS","ICML","LaTeX","science","Bash","access","read","edit","proposals","Academic","requirements","formatting","journal","chi"]