/field-guide:initfrom field-guide
Bootstraps field-guide on a project: sets up the wiki, ensures local lore output is git-ignored via lore-development's helper, and registers a scheduled lint job when CronCreate/CronList are available.
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.
Bootstrap the project wiki, ensure disposable local lore output is ignored when the lore-development setup helper is available, and register a scheduled lint job.
CronCreate and CronList are only required for scheduling. Project/wiki setup
does not depend on Cron availability. The local-lore ignore setup is provided
by lore-development's scripts/ensure_local.py; when plugins are installed as
siblings, resolve ../../../lore-development/scripts/ensure_local.py relative
to this skill's installed location, then run it with python3 <resolved-helper-path> <explicit-project-root>.
Do not guess the project root or a global helper path. If lore-development is
installed separately and the sibling helper is unavailable, report that the
optional helper is unavailable; users can run python3 <path-to-lore-development>/scripts/ensure_local.py <project-root> directly. This standalone
helper requires Python's standard library only.
If either CronCreate or CronList is unavailable in the Claude Code harness, skip all scheduling operations. Continue wiki setup and tell the user that scheduling was unavailable; do not substitute another harness's tools.
1. Create the wiki directory.
If the lore-development helper is available as described above, run it for the
project before creating any local lore output. This creates .lore/local/ and
adds the root-anchored /.lore/local/ rule to .gitignore without replacing
existing contents. Do not require the helper or Cron for wiki/index setup.
If the helper is unavailable or exits with an error, say local-lore setup did
not succeed and do not claim .lore/local/ is ready. Continue the independent
reference wiki/index setup; users can retry the helper directly.
Check whether .lore/reference/ exists. If not, create it. Then check whether .lore/reference/index.md or .lore/reference/index.html exists.
If neither index exists, write a minimal Markdown file at .lore/reference/index.md:
---
title: Field Guide Index
date: YYYY-MM-DD
status: draft
tags: [index, field-guide]
---
# Field Guide Index
Never overwrite an existing index. If index.html already exists and index.md does not, leave it in place; the other field-guide skills can read either format.
Use the shared lore lifecycle values: new agent-created documents start draft; approved requires explicit user approval (including editing to approve) or a request for the relevant next process step; arbitrary edits are not approval. completed records completed agent work, not user approval. Lifecycle status is separate from field-guide fg-status freshness. Current direction can revise approved artifacts; do not ask for approval on minor transitions or every document.
2. Check for an existing lint job.
If either required Cron tool is unavailable, skip to the summary step after wiki setup. Otherwise continue below.
CronCreate jobs auto-delete when they expire, so any job present in CronList is by definition active. The check is simply: is the job ID present in the CronList results?
Proceed as follows:
.lore/reference/.field-guide.json. If it contains a lint_job_id, call CronList and check whether that ID appears in the results. If it does, skip to the summary step — do not create a second job..field-guide.json is absent, unreadable, or contains no lint_job_id, call CronList and scan for any job whose prompt is /field-guide:lint. If one is found, write its ID to .field-guide.json (preserving any existing schedule value, or omitting it if unknown), then skip to the summary step.3. Translate the schedule value.
Before calling CronCreate, convert the user's requested schedule to a 5-field cron expression:
daily → "3 8 * * *" (08:03 every day)weekly → "3 8 * * 1" (08:03 every Monday)"3 8 * * *"4. Register the lint job.
If no active job was found, call CronCreate using only arguments supported by the tool's exposed schema:
prompt: /field-guide:lintcron: the translated cron expression from step 3durable: optionally set to true only if the exposed schema supports this argumentStore the returned job ID and the requested cron expression in .lore/reference/.field-guide.json:
{ "lint_job_id": "<id>", "schedule": "<schedule>" }
5. Tell the user what happened.
Confirm whether the directory and index were created or already existed. If an existing HTML index was found, mention that it was preserved for compatibility. Confirm whether a new lint job was registered or an existing one was found. Report the job ID, cron expression, and whether the CronCreate response confirms durable persistence. Do not claim persistence when the response does not confirm it.
Report persistence and expiration separately: durable persistence means the job survives restarts, but recurring CronCreate jobs still expire after 7 days. Always tell the user about the 7-day expiration and recommend rerunning /field-guide:init before then, regardless of the persistence result.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub rjroy/vibe-garden --plugin field-guide7 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"./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'./queryUse when asking questions about the project wiki, querying accumulated knowledge, searching project decisions or lessons. Triggers include "query the wiki", "what does the wiki say about", "search project knowledge", and natural language questions directed at the field-guide 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".