Source profileQuality 93/100

OpenDigitalProductFactory/opendigitalproductfactory/packages/dpf-skill-pack/skills/dpf-architecture-review/SKILL.md

dpf-architecture-review

Use when reviewing or updating a DPF specification, design doc, or implementation plan for architectural alignment — in Build Studio planning/review or during external Claude/Codex development. Applies the chief-architect lens: canonical contracts, data-model stewardship, kernel principles, and standards research, producing advisory findings with concrete spec edits.

Source repository stars
13
Declared platforms
1
Static risk flags
0
Last source update
2026-08-25
Source checked
2026-08-25

Decision brief

What it does: where it fits

When a specification, design doc, or implementation plan is on the table in the DPF codebase, run it through the chief-architect lens before it becomes code. You are the Enterprise Architect persona doing spec review — not a new role. The job is to measure the spec against DPF's…

Best for

  • Reviewing a Build Studio design doc or implementation plan for architectural fit.
  • Authoring or revising a spec under docs/superpowers/specs/ and you want an alignment pass before it ships.
  • An external coding agent (Claude / Codex) has drafted a spec and needs the DPF architecture check before implementation.

Not for

  • You need a pass/fail gate decision — this skill is advisory; the design/plan checklist reviewers own the gate.
  • The question is a pure 2-4 option trade-off with no spec to review — use dpf-decision-via-kernel instead.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexDeclaredSource recordInstall path and trigger
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/OpenDigitalProductFactory/opendigitalproductfactory --skill "packages/dpf-skill-pack/skills/dpf-architecture-review"
Safe inspection promptEditorial

Inspect the Agent Skill "dpf-architecture-review" from https://github.com/OpenDigitalProductFactory/opendigitalproductfactory/blob/82c0d248d6bdaf0ea83dfdbdd785c771ffa0acaa/packages/dpf-skill-pack/skills/dpf-architecture-review/SKILL.md at commit 82c0d248d6bdaf0ea83dfdbdd785c771ffa0acaa. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    When to use

    Reviewing a Build Studio design doc or implementation plan for architectural fit.

    Reviewing a Build Studio design doc or implementation plan for architectural fit.Authoring or revising a spec under docs/superpowers/specs/ and you want an alignment pass before it ships.An external coding agent (Claude / Codex) has drafted a spec and needs the DPF architecture check before implementation.
  2. 02

    When NOT to use

    You need a pass/fail gate decision — this skill is advisory; the design/plan checklist reviewers own the gate.

    You need a pass/fail gate decision — this skill is advisory; the design/plan checklist reviewers own the gate.The question is a pure 2-4 option trade-off with no spec to review — use dpf-decision-via-kernel instead.The work is a code-level correctness or style review — use /code-review.
  3. 03

    Read first

    Measure the spec against these reference standards. They are the curated DPF set; when the spec touches an area they do not cover, research the topic's external standards and cite them.

    Measure the spec against these reference standards. They are the curated DPF set; when the spec touches an area they do not cover, research the topic's external standards and cite them.
  4. 04

    Enforces

    kernel/principles/architecture-over-shortcuts — the spec should choose the architecturally sound shape; a shortcut that bypasses the design is a finding, not a pass.

    kernel/principles/architecture-over-shortcuts — the spec should choose the architecturally sound shape; a shortcut that bypasses the design is a finding, not a pass.kernel/principles/single-source-of-truth — each rule, fact, or model lives in exactly one place; flag any duplication of an existing model or rule.kernel/principles/research-and-use-standards — cite the standard; recommend it unless there is a project-specific reason to deviate. Research the topic when the curated refs don't cover it.
  5. 05

    Steps

    1. Read the spec and the relevant refs. Pull the spec (file or Build Studio artifact). From the Read-first table, load the references the spec's topic touches. Use mcpdpfwikiquery for principles and mcpdpfsearchspecsandplans for prior designs the spec should extend.

    Read the spec and the relevant refs. Pull the spec (file or Build Studio artifact). From the Read-first table, load the references the spec's topic touches. Use mcpdpfwikiquery for principles and mcpdpfsearchspecsandpla…Research the topic's standards. If the spec covers an area the curated refs don't (a new protocol, a third-party contract, an industry pattern), use WebSearch / WebFetch to read the actual standard or current docs — do…Run the alignment checks.

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score93/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars13SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
OpenDigitalProductFactory/opendigitalproductfactory
Skill path
packages/dpf-skill-pack/skills/dpf-architecture-review/SKILL.md
Commit
82c0d248d6bdaf0ea83dfdbdd785c771ffa0acaa
License
Apache-2.0
Collected
2026-08-25
Default branch
main
View the original SKILL.md

DPF Architecture Review (Chief-Architect Lens)

When a specification, design doc, or implementation plan is on the table in the DPF codebase, run it through the chief-architect lens before it becomes code. You are the Enterprise Architect persona doing spec review — not a new role. The job is to measure the spec against DPF's canonical standards, surface architectural alignment and concerns with concrete edits, and feed any new standard your research uncovers back into the reference docs.

This review is advisory. You surface findings and propose spec edits; you never block a build gate. In Build Studio you are the architect branch at the Ideate and Plan gates (its findings ride along on review.architectureAdvisory); for external Claude / Codex work you run this skill directly against the spec file.

When to use

  • Reviewing a Build Studio design doc or implementation plan for architectural fit.
  • Authoring or revising a spec under docs/superpowers/specs/ and you want an alignment pass before it ships.
  • An external coding agent (Claude / Codex) has drafted a spec and needs the DPF architecture check before implementation.
  • Someone asks "does this fit our architecture?", "is this the right place for X?", or "are we duplicating something?".

When NOT to use

  • You need a pass/fail gate decision — this skill is advisory; the design/plan checklist reviewers own the gate.
  • The question is a pure 2-4 option trade-off with no spec to review — use dpf-decision-via-kernel instead.
  • The work is a code-level correctness or style review — use /code-review.
  • You have not yet gathered repo/backlog/spec context — run dpf-retrieve-decision-context first, then return here.

Read first

Measure the spec against these reference standards. They are the curated DPF set; when the spec touches an area they do not cover, research the topic's external standards and cite them.

SourcePathWhat to extract
Agent rulebookAGENTS.mdCanonical contracts, strongly-typed enums, data-model stewardship (§11), deployment doctrine (§2), single-source-of-truth
Kernel principlesdocs/founder-kernel/wiki/principles/architecture-over-shortcuts, single-source-of-truth, schema-audit-before-features, organization-canonical-identity, principal-convergence (also via mcp__dpf__wiki_query filtered on pageKind='principle')
Platform usability standardsdocs/platform-usability-standards.mdTheme-aware styling, progressive disclosure, wizard-first setup
Deployment contractsdocs/superpowers/specs/2026-05-09-deployment-contracts.mdThe canonical deployment contracts every substrate must wrap
Unified connector kerneldocs/architecture/unified-connector-kernel.mdConnector lifecycle, capability discovery, safe failures, third-party reads/backfill, and domain-adapter boundaries
Federation discovery and pairingdocs/superpowers/specs/2026-07-19-federated-demand-network-design.mdmDNS/DNS-SD discovery, authenticated pairing, routed discovery, topology, and distributed revision/conflict standards
Existing specs/plansmcp__dpf__search_specs_and_plansPrior designs the spec must extend rather than duplicate
The spec under reviewauthor-provided path or Build Studio designDoc / buildPlanThe actual problem, data model, approach, and decomposition

Enforces

  • kernel/principles/architecture-over-shortcuts — the spec should choose the architecturally sound shape; a shortcut that bypasses the design is a finding, not a pass.
  • kernel/principles/single-source-of-truth — each rule, fact, or model lives in exactly one place; flag any duplication of an existing model or rule.
  • kernel/principles/research-and-use-standards — cite the standard; recommend it unless there is a project-specific reason to deviate. Research the topic when the curated refs don't cover it.
  • kernel/principles/schema-audit-before-features — before any new model, audit the existing schema for a model to extend (Organization for identity, Principal/PrincipalAlias for identity-bearing entities).
  • Scalability is a standing review dimension (facet of architecture-over-shortcuts) — a design is not sound merely because it works at demo scale. Unbounded queries, silent caps/truncation, O(N²) mesh fan-out, and full-inventory-per-cycle work are findings; every design names the scale ceiling it holds and the epic that lifts it. (A real cliff this exists to catch: a federated-demand digest shipped with take: 1_000 and no cursor, silently dropping records past the first batch — invisible at two installs, fatal at scale.)
  • Data architecture / normal form is a standing review dimension — proper normalization, one authoritative home per fact, canonical-model extension over parallel tables; any denormalization must be explicit and justified.

Steps

  1. Read the spec and the relevant refs. Pull the spec (file or Build Studio artifact). From the Read-first table, load the references the spec's topic touches. Use mcp__dpf__wiki_query for principles and mcp__dpf__search_specs_and_plans for prior designs the spec should extend.

  2. Research the topic's standards. If the spec covers an area the curated refs don't (a new protocol, a third-party contract, an industry pattern), use WebSearch / WebFetch to read the actual standard or current docs — do not guess. Note what you adopt and what you reject, with sources.

  3. Run the alignment checks.

    • Data model: does it EXTEND a canonical model or create a parallel table? (schema-audit-before-features, organization-canonical-identity, principal-convergence.)
    • Data architecture / normal form (REQUIRED): is state properly normalized — one authoritative home per fact, no duplicated/denormalized source of truth? Are keys, foreign keys, and cardinality right? Does any denormalization carry an explicit, justified reason (e.g. a read model), or is it accidental? A parallel table where a canonical model should be extended is a finding.
    • Scalability (REQUIRED — this dimension is not optional; a design that works at small N but not at the platform's intended scale is a finding, not a pass): is every query/collection bounded (NO unbounded take/findMany, no silent caps/truncation — page or cursor large sets, or warn)? Does it avoid O(N²) fan-out (a mesh that should be a hub/introducer) and full-inventory-per-cycle work (prefer delta/incremental)? Name the scale ceiling the design holds to and the epic that lifts it. DPF targets an eventual future of many thousands→millions of sovereign installs; review against that, not the two-install demo.
    • Single source of truth: is any rule/fact/decision duplicated from somewhere it already lives?
    • Substrate fit: does it sit on the right route/lib/tool, or invent a bespoke parallel one?
    • Enums & contracts: do string-enum columns match the canonical registry (hyphens, not underscores)? Does it wrap the deployment contracts?
    • Shortcut vs architecture: is the chosen shape the sound one, or a debt-creating quick fix?
    • Blast radius: name what else changes — concrete elements, not handwaving.
  4. Escalate genuine trade-offs. If a finding hinges on a 2-4 option decision the kernel can weigh (e.g. eager vs lazy materialization), hand it to dpf-decision-via-kernel / mcp__dpf__principle_decide rather than asserting one answer.

  5. Propose concrete spec edits. Every finding gets a suggestion: the exact change to the spec (which section, what to write), not just "this is wrong".

  6. Capture reference-doc feedback. If your research surfaced a standard worth keeping that the reference docs don't yet capture, record one [reference-doc] finding naming the doc and the gap. Build Studio auto-files each [reference-doc] finding as an ImprovementProposal (category process) via promoteReferenceDocFindings; on external surfaces, call mcp__dpf__propose_improvement with the same shape so the finding becomes a row, not prose buried in a review. The weekly canonical-improvement digest batches those rows into a single doc chore for human-approved AGENTS.md / principle / SKILL.md PRs (process-spine §6.5).

Output template

**Architecture review (advisory) — <spec title>.**

- Alignment summary: <one sentence — well-aligned / aligned with concerns / misaligned>
- Findings:
  - [critical|important|minor] <concern> → suggestion: <concrete spec edit>
  - ...
- Standards researched: <ref or external source + URL, what was adopted/rejected>  (if any)
- Reference-doc feedback: [reference-doc] <doc> — <gap to add>  (if any)
- Escalated decisions: <option trade-offs handed to dpf-decision-via-kernel>  (if any)
- Recommended next step: <fold edits into spec | proceed as-is | escalate decision X>

State clearly when the spec is well-aligned — a clean architecture review is a real and useful result, not a failure to find problems.

Guardrails

  • Advisory, never a gate. Do not phrase findings as build blockers. The design/plan checklist reviewers own pass/fail; you sharpen the spec.
  • No finding without a suggestion. "This is misaligned" with no concrete edit is noise. Name the section and the change.
  • Don't invent substrate. Before flagging "needs a new X", confirm X doesn't already exist (compose dpf-verify-substrate-first). The most common architecture-review error is recommending a parallel structure for something the platform already has.
  • Ground every claim. Cite the ref path, principle slug, or external URL. Don't assert "best practice" in the abstract (research-and-use-standards).
  • Don't smuggle in decisions. A real 2-4 option trade-off goes through the kernel, not your gut.

Worked example (2026-05-27)

A spec proposed adding the chief-architect reviewer to Build Studio and persisting its findings in a new ArchitectureReview table keyed to each FeatureBuild.

Architecture review (advisory):

  • Alignment summary: aligned with concerns.
  • Findings:
    • [important] New ArchitectureReview table duplicates state that already has a canonical home — FeatureBuild.designReview / .planReview are JSON columns carrying the review result. → suggestion: nest the advisory on the existing ReviewResult as architectureAdvisory; no migration, and every data: { review } tool response carries it for free. (single-source-of-truth, schema-audit-before-features.)
    • [minor] The reviewer was framed as a new chief-architect agent. → suggestion: reuse the existing ea-architect (AGT-WS-EA) persona, which already owns architecture conformance and ADRs. (verify-substrate-before-proposing-new.)
  • Recommended next step: fold both edits into the spec before building.

The team adopted both. The advisory turned a two-table, new-agent design into a zero-migration extension of existing substrate — exactly the maintainability win architecture-over-shortcuts predicts, caught before any code was written.

See also

Frequently asked questions

What to verify before installation and use

What does the dpf-architecture-review source document cover?

When a specification, design doc, or implementation plan is on the table in the DPF codebase, run it through the chief-architect lens before it becomes code. You are the Enterprise Architect persona doing spec review — not a new role. The job is to measure the spec against DPF's…

How do I install dpf-architecture-review?

The source record exposes this install command: npx skills add https://github.com/OpenDigitalProductFactory/opendigitalproductfactory --skill "packages/dpf-skill-pack/skills/dpf-architecture-review". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: codex.

Alternatives

Compare before choosing

Computed 9420

upex-galaxy/agentic-qa-boilerplate

test-documentation

Analyze, prioritize, and document test cases in TMS (Jira/Xray), or repair an existing Story-ATS-ATP-ATR-TC cascade through a sealed explicit mode. Use for Test/ATP/ATR artifacts, ROI and automation verdicts, maintaining traceability, fix-traceability, or broken TMS links. The repair-traceability mode audits, plans, waits for explicit approval, applies, and verifies without launching the general documentation workflow. Do NOT use for writing test code (test-automation) or running suites (regress

Computed 9916

NintendaDev/unikit-ai

unikit-docs

Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th

Computed 9817

eugenelim/agent-ready-repo

work-loop

Use when implementing or resuming a non-trivial repository change: a feature, behavior-changing fix, refactor, migration, framework or dependency upgrade, schema or API change, performance work, infrastructure or build-system change, reversion, or an existing build spec under `docs/specs/`. Also use for bare continuation commands ('resume', 'continue', 'keep going', 'pick up where I left off', 'let's get going') when conversation or workspace context identifies active build work. Do not use for

Computed 9739

objectstack-ai/objectstack

objectstack-ui

Author ObjectStack UI metadata — Views (list/form/kanban/calendar/gantt), Apps (navigation), Pages (structured plus the HTML and React source-authoring tiers, ADR-0080/0081), Dashboards, Reports, Charts, Actions, and package Docs (`src/docs/*.md`). Use when the user is adding `*.view.ts` / `*.app.ts` / `*.dashboard.ts` / `*.action.ts` / `src/docs/*.md` files or designing a Studio-rendered UI surface, including dataset-bound dashboard/report widgets. Do not use for: data schema (see objectstack-d