obra/clank

41Stars on the repository
40Mods indexed here, across every type
10mo agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

obra/clank

Skill Claude CodeCodex

Hide implementation details behind interfaces - work at domain level (what), not implementation level (how).

41 10mo ago A 24 tokens

obra/clank

Skill Claude CodeCodex

Class interfaces present one cohesive abstraction - don't mix domain logic with serialization, persistence, or unrelated concerns.

41 10mo ago A 27 tokens

Reducing Complexity

03

obra/clank

Skill Claude CodeCodex

Managing complexity is software's primary technical imperative - all other goals are secondary.

41 10mo ago A 18 tokens

Commenting Intent

04

obra/clank

Skill Claude CodeCodex

Comment WHY code exists and non-obvious decisions, not WHAT code does (mechanics).

41 10mo ago A 22 tokens

obra/clank

Skill Claude CodeCodex

Design in pseudocode first, iterate approaches, then translate to code.

41 10mo ago A 18 tokens

obra/clank

Skill Claude CodeCodex

Try 2-3 different approaches before implementing - don't settle for first design you think of.

41 10mo ago A 22 tokens

obra/clank

Skill Claude CodeCodex

Each routine does one thing and does it well - extract when routines have multiple responsibilities.

41 10mo ago A 22 tokens

obra/clank

Skill Claude CodeCodex

Declare variables in smallest possible scope, initialize close to first use, minimize span and live time.

41 10mo ago A 22 tokens

obra/clank

Skill Claude CodeCodex

Name code by what it does in the domain, not how it's implemented or its history.

41 10mo ago A 22 tokens

Naming Variables

10

obra/clank

Skill Claude CodeCodex

Choose names that fully and accurately describe what the variable represents.

41 10mo ago A 14 tokens

Refactoring Safely

11

obra/clank

Skill Claude CodeCodex

Refactor with tests first, one change at a time, never mix refactoring with bug fixes or new features.

41 10mo ago A 27 tokens

obra/clank

Skill Claude CodeCodex

Flatten nested conditionals with early returns or table-driven methods - keep nesting depth under 3 levels.

41 10mo ago A 24 tokens

obra/clank

Skill Claude CodeCodex

Use each variable for exactly one purpose - no hybrid coupling or hidden meanings.

41 10mo ago A 18 tokens

Validating Inputs

14

obra/clank

Skill Claude CodeCodex

Check all external inputs for validity - garbage in, nothing out, never garbage out.

41 10mo ago A 20 tokens

obra/clank

Skill Claude CodeCodex

Use multiple Claude agents to investigate and fix independent problems concurrently.

41 10mo ago A 16 tokens

Executing Plans

18

obra/clank

Skill Claude CodeCodex

Execute detailed plans in batches with review checkpoints.

41 10mo ago A 11 tokens

obra/clank

Skill Claude CodeCodex

Receive and act on code review feedback with technical rigor, not performative agreement or blind implementation.

41 10mo ago A 22 tokens

obra/clank

Skill Claude CodeCodex

Search previous Claude Code conversations for facts, patterns, decisions, and context using semantic or text search.

41 10mo ago A 23 tokens

obra/clank

Skill Claude CodeCodex

Dispatch code-reviewer subagent to review implementation against plan or requirements before proceeding.

41 10mo ago A 20 tokens

obra/clank

Skill Claude CodeCodex

Execute implementation plan by dispatching fresh subagent for each task, with code review between tasks.

41 10mo ago A 24 tokens

Using Git Worktrees

24

obra/clank

Skill Claude CodeCodex

Create isolated git worktrees with smart directory selection and safety verification.

41 10mo ago A 17 tokens