Files
claude-skills/.tasks/STATUS.md
vitya 36fe39e921 feat: split wiki — using-wiki (policy) + setup-wiki (one-time)
Rename `wiki-maintainer` to `using-wiki` (rename via git mv preserves
file history). Strip greenfield/bootstrap content out of it; add a
Prerequisites section that delegates to the new `setup-wiki` skill when
`.wiki/` is missing or non-canonical.

New `setup-wiki` skill: 6-phase procedure (sanity → discovery → plan +
confirm → backup → create/migrate → verify → report). Two modes —
greenfield (no `.wiki/`) and migrate (existing non-canon, e.g. SUMMARY.md
+ source/). Confirmation gate before any write. Templates for each canon
file (`CLAUDE.md` schema, `index.md`, `log.md`, `overview.md`,
`raw/README.md`) baked in.

`project-bootstrap` Step 3 now delegates to `setup-wiki` instead of
holding inline templates that drift from canon.

After this commit, `~/.claude/skills/wiki-maintainer/` still exists as a
stale install — the user will rm it manually after commit (c) lands the
tasks split.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 13:23:26 +03:00

109 lines
7.6 KiB
Markdown

# Task Board
_Updated: 2026-04-28_
## In Progress
### Versioning + setup/using split for wiki & tasks
**Goal:** version 6 infra skills (`1.0.0`), record them in a per-project bootstrap manifest, then split `wiki-maintainer`/`task-status-wiki` into `setup-X`/`using-X` pairs (mirroring context7) so bootstrap delegates to setup-skills and using-skills self-bootstrap on missing infra.
**Three commits:**
#### (a) Versioning + manifest
- [x] Add `version: 1.0.0` to frontmatter of all 6 infra skills
- [x] `project-bootstrap` Step 5.5 writes `.wiki/concepts/bootstrap-manifest.md` (table read live from each delegated skill's frontmatter)
- [x] `concepts/skill-versioning.md` documents the convention; index + log updated
- [x] Build + install affected skills (loop in build.sh handles 6-arg invocation cleanly)
#### (b) Split wiki
- [x] `git mv skills/wiki-maintainer/ skills/using-wiki/` (history preserved as rename)
- [x] Updated `name:` to `using-wiki` and description to include `use project wiki` trigger; H1 + headline rewritten
- [x] New `skills/setup-wiki/SKILL.md` — 6 phases (sanity → discovery → plan+confirm → backup → 4a greenfield / 4b migrate → verify → report), with full templates for each canon file
- [x] `using-wiki` Prerequisites section delegates to `setup-wiki` when layout missing/non-canon
- [x] `project-bootstrap` Step 3 now delegates to `setup-wiki`; inline templates kept as reference only
- [x] Stale `dist/wiki-maintainer.skill` removed
#### (c) Split tasks
- [ ] Rename `skills/task-status-wiki/``skills/using-tasks/`; update `name:`
- [ ] New `skills/setup-tasks/` derived from `.wiki/raw/setup-task-status-wiki.md` + existing SKILL.md
- [ ] Prerequisites in `using-tasks` → invokes `setup-tasks`
- [ ] `project-bootstrap` Step 4 delegates to `setup-tasks`
**One-time, after all three:**
- [ ] Manual `rm -rf ~/.claude/skills/{wiki-maintainer,task-status-wiki}/` (the old names) once the renamed installs are in place
## Done
### Create `setup-context7` skill
- [x] Drafted `skills/setup-context7/SKILL.md` — 8 phases (discovery → plan → backup → install → inject → clean → smoke-test → restart) + rollback + cross-platform notes
- [x] API-key discovery in priority order: `settings.json``.claude.json` (top-level + project-scoped) → `settings.local.json` → env → ask
- [x] Phase 2 confirmation gate (no mutations without explicit "ok"); Phase 6 validates JSON after each edit
- [x] Documented `/plugin update` gotcha
- [x] Added Prerequisites section in `using-context7` pointing at `setup-context7`
- [x] Built + installed both skills (`setup-context7` already in `available_skills`)
- [x] Updated `.wiki/concepts/context7-setup.md` with "Now captured as a skill" section explaining the policy/setup split rationale
- [x] **Bonus fix:** `scripts/build.sh` PS multi-arg bug — comma-joined `-Names` wasn't splitting into `[string[]]` when called via `-File`. Now loops in bash, one PS invocation per skill.
### Switch context7 from manual MCP config to official plugin
- [x] Backup `~/.claude.json` and `~/.claude/settings.json` (suffix `.bak-20260428-114532`)
- [x] User installed `context7@claude-plugins-official`
- [x] Located installed plugin: `~/.claude/plugins/cache/claude-plugins-official/context7/unknown/`
- [x] Injected `--api-key` flag into the plugin's `.mcp.json` (key sourced from `settings.json`, not echoed in chat)
- [x] Smoke-tested `mcp__context7__resolve-library-id` (returned 5 Nuxt entries — works in current session via legacy HTTP config; plugin takes over after Claude Code restart)
- [x] Removed three manual context7 entries (settings.json + 2 in `.claude.json`); JSON validity confirmed
- [x] Documented setup + plugin-update gotcha in `.wiki/concepts/context7-setup.md`
- [x] Wiki index + log + summary updated
### Migrate this repo's `.wiki/` to canonical Karpathy layout
- [x] `git mv` `.wiki/source/*.md``.wiki/concepts/` (rename detection preserves history)
- [x] Add `type: concept` frontmatter to each migrated page
- [x] Create `.wiki/CLAUDE.md` (schema, with Karpathy gist URL pinned at top)
- [x] Create `.wiki/index.md` (replaces `SUMMARY.md`)
- [x] Create `.wiki/log.md` with backfilled entries for prior decisions
- [x] Create `.wiki/overview.md` (project intro page)
- [x] Create `.wiki/raw/README.md` (replaces `.gitkeep` placeholder)
- [x] Empty `.gitkeep` in `.wiki/entities/`, `packages/`, `sources/`
- [x] Delete `.wiki/SUMMARY.md`, `.wiki/source/`, `.wiki/raw/.gitkeep`
### project-bootstrap: align wiki init with Karpathy canon
- [x] Read Karpathy gist + `wiki-maintainer` SKILL.md — gap confirmed
- [x] Rewrite Step 3: create `index.md`, `log.md`, `overview.md`, `.wiki/CLAUDE.md` schema, `raw/README.md`, empty `entities/ concepts/ packages/ sources/` with `.gitkeep`
- [x] Drop the bogus `SUMMARY.md` + `WORKFLOW.md` + `source/` from the template
- [x] Pin Karpathy gist URL inside the schema file
- [x] Rebuild + reinstall `project-bootstrap.skill`
- [x] Document the realignment in `.wiki/source/wiki-realignment.md`
### project-bootstrap: include `active-platform` trigger in CLAUDE.md template
- [x] Add `we're on Windows` line to `assets/CLAUDE.md.template`
- [x] Update embedded preview in `SKILL.md` Step 5 (with note about Linux/macOS substitution)
- [x] Backfill the line in this repo's own `CLAUDE.md`
- [x] Rebuild + reinstall `project-bootstrap.skill`
### active-platform skill
- [x] Draft `skills/active-platform/SKILL.md` (RU+EN triggers, default=Windows/PowerShell, palette=Win/Linux/mac)
- [x] Fixed `build.sh` PS arg-passing bug (single-quotes were leaking into `-Names` value)
- [x] Build `dist/active-platform.skill` and install into `~/.claude/skills/`
- [x] Document decision in `.wiki/source/active-platform-decision.md`
- [x] Update `.wiki/SUMMARY.md`
### bootstrap-skills-migration
- [x] Bootstrap repo (git, .wiki, .tasks, CLAUDE.md)
- [x] Brainstorm and document repo layout (`.wiki/source/repo-layout.md`)
- [x] Copy all 12 personal skills from `~/.claude/skills/` to `skills/`
- [x] Write `scripts/build.sh`, `scripts/build.ps1`, `scripts/install.sh`
- [x] Document ZIP/PowerShell gotcha (`.wiki/source/build-notes.md`)
- [x] Build initial `dist/*.skill` archives (forward-slash entry paths verified)
- [x] Update root README with usage
- [x] Smoke-test `install.sh` to a temp dir
- [x] Remove legacy `project-bootstrap.skill` from repo root (replaced by `dist/`)
## Backlog
- Resolve `compress` vs `caveman-compress` duplication (look at both, decide if one should go).
- Consider a PowerShell-native `install.ps1` (current `install.sh` already works in git-bash, so low priority).
- Revisit grouping/manifest if skill count grows past ~30.
- Decide whether to write a smoke-test that round-trips `skills/<name>/``dist/<name>.skill` → unpack → diff (would catch archive-shape regressions).
- Tune `active-platform` triggers based on real-world usage; add WSL handling if it comes up.
- Consider running formal `skill-creator` eval loop on `active-platform` once we have ~5 real interactions to learn from.
- **Migrate this repo's `.wiki/` to the canonical Karpathy layout** (it was bootstrapped with the old buggy template). Directory rename + file moves; needs a conscious commit, not a silent piggyback. _(done — `4382fd3`)_
- **Fix `project-bootstrap` Step 4 to match `task-status-wiki` canon.** Same class of bug as the wiki fix: bootstrap creates a single flat `STATUS.md`, but `task-status-wiki` SKILL.md expects per-task files (`.tasks/<task-slug>.md`) plus `STATUS.md` as a board pointing at them with emoji-status convention (🔴 active / 🟡 paused / ⚪ ready / 🟢 done / 🔵 blocked). Two pieces of work: (a) update bootstrap Step 4 + asset, (b) migrate this repo's existing `.tasks/STATUS.md` to per-task files.