← all artifacts
skillv2.0.0released

System Architect

system-architect

Gate architectural change before any code is written. Use when adding a module, building a feature, creating database structure, designing a new workflow, redesigning architecture, or when a request could plausibly duplicate something that already exists.

Provenance

Derived procedure. The source project remains authoritative for its own doctrine; nothing here governs it.

Source project
Atlas Project
Snapshot
02260d7e
Source paths
  • .agents/skills/system-architect/SKILL.md
  • src/modules/ARCHITECTURE.md
  • src/skills/__tests__/system-architect-skill.test.ts
Harvested
2026-09-10
Evidence standing
known
Predecessor
system-architect (Hub Architecture Creator, pre-Foundry) — Authored in this project before its transformation into Skills Foundry. Original authorship date unknown.
Supersedes
system-architect@1.x (Hub Architecture Creator)
Superseded by
unknown

Compatibility and state

Compatible targets
GenericAtlasHTC HubAtlas Harmony Hub
Runtime needs
none declared
Dependencies
none
Tests
structural-and-fixtures-passing (last verified 2026-09-10)
Content hash
pending_export
Consumers
not_searched — No activation survey has been performed across target projects.
Transformation
Re-homed from Hub Architecture Creator. Reusable core made project-agnostic; the Atlas and HTC Hub spines moved into references/spine-placement.md and the target profiles. Absorbed the proposed spine-layer-router capability.

Files in the artifact

  • SKILL.md
  • agents/openai.yaml
  • references/spine-placement.md

Agent metadata

display_name: System Architect
summary: Gates architectural change — search first, settle ownership and spine placement, extend before inventing.
category: architecture
artifact_class: skill
when_to_use:
  - Adding a module or feature
  - Creating database structure
  - Designing a new workflow
  - Redesigning or reviewing architecture
when_not_to_use:
  - Deciding whether a concept deserves its own registry (use Registry Designer)
  - Writing the migration itself (use Migration Author)

SKILL.md

System Architect

Architecture decisions come before UI. Backend integrity outranks visual completeness. The main failure mode in a maturing system is not a missing feature — it is a second system built beside a working one.

Own the gate: nothing gets built until ownership, placement and duplication are settled.

Hard rules

  • Never duplicate existing functionality. Search before proposing.
  • Never duplicate storage. If a value already lives somewhere, reference it. Data is entered once and propagated through relationships.
  • Never create a parallel system alongside one that could be extended. Two systems for one job means both rot.
  • Model state change as events, not only row updates. Snapshots are derived.
  • Normalise relationships before adding structure. A denormalised shortcut now is a migration later.
  • Every module declares an owner and a purpose. No orphans.
  • Names are descriptive and consistent. No data, items, misc, helper.

Procedure

1. Search first — always

Duplicate systems are the main failure mode, so this step is not optional and not delegable to memory.

  1. Search the domain nouns in the request across the module root, contracts, the route tree and the database schema (rg -l, then narrow with rg -n).
  2. Search the verbs and event names too — the capability may already exist under a different name. This is the step people skip, and it is where duplicates come from.
  3. Report what already exists and how it relates, before proposing anything.

2. Answer the four ownership questions in writing

  • What does it own? Which data is it the single source of truth for?
  • What does it know? What does it read from elsewhere without owning?
  • What events does it emit? Which state changes can others react to?
  • What relationships does it maintain? Foreign keys, not copied fields.

If any answer is "the same as an existing module", extend that module. Stop.

3. Place it on the spine

The spine is the set of permanent layers the system is built from. It is stable: work extends a layer, never becomes a new one, never duplicates a layer's responsibility.

Determine the layer before writing code:

  • Does it establish or resolve who or what something is? → Identity.
  • Does it record something that happened? → Events.
  • Does it connect two things that already exist? → Relationships.
  • Does it substantiate a claim about state? → Evidence.
  • Does it govern care, permission or continuity over time? → Stewardship.

Ambiguity between two layers is a signal the concept is two concepts. Split it.

If the request maps to no layer, say so before building. Either the spine is incomplete (a doctrine change, not a feature) or the request belongs in a different system entirely.

Spines differ per project. Read the target profile (targets/<id>/profile.json) for the layer names in force, and see references/spine-placement.md for the routing table and worked cases.

4. Apply the decision order

extend an existing module
  → generalise an existing module
    → add a branch under an existing spine layer
      → (last resort) a new module with an explicit owner, purpose and event contract

Each step down costs more and must be justified against the step above it.

5. Boundary check

Orchestration layers own identity, navigation, permissions, events, evidence and interoperability, exposed as documented contracts. Product-layer features — specific industry workflows, customer-facing surfaces — do not belong there. Repositories stay separate; an orchestration layer does not consume the systems it serves.

A recorded idea for later is not authorisation to implement it now.

Pressure tests

Run all of these before shipping. Any "no" stops the work.

  • Who benefits, concretely, and can that benefit be observed?
  • Does this exist because it is needed now, or because the abstraction was elegant? Building ahead of validation is a known failure mode.
  • Is anything orphaned — a table nothing writes to, a module no layer owns, an event nothing consumes, a contract no caller uses?
  • Does it remain observable, explainable and independently auditable, in both the event and the relationship timelines?
  • If this were removed in six months, what breaks, and does anyone find out?

Worked example

Request: "add a maintenance history page for each property."

  1. Search. Nouns: property, maintenance, history. Verbs: serviced, repaired, inspected, logged. Finds a property registry and a job registry that already emits job.completed with a property relationship.
  2. Ownership. Owns: nothing new. Knows: jobs, properties. Emits: nothing. Maintains: no new relationship. Three of four answers are "the same as existing".
  3. Placement. It records nothing that happened and connects nothing new — it is a projection over the Events layer, not a member of it.
  4. Decision. Extend. No maintenance_history table; that would duplicate storage of facts the job event stream already owns. Build a derived read over existing events, filtered by property relationship.
  5. Pressure test. Nothing orphaned; benefit is observable; removal breaks only a view. Ship.

The wrong answer here — a property_maintenance table populated at job completion — looks tidier and creates two sources of truth for the same fact.

Stop conditions

Refuse and report instead of proceeding when:

  • the search finds an existing system that covers the request and the requester wants a new one anyway — state the duplication plainly, then implement the extension;
  • ownership of the data would be shared between two modules with no clear primary;
  • the request requires copying a field that another module owns;
  • the request maps to no spine layer;
  • the requested shape violates an invariant above. Raise the tradeoff plainly, then proceed with the architecturally sound version of the same intent.