Trace My Code

Build and maintain a living trace of a codebase — the domain flow plus the underlying code structure and patterns — as curated Markdown that gives a coding agent the right, always-current context to develop features, follow existing patterns, and refactor safely without re-reading the whole repo. Use this whenever you map or document how a feature/flow works end to end, author or update a DOMAIN/ARCHITECTURE/DATA_FLOW doc or an ADR, record an architecture decision, onboard to or trace an unfamiliar area, link a service's docs to the services it talks to, or refresh docs after code changed — ev

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add kgohil/trace-my-code --skill trace-my-code
Manual install
git clone --depth 1 https://github.com/kgohil/trace-my-code.git /tmp/trace-my-code
mkdir -p ~/.claude/skills
cp -r /tmp/trace-my-code/skills/trace-my-code ~/.claude/skills/trace-my-code

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Trace My Code

**What it is:** an agentic loop that keeps a **trace of your system** — the
**domain flow** (what happens, in what order, under which conditions) layered over
the **code structure and patterns** (where it lives, how it's built, why) — as
curated, navigable Markdown. The trace is the context a coding agent reads instead
of re-deriving the system from raw files on every task.

Inspired by [Andrej Karpathy's "LLM Wiki" idea](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f)
— an LLM-compiled, interlinked **knowledge-graph wiki** kept current by an agent —
applied here to a codebase instead of a research corpus.

**Why it pays off:**

- **Feature development** — an agent plans a change from the trace (flow + files +
  gotchas) in a couple of reads instead of crawling dozens of files and guessing.
- **Pattern adherence** — the trace records established patterns and the _why_ (ADRs),
  so new code follows them instead of inventing a parallel approach.
- **Refactor / restructure** — knowing the real end-to-end flow and its invariants up
  front makes large refactors safe; you change with the contract in view.
- **Always current** — a drift check (git hook or CI) flags or refreshes the trace
  when the code it describes changes, so it never quietly rots into a lie.

**Proven across repos.** Bootstrapped on a ~100k-line Next.js app, the trace measures (via the
Read the full skill on GitHub

Details

Skill name
trace-my-code
Path
skills/trace-my-code/SKILL.md
License
MIT
Repo updated
9 August 2026

FAQ

What does the Trace My Code skill do?

Build and maintain a living trace of a codebase — the domain flow plus the underlying code structure and patterns — as curated Markdown that gives a coding agent the right, always-current context to develop features, follow existing patterns, and refactor safely without re-reading the whole repo. Use this whenever you map or document how a feature/flow works end to end, author or update a DOMAIN/ARCHITECTURE/DATA_FLOW doc or an ADR, record an architecture decision, onboard to or trace an unfamiliar area, link a service's docs to the services it talks to, or refresh docs after code changed — ev

How do I install the Trace My Code skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add kgohil/trace-my-code --skill trace-my-code. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Trace My Code popular?

It lives in kgohil/trace-my-code, which has 4 GitHub stars and 0 forks, and is included in 1 curated skill list.

Related skills

Anti Gold Plating

5

TulossSolutions/anti-gold-plating

Prevent gold plating (unapproved extras) through explicit scope, formal validation of improvements and alternatives, and a final compliance summary. Use when creating or modifying a deliverable, code, configuration, or system. A request for analysis or a proposal does not grant authorization for its implementation.

Software Development

Fact Check X Complete

4

ASI2030/Fact-Check-X

面向真实业务决策的多平台事实核验 Skill。正式支持深知晓、深知晓(深度溯源)、豆包、腾讯元宝、DeepSeek 和通义千问,按用户输入动态选择 N≥1 个平台。完整采集原回答、引用、截图与页面存证,结构化比较关键事实,按需使用可信搜索逐点核验权威证据,并评估各平台表现。权威答案是核验产物之一,原始证据、冲突与证据边界全程可追溯。基础采集与对比无需 API Key;可信搜索是权威核验阶段的可选增强。语义工作由 Codex、Claude Code、WorkBuddy 等当前运行载体完成,不调用外部大模型 API。

Software DevelopmentIn 1 list

Ascend Operator Engineering

5

GTC2080/ascend-operator-skills

Design, implement, review, debug, and tune Huawei Ascend operators with Ascend C or TileLang Ascend. Use for TileLang environment setup, kernel semantics, tiling, UB/DMA/mask/synchronization, ACLNN or AOT integration, precision, MindStudio diagnostics, and trustworthy performance experiments; includes version-scoped lessons from DeepGEMM-Ascend and TileKernels.

Software Development

Cra Readiness

5

Killerz007/cra-readiness-skill

Evidence-backed readiness assessment of a software or hardware product against the EU Cyber Resilience Act, Regulation (EU) 2024/2847, using the pinned Official Journal text, Implementing Regulation (EU) 2025/2392 and the Commission's 2026 guidance. Use when the user mentions the CRA, Cyber Resilience Act, CE marking for software, products with digital elements, Annex I essential requirements, SBOM obligations, vulnerability handling, the 11 September 2026 reporting duty, ENISA single reporting platform, support period, substantial modification, important or critical products, or asks to prepa

Software Development

Ask Codebuddy

5

zcx960/ask-codebuddy

Delegate self-contained subtasks to the locally installed CodeBuddy CLI — code analysis, review, approach comparison, and scoped edits. Use when work can be handed off to CodeBuddy to save context or use existing credits. 通过本机 CodeBuddy CLI 处理独立子任务。

Software Development

Substack API

6

AnthonyDavidAdams/substack-api-reference

Use Substack's unofficial cookie-authenticated API to read posts, create drafts, publish issues, and manage publications on behalf of a logged-in Substack user. Required when the user asks to post to Substack, schedule a Substack send, mirror content to Substack, or extract data from a Substack account.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.