StepGleam logoStepGleam
Coding shelf

Coding guides.

Build, debug, and understand code faster.

13 guides
Coding clay illustration

Guides

Illustration for Set up Claude Code hooks for formatting, tests and protected filesCoding
CodingIntermediate30 min

Set up Claude Code hooks for formatting, tests and protected files

Add PostToolUse hooks that format and test after edits, a PreToolUse hook that blocks protected files, and a notification for long runs.

Illustration for Turn a checklist you keep forgetting into a Claude Code skillCoding
CodingBeginner20 min

Turn a checklist you keep forgetting into a Claude Code skill

When you catch yourself re-typing the same multi-step instructions, put them in .claude/skills/<name>/SKILL.md and run them with a slash command.

Illustration for Debug with an agent: reproduce, hypothesise, log, then fixCoding
CodingIntermediate30 min

Debug with an agent: reproduce, hypothesise, log, then fix

Don't just ask the agent to fix it. Make it reproduce the bug, state a testable hypothesis, prove the root cause with logging or a failing test, and only then change code.

Illustration for Write Cursor project rules that actually load when you need themCoding
CodingIntermediate25 min

Write Cursor project rules that actually load when you need them

Put rules in .cursor/rules as .mdc files, set alwaysApply, globs and the description on purpose, and test that the agent picks each rule up.

Illustration for Run parallel Claude Code agents in git worktrees without merge hellCoding
CodingAdvanced45 min

Run parallel Claude Code agents in git worktrees without merge hell

Give each agent its own worktree, scope tasks so their files do not overlap, merge one stream at a time, and rebase the rest on the new main.

Illustration for Make a coding agent write the failing tests first, then implementCoding
CodingIntermediate30 min

Make a coding agent write the failing tests first, then implement

Split the work into separate prompts: tests only, confirm they fail for the right reason, commit, then implement without touching the tests.

Illustration for Plan in Obsidian, build with Claude Code: the PRD-to-tasks loopCoding
CodingIntermediate45 min

Plan in Obsidian, build with Claude Code: the PRD-to-tasks loop

How practitioners on r/hermesagent run projects: requirements and task lists in an Obsidian vault, small tasks handed to a coding agent, every diff reviewed by a human.

Illustration for Ship a feature with a coding agent: spec, tests first, then review the diffCoding
CodingIntermediate60 min

Ship a feature with a coding agent: spec, tests first, then review the diff

The loop experienced developers describe on r/ExperiencedDevs: write the spec, plan the smallest steps, have tests written from the spec, implement, then review against the spec before anything merges.

Illustration for Keep agent PRs small: one concern per branchCoding
CodingAdvanced40 min

Keep agent PRs small: one concern per branch

A developer's setup from r/ExperiencedDevs: the agent plans a feature into small chunks, writes the approved plan to the repo, and ships one stacked PR per concern.