Algorithm tracing

From Dadmin88/hermes-profile-packs · View interactive version

Algorithm tracing is an AI agent skill from the GitHub repository Dadmin88/hermes-profile-packs. Trace an algorithm or program step by step, showing state changes, control flow, data-structure operations, and complexity implications.

How to use this skill

Skill file

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 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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.