/field-guide:queryfrom field-guide
Answers questions by querying the project wiki and work artifacts, citing sources and distinguishing current implementation-backed knowledge from historical context.
Ships in field-guide. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Answer a question using the project wiki and relevant work artifacts. Cite every source and distinguish current, implementation-backed understanding from historical context. Offer to persist the answer as a synthesis page when it would add useful knowledge.
Read the field-guide index first. Prefer .lore/reference/index.md; if it does not exist, read .lore/reference/index.html. Scan all listed pages to identify which are relevant to the question. Relevance is broad — include any page whose subject could bear on the answer, even indirectly.
Read every candidate page in full. Candidate pages may be Markdown or HTML. For HTML pages, use meta tags as metadata and visible body content as the page body. Scan relevant .lore/work/ documents for context not in the wiki. Historical brainstorms, designs, intents, research, and retros can suggest context or investigation leads; plans, notes, and tasks are not reference sources. None of these artifacts establishes current behavior or overrides current user direction. Verify current behavior claims against implementation/tests; identify unverified rationale as historical context. Where current direction conflicts with old artifacts, follow current direction and mention concrete safety or compatibility consequences when relevant, not old-document noncompliance.
If no relevant material exists, say so. Don't synthesize an answer from general knowledge when the question is asking what this project specifically decided or learned. Do not create a synthesis page that merely duplicates existing implementation or reference material; no page is a valid outcome.
Give a direct answer, then the supporting evidence. Distinguish actual current implementation from historical intentions or rationale. If historical sources conflict, identify their context without treating the conflict as a current requirement or blocking ambiguity. If code/tests and a reference conflict, report the observed behavior and the reference drift.
After the answer, list every file cited. Use the file path as the identifier. Example:
Sources:
.lore/reference/auth-flow-decision.md,.lore/work/specs/auth-spec.md
After delivering the answer, offer to save it as a synthesis wiki page only when it would preserve useful understanding that code/tests and existing pages do not adequately communicate. If the user accepts:
Write a Markdown page at .lore/reference/[descriptive-kebab-name].md. If the wiki is stratified into category directories (the index will have a "Layout" section), write the page into the best-fitting existing category directory instead of the root. Use YAML frontmatter:
---
title: Precise noun-first description of what the synthesis answers
date: YYYY-MM-DD
status: completed
tags: [kebab-case, terms, subject, domain, question-type]
fg-type: synthesis
fg-sources: [relative/path/to/source1.md, relative/path/to/source2.md]
fg-status: current
---
# Precise noun-first description of what the synthesis answers
<!-- body in Markdown -->
fg-sources lists every source cited in the answer as a YAML list. Sources may be Markdown or HTML files.
The body must be self-contained in Markdown. A reader with no access to the original question or sources should understand what the page is saying and why it exists. Reach for embedded inline HTML only when a visual carries meaning Markdown cannot — color-coded status, inline <svg> diagram, side-by-side comparison. When you do, write it raw and inline; never in a fenced code block.
Before writing, merge useful new context into an existing page where appropriate rather than accumulating a duplicate. If a distinct page genuinely adds reference-worthy understanding, update the field-guide index. Prefer .lore/reference/index.md; if only .lore/reference/index.html exists, update it in place. Add it to the synthesis group or existing category. Preserve unrelated entries.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
7 skills in this plugin
/ingestUse when distilling useful project understanding from eligible .lore/ artifacts into the reference wiki. Historical artifacts suggest candidates; current claims are checked against implementation and tests. Triggers include "ingest this", "distill reference knowledge", "update the reference", and "populate the field guide"./initUse when setting up field-guide on a project for the first time, or to refresh the scheduled lint job after it expires. Triggers include "init field-guide", "set up field-guide", "refresh field-guide lint schedule", and "bootstrap the wiki"./lintThis skill is used when the project wiki needs a health check. Triggers include 'lint the wiki', 'check wiki health', 'run field-guide lint', 'are there stale wiki pages', 'find orphaned pages', 'check for contradictions in the wiki'./resolve-driftUse when checking whether field-guide reference pages still match current code and tests. Reads pages plus fg-evidence anchors, reports or fixes semantic drift, and can use sub-agents for parallel audit batches. Triggers include "resolve drift", "semantic drift", "check accuracy", "verify the reference against code", and "audit the wiki"./stratifyUse when the wiki has outgrown its flat layout and pages need grouping into category directories. Reorganizes .lore/reference/ into category and subcategory trees, rewrites the index, and repairs every referrer. Triggers include "stratify the wiki", "organize the reference directory", "group the wiki into categories", "the wiki is too flat", and "reorganize the field guide"./update-evidenceUse after ingesting or editing field-guide pages to attach living code/test anchors. Adds or refreshes fg-evidence metadata without trying to prove prose accuracy. Triggers include "update evidence", "wire evidence", "add evidence anchors", and "connect the wiki to code".npx claudepluginhub rjroy/vibe-garden --plugin field-guide