Command Palette

Search for a command to run...

Назад к скиллам
скилл № 22313

narraitor-repo-orientation

Fast orientation map for a zero-context session in the Narraitor repo. Use FIRST when starting work here, when asked "where does X live", "how is this repo…

БесплатноБез исполняемых скриптов
jerseycheeseот jerseycheese★ 32 звезды на GitHub

Установить narraitor-repo-orientation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Narraitor repo orientation

1. Purpose

Get a cold session productive in minutes: where things live, which commands exist, which docs are canonical, and which claims to distrust. This is the map, not the manual — deeper rules live in the sibling skills.

2. When to use

  • First substantive action in a fresh session or after a long gap.
  • Any "where is / where do I look" question about this repo.
  • Before citing a doc's claim about structure, tooling, or design-system canon.

3. When not to use

  • You already know the target file — go read it.
  • Authoring new components/stores/routes → use narraitor-architecture (conventions) and narraitor-architecture-contract (invariants).
  • Debugging a concrete failure → narraitor-debugging-playbook.

4. Inputs required

None. Repo checkout on develop (run git fetch && git status first — never orient against a stale checkout).

5. Procedure

  1. Read CLAUDE.md (repo root) — the operating manual. Then this map.
  2. Locate by concern:
Concern Look here first
App data / state src/state/ — one Zustand store per domain; persistence seam src/state/persistence.ts (IndexedDB db narraitor-state)
Cross-store cascades src/lib/state/storePubSub.ts + src/state/storeEventWiring.ts
AI generation src/lib/ai/ — model strings in src/lib/ai/config.ts; client fetch seam src/lib/ai/aiFetch.ts; server key resolution src/lib/ai/resolveApiKey.ts
Prompt templates src/lib/promptTemplates/ (registry: narrativeTemplateManager.ts); context/token budget in src/lib/promptContext/
Server endpoints src/app/api/**/route.ts (19 routes: narrative/, generate-, ai/, inventory/)
Client→API seam src/lib/api/ — components call these services, never raw fetch (dependency-cruiser enforces)
UI components src/components/<Domain>/ with co-located .css; stories centralized in src/stories/
Theming / tokens src/lib/theme/themes/{_shared-tokens,ds3}.css; ThemeProvider.tsx; localStorage narraitor-color-scheme (light/dark only — ADR-013 deleted DS1/DS2 and the narraitor-theme key with them)
Pages src/app/ (App Router); dev harnesses under src/app/dev/* (knip-exempt, not production canon)
Unit tests co-located src/**/__tests__ + src/**/*.test.*; config jest.config.cjs
Visual/e2e tests tests/visual/**/*.spec.ts; baselines *-chromium-darwin.png; config playwright.config.ts
CI gates .github/workflows/ci.yml (+ playwright-tutorials.yml, codeql.yml)
Scripts/tools scripts/ — check package.json before assuming a script is wired
  1. Command quick-reference (details + failure modes: narraitor-build-test-env): npm run dev (3000 main / derived port in worktrees) · npm run storybook (6006) · quality gate = npm test + npm run type-check + npm run lint + npm run lint:css.
  2. Docs of record: public_docs/ (ADR-001…012 under public_docs/architecture/, roadmap at public_docs/development/mvp-roadmap.md), README.md, DESIGN.md, .github/ templates.
  3. Check the do-not-trust list (below) before acting on any doc claim.

6. Evidence required

Before repeating any structural claim (path, script, route, store field): confirm it with ls/glob/grep in the current tree. Docs and memories describe the past; the tree is the present.

7. Output artifact

An oriented session. If asked to summarize, produce a short "where I'll look and why" note with verified paths — not a re-dump of this map.

8. Common traps

  • Do NOT trust blindly: docs/ (gitignored planning vault; all point-in-time plans now under docs/plans/archive/, several completed/superseded); DESIGN.md's type-scale numbers, which are still DS1-era — the doc flags them inline and #1543 tracks the rewrite; ADR-007 and ADR-011 (historical by design — both correctly marked superseded, read them as history not guidance); and narraitor-architecture/narraitor-pattern-alignment-skill, which still carry shadcn-era mentions. Those describe the origin of the src/components/ui/ primitives, never a license to add cva/cn()/Tailwind — where they conflict with narraitor-architecture-contract, the contract wins.
    • Cleared by the 2026-07-28 doc-rot sweep, don't re-flag: ai-systems.md's gemini-2.0-flash (now points at config.ts), style-port's dead design-tokens.css path (now themes/), and the /dev/design-system* references in DESIGN.md / public_docs/design-system/README.md (present but correctly marked retired).
  • Bad behavior this prevents: a session reads DESIGN.md, navigates to /dev/design-system, finds nothing, and "helpfully" rebuilds a living style guide that was deliberately deleted.
  • Port 3000 may be held by an orphan next dev or another project — lsof -nP -iTCP:3000 -sTCP:LISTEN before blaming code.
  • src/app/dev/* harnesses are development sandboxes: patterns there are NOT production conventions.
  • No Tailwind. Plain CSS + design to
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/trigger_eval.json

FAQ

Что делает скилл narraitor-repo-orientation?

Fast orientation map for a zero-context session in the Narraitor repo. Use FIRST when starting work here, when asked "where does X live", "how is this repo organized", "what's the stack", "where do I look for the stores / AI code / themes / tests", or to check WHICH docs are trustworthy before acting on one. (Asking WHY something is built this way -> narraitor-failure-archaeology; fixing or correcting a stale doc -> narraitor-docs-and-writing; "where do prompts live" -> narraitor-prompt-template-governance.)

Как установить скилл narraitor-repo-orientation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл narraitor-repo-orientation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить narraitor-repo-orientation с