layered-summary
Installation
SKILL.md
Layered Summary (AGENTS.md)
Generate a layered set of AGENTS.md files so that:
- Deeper directories are more detailed (files + key types/functions + local relationships).
- Higher directories are short rollups of their direct children (architecture map).
This is designed to pair well with Cursor's nested AGENTS.md support: when you work in a folder, you automatically get its local summary plus its ancestors' higher-level context.
Hard constraints
- Create/update only
AGENTS.mdfiles. Do not change other files. - Operate only inside the target root subtree.
- No snippets/excerpts and no long quotes. Summaries must be short and checkable (paths/names).
- Use ASCII only; avoid non-ASCII characters.
- Delegate codebase exploration to Explore subagents (see "Subagent-first workflow"). The main agent remains the only writer of
AGENTS.md. - Don't stop mid-run: continue until the Completion criteria is satisfied. If you are forced to pause, leave a resumable checkpoint (see Resume after interruption) and ensure parent ledgers are accurate.
- Skip generated/vendored/third-party blobs. If present, mention them briefly (and why they exist) but don't document them exhaustively.
- Avoid speculation. Use
[unclear]/[TBD]markers when needed.