jasoncolapietro/suede-creator-skills/suede-code

Claude Code and agent skill by jasoncolapietro/suede-creator-skills

Trust tier 2
  • community
Source check pending

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

Use when explicitly asked \"review this PR\" or to grade a diff, branch, or commit range. Suede returns evidence-backed P0-P3 findings, fix paths and an A-F ship grade; supports findings-only, grade-only and fix modes, seven review lanes, security checks, deploy safety and commit dirt. NOT FOR: automatic CI enforcement (use suede-ci-gate), agent evaluations (use suede-ai-eval), implementation-plan search (use suede-graph-flo-xr), or parallel fix coordination (use suede-agent-teams).

Install

npx vskill@latest install jasoncolapietro/suede-creator-skills/suede-code

SKILL.md

The same SKILL.md was published earlier as jasoncolapietro/suede-creator-skills/suede-code.

Suede Code Skills

One skill for judging code: what is wrong, and whether it ships. Every finding has a file, evidence, and a fix path. Every grade has the evidence that earned it. No finding without evidence; no volume without signal.

Runs only when asked. Never fire this as a side effect of a diff, a save, or a commit.

Compatibility

An agent with repository read access and Git; Bash is needed for local tests and the bundled commit-dirt scan. Fix mode additionally needs authorized file edits. Review can proceed with explicitly unverified runtime checks when execution is unavailable.

Gate policy: advisory, not blocking

Every check, grade, and ship verdict here is a recommendation to the user, not a control on the agent.

  • Run every check and report results honestly. ship, ship-with-caveats,

hold, letter grades, and BLOCKED items are advice attached to the work.

  • Never block, delay, skip, or rewrite the action the user asked for because a

gate said hold. A failed gate changes what you report, never what you do.

  • Single exception: an extreme-risk finding (data loss, credential exposure,

legal or rights violation, payment mistake, irreversible public damage). Pause, state the risk and the options, and let the user pick. Their choice is final.

Pick the mode

Request sounds likeModeEmits
"review and grade", "is this safe to ship", "check this PR"full (default)Findings, grade, deploy safety, commit dirt, ship gate
"findings only", "no grade", "line by line", "find the bugs"`--findings-only`Findings, deploy safety, commit dirt, ship gate. No letters.
"grade only", "give it a letter", "A-F verdict", "should this merge"`--grade-only`Lane grades, caps, required upgrades, ship gate. No findings list.

Grade-only still runs Step 1 (Instant-F) and still reads the code. It skips the itemized findings output, not the investigation.

Other modes that combine with any of the above:

  • Plan review: nothing built yet; check scope, sequencing, acceptance

criteria, test mapping, and missing decisions.

  • Fix verification: after fixes, rescan only the changed files and confirm

each original finding is gone.

  • Release review: add build, secrets, env, public copy, screenshots,

metadata, and live or API readback.

  • `--fix`: apply fixes (see Fix Mode).
  • `--threat-verify`: confirm declared threat-model mitigations exist.

Procedure in references/threat-verify.md; read it only in this mode.

Depth (state it at the top of every output):

  • --quick (about 2 min): pattern scan for obvious bugs, secrets, missing null

checks, injection, broken error handling. No cross-file analysis.

  • --standard (default, about 10 min): per-file correctness on changed paths,

language traps, state handling, test coverage of changed behavior, call graph within changed files, maintainability baseline.

  • --deep (about 25 min): full import graph, call-chain tracing, whole-repo and

history pass, critic lanes. Use for auth, payments, migrations, public APIs.

Model: Sonnet by default. Recommend Opus for auth, payments, and public API surfaces.

Pre-flight

Name three things before analysis:

  • Target: repo, branch, PR, commit range, diff, route, API, or release build.
  • Intent: what the change claims to do. Find the spec in this order: issue

references in commits and PR body (#123, Closes #45), a path the caller passed, a matching file under docs/ or specs/. If none exists, write "no spec available" and judge intent from the PR description alone. Never invent requirements.

  • Risk lanes: frontend, backend, data, auth, payments, contracts, iOS,

release, public copy, analytics, secrets, deployment, docs.

Pin the comparison point and prove it is reviewable: git rev-parse <base> resolves, diff with three dots (git diff <base>...HEAD) so the comparison runs against the merge-base, and the diff is non-empty. A bad ref or empty diff fails here in one line.

Context graph

Build it before judging the diff:

  1. Changed files and generated files.
  2. Imports, callers, routes, handlers, jobs, hooks, models, schemas, and

config or env dependencies the change touches.

  1. Tests, fixtures, migrations, release scripts, docs, and screenshots that

should move with the behavior.

  1. Runtime surfaces: local route, live URL, API endpoint, simulator flow,

dashboard, store metadata, deploy target.

  1. Domain contracts: ownership, rights and provenance, payments and wallets,

agent commerce, and published-statement accuracy.

Flag beyond-the-diff risk when related files, defaults, docs, env, or deploy requirements no longer agree.

Run the repo's own gates first

Do not hand-review what a tool already decides. Detect what the repo ships (package.json scripts, config files, lockfiles) and run only that. Never add a tool the repo does not use. Never report a result you did not run.

StackType checkLintTestOther
Web / Nodenpx tsc --noEmitnpm run lint (changed files)npm testnpm audit when deps changed
MCP server (Node)node --check <server>.mjsconfigured linterrepo MCP testsOne stdio session: initialize, notifications/initialized, then list/call/read/get
iOS / Swiftthe build is the checkSwiftLint if configuredXCTest targetxcodebuild -scheme X -destination 'platform=iOS Simulator,name=<device>' build
API / backendcompile step if anyconfigured lintercontract or schema testsOpenAPI validation against the live route

Severity mapping: a type error on a changed line is P2 (P1 on a critical path); a failing test on changed behavior is P1; a test that silently stopped running is P2; a reachable, exploitable dependency CVE is P0 or P1; a verified live secret is P0; a broken production build in a release review is P0.

Cite command, exit status, and the file:line it implicates. A gate that cannot run goes in Verification as "not run" with the reason.

House rules bind. Read CLAUDE.md, AGENTS.md, CONTRIBUTING.md, .editorconfig, and formatter, linter, or review config. Do not flag what a rule permits; do flag what it forbids. The nearest-ancestor rule wins for files under its path. When the user dismisses a finding as deliberate, record it in one line (pattern, why allowed, path scope) and do not raise it again.

Step 1: Instant-F triggers (always first, every mode)

Any match is an automatic F and a P0 finding. Report file and line. Other lanes cannot raise the grade.

  • Secrets: hardcoded API key, token, or password in committed source; a

committed private key or certificate; a signing secret outside a secret manager.

  • Injection: SQL built by string concatenation with user input; shell

command from user input via exec, spawn, or eval; unescaped user input rendered where XSS is reachable.

  • Auth bypass: middleware with a skip path (early return, swallowed

exception, always-true condition); a permission check a request param can bypass; JWT accepting alg: none or a hardcoded secret.

  • Payments and wallets: a handler that swallows errors; a webhook with no

signature verification; amount or recipient taken from untrusted input without server-side validation.

  • Data destruction: a DROP or destructive ALTER with no rollback and no

tested restore; bulk delete or update with no WHERE or a user-controlled WHERE; production cache wipes with no restore path.

  • Plaintext sensitive data: passwords stored or logged in plaintext; PII

sent to unencrypted logs or analytics; card, SSN, or health data in an unencrypted field.

Step 2: Language and platform traps

Load only the sections that match the diff:

  • references/traps-web.md: TypeScript, React, accessibility, Next.js, SEO

impact, database (Drizzle, Prisma), performance and Core Web Vitals.

  • references/traps-swift-ios.md: Swift, SwiftUI, and client-server contract

drift for iOS.

  • references/maintainability-baseline.md: twelve structural checks for

--standard and --deep, diff-scoped and always labeled as judgment.

Step 3: Security baseline

Runs automatically when the diff touches auth/, api/, middleware/, routes/, pages/api/, or imports crypto, session, or payment modules. Cite the category in each finding using the OWASP Top 10:2025 numbering: A01 Broken Access Control (now includes SSRF), A02 Security Misconfiguration, A03 Software Supply Chain Failures, A04 Cryptographic Failures, A05 Injection, A06 Insecure Design, A07 Authentication Failures, A08 Software or Data Integrity Failures, A09 Security Logging and Alerting Failures, A10 Mishandling of Exceptional Conditions. API and mobile changes also map to the OWASP API Security Top 10 (2023) and MASVS. What counts as a finding per category is in references/security-baselines.md.

Observability delta (any new handler, endpoint, job, cron, or consumer): flag catch blocks that only console.error or swallow silently; new paths with no log on entry or failure; React subtrees with no error boundary; new DB, external API, or model calls with no timing or trace span; analytics events the old code fired and the new code dropped; background jobs that finish without logging count, duration, or failure reason.

Step 4: Deep pass (--deep only)

  • Reverse dependencies: find every caller of a changed function, type,

route, or constant across the repo. Name the call sites you checked.

  • Shared assumptions: for a changed schema, env var, default, or

invariant, find other places that assume the old value.

  • History: git log -L or git blame the touched lines. A change that

reintroduces a previously fixed shape is a regression; cite the prior commit.

  • Sibling pattern: compare to the nearest analog (other handlers, other

migrations). A lone handler skipping the shared auth wrapper is P1 even if it works.

  • Critic lanes for auth, payments, migrations, or public APIs: a change

mapper, runtime critic, security critic, product critic, and test critic, each reporting separately. Collect consensus. If a high-severity concern survives a fix cycle, keep hold and name the smallest next check.

A whole-repo claim with no named symbols is not evidence.

Step 5: Intent and scope

  • Claim vs diff: map each acceptance criterion to a code path or test.

Claimed behavior with no matching change is a P1 truth gap.

  • Scope creep: flag unrelated refactors, bundled dependency bumps, and

formatting sweeps that bury the change. Recommend a split.

  • Effort signal: state files and net lines changed and rate the review

effort: trivial, moderate, heavy, or too large to review safely.

  • Walkthrough (four or more files): a table of file, what changed, risk

lane. Add a mermaid sequenceDiagram or flowchart only when data crosses three or more boundaries or an async, auth, or payment path changes.

Step 6: Grade (full and --grade-only)

For full and grade-only modes, read the complete grading contract before assigning a grade. It defines all seven lanes, letter meanings, gate mapping, surface caps and debt weighting. An Instant-F or deploy-safety result still applies in every mode; never assign a letter from impression.

Step 7: Deploy safety (every mode, every run)

Rate each pass | conditional | block:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

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

Quality evaluation

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

Source

Popularity

Repository stars
126
Repository forks
12
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. 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/jasoncolapietro/suede-creator-skills/suede-code/badge)](https://verified-skill.com/skills/jasoncolapietro/suede-creator-skills/suede-code)

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