Skip to content

Project Overview

Project Name: USM

Domain: usm.dev

Repository: https://github.com/Smith-Gray-Pty-Ltd/usm

Project Description

Universal System Map — a structured source of truth for agentic systems. A single .usm/ directory describes apps, services, features, flows, contracts, and decisions in YAML validated by a JSON Schema, and generates markdown, Mermaid, OpenAPI, ArchiMate, TOGAF, AGENTS.md, and Vitest specs.

Stakeholders

NameDescriptionNeeds
Human DeveloperReviews feature specs before approving implementation. Discusses features
with an AI agent, reviews the generated markdown, and approves or requests
changes before the agent builds.
Readable feature specs with clear intent, flows, and contracts; Checklist-format acceptance criteria for quick review; Given/When/Then test format to verify coverage
AI AgentReads .usm files via MCP tools to understand system context before
implementing features. Drafts feature specs from human discussion.
MCP tools to query system structure without reading raw YAML; Write tools to draft and update feature specs; Rules files that teach the spec-first workflow
New VisitorFinds USM on GitHub or npm and visits usm.dev to evaluate whether to use
it in their project.
Clear value proposition and workflow description; Quick start guide; Example feature specs
Team MemberJoins a project that uses USM and needs to understand the system
architecture, services, and feature inventory.
System overview with architecture diagram; Service descriptions with links to features; Local development setup guide
Technical LeadReviews system design, tracks risks and roadmap, ensures architectural
consistency across features.
Cross-cutting views — decisions, risks, roadmap; Architecture diagrams; Feature status overview (planned vs built)

Use-cases

Core features and capabilities of the system:

FeatureNameStatus
cli-initInit Commandactive
cli-scanScan Commandactive
cli-validateValidate Commandactive
cli-generateGenerate Commandactive
cli-enrichEnrich Commandactive
cli-scaffoldScaffold Commandactive
cli-scaffold-projectScaffold Project Commandactive
cli-docsDocs Serve & Buildplanned
gen-markdownMarkdown Generatoractive
gen-mermaidMermaid Generatoractive
gen-openapiOpenAPI Generatoractive
gen-archimateArchiMate Generatoractive
gen-togafTOGAF Generatoractive
gen-agentsmdAGENTS.md Generatoractive
gen-testspecsTest Specs Generatoractive
gen-feature-reviewFeature Review Markdown Generatorplanned
gen-rules-filesRules Files Generatorbuilt
gen-roadmapRoadmap Generatorin-progress
gen-docs-splitDocs Split (Help vs Developer)built
gen-help-referenceHelp Docs Reference Expansionbuilt
cli-config-outputsConfigurable Outputs + Command Conventionbuilt
cli-multi-lang-scanMulti-Language Scanner Supportplanned
mkt-language-tabsMarketing Language Tabsplanned
mcp-listMCP List Toolactive
mcp-readMCP Read Toolactive
mcp-searchMCP Search Toolactive
mcp-validateMCP Validate Toolactive
mcp-contractsMCP Contracts Toolactive
mcp-flowsMCP Flows Toolactive
mcp-referencesMCP References Toolactive
mcp-summaryMCP Summary Toolactive
mcp-writeMCP Write Toolsbuilt
agent-feedbackAgent Feedback Protocolplanned
upgradeProject Upgradeplanned
vitepress-schema-polishVitePress Docs + Schema Polishin-progress
schema-v1V1 JSON Schemaactive
data-usmconfigUSM Config Shapeactive