[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71NGE7QRW4N1ZE60TEDGFN5":3,"skill-same:01M71NGE7QRW4N1ZE60TEDGFN5":101},{"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":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M71NGE7QRW4N1ZE60TEDGFN5","ln-651-query-efficiency-auditor",null,"Checks redundant fetches, N+1 loops, over-fetching, missing bulk operations, wrong caching scope. Use when auditing query efficiency.","vitalikpestov\u002FSkills-Catalog","vitalikpestov","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13882997?v=4","01M71N4QG0CWRXX4R24JQZXDDQ","Vitalik Pestov","01M71N4QGMSYRW607DDSE0CQMM",2,"MIT","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"ln","efficiency","ln 651 query efficiency auditor","auditor","query","outline","loops","references","file","Bash","caching","when","bulk operations","use","MCP","hex","missing","search","scope","bulk","2026-11-10 10:56:23",false,"---\nname: ln-651-query-efficiency-auditor\ndescription: \"Checks redundant fetches, N+1 loops, over-fetching, missing bulk operations, wrong caching scope. Use when auditing query efficiency.\"\nallowed-tools: Read, Grep, Glob, Bash, mcp__hex-graph__find_references, mcp__hex-graph__trace_paths, mcp__hex-line__read_file, mcp__hex-line__grep_search, mcp__hex-line__outline\nlicense: MIT\n---\n\n> **Paths:** File paths (`references\u002F`, `..\u002Fln-*`) are relative to this skill directory.\n\n# Query Efficiency Auditor (L3 Worker)\n\n**Type:** L3 Worker\n\nSpecialized worker auditing database query patterns for redundancy, inefficiency, and misuse.\n\n## Purpose & Scope\n\n- Audit **query efficiency** (Priority: HIGH)\n- Check redundant fetches, batch operation misuse, caching scope problems\n- Write structured findings to file with severity, location, effort, recommendations\n- Calculate compliance score (X\u002F10) for Query Efficiency category\n\n## Inputs\n\n**MANDATORY READ:** Load `references\u002Faudit_worker_core_contract.md`.\nTool policy: follow host AGENTS.md MCP preferences; load `references\u002Fmcp_tool_preferences.md` and `references\u002Fmcp_integration_patterns.md` only when host policy is absent or MCP behavior is unclear.\n\nReceives `contextStore` with: `tech_stack`, `best_practices`, `db_config` (database type, ORM settings), `codebase_root`, `output_dir`.\n\n**Domain-aware:** Supports `domain_mode` + `current_domain`.\n\nUse `hex-graph` first when reference chains or call paths materially improve query analysis. Use `hex-line` first for local code\u002Fconfig reads when available. If MCP is unavailable, unsupported, or not indexed, continue with built-in `Read\u002FGrep\u002FGlob\u002FBash` and state the fallback in the report.\n\n## Workflow\n\nDetection policy: use two-layer detection (candidate scan, then context verification); load `references\u002Ftwo_layer_detection.md` only when the verification method is ambiguous.\n\n1) **Parse context from contextStore**\n   - Extract tech_stack, best_practices, db_config, output_dir\n   - Determine scan_path (same logic as ln-624)\n\n2) **Scan codebase for violations**\n   - All Grep\u002FGlob patterns use `scan_path`\n   - Trace call chains for redundant fetches (requires reading caller + callee)\n\n3) **Collect findings with severity, location, effort, recommendation**\n\n4) **Calculate score using penalty algorithm**\n\n5) **Write Report:** Build full markdown report in memory per `references\u002Ftemplates\u002Faudit_worker_report_template.md`, write to `{output_dir}\u002Fln-651--global.md` in single Write call\n\n6) **Return Summary:** Return minimal summary to coordinator (see Output Format)\n\n## Audit Rules (Priority: HIGH)\n\n### 1. Redundant Entity Fetch\n**What:** Same entity fetched from DB twice in a call chain\n\n**Detection:**\n- Find function A that calls `repo.get(id)` or `session.get(Model, id)`, then passes `id` (not object) to function B\n- Function B also calls `repo.get(id)` or `session.get(Model, id)` for the same entity\n- Common pattern: `acquire_next_pending()` returns job, but `_process_job(job_id)` re-fetches it\n\n**Detection patterns (Python\u002FSQLAlchemy):**\n- Grep for `repo.*get_by_id|session\\.get\\(|session\\.query.*filter.*id` in service\u002Fhandler files\n- Trace: if function receives `entity_id: int\u002FUUID` AND internally does `repo.get(entity_id)`, check if caller already has entity object\n- Check `expire_on_commit` setting: if `False`, objects remain valid after commit\n\n**Severity:**\n- **HIGH:** Redundant fetch in API request handler (adds latency per request)\n- **MEDIUM:** Redundant fetch in background job (less critical)\n- **Downgrade when:** Fetch in initialization\u002Fmigration code (runs once) -> LOW. Admin-only endpoint with low traffic -> downgrade one level\n\n**Recommendation:** Pass entity object instead of ID, or remove second fetch when `expire_on_commit=False`\n\n**Effort:** S (change signature to accept object instead of ID)\n\n### 2. N-UPDATE\u002FDELETE Loop\n**What:** Loop of individual UPDATE\u002FDELETE operations instead of single batch query\n\n**Detection:**\n- Pattern: `for item in items: await repo.update(item.id, ...)` or `for item in items: await repo.delete(item.id)`\n- Pattern: `for item in items: session.execute(update(Model).where(...))`\n\n**Detection patterns:**\n- Grep for `for .* in .*:` followed by `repo\\.(update|delete|reset|save|mark_)` within 1-3 lines\n- Grep for `for .* in .*:` followed by `session\\.execute\\(.*update\\(` within 1-3 lines\n\n**Severity:**\n- **HIGH:** Loop over >10 items (N separate round-trips to DB)\n- **MEDIUM:** Loop over \u003C=10 items\n- **Downgrade when:** Loop in bootstrap\u002Fmigration code (runs once) -> LOW. Admin-only endpoint -> downgrade one level\n\n**Recommendation:** Replace with single `UPDATE ... WHERE id IN (...)` or `session.execute(update(Model).where(Model.id.in_(ids)))`\n\n**Effort:** M (rewrite query + test)\n\n### 3. Unnecessary Resolve\n**What:** Re-resolving a value from DB when it is already available in the caller's scope\n\n**Detection:**\n- Method receives `profile_id` and resolves engine from it, but caller already determined `engine`\n- Method receives `lang_code` and looks up dialect_id, but caller already has both `lang` and `dialect`\n- Pattern: function receives `X_id`, does `get(X_id)`, extracts `.field`, when caller already has `field`\n\n**Severity:**\n- **MEDIUM:** Extra DB query per invocation, especially in high-frequency paths\n\n**Recommendation:** Split method into two variants: `with_known_value(value, ...)` and `resolving_value(id, ...)`; or pass resolved value directly\n\n**Effort:** S-M (refactor signature, update callers)\n\n### 4. Over-Fetching\n**What:** Loading full ORM model when only few fields are needed\n\n**Detection:**\n- `session.query(Model)` or `select(Model)` without `.options(load_only(...))` for models with >10 columns\n- Especially in list\u002Fsearch endpoints that return many rows\n- Pattern: loading full entity but only using 2-3 fields\n\n**Severity:**\n- **MEDIUM:** Large models (>15 columns) in list endpoints\n- **LOW:** Small models (\u003C10 columns) or single-entity endpoints\n\n**Recommendation:** Use `load_only()`, `defer()`, or raw `select(Model.col1, Model.col2)` for list queries\n\n**Effort:** S (add load_only to query)\n\n### 5. Missing Bulk Operations\n**What:** Sequential INSERT\u002FDELETE\u002FUPDATE instead of bulk operations\n\n**Detection:**\n- `for item in items: session.add(item)` instead of `session.add_all(items)`\n- `for item in items: session.delete(item)` instead of bulk delete\n- Pattern: loop with single `INSERT` per iteration\n\n**Severity:**\n- **MEDIUM:** Any sequential add\u002Fdelete in loop (missed batch optimization)\n\n**Recommendation:** Use `session.add_all()`, `session.execute(insert(Model).values(list_of_dicts))`, `bulk_save_objects()`\n\n**Effort:** S (replace loop with bulk call)\n\n### 6. Wrong Caching Scope\n**What:** Request-scoped cache for data that rarely changes (should be app-scoped)\n\n**Detection:**\n- Service registered as request-scoped (e.g., via FastAPI `Depends()`) with internal cache (`_cache` dict, `_loaded` flag)\n- Cache populated by expensive query (JOINs, aggregations) per each request\n- Data TTL >> request duration (e.g., engine configurations, language lists, feature flags)\n\n**Detection patterns:**\n- Find classes with `_cache`, `_loaded`, `_initialized` attributes\n- Check if class is created per-request (via DI registration scope)\n- Compare: data change frequency vs cache lifetime\n\n**Severity:**\n- **HIGH:** Expensive query (JOINs, subqueries) cached only per-request\n- **MEDIUM:** Simple query cached per-request\n\n**Recommendation:** Move cache to app-scoped service (singleton), add TTL-based invalidation, or use CacheService with configurable TTL\n\n**Effort:** M (change DI scope, add TTL logic)\n\n## Scoring Algorithm\n\n**MANDATORY READ:** Load `references\u002Faudit_scoring.md`.\n\n## Output Format\n\n**MANDATORY READ:** Load `references\u002Ftemplates\u002Faudit_worker_report_template.md`.\n\nWrite JSON summary per `references\u002Faudit_summary_contract.md`. In managed mode the caller passes both `runId` and `summaryArtifactPath`; in standalone mode the worker generates its own run-scoped artifact path per shared contract.\n\nWrite report to `{output_dir}\u002Fln-651--global.md` with `category: \"Query Efficiency\"` and checks: redundant_fetch, n_update_delete_loop, unnecessary_resolve, over_fetching, missing_bulk_ops, wrong_caching_scope.\n\nReturn summary per `references\u002Faudit_summary_contract.md`.\n\nWhen `summaryArtifactPath` is absent, write the standalone runtime summary under `.hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Fevaluation-worker\u002F{worker}--{identifier}.json` and optionally echo the same summary in structured output.\n```\nReport written: .hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\u002Fln-651--global.md\nScore: X.X\u002F10 | Issues: N (C:N H:N M:N L:N)\n```\n\n## Critical Rules\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- **Do not auto-fix:** Report only\n- **Trace call chains:** Rules 1 and 3 require reading both caller and callee\n- **ORM-aware:** Check `expire_on_commit`, `autoflush`, session scope before flagging redundant fetches\n- **Context-aware:** Small datasets or infrequent operations may justify simpler code\n- **Exclude tests:** Do not flag test fixtures or setup code\n\n## Definition of Done\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- [ ] contextStore parsed successfully (including output_dir)\n- [ ] scan_path determined (domain path or codebase root)\n- [ ] All 6 checks completed:\n  - redundant fetch, N-UPDATE loop, unnecessary resolve, over-fetching, bulk ops, caching scope\n- [ ] Findings collected with severity, location, effort, recommendation\n- [ ] Score calculated using penalty algorithm\n- [ ] Report written to `{output_dir}\u002Fln-651--global.md` (atomic single Write call)\n- [ ] Summary written per contract\n\n## Reference Files\n\n- **Audit output schema:** `references\u002Faudit_output_schema.md`\n\n---\n**Version:** 1.0.0\n**Last Updated:** 2026-02-04\n","> **Paths:** File paths (`references\u002F`, `..\u002Fln-*`) are relative to this skill directory.\n\n# Query Efficiency Auditor (L3 Worker)\n\n**Type:** L3 Worker\n\nSpecialized worker auditing database query patterns for redundancy, inefficiency, and misuse.\n\n## Purpose & Scope\n\n- Audit **query efficiency** (Priority: HIGH)\n- Check redundant fetches, batch operation misuse, caching scope problems\n- Write structured findings to file with severity, location, effort, recommendations\n- Calculate compliance score (X\u002F10) for Query Efficiency category\n\n## Inputs\n\n**MANDATORY READ:** Load `references\u002Faudit_worker_core_contract.md`.\nTool policy: follow host AGENTS.md MCP preferences; load `references\u002Fmcp_tool_preferences.md` and `references\u002Fmcp_integration_patterns.md` only when host policy is absent or MCP behavior is unclear.\n\nReceives `contextStore` with: `tech_stack`, `best_practices`, `db_config` (database type, ORM settings), `codebase_root`, `output_dir`.\n\n**Domain-aware:** Supports `domain_mode` + `current_domain`.\n\nUse `hex-graph` first when reference chains or call paths materially improve query analysis. Use `hex-line` first for local code\u002Fconfig reads when available. If MCP is unavailable, unsupported, or not indexed, continue with built-in `Read\u002FGrep\u002FGlob\u002FBash` and state the fallback in the report.\n\n## Workflow\n\nDetection policy: use two-layer detection (candidate scan, then context verification); load `references\u002Ftwo_layer_detection.md` only when the verification method is ambiguous.\n\n1) **Parse context from contextStore**\n   - Extract tech_stack, best_practices, db_config, output_dir\n   - Determine scan_path (same logic as ln-624)\n\n2) **Scan codebase for violations**\n   - All Grep\u002FGlob patterns use `scan_path`\n   - Trace call chains for redundant fetches (requires reading caller + callee)\n\n3) **Collect findings with severity, location, effort, recommendation**\n\n4) **Calculate score using penalty algorithm**\n\n5) **Write Report:** Build full markdown report in memory per `references\u002Ftemplates\u002Faudit_worker_report_template.md`, write to `{output_dir}\u002Fln-651--global.md` in single Write call\n\n6) **Return Summary:** Return minimal summary to coordinator (see Output Format)\n\n## Audit Rules (Priority: HIGH)\n\n### 1. Redundant Entity Fetch\n**What:** Same entity fetched from DB twice in a call chain\n\n**Detection:**\n- Find function A that calls `repo.get(id)` or `session.get(Model, id)`, then passes `id` (not object) to function B\n- Function B also calls `repo.get(id)` or `session.get(Model, id)` for the same entity\n- Common pattern: `acquire_next_pending()` returns job, but `_process_job(job_id)` re-fetches it\n\n**Detection patterns (Python\u002FSQLAlchemy):**\n- Grep for `repo.*get_by_id|session\\.get\\(|session\\.query.*filter.*id` in service\u002Fhandler files\n- Trace: if function receives `entity_id: int\u002FUUID` AND internally does `repo.get(entity_id)`, check if caller already has entity object\n- Check `expire_on_commit` setting: if `False`, objects remain valid after commit\n\n**Severity:**\n- **HIGH:** Redundant fetch in API request handler (adds latency per request)\n- **MEDIUM:** Redundant fetch in background job (less critical)\n- **Downgrade when:** Fetch in initialization\u002Fmigration code (runs once) -> LOW. Admin-only endpoint with low traffic -> downgrade one level\n\n**Recommendation:** Pass entity object instead of ID, or remove second fetch when `expire_on_commit=False`\n\n**Effort:** S (change signature to accept object instead of ID)\n\n### 2. N-UPDATE\u002FDELETE Loop\n**What:** Loop of individual UPDATE\u002FDELETE operations instead of single batch query\n\n**Detection:**\n- Pattern: `for item in items: await repo.update(item.id, ...)` or `for item in items: await repo.delete(item.id)`\n- Pattern: `for item in items: session.execute(update(Model).where(...))`\n\n**Detection patterns:**\n- Grep for `for .* in .*:` followed by `repo\\.(update|delete|reset|save|mark_)` within 1-3 lines\n- Grep for `for .* in .*:` followed by `session\\.execute\\(.*update\\(` within 1-3 lines\n\n**Severity:**\n- **HIGH:** Loop over >10 items (N separate round-trips to DB)\n- **MEDIUM:** Loop over \u003C=10 items\n- **Downgrade when:** Loop in bootstrap\u002Fmigration code (runs once) -> LOW. Admin-only endpoint -> downgrade one level\n\n**Recommendation:** Replace with single `UPDATE ... WHERE id IN (...)` or `session.execute(update(Model).where(Model.id.in_(ids)))`\n\n**Effort:** M (rewrite query + test)\n\n### 3. Unnecessary Resolve\n**What:** Re-resolving a value from DB when it is already available in the caller's scope\n\n**Detection:**\n- Method receives `profile_id` and resolves engine from it, but caller already determined `engine`\n- Method receives `lang_code` and looks up dialect_id, but caller already has both `lang` and `dialect`\n- Pattern: function receives `X_id`, does `get(X_id)`, extracts `.field`, when caller already has `field`\n\n**Severity:**\n- **MEDIUM:** Extra DB query per invocation, especially in high-frequency paths\n\n**Recommendation:** Split method into two variants: `with_known_value(value, ...)` and `resolving_value(id, ...)`; or pass resolved value directly\n\n**Effort:** S-M (refactor signature, update callers)\n\n### 4. Over-Fetching\n**What:** Loading full ORM model when only few fields are needed\n\n**Detection:**\n- `session.query(Model)` or `select(Model)` without `.options(load_only(...))` for models with >10 columns\n- Especially in list\u002Fsearch endpoints that return many rows\n- Pattern: loading full entity but only using 2-3 fields\n\n**Severity:**\n- **MEDIUM:** Large models (>15 columns) in list endpoints\n- **LOW:** Small models (\u003C10 columns) or single-entity endpoints\n\n**Recommendation:** Use `load_only()`, `defer()`, or raw `select(Model.col1, Model.col2)` for list queries\n\n**Effort:** S (add load_only to query)\n\n### 5. Missing Bulk Operations\n**What:** Sequential INSERT\u002FDELETE\u002FUPDATE instead of bulk operations\n\n**Detection:**\n- `for item in items: session.add(item)` instead of `session.add_all(items)`\n- `for item in items: session.delete(item)` instead of bulk delete\n- Pattern: loop with single `INSERT` per iteration\n\n**Severity:**\n- **MEDIUM:** Any sequential add\u002Fdelete in loop (missed batch optimization)\n\n**Recommendation:** Use `session.add_all()`, `session.execute(insert(Model).values(list_of_dicts))`, `bulk_save_objects()`\n\n**Effort:** S (replace loop with bulk call)\n\n### 6. Wrong Caching Scope\n**What:** Request-scoped cache for data that rarely changes (should be app-scoped)\n\n**Detection:**\n- Service registered as request-scoped (e.g., via FastAPI `Depends()`) with internal cache (`_cache` dict, `_loaded` flag)\n- Cache populated by expensive query (JOINs, aggregations) per each request\n- Data TTL >> request duration (e.g., engine configurations, language lists, feature flags)\n\n**Detection patterns:**\n- Find classes with `_cache`, `_loaded`, `_initialized` attributes\n- Check if class is created per-request (via DI registration scope)\n- Compare: data change frequency vs cache lifetime\n\n**Severity:**\n- **HIGH:** Expensive query (JOINs, subqueries) cached only per-request\n- **MEDIUM:** Simple query cached per-request\n\n**Recommendation:** Move cache to app-scoped service (singleton), add TTL-based invalidation, or use CacheService with configurable TTL\n\n**Effort:** M (change DI scope, add TTL logic)\n\n## Scoring Algorithm\n\n**MANDATORY READ:** Load `references\u002Faudit_scoring.md`.\n\n## Output Format\n\n**MANDATORY READ:** Load `references\u002Ftemplates\u002Faudit_worker_report_template.md`.\n\nWrite JSON summary per `references\u002Faudit_summary_contract.md`. In managed mode the caller passes both `runId` and `summaryArtifactPath`; in standalone mode the worker generates its own run-scoped artifact path per shared contract.\n\nWrite report to `{output_dir}\u002Fln-651--global.md` with `category: \"Query Efficiency\"` and checks: redundant_fetch, n_update_delete_loop, unnecessary_resolve, over_fetching, missing_bulk_ops, wrong_caching_scope.\n\nReturn summary per `references\u002Faudit_summary_contract.md`.\n\nWhen `summaryArtifactPath` is absent, write the standalone runtime summary under `.hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Fevaluation-worker\u002F{worker}--{identifier}.json` and optionally echo the same summary in structured output.\n```\nReport written: .hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\u002Fln-651--global.md\nScore: X.X\u002F10 | Issues: N (C:N H:N M:N L:N)\n```\n\n## Critical Rules\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- **Do not auto-fix:** Report only\n- **Trace call chains:** Rules 1 and 3 require reading both caller and callee\n- **ORM-aware:** Check `expire_on_commit`, `autoflush`, session scope before flagging redundant fetches\n- **Context-aware:** Small datasets or infrequent operations may justify simpler code\n- **Exclude tests:** Do not flag test fixtures or setup code\n\n## Definition of Done\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- [ ] contextStore parsed successfully (including output_dir)\n- [ ] scan_path determined (domain path or codebase root)\n- [ ] All 6 checks completed:\n  - redundant fetch, N-UPDATE loop, unnecessary resolve, over-fetching, bulk ops, caching scope\n- [ ] Findings collected with severity, location, effort, recommendation\n- [ ] Score calculated using penalty algorithm\n- [ ] Report written to `{output_dir}\u002Fln-651--global.md` (atomic single Write call)\n- [ ] Summary written per contract\n\n## Reference Files\n\n- **Audit output schema:** `references\u002Faudit_output_schema.md`\n\n---\n**Version:** 1.0.0\n**Last Updated:** 2026-02-04\n",{"name":5,"license":15,"description":7,"allowed-tools":44},"Read, Grep, Glob, Bash, mcp__hex-graph__find_references, mcp__hex-graph__trace_paths, mcp__hex-line__read_file, mcp__hex-line__grep_search, mcp__hex-line__outline","main","fbfb242f793fdf040f3a1a6b100896c188c228c8","_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor",1,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog","https:\u002F\u002Fgithub.com\u002Fvitalikpestov","Listing on crypto exchanges","2026-06-15 22:12:56",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add vitalikpestov\u002FSkills-Catalog --skill ln-651-query-efficiency-auditor",{"tool":59,"command":60},"bunx","bunx skills add vitalikpestov\u002FSkills-Catalog --skill ln-651-query-efficiency-auditor",{"tool":62,"command":63},"pnpm","pnpm dlx skills add vitalikpestov\u002FSkills-Catalog --skill ln-651-query-efficiency-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002FSKILL.md",true,[67,73,77,81,85,89,93,97],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Faudit_output_schema.md","REFERENCE","参考文档",4439,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Faudit_output_schema.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Faudit_scoring.md",1117,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Faudit_scoring.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Faudit_summary_contract.md",2206,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Faudit_summary_contract.md",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Faudit_worker_core_contract.md",1851,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Faudit_worker_core_contract.md",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fmcp_integration_patterns.md",1567,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Fmcp_integration_patterns.md",{"path":90,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fmcp_tool_preferences.md",2338,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Fmcp_tool_preferences.md",{"path":94,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Ftemplates\u002Faudit_worker_report_template.md",1686,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Ftemplates\u002Faudit_worker_report_template.md",{"path":98,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Ftwo_layer_detection.md",1504,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-651-query-efficiency-auditor\u002Freferences\u002Ftwo_layer_detection.md",[102,128,152,169,192,219],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":127},"01M71V1MC994P553631JZSWVYD","solana-dev","Use when user asks to \"build a Solana dapp\", \"write an Anchor program\", \"create a token\", \"debug Solana errors\", \"set up wallet connection\", \"test my Solana program\", \"deploy to devnet\", or \"explain Solana concepts\" (rent, accounts, PDAs, CPIs, etc.). End-to-end Solana development playbook covering wallet connection, Anchor\u002FPinocchio programs, Codama client generation, LiteSVM\u002FMollusk\u002FSurfpool testing, and security checklists. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana\u002Fclient + @solana\u002Freact-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana\u002Fkit for client\u002FRPC code, and @solana\u002Fweb3-compat for legacy boundaries.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Web3\u002Fsolana-dev\u002Fskill\u002FSKILL.md",[],[109,110,111,112,36,113,114,115,33,116,117,118,119,120,121,122,123,124,125,126],"dev","solana dev","solana","Wallet","testing","solana cli","kit","web3","react","create","server","write","playbook","live","security","ui","concepts","toolchain","2026-11-10 13:02:02",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":127},"01M71TYQPHE2YGKTT7DG9QCW3K","generating-trading-signals","Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.).\nCombines multiple indicators into composite signals with confidence scores.\nUse when analyzing assets for trading opportunities or checking technical indicators.\nTrigger with phrases like \"get trading signals\", \"check indicators\", \"analyze for entry\",\n\"scan for opportunities\", \"generate buy\u002Fsell signals\", or \"technical analysis\".","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Trading-Finance\u002Fgenerating-trading-signals\u002FSKILL.md",[],[135,136,137,138,139,140,141,142,143,144,145,146,32,30,28,147,148,149,150,151],"generating trading signals","signals","trading signals","trading","get","technical indicators","for","scan","rsi","trigger","python","technical","analysis","code","io","check","analyze",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":127},"01M71TY4CR3GKGQ3M12X9WN95Y","prediction-monitor","Prediction Monitor - Auto-activating skill for ML Deployment.\nTriggers on: prediction monitor, prediction monitor\nPart of the ML Deployment skill category.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Trading-Finance\u002FAI Predictions\u002Fprediction-monitor\u002FSKILL.md",[],[159,160,161,141,162,163,120,164,165,166,167,168,28],"prediction","monitor","prediction monitor","deployment","read","edit","triggers","grep","auto","ml",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":127},"01M71TXD9MYXZC39HCPP909HTZ","strategy-advisor","High-level strategic thinking and business decision guidance for planning and direction-setting.\nUse when: making strategic decisions, evaluating business options, setting direction, analyzing\ntrade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Fstrategy-advisor\u002FSKILL.md",[],[176,177,178,179,180,181,182,183,184,141,185,186,187,32,188,189,30,190,147,191],"strategy advisor","strategy","advisor","competitive","setting","thinking","planning","direction","trade-offs","long","decision","strategic","business","apps","decisions","trade",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":196,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":127},"01M71TWHBT2R1P1FNWTW67ZREP","app-paywall-pilot","Design, audit, debug, and implement App Store-compliant mobile paywalls, subscription flows, pricing screens, trials, offers, feature gates, and subscription lifecycle UX. Use when the user asks to audit my paywall, fix App Store 3.1.2 rejection, improve trial-to-paid, choose plans\u002Fprices\u002Ftrials, review RevenueCat\u002FAdapty\u002FApphud\u002FSuperwall setup, calculate LTV\u002FROAS, or build paywall implementation.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffrom-dosesync\u002Fapp-paywall-pilot\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffrom-dosesync\u002Fapp-paywall-pilot\u002FSKILL.md",[],[200,201,202,203,204,205,206,207,208,209,210,211,30,212,213,214,215,216,217,218],"app","paywall","app paywall pilot","paid","paywalls","prices","choose","flows","fix","improve","design","app store","review","audit","ux","subscription","mobile","my","calculate",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":223,"licenseFileUrl":224,"sourceHtmlUrl":225,"categories":226,"keywords":227,"publishedAt":127},"01M71TWET8GFKEB7ZHJPMQX29V","figma","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffigma\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffigma\u002FSKILL.md",[],[221,228,229,230,231,144,210,33,32,30,232,233,148,234,119,235,236,237,238,239],"fetch","ids","mcp setup","translate","mcp server","Variables","task","Nodes","figma mcp","code implementation","node","assets"]