postgresql-health-diagnostics-agent
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "postgresql-health-diagnostics-agent" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0738ca93fd5388a03108ce46dac81654476fd27f1f4af94d6d18bbccd223e29a. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/postgresql-health-diagnostics-agent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Queries PostgreSQL system catalogs pg_stat_activity, pg_stat_user_tables, and pg_locks to diagnose performance issues; analyzes slow queries via pg_stat_statements and checks the autovacuum column in pg_stat_all_tables to assess cleanup status.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "PostgreSQL 健康诊断代理"
slug: "postgresql-health-diagnostics-agent"
version: "1.0.0"
displayName: "PostgreSQL 健康诊断代理"
summary: "查询PostgreSQL系统目录pg_stat_activity、pg_stat_user_tables和pg_locks以诊断性能问题。通过pg_stat_statements分析慢查询,并通过pg_stat_all_tables的autovacuum列检查清理状态。"
license: "MIT"
description: "查询PostgreSQL系统目录pg_stat_activity、pg_stat_user_tables和pg_locks以诊断性能问题。通过pg_stat_statements分析慢查询,并通过pg_stat_all_tables的autovacuum列检查清理状态。"
github_stars: 13127
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Runbooks & Diagnostics"
framework: "MCP"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 13127
npm_package: "pg"
npm_weekly_downloads: 23169914PostgreSQL 健康诊断代理
Queries PostgreSQL system catalogs pg_stat_activity, pg_stat_user_tables, and pg_locks to diagnose performance issues. Analyzes slow queries via pg_stat_statements and checks vacuum status through pg_stat_all_tables autovacuum columns.
Installation
Use the upstream install or setup path that matches your environment:
- npm install pg
- From your workspace root run yarn and then yarn lerna bootstrap
- Run yarn test to run all the tests.
Requirements and caveats from upstream:
-
node-postgres
- Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
Basic usage or getting-started notes:
-
Documentation
-
Each package in this repo should have its own readme more focused on how to develop/contribute. For overall documentation on the project and the related modules managed by this repo please see:
-
Features
-
Extracted from upstream docs: https://raw.githubusercontent.com/brianc/node-postgres/HEAD/README.md
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 PostgreSQL 数据库健康诊断,属于数据库运维领域的高频刚需场景
- 直接解决性能问题诊断痛点,具备明确实用价值
Areas to improve
-
触发词相对宽泛 Reported severity: Minor
description 明确描述了具体功能和使用场景,但触发词相对宽泛,可能与其他数据库诊断工具重叠
Recommendation: 建议增加更具体的触发词,如 'postgresql performance', 'pg slow query', 'database locks' 等
Highlights
- description 明确描述了具体功能和使用场景
Areas to improve
-
缺少 When to Use 和具体示例章节 Reported severity: Minor
具备基本结构,包含 Installation 和 Basic usage 章节,但缺少 When to Use 和具体示例章节
Recommendation: 建议增加 When to Use 章节说明适用场景,并提供具体的使用示例
Highlights
- frontmatter 完整,包含必要的元数据信息
Areas to improve
-
未提及异常处理机制和参数验证 Reported severity: Minor
依赖 npm 包 pg,来源明确,但未提及异常处理机制和参数验证
Recommendation: 建议增加异常处理说明和参数验证机制,提高执行可靠性
Highlights
- 依赖 npm 包 pg,来源明确且广泛使用
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 28
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.