agentleFS
rommelporrasrommelporras/kiro-config/skills/trace-code/SKILL.md

trace-code

Skill13 starsChanged 7 months agoMITView on GitHub

Deep code flow tracing with file:line references. Use when the user says "trace this", "how does this feature work end-to-end", "map the code flow", "what files are involved in", "walk through the execution".

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always include file:line references — never describe without pointing to code

    line 41
  2. Distinctive:

    Keep it factual — describe what the code does, not what it should do

    line 43

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

Trace Code

Trace a feature's implementation from entry point to output, through all layers.

Announce at start: "Tracing [feature/flow name]."

Process

  1. Find entry points — CLI commands, API endpoints, script main blocks
  2. Follow call chains — trace each function call with file:line references
  3. Map data flow — what goes in, how it transforms, what comes out
  4. Identify dependencies — external libraries, AWS services, config files
  5. Note cross-cutting concerns — error handling, logging, auth, retries

Output Format

Entry Point

file.py:42 — description of where execution starts

Execution Flow

  1. file.py:42 → module.py:15 — what happens at each step
  2. module.py:15 → aws.py:88 — data transformation or side effect

Key Components

  • component.py — responsibility summary

Dependencies

  • External: boto3, rich, etc.
  • Config: files or env vars read

Essential Files

List of files someone must read to understand this feature.

Guidelines

  • Always include file:line references — never describe without pointing to code
  • Trace the happy path first, then note error/edge case branches
  • Keep it factual — describe what the code does, not what it should do

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.