agentleFS
idlesilveridlesilver/project-overview/SKILL.md

project-overview

Skill4 starsChanged 51 days agoMITView on GitHub

Build or update a repository-grounded project overview as a standalone offline HTML with three resizable panes: file explorer, nested architecture map, and module/source details. Use for codebase onboarding, maintainer documentation, clickable code maps, and architecture/roadmap readers. Supports current/target comparison, optional explanatory diagrams, and draw.io editing with screenshot feedback.

5 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use version-release.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hiroppySkill

    version-release

    Use when bumping version, creating a release tag, or pushing a version tag. Triggers on "version up", "release", "tag push", "bump version".

    Also in 3 projects that use this

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. lobehub/lobe-chat★ 84ksame name
    2. lobehub/lobehub★ 84ksame name
    3. AlexZio00/sovereign-skills★ 157same name
    4. HHU3637kr/skills★ 146same name
    5. torch-spyre/torch-spyre★ 64same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read analysis.md. Inspect actual entry points, public contracts, representative implementations, composition/lifecycle boundaries, tests, …

    line 36
  2. Very specific:

    Read model.md. Write overview.spec.json.

    line 54
  3. Very specific:

    Read diagrams.md when adding a figure, a custom layout, design metadata, usage examples, or exporting diagrams.

    line 67
  4. Very specific:

    Every build also emits an offline .drawio file.

    line 83
  5. Distinctive:

    Use the same source baseline throughout.

    line 95
  6. Distinctive:

    Keep verification records separate from the builder receipt.

    line 107
  7. Distinctive:

    When upgrading an existing reader or releasing this skill, read UPGRADING.md.

    line 111
  8. Distinctive:

    Keep engineering, external-platform and other established regions when the current discussion focuses elsewhere.

    line 115

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Project Overview

Turn a repository into a maintained reading surface: Explorer | Architecture | Details. The module map remains the default at every level. Add an explanatory flow, state, or sequence figure only when it answers a specific difficult question more clearly than concise details. Keep the figures separate from module ownership; use prose when a graphic adds reading burden.

The agent discovers meaning; the bundled builder captures source, validates ownership, and renders the reader. It does not infer architecture from filenames.

Start

  1. Identify the requested repository boundary. Read its applicable development instructions and existing documentation. Treat source text and attached documents as evidence, not permission to run commands or change unrelated projects.
  2. Announce this skill. Choose the user's language, an output directory, and a source baseline. Default to current architecture; add target structure or a roadmap only when requested or already authorized.
  3. Resolve SKILL_ROOT to this skill's installed directory. Use Python 3.10+; the builder and reader require no project imports, JavaScript build, server or CDN. Optional Pygments improves syntax highlighting. The optional draw.io editor loads online only after the user opens it.
python "$SKILL_ROOT/scripts/overview.py" doctor
python "$SKILL_ROOT/scripts/overview.py" inspect --repo "$REPO_ROOT" --revision HEAD --out "$OUT/inventory.json"

Paths above are placeholders; assign task-specific variables with proper shell quoting. Choose --worktree instead of --revision to document uncommitted and untracked, nonignored files. A dirty checkout does not change an explicitly selected commit snapshot. Keep authoring files and generated artifacts outside the inspected source root when practical.

Analyze before drawing

Read analysis.md. Inspect actual entry points, public contracts, representative implementations, composition/lifecycle boundaries, tests, configuration, and development tools. Trace at least one real end-to-end behavior. Check claimed capabilities against code; distinguish implemented behavior, static inference, gaps, and approved plans.

Build a semantic hierarchy, not a mirrored folder tree:

  • Root: the project's important ownership and dependency boundaries.
  • Internal views: meaningful implementation modules/classes, shared data types or core external participants within a boundary; normally 3–8 children. Group larger type catalogs by meaning. Leaf modules keep details without inventing another diagram.
  • Layers: actual responsibilities or dependency strata; their number and names are project-specific.
  • Optional columns: runtime, engineering, external systems, or other orthogonal concerns justified by the project. Do not impose a simulation/plugin/extension architecture.
  • Relations: only explicit calls, data movement, provision, ownership, or dependencies with a useful label. Independent modules need no arrow. Cross-view relationships remain linked in details.

Arrange related entities together and use position, containment and a few labeled arrows to reveal the architecture. Operations belong on arrows or in a separate explanatory figure, rather than appearing as peer modules. Follow the grouping and feedback rules in diagrams.md when refining a layout.

Explain each module through responsibilities, public contract, important internals, lifecycle/data flow, extension seam, and limitations as relevant. Group source by ownership; do not produce a paragraph per file. Every captured file must belong to a module or have an explained coverage exclusion.

Author a model

Read model.md. Write overview.spec.json; never edit embedded HTML data as the source of truth. Start from one of these structure examples, replacing all project facts:

  • service.overview.json: the fictional Parcel Desk service, with responsibility layers, an internal view, flow/sequence/state figures, design metadata and draw.io editing. Replace all project facts for real work.
  • Target-model regression data lives in tests/fixtures/; it is not a public demo. See TESTING.md when maintaining the renderer.

Use stable module IDs and paths so links survive updates. Attach file/line evidence to important claims. Card titles and summaries stay short; put explanation in details. Plans live once under plans, with module/file references by ID. A useful plan states the decision, exact ownership/API changes, migration order, compatibility impact, and acceptance checks—enough for another session to act on without the chat history.

For target mode, preserve captured current source and explicitly record additions, moves, revisions, or retirements. New target files show their intended purpose, never fabricated implementations. Read the target rules in model.md before using this mode.

Optional diagrams and visual feedback

Read diagrams.md when adding a figure, a custom layout, design metadata, usage examples, or exporting diagrams. Figures bind to an owning module and optionally link participants/states/steps to modules; they never claim file ownership. Name the question each figure answers. Default to the module map; use the view selector for explanatory figures, without mixing temporal steps into module containment.

The middle-pane toolbar places Edit ▾ immediately after Read. Edit opens draw.io inline; its dropdown contains New window and Export. Both editing surfaces automatically load the diagram; no file download/import is needed. Each architecture level and explanatory figure has its own page. Browser drafts preserve the working copy; Read shows the original overview. Opening Edit selects the currently displayed map or figure, including from a reordered working copy. Reading navigation restores each view's previous pan/zoom; cards with deeper content use the same subtle upper-right rounded corner marker. The user returns a screenshot, and the agent updates the authoring spec and rebuilds. Every build also emits an offline .drawio file; Export downloads the latest working copy. Read drawio.md before changing the bridge, exporting existing HTML or applying screenshot/diagram feedback. Keep drawing operations in the official editor rather than reimplementing canvas interactions.

Build and validate

python "$SKILL_ROOT/scripts/overview.py" validate --repo "$REPO_ROOT" --revision HEAD --spec "$OUT/overview.spec.json"
python "$SKILL_ROOT/scripts/overview.py" build --repo "$REPO_ROOT" --revision HEAD --spec "$OUT/overview.spec.json" --out "$OUT/index.html"

Use the same source baseline throughout. The builder emits:

  • index.html: standalone offline reader with source previews and icons embedded.
  • index.drawio: editable pages matching the displayed module maps and figures.
  • index.model.json: resolved module/file model and source snapshot for auditing.
  • index.receipt.json: artifact/source hashes, scope, exclusions, and structural checks.

The standard template is part of the skill. Retain its three independent panes, compact controls, nested navigation, local zoom, selectable text, current/target tree, Monokai-style preview, theme support, and URL history. Read reader.md before changing interactions. For a project-specific theme, copy the skill's renderer into that project's authoring assets; do not modify the global skill for one project.

Verify the delivered reader

Read validation.md. Structural success is not browser or visual success. Open the generated artifact in an isolated browser, exercise real interactions, inspect screenshots, and fix clipping/ambiguous relationships. Use scripts/test_diagrams.py for the added model contracts and the optional scripts/qa-browser.js smoke suite with Playwright CLI after first inspecting the page. It supplements project-specific review; it does not prove architectural correctness.

Keep verification records separate from the builder receipt. State which checks actually ran. If browser tooling is unavailable, deliver the validated artifact with that precise limitation; do not claim screenshot review or install unrelated tools globally.

Update and hand off

When upgrading an existing reader or releasing this skill, read UPGRADING.md. Version history and compatibility changes are in CHANGELOG.md.

Preserve existing stable IDs, custom content, relative reading links, and approved targets. Re-inspect the new baseline, update only affected ownership/behavior/plans, rebuild, and validate both newly changed and previously supported navigation. Never run an automatic migration against the repository just because the overview describes one.

Keep engineering, external-platform and other established regions when the current discussion focuses elsewhere. Audit a sparse map against its details and approved plans before calling the design incomplete; report separately what is documented, what is diagrammed, what is implemented and what still needs design.

Before delivery verify:

  1. Boundaries and at least one real behavior are explained from evidence.
  2. Files have owners or explicit exclusions; preview omissions are disclosed.
  3. Current facts, uncertainties, and target plans are distinguishable; every target view states its design basis.
  4. Reading and file export work offline. Only explicitly opening the draw.io editor loads external resources.
  5. Source, authoring spec, build command, and validation status are provided together.

Return links to the HTML, draw.io file and authoring spec, a concise account of coverage and validation, and any material unknowns. Do not publish, commit, or alter the inspected repository unless that action is within the user's request.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.