Skip to content
Back to skills

Prompts

ASecurity

The handle is direct invocation. The evidence is stdout/stderr/exit code.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentgobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add anubhavg-icpl/vibe --skill prompts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anubhavg-icpl-prompts/badge)](https://www.skillsdirectory.com/skills/anubhavg-icpl-prompts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
<!--
name: 'Skill: Verify CLI changes (example for Verify skill)'
description: Example workflow for verifying a CLI change, as part of the Verify skill.
ccVersion: 2.1.83
-->
# Verifying a CLI change

The handle is direct invocation. The evidence is stdout/stderr/exit code.

## Pattern

1. Build (if the CLI needs building)
2. Run with arguments that exercise the changed code
3. Capture output and exit code
4. Compare to expected

CLIs are usually the simplest to verify — no lifecycle, no ports.

## Worked example

**Diff:** adds a `--json` flag to the `status` subcommand. New flag
parsing in `cmd/status.go`, new output branch.

**Claim (commit msg):** "machine-readable status output."

**Inference:** `tool status --json` now exists, emits valid JSON with
the same fields the human output shows. `tool status` without the flag
is unchanged.

**Plan:**
1. Build
2. `tool status` → human output, same as before (non-regression)
3. `tool status --json` → valid JSON, parseable
4. JSON fields match human output fields

**Execute:**
```bash
go build -o /tmp/tool ./cmd/tool

/tmp/tool status
# → Status: healthy
# → Uptime: 3h12m
# → Connections: 47

/tmp/tool status --json
# → {"status":"healthy","uptime_seconds":11520,"connections":47}

/tmp/tool status --json | jq -e .status
# → "healthy"
# (jq -e exits nonzero if the path is null/false — cheap validity check)

echo $?
# → 0
```

**Verdict:** PASS — flag works, JSON is valid, fields line up.

## What FAIL looks like

- `unknown flag: --json` → not wired up, or you're running a stale build
- Output isn't valid JSON (`jq` errors) → serialization bug
- `tool status` (no flag) changed → regression; the diff touched more
  than it should
- JSON has different field names than expected → claim/code mismatch,
  might be fine, note it

## Reading from stdin, destructive commands

If the CLI reads stdin → pipe in test data.
If it writes files / hits a network / deletes things → point it at a
tmp dir / a mock / a dry-run flag. If there's no safe mode and the
diff touches the destructive path, say so and verify what you can
around it.

Files in this skill

  • agent-prompt-agent-creation-architect.md5.1 KB
  • agent-prompt-agent-hook.md662 B
  • agent-prompt-auto-mode-rule-reviewer.md1.4 KB
  • agent-prompt-away-summary-generation.md459 B
  • agent-prompt-background-agent-state-classifier.md16.3 KB
  • agent-prompt-background-job-agent-instructions.md1.9 KB
  • agent-prompt-bash-command-description-writer.md961 B
  • agent-prompt-bash-command-prefix-detection.md3 KB
  • agent-prompt-batch-slash-command.md4.4 KB
  • agent-prompt-claude-code-guide.md718 B
  • agent-prompt-claude-guide-agent.md3.7 KB
  • agent-prompt-claudemd-creation.md1.7 KB
  • agent-prompt-code-review-part-1-base-finder-angles.md697 B
  • agent-prompt-code-review-part-2-low-effort-mode.md1.4 KB
  • agent-prompt-code-review-part-3-extra-high-and-maximum-effort-modes.md1.7 KB
  • agent-prompt-code-review-part-4-three-state-verification-phase.md580 B
  • agent-prompt-code-review-part-5-recall-biased-verification-phase.md908 B
  • agent-prompt-code-review-part-6-medium-effort-mode.md1.5 KB
  • agent-prompt-code-review-part-7-high-effort-mode.md1.6 KB
  • agent-prompt-code-review-part-8-github-comment-posting.md786 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…