agentleFS
ArvindChanderArvindChander/skill-lab/project-understanding/SKILL.md

project-understanding

Skill1 starsChanged 4 months agoMITView on GitHub

Explain code, components, folders, repositories, or whole projects with source-grounded teaching, onboarding, architecture, status, artifacts, risks, and next steps. Use for code walkthroughs, repository overviews, advanced README or onboarding documents, architecture explanations, project briefings, diagnostic questions, or requests to understand how a project works. Handles pasted snippets directly and can use an existing Understand Anything, GitNexus, Graphify, or similar code-intelligence index as an optional backend for large repositories. Do not use for a diagram-only request or a code review whose main goal is finding defects.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. abolhassani-dev/claude-skills★ 0same 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.

  • In this repository5 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 12 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the complete target before explaining it.

    line 24
  2. Very specific:

    Check for .ua/knowledge-graph.json or legacy .understand-anything/knowledge-graph.json.

    line 35
  3. Distinctive:

    Never install, initialize, rebuild, or auto-update an external index merely because this skill triggered.

    line 37
  4. Distinctive:

    If no backend exists, continue with direct inspection.

    line 39
  5. Distinctive:

    Read references/output-contracts.md for the component, codebase, project-briefing, and diagnostic templates.

    line 62
  6. Distinctive:

    Default to chat for a snippet, small file, or ordinary question.

    line 66
  7. Distinctive:

    Create a durable Markdown document only when the user asks for one, the task is explicit onboarding/documentation, or the repository-scale …

    line 67
  8. Very specific:

    Prefer an existing project convention.

    line 68
  9. Distinctive:

    Do not create an HTML microsite, slide deck, or other secondary artifact unless the user asks or it clearly supplies requested …

    line 69
  10. Distinctive:

    Never overwrite an existing document without inspecting it and preserving relevant content.

    line 70
  11. Distinctive:

    Check that inferred behavior is labeled and runtime behavior is not presented as observed.

    line 78
  12. Distinctive:

    Check parameters, defaults, metrics, status, and library roles were not invented.

    line 79
  13. Distinctive:

    Ensure the mental model and detailed walkthrough describe the same flow.

    line 80
  14. Distinctive:

    Ensure any diagram includes meaningful success/error branches and does not contradict the prose.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 Understanding

Build the smallest explanation that gives the reader an accurate mental model. Ground every claim in source files, runtime evidence, or an explicitly labeled inference.

Select the mode

Choose one mode from the request and scope:

  1. Component — a snippet, function, class, or small file. Answer in chat unless the user requests an artifact.
  2. Codebase — a package, directory, or repository. Explain structure, execution paths, configuration, tests, and outputs.
  3. Project briefing — explain purpose, current state, history, evidence, reports, data/assets, risks, and how to continue.
  4. Indexed exploration — use an existing code-intelligence graph for a large repository or repeated questions, then verify important claims against source.
  5. Diagnostic — inspect first, then ask grounded questions that test the reader's understanding.

Combine codebase and project-briefing modes when the request is broad. Do not force repository-scale ceremony onto a small component.

Inspect evidence

  1. Read the complete target before explaining it.
  2. For repositories, inspect the tree, local instructions, README and docs, manifests/configuration, entry points, tests, generated artifacts, reports, notebooks, data/media, and recent version-control evidence when available.
  3. Distinguish:
    • Observed — directly supported by a file, command, test, or graph edge.
    • Inferred — a reasonable interpretation that is not directly demonstrated.
    • Unknown — requires runtime data, an external system, missing files, or user confirmation.
  4. Resolve contradictions by preferring executable configuration and current source over stale prose. Report unresolved contradictions.
  5. Cite local file paths and symbols near the claims they support.

Use an index without surrendering judgment

Check for .ua/knowledge-graph.json or legacy .understand-anything/knowledge-graph.json. If present, follow references/backends.md to check freshness and query only the relevant subgraph. Also use an already-available GitNexus, Graphify, Gortex, or equivalent query tool when it reduces broad scanning.

Never install, initialize, rebuild, or auto-update an external index merely because this skill triggered. Ask before a potentially expensive indexing run. Treat graph summaries as navigation evidence, not final truth; read the load-bearing source before making precise claims.

If no backend exists, continue with direct inspection. The skill must remain fully useful without external tooling.

Construct the explanation

Always provide:

  • A one-to-three-sentence purpose statement.
  • A compact mental model: “If you remember one thing…”
  • The principal path through the code or project.
  • Important evidence and uncertainty.

Add when supported:

  • A reading path ordered by dependency or learning value.
  • Project vocabulary with both an intuitive definition and its local meaning.
  • Entry points, components, ownership boundaries, and data/control flow.
  • Third-party libraries and the exact role each plays here.
  • Parameters/configuration with type, default, accepted values, units, and constraints.
  • Outputs, artifacts, side effects, tests, validation, complexity, edge cases, and gotchas.
  • Current status, important decisions, risks, unfinished work, and concrete next steps.
  • A purposeful diagram when relationships are materially easier to understand visually. Use $diagramming if available; otherwise provide valid Mermaid or a concise ASCII fallback.
  • Five to ten diagnostic questions only when the user asks to be grilled, onboarded interactively, or checked for understanding.

Read references/output-contracts.md for the component, codebase, project-briefing, and diagnostic templates. Scale them rather than filling empty sections.

Artifact policy

  • Default to chat for a snippet, small file, or ordinary question.
  • Create a durable Markdown document only when the user asks for one, the task is explicit onboarding/documentation, or the repository-scale result will be reused.
  • Prefer an existing project convention. Otherwise use docs/PROJECT_EXPLAINED.md for a combined briefing or docs/CODEBASE_EXPLAINED.md for code-only onboarding.
  • Do not create an HTML microsite, slide deck, or other secondary artifact unless the user asks or it clearly supplies requested functionality.
  • Never overwrite an existing document without inspecting it and preserving relevant content.

Quality gate

Before delivering:

  • Confirm the explanation matches the inspected version of the target.
  • Confirm every important architectural claim has a file, symbol, test, or graph relationship behind it.
  • Check that inferred behavior is labeled and runtime behavior is not presented as observed.
  • Check parameters, defaults, metrics, status, and library roles were not invented.
  • Ensure the mental model and detailed walkthrough describe the same flow.
  • Ensure any diagram includes meaningful success/error branches and does not contradict the prose.
  • State what was inspected, what was not verified, and where any artifact was written.

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.