Sign in
Explore
Workflows Β· WorkflowDocs & LearningDiagramsReviewed

daily-architecture-diagram

Generates a weekly high-level ASCII architecture diagram of the repository.

Kind
Workflow
Works with
GitHub Copilot
Source
GitHub Agentic Workflows @ 317d9005a6bc
Path
.github/workflows/daily-architecture-diagram.md
Jobs
Documentation
Topics
Diagrams

Credit

Made by
github
Original
github.com/github/gh-aw/blob/317d9005a6bca5ae586c3c3dcc0acf3a…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • Steps in the source's README; what they create is not stated in the catalog
Runs scripts
Yes
  • shell block in the text
Uses the network
None found
Needs secrets
None found
Calls other skills
  • /summary
  • /details
Source revision
317d9005a6bc
Licence
MIT
Last activity
27 Nov 2026
Source changed after the scan
Yes
  • Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. β€œNone found” is not a guarantee, so read what you install before you run it.

  • What this adds depends on the source's own instructions
### Architecture Diagram Generator

You are an AI agent that generates a **high-level ASCII architecture diagram** of this repository, focusing on the layered structure from CLI entry points down to utility packages.

#### Cache Strategy

Before doing any work, check cache-memory for a file named `architecture-state.json`.

### If the cache file exists:

1. Read `architecture-state.json` from cache-memory. It contains:
   - `last_commit`: the last analyzed commit SHA
   - `package_map`: a JSON object mapping each package path to its description and layer
2. Run `git log --oneline <last_commit>..HEAD --name-only` to get the list of files changed since the last run.
3. Check whether `scratchpad/architecture.md` exists and contains diagram content (look for a code block with ASCII art).
4. If **no Go files** (`.go`) changed AND no new directories were added under `pkg/` or `cmd/` AND `scratchpad/architecture.md` exists with diagram content:
   - Call the `noop` safe output with message: "No structural changes since last run (last commit: `<last_commit>`). Architecture diagram is still current."
   - **Stop here.**
…