CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

db-performance-watchlist

This guide provides metrics, thresholds, SQL queries, and TypeScript examples for monitoring PostgreSQL performance and detecting regressions. It also shows how to schedule recurring checks and reports, and lists recommended monitoring practices and setup checks.

Quality

75%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/db-performance-watchlist/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is rich in genuinely useful, PostgreSQL-specific monitoring queries and concrete alert thresholds, but it reads as a code dump rather than a guided skill: everything is inlined in one long file, duplicated queries inflate length, and there is no sequenced setup workflow or validation feedback loop for the database operations it covers.

Suggestions

Split the bulk of the query library (Grafana dashboard queries, index analysis, resource monitoring) into reference files (e.g., references/queries.md, references/grafana.md) and keep SKILL.md as a concise overview with clearly signaled one-level-deep links, actually creating the scripts/ files the code comments name.

Add a sequenced setup workflow with validation checkpoints — enable the pg_stat_statements extension, configure slow-query logging, deploy the cron monitor, then verify alerts fire (e.g., trigger a test slow query) — providing the validate-then-fix feedback loop expected for database operations.

Deduplicate repeated queries (cache hit rate, connection pool) and define or stub the undefined helpers (sendAlert, gatherMetrics, prisma client setup) so the examples are fully copy-paste executable; align the SlowQuery interface with the fields the pg_stat_statements query actually returns.

DimensionReasoningScore

Conciseness

The body is mostly valuable domain-specific SQL and thresholds rather than concepts Claude already knows, but at ~420 lines it is noticeably padded: the cache-hit-rate query appears in both "Resource Monitoring" and "Grafana Dashboard Queries", connection monitoring appears twice, and console.log formatting boilerplate plus a generic "Best Practices" list ("Monitor continuously: Don't wait for problems") could be trimmed — anchor 3's 'mostly efficient but could be tightened'.

3 / 5

Actionability

Provides concrete, mostly copy-paste-ready PostgreSQL queries, specific threshold values (500ms slow query, 85% connection critical, 90% cache warning), and cron schedules, but sendAlert and gatherMetrics are never defined, prisma setup is assumed, "mydb" is hardcoded, and the SlowQuery interface fields (avgDuration, table) don't match what the query returns (avg_time_ms) — minor gaps placing it at anchor 4 rather than fully executable anchor 5.

4 / 5

Workflow Clarity

Content is organized as parallel monitoring components with no ordered setup sequence (e.g., enabling pg_stat_statements, configuring logging, deploying the cron script) and no validate-then-fix feedback loop; the scoring note caps database-operation skills without validation at 3, and the Output Checklist keeps it from scoring lower.

3 / 5

Progressive Disclosure

No bundle files exist (references/, scripts/, assets/ are absent — code comments name scripts/detect-slow-queries.ts and scripts/monitor-db.ts that aren't in the bundle), and ~420 lines of query libraries and dashboard code are all inlined in SKILL.md despite clear section headers, matching anchor 3's 'content that should be separate is inline'.

3 / 5

Total

13

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states multiple concrete capabilities and pairs them with an explicit, natural-language "Use for" trigger list. Minor improvements are possible: deduplicate the alerting mentions, add one or two common trigger variations, and sharpen "Defines... strategy" into a more concrete verb.

DimensionReasoningScore

Specificity

Lists four concrete capabilities ("slow query detection, resource usage alerts, query execution thresholds, and automated alerting"), though "Defines... strategy" is slightly abstract and "alerts"/"alerting" are redundant — matching anchor 4's 'several specific actions; minor gaps' rather than anchor 5's comprehensive coverage.

4 / 5

Completeness

Explicitly answers both "what" (enumerated monitoring/alerting capabilities) and "when" ("Use for" with concrete quoted trigger phrases), mirroring the anchor-5 example structure; the "when" clause is already explicit and specific, so anchor 4's caveat does not apply.

5 / 5

Trigger Term Quality

The quoted triggers "database monitoring", "performance alerts", "slow queries", or "DB metrics" are natural phrases users would say, but common variations like "database performance" or "query performance" are missing, so coverage is good rather than comprehensive (anchor 4, not 5).

4 / 5

Distinctiveness Conflict Risk

The DB-performance niche is clear with distinctive triggers like "slow queries" and "DB metrics", but "database monitoring" and "performance alerts" could overlap with general observability or database-administration skills, matching anchor 4's minor overlap risk rather than anchor 5's minimal conflict risk.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 2 possibly missing (scripts/detect-slow-queries.ts, scripts/monitor-db.ts)

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/db-performance-watchlist/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.