/yka-code:audit-rigorfrom yka-code
[yka-code] Discipline for audit, review, and technology-comparison tasks. Use when the request is "audit X", "review our stack", "is this the best option", "compare alternatives", "what should we swap / add / drop", or any task that produces prioritized recommendations rather than new code. Enforces a ≥70% confidence threshold, delegate-retrieval-to-subagent pattern, inline citations with ISO dates, MCP-first sourcing, and a fixed output format (SWAP / ADD / DROP / KEEP-BUT-UPGRADE / SURPRISE). Pair with research-first (retrieval discipline) and karpathy-guidelines (surgical scope). Chained from security-audit, onboard-codebase, and any /do route that smells like "is this the best we have".
Ships in yka-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Audits are different from coding work. The output is a set of recommendations, not artifacts. The failure mode is different too — a sloppy audit ships with hedged claims, unverified version assertions, and bloated main context. This skill prevents that.
Load Skill(audit-rigor) at Phase 0 of any task that matches:
security-audit and onboard-codebase via their Phase 0Do NOT load for:
research-first territory aloneDrop any finding you wouldn't stake credibility on. No hedged "might be worth considering". If you're less than 70% sure, either verify further or leave it out. Low-confidence findings pollute the report and waste the reader's attention.
When the audit requires pulling changelogs, multi-repo surveys, doc fetches — delegate to Agent() with a word budget. Main context stays for classification, synthesis, and final structure. The retrieval (which eats tokens) burns in the subagent.
Rule of thumb from research-first: raw content >2000 tokens → subagent.
Every Agent(prompt: ...) call you spawn must start with:
At your own Phase 0, invoke these in parallel via the Skill tool:
Skill(skill: "karpathy-guidelines")
Skill(skill: "research-first")
Then proceed with the task below.
Main's loaded skills do NOT transfer to subagents — each context is fresh. The discipline has to self-load on the other side.
Format:
<claim> — <source + ISO date>
Examples:
Not at the end of a paragraph. Next to the claim. One claim per citation.
Run date -I once at the start. Stamp the whole audit with that date ("audit as of 2026-04-18"). Individual claims inherit that date unless the user pinned a different reference. Never let a version claim float without a date.
For any library / framework / repo / API claim:
mcp__docfork__search_docs → fetch_doc on top resultmcp__deepwiki__ask_question for "does X exist / did they ship Y"mcp__github__* for release state (list_releases, get_release_by_tag)WebFetch / WebSearch when MCPs don't cover the sourceEscalate on miss, don't guess. If MCPs can't reach the answer, say so explicitly and mark the finding unverified.
Every audit returns in this shape, no narrative prose:
## SWAP — replace with better alternative
- <component> → <alternative>. Why: <one sentence>. Evidence: <citation + date>. Confidence: X%
## ADD — missing from our stack
- <new tool / skill / pattern>. Why: <one sentence>. Evidence: <citation + date>. Confidence: X%
## DROP — no longer earning its keep
- <component>. Why: <deprecated / superseded / abandoned>. Evidence. Confidence: X%
## KEEP-BUT-UPGRADE — still right, but behind current version
- <component> @ vX → vY. What changed. Evidence. Confidence: X%
## SURPRISE — things that updated your mental model
- <finding>. Evidence.
One bullet per finding. No hedged language. No marketing copy. No "could be nicer" bikeshedding.
research-first — owns the retrieval discipline; audit-rigor owns the recommendation discipline on top of itkarpathy-guidelines — surgical scope, think-before-coding (apply to recommendations too)security-audit — chains to audit-rigor for discipline; supplies the domain (vulns)onboard-codebase — chains to audit-rigor when the orientation produces "what's worth changing" recommendationsteam-do — when an audit is verification-heavy (reviewer + challenger debate), upgrade to team modesecurity-audit, code-review, etc.)research-first — both load together; research-first handles claims, audit-rigor handles the recommendation report wrapping themresearch-first's MCP table)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (youssefkadaouiabbassi/yka-code) — no native marketplace selected
npx claudepluginhub p/youssefkadaouiabbassi-code-tools-setup20 skills in this plugin
/ci-hygiene[yka-code] CI/CD and DevOps hygiene enforcer. Activates when editing GitHub Actions workflows, Dockerfiles, docker-compose, justfile, deploy scripts, or any CI configuration. Enforces pinned versions, proper Claude Code invocation in CI (--bare, API key not Max sub), secret management, and reproducibility. Fills the DevOps gap — no plugin covers this in the wild./coding-style[yka-code] Enforce minimalist, self-documenting, defensively-sane coding style. Use ALWAYS when writing, editing, or reviewing ANY code in ANY language — every function, every edit, every diff, no exceptions. Covers five rules: (1) no comments unless critical (WHY only, never WHAT, never history), (2) clean + optimized (no dead code, no speculative abstractions, no stale imports, delete over deprecate), (3) self-documenting names (full words, verbs for functions, nouns for data), (4) smallest surface (one function one concern, extract only on 3rd reuse, validate only at boundaries), (5) no dead defense (no try/catch for impossible cases, no fallbacks for inputs you control, let errors bubble to the right handler). Pair with karpathy-guidelines for behavioral principles (Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution)./do[yka-code] Front-door entry skill for ANY coding task. Use whenever the user asks to build, fix, refactor, review, audit, understand, or otherwise work on code. Classifies the request, applies karpathy-guidelines, routes to the right sub-workflow (ship-feature, fix-bug, refactor-safely, security-audit, onboard-codebase), and keeps the full toolkit (Anthropic-official plugins, MCPs, auto-installed LSPs, 17 custom skills, hooks) in-context. This is the skill to activate first on almost every coding turn.Other plugins' skills for the same job