agentleFS
hamburger-oshamburger-os/PraxFlow/skills/trace/SKILL.md

trace

Skill1 starsChanged 2 months agoMITView on GitHub

Reconstruct how a behavior actually flows through a codebase or technical system across calls, events, data transformations, state transitions, async boundaries, and resource lifecycles. Use when a bug, feature, review, or architecture question depends on the exact path rather than broad project structure.

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ai-slop-cleaner, ralplan and 10 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.
  • Jurel89Skill

    ai-slop-cleaner

    Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

    Also in 4 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 4 projects that use this

  • woosikkimSkill

    deepinit

    Generate hierarchical AGENTS.md codebase maps for agent context

    Also in 3 projects that use this

  • klauswgSkill

    deep-interview

    在明确批准执行之前,通过数学化歧义门控进行苏格拉底式深度访谈

    Also in 4 projects that use this

  • AWSSkill

    map

    Map verified service capabilities against customer-provided control framework and threat model. Produces mapping-results.json, controls-catalog.md, and framework-mapping.md. Supports pluggable frameworks: CCMv4, NIST 800-53, CIS Benchmarks, ISO 27001, etc. Split into 4 focused sub-skills for better accuracy; this skill orchestrates them.

    Also in 4 projects that use this

  • buddyhSkill

    deep-dive

    Deep dive on any topic. Decomposes into subtopics, researches each in parallel with thorough source gathering, then synthesizes into a comprehensive report (4,000-10,000+ words, 40-100+ sources). Scales depth dynamically based on topic complexity. Use when asked for a deep dive, deep research, comprehensive analysis, or thorough investigation of a topic.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the question is still “where should I look?”, use survey first when available.

    line 25
  2. Distinctive:

    Do not infer a hop merely because two modules have suggestive names.

    line 56
  3. Distinctive:

    Follow branches that can change the target behavior.

    line 87
  4. Distinctive:

    When multiple possible paths exist, state the condition that selects each path.

    line 89
  5. Distinctive:

    Before presenting a trace as established:

    line 93
  6. Distinctive:

    search for alternate entry points.

    line 95
  7. Distinctive:

    check guards/early returns.

    line 96
  8. Distinctive:

    verify async callbacks or subscriptions are actually registered.

    line 97
  9. Distinctive:

    Prefer an explicit path plus supporting notes:

    line 103
  10. Distinctive:

    Stop when the trace explains the behavior needed by the current task with no unresolved branch likely to change the next decision.

    line 123
  11. Distinctive:

    Do not turn a focused trace into a full architecture survey.

    line 125

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

Trace

Trace one behavior end to end. Optimize for a trustworthy path, not maximum coverage.

Choose the trace question

Name the specific thing being traced, for example:

  • a request from entry to response;
  • a UI action to backend effect;
  • data from input/IRQ/message to consumer;
  • a state transition and who causes it;
  • creation → ownership → use → release of a resource;
  • an error from origin to user-visible handling.

If the question is still “where should I look?”, use survey first when available.

Method

1. Find an observable entry and outcome

Anchor the trace at concrete points whenever possible.

Examples:

HTTP request -> response
button click -> device command
IRQ -> application event
login completion -> first authenticated request
allocation -> final release

2. Follow evidence, not naming conventions

At each hop, record the relevant evidence:

  • caller/callee;
  • event publisher/subscriber;
  • queue or IPC boundary;
  • state mutation;
  • data transformation;
  • ownership transfer;
  • scheduling/thread/interrupt boundary;
  • error translation.

Do not infer a hop merely because two modules have suggestive names.

3. Preserve important context changes

Highlight boundaries where reasoning assumptions can break:

  • process/thread/ISR changes;
  • sync → async transitions;
  • serialization/deserialization;
  • mutable shared state;
  • retries/timeouts;
  • caching;
  • ownership or lifetime changes;
  • external service/device calls.

4. Track state and data separately when necessary

A call chain alone can miss the cause of behavior.

For a complex path, maintain parallel questions:

Control: who invokes whom?
Data: what value is passed/transformed?
State: what persistent state changes?
Context: on which thread/process/device does it run?
Ownership: who may use/release the resource?

5. Expand only when the path branches materially

Follow branches that can change the target behavior. Do not recursively explore unrelated callers or consumers.

When multiple possible paths exist, state the condition that selects each path.

6. Validate the reconstructed path

Before presenting a trace as established:

  • search for alternate entry points;
  • check guards/early returns;
  • verify async callbacks or subscriptions are actually registered;
  • inspect state conditions that can bypass a hop;
  • note unresolved dynamic behavior that static inspection cannot establish.

Output

Prefer an explicit path plus supporting notes:

Entry
  -> Component A: reason/evidence
  -> async boundary
  -> Component B: state change
  -> Component C: result

Then add only the useful details:

  • critical state transitions;
  • data transformations;
  • execution-context changes;
  • ownership/lifecycle observations;
  • unresolved branches or unknowns.

Stop condition

Stop when the trace explains the behavior needed by the current task with no unresolved branch likely to change the next decision.

Do not turn a focused trace into a full architecture survey.

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.