review-current-state
Skill39 starsChanged 3 months agoBSD-3-ClauseView on GitHub
Walks the project's files, builds a file tree, reads through each source file, and produces a reusable "factblock" reference — per function/method/class: signature, description, parameters, returns, and a usage example. Use when asked to review, document, snapshot, or get an overview of the current state of the codebase.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- bkraad47/fat_llama_fftwedited, first seen Sep 9, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- bkraad47/fat_llama_fftw★ 1499% same
Wrote their own version · 0
None found.
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.
- .claude/CLAUDE.mdCLAUDE.md
- generate-codeSkill
- iterate-fat-llamaSkill
- test-fat-llamaSkill
- triage-issueSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 11
Before doing anything else, read .claude/skills/rules/review-current-state.md (scope of review, exclusions, output path) and …
- Very specific: line 15
Before Step 1, open this run's log file per .claude/rules/logging.md (name: review-current-state-<time>-<user>.log).
- Distinctive: line 23
Enumerate files: Use Glob/Bash (git ls-files is the cleanest source of truth if in a git repo — it naturally skips ignored build/venv …
- Very specific: line 36
Keep non-code files (README, setup.py, requirements.txt, etc.) in the tree for completeness, but only factblock actual source files (see …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Produce a single up-to-date reference document for the project: a file tree plus a "factblock" for every function, method, and class, in a fixed, reusable template. This is a snapshot skill — it reads the current code, it does not modify it.
Before doing anything else, read .claude/skills/rules/review-current-state.md (scope of review, exclusions, output path) and .claude/rules/scope-and-safety.md (filesystem write scope and safety boundaries every skill/agent follows) — both may be updated over time without this file changing.
Logging
Before Step 1, open this run's log file per .claude/rules/logging.md (name: review-current-state-<time>-<user>.log). Append one entry per step below as it happens.
Scope
See .claude/skills/rules/review-current-state.md for the exact scope/exclusion rules and output path policy.
Steps
- Enumerate files. Use Glob/Bash (
git ls-filesis the cleanest source of truth if in a git repo — it naturally skips ignored build/venv directories) to list every tracked file in scope. Build the file tree. Render it as a fenced text block showing the directory hierarchy, e.g.:
fat_llama/ ├── __init__.py ├── audio_fattener/ │ └── feed.py └── tests/ └── test_feed.pyKeep non-code files (README, setup.py, requirements.txt, etc.) in the tree for completeness, but only factblock actual source files (see next step).
- Read every source file (
.py, or the project's primary language) in scope with the Read tool — do not skip files to save time; the point of this skill is completeness. For each file, identify every module-level function, class, and method (including__init__when it does non-trivial setup). Write one factblock per function/method/class, using this exact template so the output stays reusable and parseable by later tooling or skills:
### `qualified.name(args) -> ReturnType` **File:** path/to/file.py:LINE **Kind:** function | method | class **Description:** One or two sentences on what it does and why it exists (pull from the docstring if present; otherwise infer from the body — say so if inferred). **Parameters:** - `arg` (`type`): meaning **Returns:** type and meaning (omit for classes/void functions). **Usage:** \`\`\`python # minimal, runnable-looking example \`\`\`For the usage example: prefer lifting real call sites from the codebase's own tests or
example.py-style scripts when one exists for that function; only synthesize a minimal example when no real call site is found, and mark it# illustrativein that case.- Assemble the document in this order: title, scope note, file tree, then factblocks grouped under a
## path/to/file.pyheading per file, in file-tree order. - Write the output to
docs/CURRENT_STATE.mdat the repo root (create thedocs/directory if it doesn't exist), overwriting any previous version — this file is meant to be regenerated on demand, not hand-edited. If the user specifies a different output path inargs, use that instead. - Report back with a short summary: number of files reviewed, number of factblocks written, and the output path — not the full document contents.
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
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.

