Guide Architecture

SkillDev tools

Guide a user through a software architecture target by composing context selection, structure inspection, optional translation, explanation sequencing, active-understanding validation, and User-ledger update proposals.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Guide Architecture skill

What this skill tells your AI

The instructions your AI receives, as published by cyberalchemyai/arcanum in .claude/skills/guide-architecture/SKILL.md and read by ahel’s review.

Identity

  • Canonical ID: guide-architecture
  • Aliases: guide architecture, /guide this architecture
  • Scope: library
  • Lifecycle owner: spellcraft
  • Status: candidate

Purpose

Guide a user through a software architecture target by composing context selection, structure inspection, optional translation, explanation sequencing, active-understanding validation, and User-ledger update proposals.

This spell is the first narrow slice of the broader Guide family. It is intentionally architecture-specific so it can be validated before generalizing to a generic guide spell.

Source Handoff

SourceRole
development/user-guide/packages/guide/SPELLCRAFT-HANDOFF.mdApproved spellcraft handoff selecting guide-architecture.
development/user-guide/packages/guide/GUIDE-ROUTE-FIXTURE.mdStatic route fixture for /guide this architecture.
development/user-guide/packages/guide/DISPATCH-GOVERNANCE.mdDispatch budget and stop-condition seed.
development/user-guide/packages/translate/GUIDE-CALL-CONTRACT.mdTranslate call boundary.
development/user-guide/packages/user-ledger/USER-LEDGER-SCHEMA.ymlUser-ledger handle and receipt boundary.

Trigger Conditions

Use this spell when:

  • the user asks to understand a software architecture, architecture decision, dependency boundary, system structure, or design trade-off,
  • the target is an artifact, code area, diagram, decision note, work-pack, or architecture package,
  • the user wants explanation rather than implementation,
  • vocabulary/domain translation may help understanding,
  • a guide receipt should propose User-ledger updates after clarification.

Do not use this spell when:

  • the user asks for code mutation or task execution,
  • the target is not architecture-shaped,
  • the request needs broad learning design rather than one architecture guide route,
  • the user asks for canonical definition promotion.

Required Sigils

Sigil / CapabilityStatusRole
context-buildercanonicalSelect bounded target context and source anchors.
x-raycanonicalExplain hidden architecture structure when needed.
inventorycanonicalLook up existing concept, artifact, or architecture evidence when needed.
decision-gatecanonicalResolve blocker-level choices such as unsafe route breadth or missing target scope.
user-ledgerlocal candidateProvide user handles and receive update proposals.
translatelocal candidateMap architecture concepts into a source-domain vocabulary while preserving target truth.

Optional Sigils

Sigil / CapabilityUse When
architecture-pattern-inventoryReusable architecture patterns or relations need lookup.
task-sessionA later approved work-pack asks to execute a bounded Guide implementation task.
experiment-harnessReusable prompt fixtures or live validation examples are run.
signal-observerSpell-level run telemetry should be recorded.
workflow-reflectRepeated Guide telemetry suggests workflow revisions.

Prerequisites

  • Target architecture artifact or bounded repository area.
  • Context Builder can select source context or name the missing target scope.
  • User-ledger fixture handles exist or the route can proceed with no user handles.
  • Translate contract exists when a vocabulary/domain bridge is needed.
  • No live research or subagent dispatch occurs unless dispatch budget and stop conditions are explicit.

Shared State

StateOwnerUpdated ByConsumed By
Guide route frameguide-architecturephase 1all later phases
Architecture context packcontext-builderphase 2x-ray, translate, explanation assembly
Structure notesx-ray or local inspectionphase 2explanation assembly
Translation receipttranslatephase 3guide receipt and explanation assembly
User handles and update proposalsuser-ledgerread in phase 1; proposed in phase 6translate and future guide sessions
Guide receiptguide-architecturephase 6user-ledger and observability

Execution Phases

Phase 1: Frame Target And User Goal

Input:

  • user request,
  • target artifact or target scope,
  • optional user handles.

Output:

  • guide request frame with target_ref, target_type, user_goal, and known handles.

Gate:

  • Block if no architecture target or target scope can be identified.

Failure policy:

  • Ask for the target artifact or return a route menu: architecture artifact, repo area, decision note, or diagram.

Phase 2: Select Context And Inspect Architecture

Input:

  • guide request frame,
  • target artifact/scope.

Output:

  • bounded context pack,
  • structure notes: boundaries, dependencies, data, behavior, failure modes, and open uncertainties.

Gate:

  • Block when context is missing or contradictory.
  • Flag when structure is inspectable but incomplete.

Failure policy:

  • Route to context-builder or x-ray; preserve missing context as residue rather than inventing structure.

Phase 3: Translate When Needed

Input:

  • structure notes,
  • user handles,
  • target concept.

Output:

  • Translate request and optional Translate receipt.

Gate:

  • Translate must include target-domain definition and mapping limits.
  • Translate must return research_need rather than dispatching research itself.

Failure policy:

  • If Translate is unavailable, continue with target-domain plain explanation and record a translation gap.

Phase 4: Assemble Guide Explanation

Input:

  • structure notes,
  • optional translation receipt,
  • target-domain definitions.

Output:

  • ordered guide sections:
    1. concrete frame,
    2. structure map,
    3. target-domain definition,
    4. mapping limits,
    5. system-thinking abstraction,
    6. next reasoning move.

Gate:

  • Do not hide uncertainty or omit mapping limits.

Failure policy:

  • Return a flagged explanation with explicit unresolved gaps.

Phase 5: Validate Understanding

Input:

  • guide explanation.

Output:

  • active evidence prompt.

Gate:

  • Passive "I understand" can only support clarified, not mastered.

Failure policy:

  • If the user declines active evidence, emit a clarified-only receipt proposal.

Phase 6: Emit Guide Receipt

Input:

  • route frame,
  • explanation sections,
  • validation response status,
  • translation receipt.

Output:

  • Guide receipt with proposed User-ledger update.

Gate:

  • User-ledger writes remain proposals unless accepted by the User-ledger owner/rules.

Failure policy:

  • Record residue instead of forcing a concept-state update.

Handoff Artifacts

  • development/user-guide/packages/guide/GUIDE-ROUTE-SCHEMA.yml
  • development/user-guide/packages/guide/GUIDE-ROUTE-FIXTURE.md
  • development/user-guide/packages/guide/GUIDE-TRANSLATE-INTEGRATION.md
  • development/user-guide/packages/guide/DISPATCH-GOVERNANCE.md
  • spells/guide-architecture/development/VALIDATION-EXPERIMENT.md
  • spells/guide-architecture/development/VALIDATION.md
  • spells/guide-architecture/development/fixtures/ARCHITECTURE-BOUNDARY-GUIDE.md

Gates

Gate IDConditionOn Fail
GA-G01Target scope is architecture-shaped and bounded.block
GA-G02Context selection cites source artifacts or explicitly flags missing context.block
GA-G03Translate output preserves target-domain definition and mapping limits.flag
GA-G04No live research/subagent dispatch without explicit budget and stop conditions.block
GA-G05User-ledger update remains a proposal, not a direct write.block
GA-G06Mastery requires active evidence.flag

Failure Policy

  • Missing target: block and ask for target scope.
  • Missing context: block before explanation.
  • Missing Translate capability: flag and continue only with target-domain explanation.
  • Unsafe analogy: flag and preserve target-domain definition.
  • User memory write attempted directly: block.
  • Runtime dispatch requested without budget: block.

Local Customization

This library spell currently references user-ledger and translate as local candidate packages under development/user-guide/packages/. When those candidates become canonical sigils, update this spell to reference their canonical IDs.

Observability

Record spell-level telemetry when available:

  • target type,
  • context source count,
  • phases attempted,
  • Translate called or skipped,
  • x-ray/inventory called or skipped,
  • gates passed/flagged/blocked,
  • guide receipt emitted,
  • user-ledger proposal emitted,
  • validation prompt outcome,
  • unresolved residue.

Output Contract

Return:

## Guide Architecture Result

- Spell: guide-architecture
- Target: <artifact or scope>
- Status: pass | flag | block
- Context: <context pack or blocked reason>
- Translate: <called | skipped | unavailable | flagged>
- Explanation sections: <count>
- Active evidence prompt: <prompt or none>
- Guide receipt: <path or summary>
- User-ledger proposal: <summary or none>
- Residue: <items or none>
- Next route: continue | translate | user-ledger | task-session | decision-gate | stop

Signals

GitHub stars
25
Forks
3
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
guide-architecture
Source
github.com/cyberalchemyai/arcanum