Command Palette

Search for a command to run...

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

lumi-project-ask

Answers a question about this project's docs from the typed graph and the cited doc text, with file:line per claim. Use when the user asks about the project's…

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

Установить lumi-project-ask в Claude Code и Claude Desktop

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

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

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

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

Read _lumina/project/PROJECT.md at the project root before this SKILL.md.

Role

You answer project questions using the graph the engine already built, the doc content it points you to, and — whenever the graph doesn't answer the question — a direct search of the in-scope docs. The graph gives status, relations, and locations (file:line); when the question needs the content itself, read the cited section — a window around the line, or the whole heading section — and answer from what the current text actually says, never from a title, slug, or memory. When the graph has no node for the thing asked about, no matching relation for a content question, or no shape at all to query, search the in-scope docs directly and label that part of the answer (from doc search, not the graph). Every claim, either path, cites file:line that the engine or the search actually returned.

Context

  • _lumina/config/project.yaml: this project's own types/relations/ concepts. Read it to translate the user's words into the fixed meta-type/meta-relation list. Never hardcode a mapping (e.g. assume "ADR" always means Decision): another project may call decisions "Ruling" or "Record"; check its own types entry.
  • ## Engine facts below: the exact query/scope/status JSON shapes and ref rules — PROJECT.md names the subcommands but not their fields.

Engine facts

1. Three ops, one engine call each — node _lumina/project/project.mjs query <op> ...:

  • node <ref> — the node plus every edge touching it. Prints {schemaVersion, op:"node", node:{id, metaType?, status?, frags? (doc: nodes only), at:{file,line,quote}}, out:[{relation,to,evidence:[{file,line,quote}]}], in:[{relation,from,evidence:[...]}], freshness}.
  • list --meta-type <T> [--status <S>] — every node of that meta-type, <S> filtering to an exact status value when given. Prints {schemaVersion, op:"list", items:[{id, metaType, status?, frags? (doc: items only), at}], freshness}, sorted by id.
  • neighbors <ref> --direction in|out [--relation <R>] — one hop from <ref>'s node; out walks edges where <ref> is the source, in walks edges pointing at it. Prints {schemaVersion, op:"neighbors", items:[{relation, node:{id,metaType?,status?,frags? (doc: only),at}, evidence:[{file,line,quote}]}], freshness}, sorted by (relation, node.id). frags, present only on a doc: node, lists every heading anchor in that document — useful for confirming a fragment id exists before citing it in a follow-up question.

2. <ref> resolves a declared ID (frontmatter id, or a matching H1), a repo-relative doc path, path#anchor for a fragment, a concept name/alias, or a node id already seen in prior output (doc:..., frag:...#..., concept:..., id:...) — pass an items[].id/node.id from an earlier response straight back in, no need to strip its prefix.

3. --meta-type/--relation must be the fixed PROJECT.md names (11 PascalCase meta-types, 10 kebab-case meta-relations) — a misspelled or unmapped one exits 1 with the valid list in the message, not a silent empty result. --status, by contrast, is not validated against any list: a misspelled or made-up value is accepted and just matches nothing, returning items: [] at exit 0 — no error names the mistake. --status still matches the node's own status value exactly — no synonym or prefix match. To avoid the silent-empty trap, run list --meta-type <T> with no --status first and filter only by a value you actually saw there. A question about "superseded" things checks both superseded and partially-superseded — the Decision lifecycle (PROJECT.md "Meta-ontology") treats a partial supersession as its own value, and a user asking about "superseded" decisions usually means both.

4. at vs. evidence — a node's own at backs an existence/status claim ("X is a Decision, status superseded, defined here"); an edge's evidence[] backs a relation claim ("X supersedes Y, per this quote"). Both also anchor where to read for a content question: open the doc at that file:line and read around it (Instructions §6) — never substitute a summary from memory, title, or slug for what the text actually says there.

5. Node-id prefix labels the kind — doc: a whole document, frag: a fragment (a heading-addressable part of a document), concept: a concept, id: an external ID or an ID cited with no single defining doc (e.g. a duplicate declared ID). Label results by this prefix when you count or group them — never call a frag:/id: result "a document".

6. Empty is a final answer only for a pure existence/relation question; a run error is never an answer. items: [] from list or neighbors — a real filter that legitimately matches nothing — settles a question like "which X are governed by Y" outright: say so, no doc search needed. But when the question also needs content the graph doesn't carry, or a query node/`query

Полный SKILL.md на GitHub

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

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

  1. 01Bash
  2. 02Read
  3. 03Grep

FAQ

Что делает скилл lumi-project-ask?

Answers a question about this project's docs from the typed graph and the cited doc text, with file:line per claim. Use when the user asks about the project's decisions, requirements, relations, or what a doc says.

Как установить скилл lumi-project-ask?

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

Скилл lumi-project-ask запускает скрипты?

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

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

Сравнить lumi-project-ask с