repository-orientation

$npx mdskill add compozy/agh/repository-orientation

Map an unfamiliar repository before making changes.

  • Solves the problem of navigating unknown codebases before editing.
  • Depends on repository files, instruction files, and code search.
  • Traces entry points, contracts, persistence, and verification lanes.
  • Delivers a concise orientation with flows, invariants, and open questions.

SKILL.md

.github/skills/repository-orientationView on GitHub ↗
---
name: repository-orientation
description: Map an unfamiliar repository before changing it. Use when a task crosses packages, public contracts, persistence, runtime wiring, or verification lanes and the owning architecture is not yet clear.
---

# Repository Orientation

Build a compact, evidence-backed map before proposing or editing code.

1. Read the repository and surface-specific instruction files that govern the requested paths.
2. Trace the user-visible entry point through contracts, runtime ownership, persistence, and downstream consumers.
3. Identify the invariant, owning layer, canonical test suite, and narrowest relevant verification lane.
4. Search for existing primitives and adjacent implementations before creating a new abstraction.
5. Record uncertainty explicitly; distinguish confirmed code paths from assumptions.

Return a concise orientation with:

- the goal and affected surfaces;
- the authoritative call and data flow;
- invariants and ownership boundaries;
- the working set of files and commands;
- unresolved questions that materially change implementation.

Do not begin a mutation until the map identifies the owner and a verification path.

More from compozy/agh

SkillDescription
agent-exploration>-
aghAGH runtime and contribution guide. Use for sessions, agents, native tools, skills, memory, network, tasks, capabilities, bundles, QA, docs, and repo work. Do not use for unrelated projects.
agh-cleanup-failure-paths>-
agh-code-guidelines>-
agh-contract-codegen-coshipContract co-ship for AGH wire changes. Use when editing public DTOs, OpenAPI, JSON-RPC extension shapes, generated clients, or handler request/response semantics. Do not use for internal Go refactors or test-only changes that leave the wire contract unchanged.
agh-data-boundariesData-boundary audit for AGH route loaders, TanStack Query caches, paginated catalogs, filters, ordering, totals, live streams, workspace-scoped reads, and their backend APIs. Use when adding, changing, or debugging those paths. Don't use for presentational-only UI or backend work with no public read-model impact.
agh-designAGH visual-design authority for production UI, static artifacts, prototypes, and reviews. Use when creating or reviewing an AGH surface or changing tokens, typography, spacing, depth, icons, or motion. Do not use for capture-only verification; use agh-ui-screenshot.
agh-qa-bootstrapBootstraps isolated AGH QA labs and emits the canonical manifest for downstream QA. Use when local QA needs daemon, workspace, provider, or playbook setup. Do not use for unit tests, planning-only work, or browser-only checks.
agh-schema-migrationAuthors append-only Goose SQL migrations for AGH SQLite streams and keeps declarative schema sources, atlas.sum, Atlas checks, sqlc output, and migration tests synchronized. Use for SQLite table, column, index, constraint, trigger, or seed-data changes under internal/store or internal/memory. Do not use for in-memory structures, derived Markdown memory, or non-SQLite caches.
agh-test-conventions>-