Skip to content
Back to skills

Goodcode Trace

ASecurity

Trace one behaviour through a codebase from its entry point to its last effect, hop by hop, and mark every place where the trail is hard to follow. Changes nothing. Use for debugging and for learning unfamiliar code: "trace what happens when a user signs up", "where does this email get sent from", "why did this value end up wrong", "walk me through this request", /goodcode-trace.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
developmentgodebugging

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add matasurbonavicius/GoodCode --skill goodcode-trace --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Goodcode Trace?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Goodcode Trace
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/matasurbonavicius-goodcode-trace/badge)](https://www.skillsdirectory.com/skills/matasurbonavicius-goodcode-trace)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: goodcode-trace
description: >
  Trace one behaviour through a codebase from its entry point to its last
  effect, hop by hop, and mark every place where the trail is hard to follow.
  Changes nothing. Use for debugging and for learning unfamiliar code: "trace
  what happens when a user signs up", "where does this email get sent from",
  "why did this value end up wrong", "walk me through this request",
  /goodcode-trace.
---

# GoodCode trace

This is the walk of GC-13, done for one behaviour. Read the standard first:
`../../CODE_ARCHITECTURE.md` from this skill's base directory.

## The walk

1. **Find the entry point.** Start from the heart (GC-10): the route, command,
   schedule or subscription that sets this behaviour off. If no single place
   lists it, say so, and say how you found it instead.
2. **Follow by name.** Go from each call to the code that runs. Read it; do not
   guess from its name. At each hop, note:
   - what comes in and what goes out,
   - whether it decides or does (GC-11),
   - every effect: a write, a send, a spawn, a queued job, a change to shared
     state.
3. **Stop at the last effect.** If the behaviour goes on in another process or
   after a queue, say where it continues, and follow it only if asked.

## What to mark

Mark a hop when the trail breaks or forks:

- You had to search instead of follow: dispatch on a string, a handler found by
  convention, a hook, a patch (GC-13).
- An effect the names did not announce (GC-12).
- Work started outside the heart (GC-10).
- A place where a failure would go quiet: a catch, a default, a filter
  (GC-24, GC-27).
- State read here and written somewhere else you cannot see from here (GC-18).

When tracing a bug, these marks are where to look first. A wrong value usually
enters at an unchecked door (GC-19) or is produced by a fallback (GC-24).

## Output

```
Trace: POST /signup → welcome email

1. heart.py:14            route registered: POST /signup → handle_signup
2. signup/handle.py:8     handle_signup: parses the form (door), calls create_account
3. accounts/create.py:21  create_account: decides, pure
4. accounts/store.py:40   save: EFFECT, writes accounts row
5. accounts/store.py:52   ⚠ GC-12: save also enqueues send_welcome_email; nothing above says so
6. mail/welcome.py:11     send_welcome_email: EFFECT, sends through the mail provider

Hops: 6. Marks: 1.
```

Give every hop as `file:line`. After the trace, answer the question that was
asked in one or two sentences. If it was a bug hunt, name the most likely hop
and what to check there.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.