@intentsolutionsio/query-performance-analyzer 1.0.0 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,34 @@
1
1
  ---
2
2
  name: performance-agent
3
3
  description: Analyze and optimize query performance
4
+ tools:
5
+ - Read
6
+ - Write
7
+ - Edit
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - WebFetch
12
+ - WebSearch
13
+ - Task
14
+ - TodoWrite
15
+ model: sonnet
16
+ color: purple
17
+ version: 1.0.0
18
+ author: Jeremy Longshore <jeremy@intentsolutions.io>
19
+ tags:
20
+ - database
21
+ - performance
22
+ disallowedTools: []
23
+ skills: []
24
+ background: false
25
+ # ── upgrade levers — uncomment + set when tuning this agent ──
26
+ # effort: high # reasoning depth: low/medium/high/xhigh/max (omit = inherit session)
27
+ # maxTurns: 50 # cap the agentic loop (omit = engine default)
28
+ # memory: project # persistent scope: user/project/local (omit = ephemeral)
29
+ # isolation: worktree # run in an isolated git worktree
30
+ # initialPrompt: "…" # seed the agent's first turn
31
+ # hooks / mcpServers / permissionMode → set at the PLUGIN level, not on a plugin agent
4
32
  ---
5
33
  # Query Performance Analyzer Agent
6
34
 
@@ -45,6 +73,7 @@ You are a database performance analysis expert. Analyze EXPLAIN plans and query
45
73
  ## Example Analysis
46
74
 
47
75
  ### EXPLAIN Output
76
+
48
77
  ```
49
78
  Seq Scan on users (cost=0.00..15000.00 rows=500000 width=100)
50
79
  Filter: (created_at > '2024-01-01')
@@ -52,9 +81,11 @@ Seq Scan on users (cost=0.00..15000.00 rows=500000 width=100)
52
81
  ```
53
82
 
54
83
  ### Analysis
84
+
55
85
  **Problem**: Sequential scan on 500K rows with filter removing 90% of data.
56
86
 
57
87
  **Solution**:
88
+
58
89
  ```sql
59
90
  CREATE INDEX idx_users_created_at ON users(created_at);
60
91
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentsolutionsio/query-performance-analyzer",
3
- "version": "1.0.0",
3
+ "version": "1.0.4",
4
4
  "description": "Analyze query performance with EXPLAIN plan interpretation, bottleneck identification, and optimization recommendations",
5
5
  "keywords": [
6
6
  "performance",
@@ -1,17 +1,23 @@
1
1
  ---
2
2
  name: analyzing-query-performance
3
- description: |
4
- Execute use when you need to work with query optimization.
3
+ description: 'Execute use when you need to work with query optimization.
4
+
5
5
  This skill provides query performance analysis with comprehensive guidance and automation.
6
+
6
7
  Trigger with phrases like "optimize queries", "analyze performance",
8
+
7
9
  or "improve query speed".
8
10
 
11
+ '
9
12
  allowed-tools: Read, Write, Edit, Grep, Glob, Bash(psql:*), Bash(mysql:*), Bash(mongosh:*)
10
13
  version: 1.0.0
11
14
  author: Jeremy Longshore <jeremy@intentsolutions.io>
12
15
  license: MIT
13
- compatible-with: claude-code, codex, openclaw
14
- tags: [database, performance, analyzing-query]
16
+ tags:
17
+ - database
18
+ - performance
19
+ - analyzing-query
20
+ compatibility: Designed for Claude Code, also compatible with Codex and OpenClaw
15
21
  ---
16
22
  # Query Performance Analyzer
17
23
 
@@ -87,4 +93,4 @@ Analyze slow database queries using execution plans, wait statistics, and I/O me
87
93
  - pg_stat_statements reference: https://www.postgresql.org/docs/current/pgstatstatements.html
88
94
  - MySQL EXPLAIN output format: https://dev.mysql.com/doc/refman/8.0/en/explain-output.html
89
95
  - Use The Index, Luke (SQL indexing guide): https://use-the-index-luke.com/
90
- - pgMustard EXPLAIN visualizer: https://www.pgmustard.com/
96
+ - pgMustard EXPLAIN visualizer: https://www.pgmustard.com/
@@ -1,4 +1,3 @@
1
1
  # References
2
2
 
3
3
  Bundled resources for query-performance-analyzer skill
4
-
@@ -6,6 +6,6 @@ Bundled resources for query-performance-analyzer skill
6
6
  - [x] index_advisor.py: Analyzes query patterns and recommends optimal indexes.
7
7
  - [x] query_rewriter.py: Suggests alternative query formulations for better performance.
8
8
 
9
-
10
9
  ## Auto-Generated
10
+
11
11
  Scripts generated on 2025-12-10 03:48:17