/aria-knowledge:foundational-review <scope-root> [--decision "<the irreversible decision>"] [--extend]from aria-knowledge
Runs a foundational review chain on a project before irreversible decisions (version freeze, schema tag, public API flip, major re-scope). Produces a verdict-led review, design spec, cold-executable plan, and paste-ready executor kickoff. Requires an irreversible-decision anchor.
Ships in aria-knowledge. 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.
Read when SKILL.md points to them.
Run a repeatable, model-agnostic review of a project at the FOUNDATIONS — problem–solution fit, architecture soundness, product coherence — and convert the findings into a prospect-hardened, cold-executable plan with owner routing. This is the productized form of the foundational review chain (the canonical process doc this skill reads at Step 1).
This skill is orchestration + artifact templates only. The substance — the A–F review questions, the operating rules, the failure-mode library, the pairing contract — lives in the canonical process doc, which Step 1 reads in full. Do not reproduce that doc's content from memory; read it live every run so the chain evolves in one place.
What this is NOT (the process doc opens with this — internalize it):
/readiness-audit checks a surface against a checklist and produces a findings list. This produces a VERDICT resting on named PREMISES plus the full execution handoff. Siblings, not substitutes (see the pairing contract in the Step 1 doc and Step 0's pairing check)./retrospect validates shipped work backward. This judges a standing architecture/product forward, before an expensive-to-undo step.Canonical resolution: This is the Claude Code variant. When both plugin-claude-code and plugin-claude-cowork are loaded in the same session (most common in Claude Desktop), bare /foundational-review resolves to this skill — aria-knowledge (Code) is the canonical owner of all dual-port skills per ADR-094 §Part 1. The Cowork variant is namespaced-only: /aria-cowork:foundational-review.
Before Step 0 — runtime self-correction. Check whether the Bash tool is available in this session. If Bash is NOT available (you are running in Claude Cowork or another non-Code runtime), this invocation reached the wrong variant for the runtime. Do not ask — redirect. Announce it in one line, then use the Skill tool to invoke aria-cowork:foundational-review with the same arguments the user provided, and do not run this skill's steps:
↪️ Redirecting to
/aria-cowork:foundational-review— you invoked the aria-knowledge (Code) variant, but you are running in Claude Cowork or another non-Code runtime.The chain's Step 6 commits artifacts via
git, and the survey leans on livegit/grepprobes. In Cowork those degrade to copy-paste commit messages and manual file checks. A Cowork-native variant DOES ship as/aria-cowork:foundational-review, and is the correct target here.
⛔ The redirect is unconditional — every mode including auto, and no opt-out. Reaching this variant under that condition is always a mis-invocation, so there is nothing for the user to decide. Design record: docs/superpowers/specs/2026-08-28-runtime-gate-auto-redirect-design.md (D2 auto-redirect, D3 no escape hatch, D6 announce-don't-swap-silently).
If Bash is available, proceed to Step 0.
If Bash is available, proceed to Step 0.
Run it before any IRREVERSIBLE decision — the anchor:
v1.0 spec freeze)No irreversible decision named → do not run this chain. Redirect:
/prospect/readiness-audit/retrospectParse <scope-root> (first positional), --decision "<text>", and --extend. Then assemble the invocation block. If args are thin, collect interactively — one ask at a time:
Invocation:
Scope root: <path — the project/workspace under review>
Read-first: <docs to read before judging: CLAUDE.md, PROGRESS.md, specs, prior audits>
THE irreversible decision: <the single expensive-to-undo step this review gates — REQUIRED>
Section-F inputs: <strategy/positioning/licensing docs; mark CONFIDENTIAL ones>
Constraints: <read-only repos, build rules, no-push, team-owned repos needing tickets>
Reviewer model: <highest-ceiling available; see Model Routing below>
Extend?: <yes if --extend — runs the system-design extension loop after Step 6>
Hard gate — the decision anchor. If no irreversible decision can be named (the --decision arg is absent AND the user can't state one when asked), STOP and redirect:
This chain is decision-anchored — it needs one expensive-to-undo step to anchor the verdict and the irreversibility inventory. You haven't named one. Did you mean:
/prospect <plan>— pre-mortem a plan that's about to execute/readiness-audit <scope-root> --for "<event>"— audit a surface for ship-readiness- I'll name the irreversible decision now:
Do not invent a decision to keep the chain running.
Pairing check. If THE irreversible decision is a SHIP / FREEZE / PUBLIC-FLIP, the canonical pairing rule says run BOTH the audit (for the surface) and the chain (for the decision). Ask:
This decision is a ship/freeze/flip. The pairing contract recommends running
/readiness-auditfirst (cheaper, produces the evidence base the review can lean on). Run/readiness-audit <scope-root> --for "<event>"now, then resume this chain? (y/n/already-have-one)
On y, invoke /readiness-audit via the Skill tool, then resume at Step 1 with the audit as admissible evidence (per the composition contract — the review re-derives every inherited claim, never trusts the audit's attributions/counts without a fresh sweep).
OWNER: <default model> unless its execution needs extreme judgment — justify any top-tier owner in one line, or it's rewritten to the default.G-A.. in the spec (Step 3), never an inline assumption.xhigh for every substantive review — these passes are semi-agentic (read files, trace seams) and xhigh is built for that read-trace-reason loop; it also matches why you escalated to the ceiling. Use high only for light surfaces (small/on-hold/PRD-only projects). Reserve max for the single hardest correctness-dominated pass (e.g. auth-across-tenancy, ledger/tax invariants) — elsewhere it over-deliberates without adding signal. Running the top model at plain high is the worst-value point: if high feels like enough, the default model at high would have sufficed.Load the canonical chain. Read the canonical process doc, preferring a user copy when present:
<knowledge_folder>/approaches/foundational-review-chain.md exists (resolve <knowledge_folder> from ~/.claude/aria-knowledge.local.md), read THAT — a user may keep a richer, project-specific copy there.${CLAUDE_PLUGIN_ROOT}/skills/foundational-review/foundational-review-chain.md (always present).It carries the operating rules, the A–F questions, the artifact conventions, the failure-mode library, and the pairing/extension specs. Hold it in context — every later step references it by section rather than restating it.
Load the failure-mode libraries (mirrors /prospect Step 2): <knowledge_folder>/rules/retrospect-patterns.md, and <knowledge_folder>/rules/prospect-patterns.md + <knowledge_folder>/projects/<tag>/{retrospect,prospect}-patterns.md if they exist for the detected project.
Survey the tree. Read the read-first docs, then walk the actual source tree. READ BEFORE JUDGING (operating rule 1): every load-bearing claim is cited as file:line, verified THIS session — never asserted from memory, docs, or prior-session summaries.
Bound the scope (operating rule 2): state in-scope and out-of-scope explicitly; fence sibling workstreams by reference. For a multi-repo family, group by coupling mechanism: shared-runtime repos → review as ONE super-project (hub-out from the shared dependency, ~20% grounding / ~80% on the seams); protocol- or file-contract repos → review each side standalone + review the contract once from the producer side; a vendored copy → not a review seam at all. The same portfolio can contain all three.
Run empirical probes read-only (git log, grep, file-existence). VERIFY FORMATS, NOT JUST LOCATIONS (operating rule 6): any later plan step that parses/renames/sweeps is preceded by an enumeration sweep at planning time.
Write <scope-root>/FABLE-REVIEW-<YYYY-MM-DD>.md (keep the reviewer-named filename for provenance even when the default model runs it; state the actual model in the header). Structure:
# Foundational Review — <project> — <YYYY-MM-DD>
Reviewer model: <actual model> | THE irreversible decision: <text>
## Verdict
<foundationally-sound | sound-with-changes | re-scope | reconsider>
+ the single most important reason (one sentence).
## Premises
| ID | Premise the verdict rests on | If it changes… |
|----|------------------------------|----------------|
| P1 | … | … |
## A. Problem–Solution Fit
Steelman 2–3 alternative framings (include "do nothing / minimal" and "kill / fold elsewhere");
for each: wins, costs, verdict + PRESERVED rationale (why-rejected stays answerable).
## B. Foundational Correctness
Name each weak premise being patched around + the fix-at-base.
## C. Built Right
Data model · abstraction layers (flag any beyond ~3 that don't earn their cost) · coupling/seams ·
testing & validation · characteristic failure modes (especially SILENT ones).
## D. Gaps
Smallest set of missing capabilities that makes it "v-next worthy." Assign existing owners; don't re-own.
## E. Over-build
What exists that the use case doesn't justify. Cut = archive-with-pointer or policy-freeze, not deletion.
Includes DOC decay (stale plans, falsified bug reports a cold executor would burn time on).
## F. Product / Portfolio Coherence
Boundaries (free/premium, public/private) · monetization/positioning · family coherence · licensing/IP posture.
## Irreversibility Inventory
| What becomes expensive after the tag | Why | Precision the handoff needs |
## Uncertainty Flags
Predictions ≠ findings — say which is which.
Scale to the finding: one change → findings + a short plan; large review → findings + several specs + plans. A re-scope/reconsider verdict's spec/plan may be a wind-down or pivot plan — that's a valid output.
Per substantive change, write docs/superpowers/specs/<date>-<topic>-design.md (use the project's existing docs/superpowers/ convention):
## Decisions
D1: what · why · smallest version · rejected alternatives (with preserved rationale)
…
## Gates
G-A: decision needed · what it blocks · default-if-unanswered (or "hard gate, no default")
…
## Non-goals
## Sibling-workstream fencing
"<sibling plan> owns <X> — not duplicated here."
Minor items stay as plan rows; only substantive changes get a spec.
Per spec, write docs/superpowers/plans/<date>-<topic>.md. Tasks must be COLD-EXECUTABLE with no access to the reviewer's reasoning:
OWNER: per task (default executor; justify any top-tier owner in one line).Run /prospect on each plan (file scope) via the Skill tool:
Use the
Skilltool to invokeprospectwithfile <plan-path>.
Then APPLY verdict-changing amendments IN PLACE — don't just score the plan. Validated runs' /prospect passes falsified format assumptions (line-anchored tokens that were var() indirections; hex colors that were RGB triplets; a 4-file rename that was a 14-file surface). After amending, stamp the verdict + amendment list into the plan header. The prospect log lands in <knowledge_folder>/logs/prospect/ via the composed skill — do not duplicate that routing here.
Pre-commit self-check (mandatory). Run the plan(s) against the "Failure modes this process has already caught" list in the Step 1 process doc — this is the chain's equivalent of /prospect's pattern check. At minimum confirm:
fix-without-call-site-audit — no rename/sweep step written only from the sites the review happened to verifygit diff --stat checksedCommit the artifacts (named paths, no push — pushing is the owner's separate gate per operating rule 8). If Bash/git is unavailable, emit copy-paste commit messages instead.
Kickoff. End with a paste-ready executor kickoff:
## Executor Kickoff
Plan(s): <path(s)>
Task order: <#1 → #2 → …, note dependency gates>
Owner routing: <default executor; any top-tier tasks + one-line justification>
Definition of done: <observable signals>
Open gates: <G-A.. that must be answered before/at which task>
Report back: <what to surface on completion>
--extendRun only when the owner wants the deeper "is the SYSTEM itself good engineering?" layer. Follow the process doc's "extension loop" section:
projects/<tag>/patterns/ or approaches/); session arc → project memory + memory index. Reuse /extract routing rather than duplicating it./prospect → wave-executable PLAN → /prospect → commit. Probes-before-architecture is the spine.<scope-root>/FABLE-REVIEW-<YYYY-MM-DD>.mddocs/superpowers/{specs,plans}//prospect (Step 5), in <knowledge_folder>/logs/prospect//extract (Step 7), if --extendBefore declaring the chain complete, verify:
file:line verified this session./readiness-audit was run/referenced or the user explicitly declined.If any check fails, self-correct once; if it can't be closed (e.g., a gate is unanswered), surface the gap explicitly rather than silently skipping.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mikeprasad/aria-knowledge --plugin aria-knowledge40 skills in this plugin
/aria-assistMorning product-management review across all your projects. Use when the user runs /aria-assist, asks for a morning review / daily PM digest / "what should I do today across my products", or when the launchd job fires it headless. Two modes - `generate` (headless: read facts, deep-review ACTIVE projects, apply logged light writes, write the dated digest + per-project PM-REVIEW.md) and `review` (interactive: load today's digest, walk proposals, execute approved ones). Roster comes from projects_list; settings from pm_* keys in aria-knowledge.local.md. (Claude Code variant — full scheduler path. Other ports run manual-only generate/review.)/ask/ask — Query-Driven Knowledge CreationResearch a question, check existing knowledge first, draft a knowledge doc from the answer, and save directly to the appropriate category. Use when user says '/ask', 'ask about', 'research and save', 'I want to learn about', 'what is the pattern for'. Skips backlogs — the user reviews the answer in real-time before saving. (Code port — ADR-094.)/audit/audit — Audit Family DispatcherUmbrella for the audit family — the canonical way to run every sub-audit: '/audit knowledge' (scan memory and plans for extractable knowledge, backlog-to-promotion review), '/audit config' (CLAUDE.md/settings/docs drift and staleness), '/audit style' (mine session-log history for revealed working-style rules), '/audit usage' (value/ROI report over your own corpus), '/audit rules' (mine your distilled corrections for promotable standing rules), or '/audit share' (batch-review personal knowledge for promotion to the team-shared tier). Trigger: '/audit', 'run an audit', 'knowledge audit', 'config audit', 'audit my style', 'audit my rules', 'usage report', 'share knowledge', 'promote to team'./audit-config/audit config — Configuration & Documentation Health CheckInternal facet of the audit family — invoke via '/audit config'. Audits project configuration and docs for drift, staleness, and broken references. (Code port — ADR-094.)/audit-knowledge/audit knowledge — Knowledge Repository AuditInternal facet of the audit family — invoke via '/audit knowledge'. Scans Claude memory and plans for extractable knowledge (backlog-to-promotion review). (Code port — ADR-094.)/audit-rules/audit rules — User-Rule Mining Sub-AuditMine your distilled knowledge corpus — memory feedback rows, rules backlogs, always-on indexes — for recurring corrections that deserve promotion to numbered standing rules. Clusters by theme, verifies every quote at its source file, ranks by cross-session recurrence (at least 2 distinct sessions), and writes a rule ONLY on explicit approval. Opt-in. Trigger: '/audit rules', 'mine my corrections', 'promote my rules', 'audit my rules'.Other plugins' skills for the same job