Ref-006: Documentation System Structure & AI Workflow Integration

Type

Reference Documentation

Purpose

Defines the documentation hub structure, AI-enhanced development workflows, and template-driven documentation generation approach for the SEA-Forge™ platform powered by VibesPro™.

System Origin

Generated by VibesPro™’s HexDDD + VibePDK merger, ensuring production-ready, spec-driven guidance from project inception.

Documentation Architecture

Core Files

File Purpose
README.md Orientation and navigation guide
spec_index.md Snapshot of product requirements and design references
dev_spec_index.md Developer-focused specification overview for tooling and DX
traceability_matrix.md Living record connecting specs to implemented artifacts
commit_message_guidelines.md Traceable, spec-aware commit expectations (see REF-002)

Directory Structure

Directory Content
how-to/ Procedure-driven guides for onboarding, AI workflows, validation
docs/architecture/ Architectural decisions and domain documentation
templates/sea/docs/ Template sources for documentation generation

Generator-First Philosophy

Principle: Update the template if a guide needs to change, so future projects inherit improvements automatically.

Template Sources

AI-Enhanced Development Workflows

Core Capabilities

1. Temporal Learning

Captures architectural decisions and feeds future recommendations, forming a persistent knowledge base for AI agents.

2. Context-Aware Prompts

Ensures GitHub Copilot and MCP tools respect domain boundaries and architectural constraints.

3. Spec Enforcement

Maintains synchronization of ADR/PRD/SDS/TS references through automation.

Onboarding

See how-to/ai-onboarding.md for step-by-step walkthrough of:

Maintainer Workflows

Essential Tasks

  1. Install Dependencies & Generate Reports
    1
    2
    
    pnpm install
    pnpm spec:matrix  # Regenerate traceability reports
    
  2. Verify Prompt Governance
    1
    
    pnpm prompt:lint  # Validate before shipping updates
    
  3. Capture Architectural Decisions
  4. Maintain AI Onboarding

Template Extension Process

When New Patterns Emerge

  1. Update Template Sources
  2. Regenerate Dependent Projects
  3. Validate Changes

Integration Points

Referenced Standards

NPM Scripts

External Tools

Key Principles

  1. Template-Driven: All documentation generated from Copier templates
  2. Spec-Driven: Requirements and designs drive implementation
  3. AI-Augmented: Copilot and MCP integration by default
  4. Traceable: Living connections between specs and code
  5. Consistent: Ecosystem-wide patterns enforced via templates

VibesPro™ Platform Components

HexDDD

Hexagonal Domain-Driven Design framework providing structural patterns.

VibePDK

Platform Development Kit for AI-enhanced workflows and tooling.

Temporal Learning

Persistent knowledge capture and recommendation engine for architectural decisions.