Skip to content
Skills Library
Programming · Learning & explanation

orient

/orient

Use when arriving in an unfamiliar codebase, or returning to one after long enough that its shape has been forgotten. Concerns building a working model of what the system is and where its decisions live, before touching anything. Trigger at the start of work in a new repository, or when a change is about to be made somewhere not yet understood. Do NOT use for a codebase already held in mind, or for answering one specific question — that is research.

Repository
terma ↗
Licence
CC-BY-SA-4.0
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

CC-BY-SA-4.0, otwarta.

What it does and when to use it

Use when arriving in an unfamiliar codebase, or returning to one after long enough that its shape has been forgotten. Concerns building a working model of what the system is and where its decisions live, before touching anything. Trigger at the start of work in a new repository, or when a change is about to be made somewhere not yet understood. Do NOT use for a codebase already held in mind, or for answering one specific question — that is research.

Original author description

Use when arriving in an unfamiliar codebase, or returning to one after long enough that its shape has been forgotten. Concerns building a working model of what the system is and where its decisions live, before touching anything. Trigger at the start of work in a new repository, or when a change is about to be made somewhere not yet understood. Do NOT use for a codebase already held in mind, or for answering one specific question — that is research.

How it works

  1. What the system is for
  2. Find where decisions live
  3. Read the deviations
  4. Know what is still unknown
  5. Failure modes
Original SKILL.md headings · 50 lines, 588 words
SKILL.md preview
---
name: orient
description: Use when arriving in an unfamiliar codebase, or returning to one after long enough that its shape has been forgotten. Concerns building a working model of what the system is and where its decisions live, before touching anything. Trigger at the start of work in a new repository, or when a change is about to be made somewhere not yet understood. Do NOT use for a codebase already held in mind, or for answering one specific question — that is research.
---

# Orient

Arriving in a codebase, the temptation is to start reading files. Files are the least informative thing available.

The goal is not coverage. It is a model good enough to predict: where would a change of this kind go, what would it touch, and what would object.

## What the system is for

Before structure, purpose. A system's shape only makes sense against what it is trying to do — the same directory layout is elegant for one purpose and absurd for another.

The README if it is honest, and what runs when the thing starts. Follow one real path from entry point to outcome — one request, one command, one frame. A single traced path teaches more than any amount of breadth, because it shows what the system actually does as opposed to what it contains.

## Find where decisions live

Most of a codebase is consequence. A small part is decision, and that part is what needs to be understood.

Look for:

- **The vocabulary.** The nouns that recur across modules are the domain model, whether or not anything says so. Learning these is most of orienting — after them, code that was opaque becomes readable.
- **The core types.** Where the domain's concepts are defined is where its claims about the world are made.
- **The seams.** Where this system meets other systems, storage, the network, the user. Interesting things happen at boundaries and most bugs live there.
- **The shape of the tests.** What is tested heavily is what has hurt before. What has no tests is either trivial or feared.
- **What is recent.** Git history shows where the work actually is. A directory untouched for two years is settled; one with forty commits this month is contested or unfinished.

## Read the deviations

Consistency is cheap to learn — see the pattern once and it holds everywhere. The information is in the exceptions.

The module that does not follow the convention, the special case in an otherwise uniform dispatch, the comment explaining why something obvious is not done. These encode what was learned the hard way, and they are exactly what a newcomer will violate first.

When something looks wrong, assume a reason before assuming a mistake. Sometimes there is none — but the reason, when there is one, is usually the most valuable thing available.

## Know what is still unknown

Orienting ends not with a summary of the codebase but with a usable map, and maps are honest about their edges.

Worth stating plainly: what the system does, the words it uses for its concepts, where the important decisions are, which parts are settled and which are moving, and — critically — which parts have deliberately not been understood yet.

The last one matters most. A model presented as complete when it covers a third of the system leads to confident changes in the unexamined two thirds.

## Failure modes

- **Exhaustive reading.** Enumerating files until context is full. Produces a list, not a model.
- **Structure without purpose.** Describing the directory tree, which nobody needed described.
- **Believing the docs.** They describe an intention, possibly from a previous version. The code and the git log are the facts.
- **Missing the vocabulary.** Reading the code without learning its words, so everything stays a little foreign.
- **Skipping the entry point.** Never following one path end to end, so the pieces never join up.
- **Confident maps of unvisited ground.** Not saying which parts were not looked at.

Versions

RepositoryScoreLicence
This page · bfollington/terma90CC-BY-SA-4.0
restarter/lets-workflow100MIT
ramboz/jig100MIT
ramboz/jig100MIT
ramboz/jig100MIT
ramboz/jig100MIT
harnessprotocol/harness-kit100Apache-2.0
jcottam/agent-resources100MIT
nrdxp/predicate100MIT

Database snapshot: 13.11.2026 · package version 650e74738436 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90research
    Use when a specific question must be answered before work can sensibly proceed — how something currently works, whether an approach is viable, what already exists, what a change would touch. Concerns answering the question that was actually asked, at a confidence level stated…
  • 100orient-in-codebase
    Learn an unfamiliar repository before changing it, including its real build and test commands, conventions and current health. Use this at the start of work in any repository you have not read in this session, or whenever you do not yet know how to run its tests, even if the task looks small.
  • 90duck-orient
    Codebase-orientation session with the rubber duck — generate or refresh .claude/orientation.md with interactive exercises. Use when new to a codebase, returning after a break, or says \"duck orient\", \"I'm new to this repo\".
  • 100onboard
    Generate a structured orientation for a codebase. Reads the project, memory, and conventions to produce a mental model: architecture, key entry points, data flow, and known gotchas. Use when joining a project, returning after time away, or onboarding a new contributor. Trigger…
  • 100explore-area
    Orient on a new codebase area using get_context for token-budgeted exploration. Use when the user asks "what does this module do", "explain this part", or wants to understand an unfamiliar area before making changes.
  • 100getting-up-to-speed
    Orients on an unfamiliar or stale codebase at the start of a session, after compaction, or whenever the project state is unclear. Loads beads context, deep-dives the codebase, and produces a structured 'current state' summary. Triggers on phrases like "catch me up", "where are…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.