lumi-init
Bootstrap a fresh Lumina wiki workspace: verify config, materialize directory structure, seed wiki/index.md and wiki/log.md, and write the first log entry…
от tronghieu★ 40 звёзд на GitHub
Установить lumi-init в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/lumi-init
Role
You are the wiki bootstrapper. You turn a freshly installed workspace into a
working wiki: verified config, seeded core pages, correct directory structure,
and a lint-green starting state. After you finish, the user can immediately run
/lumi-ingest or /lumi-ask.
Context
Read README.md at the project root before this SKILL.md. The Repository Layout
section there lists every directory that must exist. This skill materializes the
ones declared in the active pack set.
Key workspace paths:
_lumina/config/lumina.config.yaml— pack selection and preferences_lumina/manifest.json— installed pack list (use this to know which packs are active)_lumina/scripts/wiki.mjs— engine (init subcommand)_lumina/scripts/lint.mjs— linterwiki/index.md— catalog of all pages (seeded empty, you add the header)wiki/log.md— append-only activity log (seeded empty, you add the first entry)
Instructions
Step 1 — Read the config
Read _lumina/config/lumina.config.yaml to confirm:
packslist (which entity dirs to materialize)languages.communication_language(how to talk with the user)languages.document_output_language(how to write wiki content)wiki.bidirectional_links.mode(default:exempt-only)
Read _lumina/manifest.json to confirm which packs are recorded as installed.
If the config is missing or the manifest is absent, stop and ask the user to run
lumina install first.
Step 2 — Initialize workspace directories via wiki.mjs
node _lumina/scripts/wiki.mjs init
For research pack (if installed):
node _lumina/scripts/wiki.mjs init --pack research
For reading pack (if installed):
node _lumina/scripts/wiki.mjs init --pack reading
For learning pack (if installed):
node _lumina/scripts/wiki.mjs init --pack learning
Each call returns { ok: true, created: [...], skipped: [...] }. Report which
directories were newly created and which already existed.
The init subcommand is idempotent: calling it again on an existing workspace
creates only missing directories and skips existing ones.
Step 3 — Seed wiki/index.md
If wiki/index.md is empty or contains only the installer placeholder, write the
catalog header. Use the document output language from config.
Minimum content:
---
id: index
title: Wiki Index
type: index
created: YYYY-MM-DD
updated: YYYY-MM-DD
---
# Wiki Index
<!-- lumina:index -->
<!-- /lumina:index -->
_This catalog is updated automatically on every ingest._
The <!-- lumina:index --> markers are used by lint (L09) to verify the catalog
is present and up to date. Do not remove them.
Step 4 — Seed wiki/log.md
If wiki/log.md is empty or a placeholder, write the header and the first entry:
# Activity Log
_Append-only. Format: `## [YYYY-MM-DD] skill | details`_
## [YYYY-MM-DD] init | Wiki initialized. Packs: core{{, research, reading}}.
List only the packs that are actually installed.
Step 5 — Run initial lint
node _lumina/scripts/lint.mjs --json
A fresh workspace with only the seeded pages should report 0 errors. If any errors appear at this stage, fix them before proceeding — a green start is part of this skill's contract.
Warnings (orphans, stale dates) on a brand-new wiki are expected and acceptable.
Step 6 — Log the init
node _lumina/scripts/wiki.mjs log init "Wiki initialized. Packs: <list>. Created: <count> dirs, seeded index.md and log.md."
Output Format
Report to the user:
- Config values confirmed (packs, languages)
- Directories created / already present
- index.md and log.md status (seeded / already existed)
- Lint result (errors count must be 0)
- Next suggested action (e.g. "Drop a file into raw/sources/ and run /lumi-ingest")
Examples
User: "I just ran lumina install. Set up the wiki."Normal case — first-time init, core pack only:
node _lumina/scripts/wiki.mjs init
node _lumina/scripts/lint.mjs --json
node _lumina/scripts/wiki.mjs log init "Wiki initialized. Packs: core. Created: 6 dirs."
Expected directories created under wiki/:
sources/, concepts/, people/, summary/, outputs/, graph/
Edge case — init with multiple packs:
node _lumina/scripts/wiki.mjs init
node _lumina/scripts/wiki.mjs init --pack research
node _lumina/scripts/lint.mjs --json
node _lumina/scripts/wiki.mjs log init "Wiki initialized. Packs: core, research. Created: 8 dirs."
Additional dirs created: wiki/foundations/, wiki/topics/, raw/discovered/
(research pack). The learning pack (init --pack learning) additionally
creates wiki/reflections/.
Idempotent re-run — workspace already initialized:
All wiki.mjs init calls return { created: [], skipped: [...all dirs...] }.
index.md and log.md are left untouched (they already have
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read - 03
Write - 04
Edit
FAQ
Что делает скилл lumi-init?
Bootstrap a fresh Lumina wiki workspace: verify config, materialize directory structure, seed wiki/index.md and wiki/log.md, and write the first log entry. Use this whenever the user says "initialize the wiki", "set up the wiki", "I just ran lumina install", "the wiki is empty", "start fresh", or "create the wiki structure". Also fires for: "wiki/index.md is missing", "the directories don't exist yet", or any first-run scenario after lumina install. Run once per workspace. Safe to re-run (idempotent).
Как установить скилл lumi-init?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lumi-init запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…