llp-orient
Before editing a subsystem, file, or starting a task, assemble the governing LLP context β read the root LLP, follow the @ref annotations on the code in scope, and find the LLPs covering the relevant systems. Produces a compact context pack of the constraints a change must respect. Read-only.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit expo/exact/.claude/skills/llp-orient .claude/skills/llp-orientOr install it for every project:
npx degit expo/exact/.claude/skills/llp-orient ~/.claude/skills/llp-orientFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source β
---
name: llp-orient
description: Before editing a subsystem, file, or starting a task, assemble the governing LLP context β read the root LLP, follow the @ref annotations on the code in scope, and find the LLPs covering the relevant systems. Produces a compact context pack of the constraints a change must respect. Read-only.
source: ccheever/llp@v0.5.2
---
# llp-orient
<!-- @ref https://github.com/ccheever/llp/blob/v0.5.2/llp/0008-distributed-agent-skills.rfc.md#the-skills--core-five-plus-flags β skill contract -->
<!-- @ref https://github.com/ccheever/llp/blob/v0.5.2/llp/0000-linked-literate-programming.explainer.md#2-reference-syntax β the grammar this reads -->
Load the design rationale governing the area you're about to touch, before touching it. This is the consumption side of LLP β orienting first is what turns `@ref` from a possibility into a habit.
Invoke as `/llp-orient <path-or-task>` (file, directory, subsystem, or task description). With no argument, use the current change scope (`git diff --name-only`).
## Trigger
Start of a coding task that touches an area with documented design. The orient-first *rule* lives in the repo's always-loaded `AGENTS.md`; this skill is the detailed form that rule routes to for non-trivial work β don't rely on ambient description-match alone.
## Invariants
- MUST be read-only: never edit code or LLP documents.
- MUST scope to the task: pull the constraints that bind this change, not a corpus summary.
- MUST cite, not restate: reference policy as `LLP NNNN#anchor` rather than paraphrasing sections.
- MUST NOT invent constraints. If something isn't documented, say so.
- MUST NOT guess the rationale behind a broken `@ref` β report it and hand off to `llp-maintain`.
## Workflow
> **Recipe (advisory)** β read `llp/foundation/` first (the kernel; the root LLP is there once `Active` β on a fresh adoption it is still `Draft` and sits in `current/`), then skim `llp/current/` (the declared working set); both hold relative links β symlinks, or small files containing the relative path β so `ls` answers and either form resolves. Then the root LLP's systems vocabulary. `Grep '@ref'` over the files in scope and `Read` each target β these are the highest-signal context. `Grep` the `**Systems:**` headers across `llp/` for LLPs governing the subsystems touched; read the governing ones (Spec, Decision, Principles, relevant RFCs). Follow `Related:` and nearby `@ref` targets one hop out; stop there unless something is clearly load-bearing. Stale-pin nudge (skip offline): read the installed tag from the skills receipt (or a `source:` pin), compare `git ls-remote --tags <origin>` β if upstream is newer, say so in one line ("skills at v0.3.0, upstream v0.5.2 β run /llp-adopt update") and move on; never update from here.
## Artifact
A context pack with these sections, faster to read than the documents it points at:
- **Scope** β files / subsystems queried
- **Governing LLPs** β numbered list, one-line gloss each; mark which are in `foundation/` and which are in `current/` (in-flight β its guidance may still move)
- **Active constraints** β bullets, each citing `LLP NNNN#anchor`
- **Relevant rationale** β the *why*, same citation form
- **Open questions / risks** for this area
- **Likely doc updates** if the change lands
- **Hand-off** β one of `none | llp-adopt | llp-create | llp-review | llp-maintain`
## Hand-offs
- No corpus (`llp/` missing or stub) β `llp-adopt`.
- The task needs a decision no LLP covers β `llp-create` (or `llp-review` if proposal-shaped).
- An `@ref` target or anchor doesn't resolve β `llp-maintain`.