/archetype-review-base
Shared review framework that every domain reviewer (pci, oracle, gov, edtech, healthcare, mlops, etc.) MUST follow. Defines the output artifact (TM-{slug}.md), mandatory sections, severity scale, verdict format, the workflow scaffold (when-invoked, Step-0 read-inputs, HANDOFF),
$ npx -y skills add avelikiy/great_cto --skill archetype-review-base --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/archetype-review-base
Context preview
The summary Claude sees to decide when to auto-load this skill.
Shared review framework that every domain reviewer (pci, oracle, gov, edtech, healthcare, mlops, etc.) MUST follow. Defines the output artifact (TM-{slug}.md), mandatory sections, severity scale, verdict format, the workflow scaffold (when-invoked, Step-0 read-inputs, HANDOFF),
SKILL.md
archetype-review-base.SKILL.mdname: archetype-review-base
description: Shared review framework that every domain reviewer (pci, oracle, gov, edtech, healthcare, mlops, etc.) MUST follow. Defines the output artifact (TM-{slug}.md), mandatory sections, severity scale, verdict format, the workflow scaffold (when-invoked, Step-0 read-inputs, HANDOFF), and the "domain heuristic vs generic check" boundary. Eliminates duplication across the ~30 reviewer prompts.
when_to_use: |
Apply when invoked as ANY domain reviewer:
- pci-reviewer, oracle-reviewer, gov-reviewer, healthcare-reviewer,
mlops-reviewer, ai-security-reviewer, edtech-reviewer,
enterprise-saas-reviewer, insurance-reviewer, regulated-reviewer,
marketplace-reviewer, cms-reviewer, devtools-reviewer,
library-reviewer, cli-reviewer, data-platform-reviewer,
streaming-reviewer, infra-reviewer, firmware-reviewer,
game-reviewer, web-store-reviewer, mobile-store-reviewer,
db-migration-reviewer, ai-prompt-architect, ai-eval-engineer
Do NOT apply when running security-officer general STRIDE — that's a
different review tier (cross-domain, fallback for archetypes without
a domain reviewer).
effort: medium
allowed-tools: Read, Write, Grep, Glob, Bash(git:*), Bash(bd:*)
paths:
- "docs/**"
- ".great_cto/verdicts/**"Archetype-review-base — shared review framework
Every domain reviewer follows this skeleton. Each reviewer's own SKILL.md adds the domain heuristics on top. This skill defines the parts that must be IDENTICAL across all reviewers.
Output artifact (canonical)
Pre-implementation reviewers (the `*-reviewer` agents — ~30 in `agents/` — invoked by architect BEFORE senior-dev claims tasks) write a **threat model** at `docs/sec-threats/TM-{slug}.md` and append a `<!-- HANDOFF -->` block (see "Workflow scaffold" below). That is the single convention for every reviewer.
**One TM file per feature slug.** Per-reviewer filename suffixes (`TM-api-{slug}.md`, `TM-extension-{slug}.md`) are deprecated — consumers glob `TM-{slug}.md` and per-suffix files silently escape their checks. When multiple domain reviewers run on the same slug, each APPENDS its own `## {reviewer} findings` section and its own `<!-- HANDOFF -->` block to the shared `TM-{slug}.md` — never overwrite another reviewer's sections.
The **Findings / Severity / Verdict** structure below is the CONTENT format that goes inside that artifact (and inside any post-implementation `docs/reviews/REVIEW-{slug}.md` produced by a review-tier agent). Path differs by phase; the section grammar is identical.
Mandatory report sections
The report (TM or REVIEW) MUST contain these sections in this exact order:
# TM-{slug} — {reviewer name} <!-- pre-impl; post-impl review-tier files use REVIEW-{slug} -->
Reviewed: {commit-sha or file paths or ARCH doc reference}
Standard: {regulation / framework you applied — list specific clauses}
Date: {ISO timestamp}
## Scope
2-3 sentences. What did you look at? What's intentionally out of scope?
## Findings
For each finding, use this exact format:
- **[Critical|High|Medium|Low]** {one-sentence finding title}
- Location: {file:line or component name}
- Rationale: {why this matters IN THIS DOMAIN — cite a regulation or
domain-specific best practice. Generic "could be a problem" is
rejected.}
- Remediation: {specific fix — code change, config change, or
architectural change. NOT "consider adding X" — write the exact change.}
- References: {URL or document section}
Order findings: Critical → High → Medium → Low.
If no findings at a tier, write: "_None at {tier} severity._"
## Verdict
VERDICT: {APPROVED|BLOCKED} reason="{specific reason}"Severity scale (DOMAIN-anchored)
Severity is graded against THIS DOMAIN's regulatory or correctness baseline, not generic STRIDE severity. Examples:
- A PCI reviewer rating an unencrypted PAN at REST = **Critical** (PCI
scope violation; immediate regulatory exposure)
- An oracle reviewer rating a Chainlink staleness < 1h = **High**
(likely OK now, MEV vulnerable in stress)
- A gov reviewer rating Section 508 a11y gaps = **High** (federal
contract risk; not Critical because not an immediate breach)
Cite the standard in Rationale. If you can't, the finding is probably generic and should be reduced one severity tier (the security-officer agent handles generic concerns).
Verdict rules
- `VERDICT: APPROVED` is allowed only when ALL Critical and ALL High
findings have remediation in the bd backlog. (Use `bd ready --label {your-archetype}` to check.)
- `VERDICT: BLOCKED` is required when even one Critical or High has no
remediation, OR when discovery surfaced an unknown that you couldn't resolve.
- Medium and Low findings do NOT block. Note them; pipeline continues.
Domain heuristic vs generic check
You are the SPECIALIST. Your job is the domain-specific stuff that generic STRIDE / OWASP misses. Decision rule:
| The check is about… | Belongs to | |---|---| | Card data, PCI scope, idempotency in payments | pci-reviewer | | Oracle staleness, MEV, contract upgradeability | oracle-reviewer | | PHI flows, BAA chain, FHIR/HL7 | healthcare-reviewer | | Generic XSS, SQLi, weak hashing, secrets in source | security-officer (NOT you) | | Generic "needs error handling" | senior-dev / code-reviewer (NOT you) |
If a finding is generic, mention it briefly but DON'T inflate severity. Defer to the appropriate generic reviewer.
Apply skeptical-triage
Before emitting `VERDICT: BLOCKED`, apply the `skeptical-triage` skill (3 rounds of self-challenge). False-positive BLOCKED at gate:plan wastes CTO time. Only block when 3/3 rounds confirm.
Verdict log line
After writing your report, record the canonical verdict via the helper (see `agents/_shared/verdict-format.md` — do NOT hand-write the line; the helper guarantees the format the board parser and the pipeline dispatcher both read, and `auto` records real token cost):
bash script
Read more
name: archetype-review-base
description: Shared review framework that every domain reviewer (pci, oracle, gov, edtech, healthcare, mlops, etc.) MUST follow. Defines the output artifact (TM-{slug}.md), mandatory sections, severity scale, verdict format, the workflow scaffold (when-invoked, Step-0 read-inputs, HANDOFF), and the "domain heuristic vs generic check" boundary. Eliminates duplication across the ~30 reviewer prompts.
when_to_use: |
Apply when invoked as ANY domain reviewer:
- pci-reviewer, oracle-reviewer, gov-reviewer, healthcare-reviewer,
mlops-reviewer, ai-security-reviewer, edtech-reviewer,
enterprise-saas-reviewer, insurance-reviewer, regulated-reviewer,
marketplace-reviewer, cms-reviewer, devtools-reviewer,
library-reviewer, cli-reviewer, data-platform-reviewer,
streaming-reviewer, infra-reviewer, firmware-reviewer,
game-reviewer, web-store-reviewer, mobile-store-reviewer,
db-migration-reviewer, ai-prompt-architect, ai-eval-engineer
Do NOT apply when running security-officer general STRIDE — that's a
different review tier (cross-domain, fallback for archetypes without
a domain reviewer).
effort: medium
allowed-tools: Read, Write, Grep, Glob, Bash(git:*), Bash(bd:*)
paths:
- "docs/**"
- ".great_cto/verdicts/**"Archetype-review-base — shared review framework
Every domain reviewer follows this skeleton. Each reviewer's own SKILL.md adds the domain heuristics on top. This skill defines the parts that must be IDENTICAL across all reviewers.
Output artifact (canonical)
Pre-implementation reviewers (the `*-reviewer` agents — ~30 in `agents/` — invoked by architect BEFORE senior-dev claims tasks) write a **threat model** at `docs/sec-threats/TM-{slug}.md` and append a `<!-- HANDOFF -->` block (see "Workflow scaffold" below). That is the single convention for every reviewer.
**One TM file per feature slug.** Per-reviewer filename suffixes (`TM-api-{slug}.md`, `TM-extension-{slug}.md`) are deprecated — consumers glob `TM-{slug}.md` and per-suffix files silently escape their checks. When multiple domain reviewers run on the same slug, each APPENDS its own `## {reviewer} findings` section and its own `<!-- HANDOFF -->` block to the shared `TM-{slug}.md` — never overwrite another reviewer's sections.
The **Findings / Severity / Verdict** structure below is the CONTENT format that goes inside that artifact (and inside any post-implementation `docs/reviews/REVIEW-{slug}.md` produced by a review-tier agent). Path differs by phase; the section grammar is identical.
Mandatory report sections
The report (TM or REVIEW) MUST contain these sections in this exact order:
# TM-{slug} — {reviewer name} <!-- pre-impl; post-impl review-tier files use REVIEW-{slug} -->
Reviewed: {commit-sha or file paths or ARCH doc reference}
Standard: {regulation / framework you applied — list specific clauses}
Date: {ISO timestamp}
## Scope
2-3 sentences. What did you look at? What's intentionally out of scope?
## Findings
For each finding, use this exact format:
- **[Critical|High|Medium|Low]** {one-sentence finding title}
- Location: {file:line or component name}
- Rationale: {why this matters IN THIS DOMAIN — cite a regulation or
domain-specific best practice. Generic "could be a problem" is
rejected.}
- Remediation: {specific fix — code change, config change, or
architectural change. NOT "consider adding X" — write the exact change.}
- References: {URL or document section}
Order findings: Critical → High → Medium → Low.
If no findings at a tier, write: "_None at {tier} severity._"
## Verdict
VERDICT: {APPROVED|BLOCKED} reason="{specific reason}"Severity scale (DOMAIN-anchored)
Severity is graded against THIS DOMAIN's regulatory or correctness baseline, not generic STRIDE severity. Examples:
- A PCI reviewer rating an unencrypted PAN at REST = **Critical** (PCI
scope violation; immediate regulatory exposure)
- An oracle reviewer rating a Chainlink staleness < 1h = **High**
(likely OK now, MEV vulnerable in stress)
- A gov reviewer rating Section 508 a11y gaps = **High** (federal
contract risk; not Critical because not an immediate breach)
Cite the standard in Rationale. If you can't, the finding is probably generic and should be reduced one severity tier (the security-officer agent handles generic concerns).
Verdict rules
- `VERDICT: APPROVED` is allowed only when ALL Critical and ALL High
findings have remediation in the bd backlog. (Use `bd ready --label {your-archetype}` to check.)
- `VERDICT: BLOCKED` is required when even one Critical or High has no
remediation, OR when discovery surfaced an unknown that you couldn't resolve.
- Medium and Low findings do NOT block. Note them; pipeline continues.
Domain heuristic vs generic check
You are the SPECIALIST. Your job is the domain-specific stuff that generic STRIDE / OWASP misses. Decision rule:
| The check is about… | Belongs to | |---|---| | Card data, PCI scope, idempotency in payments | pci-reviewer | | Oracle staleness, MEV, contract upgradeability | oracle-reviewer | | PHI flows, BAA chain, FHIR/HL7 | healthcare-reviewer | | Generic XSS, SQLi, weak hashing, secrets in source | security-officer (NOT you) | | Generic "needs error handling" | senior-dev / code-reviewer (NOT you) |
If a finding is generic, mention it briefly but DON'T inflate severity. Defer to the appropriate generic reviewer.
Apply skeptical-triage
Before emitting `VERDICT: BLOCKED`, apply the `skeptical-triage` skill (3 rounds of self-challenge). False-positive BLOCKED at gate:plan wastes CTO time. Only block when 3/3 rounds confirm.
Verdict log line
After writing your report, record the canonical verdict via the helper (see `agents/_shared/verdict-format.md` — do NOT hand-write the line; the helper guarantees the format the board parser and the pipeline dispatcher both read, and `auto` records real token cost):
bash script
Showing the first part of this file.
Don't buy software. Get the work done. GreatCTO ships AI autopilots that run a whole business function — medical coding, legal docs, procurement, accounting, IT, tax — from intake to outcome. A qualified human signs only the judgment calls. Live connectors, built-in compliance.
Repo: avelikiy/great_cto
Other skills on great-cto.
- /anti-patterns
Catalogue of known SDLC anti-patterns that great_cto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).
Open skill - /anydesign
Analyze images, websites, and Figma files to extract their design and generate a `design.md` with token system, component inventory, and reconstruction notes. Use this skill whenever the user wants to understand, document, replicate, or audit the design of something visual: a
Open skill - /brainstorming
Structured idea generation + multi-LLM debate for the product-owner stage. Diverge (generate genuinely different bets), debate (a 4-persona panel on 4 models argues over 2 rounds), converge (synthesize a recommendation). Used by product-owner before architect; available to
Open skill - /cost-model
Standardized cost-estimation framework for great_cto plans. Forces explicit LLM cost, infra cost, human-supervision time, and the (defensible) human-equivalent comparison. Output format is parsable by the board's /api/cost path — must follow exactly.
Open skill - /crystallize
Distils repeating patterns from session logs and lessons.md into draft skill files. Run after ≥10 sessions to extract durable knowledge. Output: draft skills/ files + promotion report.
Open skill - /decision-eval
Spawns the decision-scorer agent after architect proposes 2+ variants in an ADR. Produces a weighted scoring table and recommended choice saved to docs/decisions/.
Open skill

