workspace "Miyorgi C4: model, visualise, share" {
 model {
  author = person "Architect" "Explores and improves the architecture."
  agent = softwareSystem "Coding agent" "Uses the C4 skill to help model architecture."
  miyorgi = softwareSystem "Miyorgi C4" "Helps turn architecture conversations into diagrams." {
   skill = container "C4 skill" "Instructions that guide the coding agent." "Markdown files" {
    tags "Files"
   }
   model = container "Architecture model" "Editable architecture and view definitions." "Structurizr DSL file" {
    tags "Files"
   }
  }
  author -> agent "Discusses architecture with"
  agent -> skill "Reads modelling guidance from"
  agent -> model "Updates"
 }
 views {
  systemContext miyorgi "Context" {
   title "Miyorgi C4"
   description "Public product view: the architect works with a coding agent and Miyorgi."
   include *
  }
  container miyorgi "Containers" {
   title "Model architecture with the skill"
   description "A focused first step: the agent reads skill instructions and edits the model. Visualisation is added next."
   include *
  }
  styles {
   element "Person" {
    shape Person
   }
   element "Files" {
    shape Folder
   }
   element "CLI" {
    shape Terminal
   }
   element "Browser" {
    shape WebBrowser
   }
  }
 }
}
