AF amg-check-pg-flex
Run only when the user explicitly asks for a fleet-wide PostgreSQL Flexible Server health check — scans CPU, memory, storage, IOPS, disk bandwidth, and connection metrics across all servers, then deep-dives into abnormal servers with resource logs and correlation analysis. Tracks known issues across sessions via persistent report. Uses AMG-MCP pulse check for Tier 1 triage, then batched Azure Monitor queries for Tier 2 investigation. On first run, auto-discovers datasource UID and prompts for subscription ID.
As a process F 65/100 · Will not run — References files that are not bundled: ${CLAUDE_SKILL_DIR}/reference/phase3-deep-dive.md, ${CLAUDE_SKILL_DIR}/reference/phase4-resource-logs.md, ${CLAUDE_SKILL_DIR}/reference/output-format.md
How to improve
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 0
✓ No critical or high findings
Files scanned: 8. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: ${CLAUDE_SKILL_DIR}/reference/phase3-deep-dive.md - warning
missing-refreference to a missing file: ${CLAUDE_SKILL_DIR}/reference/phase4-resource-logs.md - warning
missing-refreference to a missing file: ${CLAUDE_SKILL_DIR}/reference/output-format.md - warning
missing-refreference to a missing file: ${CLAUDE_SKILL_DIR}/reference/error-handling.md - warning
missing-refreference to a missing file: ${CLAUDE_SKILL_DIR}/reference/analysis-patterns.md - warning
missing-refreference to a missing file: ${CLAUDE_SKILL_DIR}/reference/deep-dive-queries.md - note
frontmatter-keyunknown frontmatter key "effort"
Process rating: all ten parameters 65/100
- 0Tools and files. 6 referenced file(s) missing: ${CLAUDE_SKILL_DIR}/reference/phase3-deep-dive.md, ${CLAUDE_SKILL_DIR}/reference/phase4-resource-logs.md, ${CLAUDE_SKILL_DIR}/reference/output-format.md
- 0Inputs and preconditions. Does not say what the process needs to start
- 60Result and completion. Output format stated, no completion criterion
- 100Steps. 40 steps
- 100When it triggers. States when to use and when not to
- 100Failures and branches. 5 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2525 tokens
- 100Running it twice. No mutating operations
- 100Progress reporting. Reports progress
- low 12 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +1No license
- +2Single-language instructions
- +3Description length 514: enough signal without eating the budget
- +4Structure: 19 headings
- +3Step-by-step instructions: 40 items
- +3Output format is stated explicitly
- +4Has examples (7 code blocks)
- +4Reference files are cited in the instructions (6 of 6)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 78.