Skip to content
Back to skills

Cad Why

ASecurity

Why is this code like this - a git-log chain over one file[:line], joined to the phase, task, decision, deviation and review record on disk

  • 11 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentsnodegit

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add crenshawdev/cadence --skill cad-why --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cad Why?

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

Security grade badge for Cad Why
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/crenshawdev-cad-why/badge)](https://www.skillsdirectory.com/skills/crenshawdev-cad-why)

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: cad-why
description: "Why is this code like this - a git-log chain over one file[:line], joined to the phase, task, decision, deviation and review record on disk"
argument-hint: "<path>[:<line>]"
---

<objective>
Answer "why is this code like this" from the record on disk, at one file and
line. Read-only: no write, no dispatch.
</objective>

<process>
1. Run the seam with the query as ONE single-quoted literal word:
   `node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/why.mjs" '<path>[:<line>]' --dir .`
   Single quotes, never double: a double-quoted `$(...)` or backtick inside it
   runs before Node starts. A query containing a single quote is refused here,
   never escaped. Parse the one JSON line it prints.
2. `ok:false` - state the `reason` and `detail` fields plainly and stop.
3. `ok:true` - print the `text` field VERBATIM and nothing else: no summary
   before it, no commentary after it, no reformatting.
</process>

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.