Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Algorithm Tracing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dadmin88-algorithm-tracing)
---
name: algorithm-tracing
description: Trace an algorithm or program step by step, showing state changes, control flow, data-structure operations, and complexity implications.
---
# Algorithm Tracing
Choose a small concrete input. Record state after each meaningful step and explain the invariant or decision controlling progress.
After tracing, generalize what changes with input size and identify the dominant time or space cost when appropriate.
## Teaching example
When teaching loop invariants and boundary cases, use [the domain example](references/teaching-example.md) for worked reasoning. Read it only when relevant. Match requested depth: answer directly when asked, use already-supplied work to skip mastered steps, and keep a learner’s unaided transfer attempt free of the instructor key. Preserve this skill’s scope and safety boundaries for other topics.