> ~/claude-skills/portfolio-quality

A quality bar where every claim needs evidence.

Holds a project to a bar scaled to what it is: an experiment, a portfolio piece or a production candidate. It writes the spec before the code, checks twelve baseline gates (ten more when a model drives behavior), and records each as PASS, FAIL, NOT TESTED or NOT APPLICABLE next to the file, command or dated result that backs it.

Why it exists

A project meant to be shown to someone gets judged on more than whether it runs. A reader wants to know what problem it solves, whether the result can be reproduced, what was measured, and what is still unproven. Most READMEs answer none of that, and some answer it with numbers nobody measured.

This skill holds a project to a quality bar and makes every claim on it rest on evidence: a file, a command and its outcome, or a dated result. The rule underneath is short. A claim without evidence does not get written down.

Rigor follows the class

It first reads the repository and classifies the work, and says which class it chose and why.

Class What it is What applies
Experiment Narrow exploratory work Document the question, setup, results, limitations and how to reproduce
Portfolio-grade A substantive project meant for professional demonstration Every applicable baseline gate, plus the AI gates when a model drives behavior
Production-candidate Software meant for real operational use All of the above, plus a list of what real deployment still needs

It will not turn a small tool into an enterprise platform to satisfy a checklist.

Three modes

Argument What happens
(none) review when the project already has code, otherwise spec
spec Writes or updates SPECS.md before material implementation: the problem, scope, acceptance criteria with stable ids, alternatives, architecture and evaluation strategy
review Checks the gates against the actual repository and writes QUALITY.md with a verdict
case-study Writes the README so it reports the problem, the baseline, measured results, a failure scenario and the limitations

A path argument scopes the work to one project inside a monorepo.

The gates

Twelve baseline gates: business relevance, architecture, engineering quality, reproducibility, correctness, security and privacy, reliability, operability, performance and cost, delivery, documentation and executive relevance.

Ten more apply when a model or an agent materially affects behavior. They cover the evaluation set, the baseline, regression control, tracing, untrusted content and whether authority stays outside the model. They load only for projects that need them.

Each gate gets one of four statuses, and each status is defined:

Status Meaning
PASS The evidence was inspected or produced in this review, or the repository holds a dated result that still matches the code
FAIL It was checked, and the gate is not met
NOT TESTED It could not be checked here, with the reason: missing credentials, no runtime, no access
NOT APPLICABLE The gate does not apply to this project or class, with the reason

“Could not check” and “does not apply” stay apart. A claim in the README is not evidence for itself.

What you get

Verdict: CONDITIONAL

The classifier beats the keyword baseline on the versioned
evaluation set and the run is reproducible from a clean clone.
The verdict is conditional because prompt-injection behavior
was not tested and cost was estimated, not measured.

Gate                 | Status     | Evidence or reason
---------------------|------------|------------------------------
Reproducibility      | PASS       | uv.lock, .env.example; the
                     |            | quickstart was followed from
                     |            | a clean clone
Security and privacy | FAIL       | No threat model
Performance and cost | NOT TESTED | Cost per invoice is an
                     |            | estimate, not a measurement

That is from the worked example in the repository, a fictional project that ends in CONDITIONAL. The record also lists the exact commands run with their outcomes, and the gaps ordered by severity with a next step for each.

Verdicts

Verdict When
EXPERIMENT Classified as an experiment, and properly documented as one
PORTFOLIO-READY Every applicable baseline gate passes or has a justified exclusion
CONDITIONAL No material gate fails, but at least one is NOT TESTED or has a minor gap
NOT READY A material gate fails

The verdict can be CONDITIONAL, and often should be.

What it will not do

  • Write a result it did not observe. No invented clients, benchmarks, certifications or deployments. Every figure is labelled as measured, simulated, estimated or a target.
  • Move the goalposts. It never quietly redefines an acceptance criterion so that a check passes.
  • Change your scope, architecture or dependencies to satisfy a gate. It reports the gap.
  • Write SPECS.md, QUALITY.md or the README without showing the change first.
  • Call anything production-ready. PORTFOLIO-READY is not production certification.