agentleFS
shalombshalomb/agent-skills/skills/trace/SKILL.md

trace

Skill3 starsChanged 3 months agoMITView on GitHub

Trace bugs and refactoring blast radius by chaining Codemap, LSP, and AST-grep. Short command alias for macro-to-micro.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use visual-verdict, ai-slop-cleaner and 8 more.

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.
  • lza6Skill

    visual-verdict

    Structured visual QA verdict for screenshot-to-reference comparisons

    Also in 3 projects that use this

  • lza6Skill

    ai-slop-cleaner

    Run an anti-slop cleanup/refactor/deslop workflow

    Also in 3 projects that use this

  • the-huginSkill

    configure-notifications

    Configure notification integrations (Telegram, Discord, Slack) via natural language

    Also in 3 projects that use this

  • an8079Skill

    hud

    Also in 3 projects that use this

  • an8079Skill

    ralplan

    Also in 3 projects that use this

  • genomewalkerSkill

    recap

    Rebuild working context from transcripts and chitta memories in approximately 1500 tokens. Use when starting a new session to continue previous work.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 1

    Distinctive

    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. Very specific:

    When invoked, load and execute the macro-to-micro skill:

    line 9
  2. Very specific:

    Follow all instructions and guidelines in macro-to-micro.

    line 10
  3. Distinctive:

    Follow the 3-tier articulation chain: Macro (Codemap file graph) -> Meso (LSP symbol graph) -> Micro (AST-grep syntax tree).

    line 11

“Common” is measured: kept by at least 6 in 10 of the 16 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

Macro-to-Micro Codebase Tracing (/trace)

<!-- generated:alias-skill -->

When invoked, load and execute the macro-to-micro skill:

  1. Follow all instructions and guidelines in macro-to-micro.
  2. Follow the 3-tier articulation chain: Macro (Codemap file graph) -> Meso (LSP symbol graph) -> Micro (AST-grep syntax tree).
  3. Identify hub files and dependency blast radius with Codemap before editing.
  4. Trace call chains and data flow with LSP (lsp reference, lsp definition, lsp outline).
  5. Perform surgical syntax-aware transformations using AST-grep (sg run).

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.