Skip to content
Back to skills

Regression Ledger

ASecurity

| `code-quality-plugin:code-lint` — a skill whose entire job is "run the right linter" — shipped four `{{ if PROJECT_TYPE == "python" }}` / `{{ endif }}` blocks. **Claude Code renders nothing in a skill body**, so all four language branches arrived at the agent verbatim, `PROJECT_TYPE` was never bound anywhere in the skill, and both the language selection and the `${1:-.}` / `${2:+--fix}` shell-parameter substitution were left as an exercise. Silent by construction: the skill loads, every str...

  • 60 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
developmenttypescriptpythongoshelltestinggit

Works with

  • claude code

Security analysis

A100/100

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

Scanned November 9, 2026

npx -y skills add laurigates/claude-plugins --skill regression-ledger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Regression Ledger?

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

Security grade badge for Regression Ledger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laurigates-regression-ledger-claude-plugins/badge)](https://www.skillsdirectory.com/skills/laurigates-regression-ledger-claude-plugins)

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
| `code-quality-plugin:code-lint` — a skill whose entire job is "run the right linter" — shipped four `{{ if PROJECT_TYPE == "python" }}` / `{{ endif }}` blocks. **Claude Code renders nothing in a skill body**, so all four language branches arrived at the agent verbatim, `PROJECT_TYPE` was never bound anywhere in the skill, and both the language selection and the `${1:-.}` / `${2:+--fix}` shell-parameter substitution were left as an exercise. Silent by construction: the skill loads, every structural lint passes, and the agent quietly picks a branch (or pastes `{{ endif }}` into a shell). A repo-wide sweep found the same defect in **four** more skills — `tools-plugin:deps-install` (7 `PACKAGE_MANAGER` branches), `project-plugin:project-init` (`{{ if $3 == "--github" }}`), `typescript-plugin:bun-add` (inline `{{ if DEV }}` inside the one fenced command), and `testing-plugin:test-analyze` (Handlebars `{{#if ARG2}}` / `{{/if}}`). `.claude/rules/agentic-optimization.md` § Environment Detection was **teaching** the pattern (`{{ if CI }}--frozen-lockfile{{ endif }}`), which is where it propagated from. | All five rewritten to the same shape: an explicit **detection step** the agent performs (marker files / lock files / bound `$ARGUMENTS`) followed by a **lookup table** it reads, with every command written against a named placeholder the Parameters section says the *caller* supplies. The rule's example was replaced with a lookup table plus a real shell conditional (scaffold-fix-backport: fixing the instances without the generator leaves the next author to repeat it). | `scripts/check-unrendered-templates.sh` (+ `scripts/tests/test-check-unrendered-templates.sh`, 58 assertions) — SEMANTIC and **mutation-verified**: eleven neutered rules, all killed. It EXECUTES the guard against the **verbatim** pre-fix bodies (all five reproduced as fixtures, 34 markers reported by name), and weights the false-positive half equally, since a guard that flags legitimate Go/Helm chart templates gets disabled: trim markers / `{{ end }}` / `$.Values` must **not** be flagged, and a `.claude/worktrees/` + `dist/` copy must be pruned rather than double-counted. Two defects were found by the mutation pass and would otherwise have shipped: (1) the Go `$`-rooted skip was written as a bare `$`, which silently swallowed project-init's **shell positional** `{{ if $3 == … }}` — the discriminator is `$.`, not `$`; (2) the Go dot rule was written as `.*`, which also matched the `...` ellipsis and made the ellipsis rule dead code — narrowed to `.[A-Za-z]*`, so TEST G now kills its own mutation; (3) discovery reverted to an absolute scan base makes the guard scan **nothing** from inside a worktree — the exact #2219/#2290 defect, now pinned. The keyword set gained `for`/`endfor` and Handlebars `#each`/`/each` from the concurrent PR #2284, whose narrower guard covered loop forms this one initially missed; Go's `range` is deliberately EXCLUDED (the one loop keyword with four legitimate rendered uses in the corpus), and that exclusion is falsifiable — TEST N carries a **bare** `{{ range $k, $v := … }}` with no trim marker, since the trim-marker forms are skipped structurally whatever the keyword set is and would let `range` back in unnoticed. Guard integrity throughout: the fixed-shape fixture must report `FILES_SCANNED=1` / `FILES_EXEMPT=0` (otherwise every "clean" assertion is vacuous), and TEST F asserts the render-directive exemption is what exempts by feeding the **identical** markers without the declaration and requiring exit 1. | issue #2265 |

Files in this skill

  • 0-13-plugin-agents-ran-on-sonnet-haiku.md1.1 KB
  • 0-68-shell-form-plugin-hook-commands-command.md1.1 KB
  • 0-bash-test-bash-jq-etc-causes-20.md266 B
  • 0-check-agent-model-sh-rejected-every-model.md904 B
  • 0-comfyui-node-scaffold-emitted-setup-bun-steps.md681 B
  • 0-configure-all-aborted-at-invocation-with-shell.md1.2 KB
  • 0-configure-all-hardcoded-a-19-entry-component.md1.8 KB
  • 0-evaluate-matrix-skill-md-told-the-agent.md897 B
  • 0-evaluate-plugin-scripts-inspect-eval-sh-plugin.md1 KB
  • 0-evaluate-plugin-scripts-tests-test-smoke-headless.md1.3 KB
  • 0-feedback-session-fails-in-a-repo-without.md496 B
  • 0-find-claude-plugins-blocked-by-sandbox-security.md215 B
  • 0-gc-007-s-fixture-setup-used-printf.md759 B
  • 0-git-repo-agent-blueprint-onboard-writes-blueprints.md935 B
  • 0-github-actions-auth-security-covered-claude-prompt.md1.2 KB
  • 0-github-workflows-skill-splitter-yml-selected-split.md1.7 KB
  • 0-grade-deterministic-py-crashed-with-a-valueerror.md1014 B
  • 0-grade-deterministic-py-run-command-trusted-the.md1.7 KB
  • 0-grep-package-json-pyproject-toml-requirements-txt.md259 B
  • 0-heading-section-citations-named-headings-that-do.md1.7 KB

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 development →

Comments

Loading comments…

Newsletter

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