mdsmithaustin/pstack/verify-commands

Claude Code and agent skill by mdsmithaustin/pstack

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Apply whenever you write or review a command that decides whether work is done: a test invocation, an acceptance check, a CI gate, a shell assertion, a grep-based verify step, or an upgrade, deployment, migration, or install whose success you will report. Names the failure signal, grounds paths, and catches the shapes that pass green while measuring nothing.

Install

npx vskill@latest install mdsmithaustin/pstack/verify-commands

SKILL.md

The same SKILL.md was published earlier as mdsmithaustin/pstack/verify-commands.

Verify commands

A verify command is an acceptance test. Before shipping one, answer: if this command were silently doing nothing, what in its output would tell me? If you cannot answer, you have a command, not a check. Fix the command; do not invent a statement for it.

Name the failing direction

Next to every runnable check, write one line naming the observable signal that means failure: non-zero exit, "0 passed" in the summary line, the coverage line is absent, stderr contains "ECONNREFUSED". "The command fails" and "an error occurs" are restatements, not signals. TBD, N/A, and none are refusals. Short is fine; non-zero exit is complete. Prefer the signal the tool actually emits over one you imagine: for a command that already ran, state what you saw; for a new one, take the signal from the tool's documented output. N commands need N statements.

Ground every path

Inherit the command that already worked in this repo, verbatim, before deriving a new one. A cd target or --prefix target must exist, or be created by an earlier step, and must hold the matching manifest (package.json, Makefile, pyproject.toml). Prefer npm --prefix <dir> run <script> over cd <dir> && npm run <script>; it does not depend on the caller's working directory. Do not hand-reason the filesystem: list it. If you cannot ground a path, say so instead of guessing.

Shapes that pass while measuring nothing

TrapWhy it passesInstead
`pnpm ls vite \grep -E '^vite@7'`tree output starts each line with └──, so ^ never matchesdrop the anchor, or match `(└\├)── vite@7`
`npm test \grep '714 passed'`a count recalled from memory, stale from traininggrep -E '[0-9]+ passed', or run the count first
`X=$(cmd 2>/dev/null \\echo 0) feeding [ "$X" = "$Y" ]`both sides default to 0 when inputs are missing, so parity passes on nothinglet the failure propagate, or guard with test -f and exit
grep -c 'LITERAL' file == 0 while an instruction or comment quotes LITERALthe gate trips on comment text, not on codedescribe the forbidden thing by concept, not by literal
! grep -q PATTERN file when a sibling change legitimately adds PATTERN elsewhere in the filea file-wide negative is unsatisfiable across regionsscope it: `awk '/^def f/,/^def /' file \grep`, or an AST check, or a unit test
a test-name filter that matches zero testsexit 0 with nothing assertedlist tests first (--collect-only, --list), then run the one named test
`npm test \tail -20` whose exit status is read as the verdicta pipeline exits with its last command's status, so tail reports 0 while npm test failedstart the same command line with `set -o pipefail; npm test \tail -20 (bash, zsh). A set` from an earlier tool call is gone

The anchor trap has a family: npm ls, yarn list, docker ps, and kubectl get all print column or tree prefixes. || echo default is acceptable only when absence is the default and the value is not used in a comparison meant to detect absence.

Reviewing someone else's command

Report; never prescribe a replacement path you did not verify. A prescribed path is copied verbatim and carries zero information. A missing directory or manifest is a blocker: quote the raw target. A dynamic path, glob, ~, or variable is a warning, not a licence to guess the literal.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mdsmithaustin/pstack/verify-commands/badge)](https://verified-skill.com/skills/mdsmithaustin/pstack/verify-commands)

Something wrong with this skill or its page? Tell us.