agentleFS
hamburger-oshamburger-os/PraxFlow/skills/understand-project/SKILL.md

understand-project

Skill1 starsChanged 2 months agoMITView on GitHub

Build a goal-directed, evidence-backed understanding of an unfamiliar repository or technical project. Use when the user explicitly wants to understand architecture, a subsystem, ownership, execution flow, or how a legacy project works; orient cheaply, survey selectively, trace high-value paths, and stop when the stated understanding goal is satisfied rather than reading everything.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. Akylas/OSS-DocumentScanner★ 2.6ksame name
    2. Akylas/oss-weather★ 478same name
    3. yylo-dev/yylo★ 66same name
    4. Omerfaruk-aydn/Agent_OS★ 1same 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 repository11 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    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:

    If the goal is only to complete another task, use the relevant Workflow and its targeted understanding phases instead of running this full …

    line 44
  2. Distinctive:

    Start with low-cost structural evidence:

    line 48
  3. Distinctive:

    Do not produce a directory-by-directory summary.

    line 58
  4. Very specific:

    Use survey when available.

    line 62
  5. Distinctive:

    Keep observed facts separate from inferences.

    line 74
  6. Distinctive:

    Do not continue reading merely because unread code remains.

    line 88
  7. Very specific:

    Use trace for behaviors whose exact flow materially affects the user's understanding goal.

    line 92
  8. Distinctive:

    remove detail that does not affect the model.

    line 112
  9. Distinctive:

    Treat documentation and naming as evidence, not automatic truth.

    line 114
  10. Distinctive:

    Ask whether the current model is sufficient to answer the stated understanding goal reliably.

    line 118
  11. Distinctive:

    If not, select the next highest-value unknown and investigate it.

    line 120
  12. Distinctive:

    If yes, stop. There is no requirement to “finish reading the project.”

    line 122
  13. Distinctive:

    Prefer a coherent model over exhaustive notes.

    line 126
  14. Distinctive:

    Use diagrams/text paths when they make relationships clearer.

    line 147
  15. Very specific:

    Do not automatically generate architecture.md.

    line 151
  16. Distinctive:

    no unresolved unknown is likely to reverse the central explanation.

    line 168

≈ “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

Understand Project

Build enough trustworthy understanding to answer the user's stated question. Do not treat full-repository reading or automatic architecture documentation as the default.

flowchart TD
    G[Understanding goal] --> O[Orient cheaply]
    O --> S[Survey relevant structure]
    S --> Q[Identify high-value unknowns]
    Q --> T[Targeted trace / investigation]
    T --> M[Update provisional model]
    M --> C{Sufficient for the stated goal?}
    C -->|No| Q
    C -->|Yes| E[Explain at the right level]
    E --> K{Stable reusable knowledge?}
    K -->|Yes| D[Update project-owned docs]
    K -->|No| X[Done]
    D --> X

Workflow

1. Establish the understanding goal

Clarify what the user actually needs to know:

  • overall orientation;
  • one subsystem;
  • startup/shutdown;
  • request/data flow;
  • ownership/lifecycle;
  • module/process/thread boundaries;
  • a legacy area they need to modify later.

If the goal is only to complete another task, use the relevant Workflow and its targeted understanding phases instead of running this full Workflow.

2. Orient cheaply

Start with low-cost structural evidence:

  • README and existing docs;
  • top-level repository structure;
  • manifests/build files;
  • obvious application/service entry points;
  • tests;
  • configuration;
  • important generated/source boundaries.

Do not produce a directory-by-directory summary.

3. Survey the relevant project structure

Use survey when available.

Build a provisional map of:

  • major relevant components;
  • entry points;
  • dependencies and boundaries;
  • state/persistence;
  • important interfaces;
  • project capabilities relevant to understanding behavior;
  • high-value unknowns.

Keep observed facts separate from inferences.

4. Identify architectural questions with high information value

Examples:

  • who owns this component's lifecycle?
  • where does state live?
  • which process/thread executes this path?
  • where does external input enter?
  • where are async boundaries?
  • how are errors propagated?
  • which component is authoritative for this data?

Do not continue reading merely because unread code remains.

5. Trace selected paths

Use trace for behaviors whose exact flow materially affects the user's understanding goal.

Possible targeted traces:

  • startup;
  • one representative request;
  • data ingestion;
  • state mutation;
  • shutdown;
  • failure path.

Choose traces for information value, not completeness.

6. Update the provisional model

After each investigation:

  • add supported facts;
  • revise contradicted inferences;
  • mark important unknowns;
  • remove detail that does not affect the model.

Treat documentation and naming as evidence, not automatic truth. Reconcile discrepancies with observed code/runtime behavior where necessary.

7. Test sufficiency

Ask whether the current model is sufficient to answer the stated understanding goal reliably.

If not, select the next highest-value unknown and investigate it.

If yes, stop. There is no requirement to “finish reading the project.”

8. Explain at the right level

Prefer a coherent model over exhaustive notes.

A useful explanation may include:

## System / subsystem model
...

## Key flow(s)
...

## Ownership / state
...

## Important constraints
...

## Unresolved but relevant unknowns
...

Use diagrams/text paths when they make relationships clearer.

9. Persist only stable reusable knowledge

Do not automatically generate architecture.md.

Persist project documentation only when:

  • the user explicitly requests it;
  • stable architecture knowledge is missing and likely to be reused;
  • the investigation established a consequential durable constraint/decision;
  • an existing canonical doc must be corrected after intended behavior is established.

Temporary working maps remain ephemeral by default.

Completion criteria

The Workflow is complete when:

  • the user's stated understanding goal can be answered coherently;
  • important claims are evidence-backed or labeled as inference/unknown;
  • no unresolved unknown is likely to reverse the central explanation;
  • unnecessary repository-wide exploration has stopped;
  • durable docs are updated only when justified.

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.