feat: split tasks — using-tasks (policy) + setup-tasks (one-time)

Mirror the wiki split. Rename `task-status-wiki` → `using-tasks` (preserves
file history via `git mv`). Strip the "Initialization" section out — that
content moves to the new `setup-tasks` skill, which owns greenfield
creation and migration.

`setup-tasks` has 6 phases (sanity → discovery → plan + confirm → backup →
greenfield/migrate → verify → report) and two modes:
- greenfield: write `.tasks/STATUS.md` with the canonical board template
  (emoji legend in a comment block; no per-task files at bootstrap — they
  get created on demand by using-tasks when actual tasks are added)
- migrate: detect old flat STATUS.md (no emoji, plain `## Done`/`## In
  Progress` sections), back it up, then walk the user *interactively*
  through each task to extract slug / status / branch / where-stopped /
  next-action. Never auto-parses the old format — too varied, real work
  at stake.

`using-tasks` Prerequisites section delegates to `setup-tasks` when the
board is missing or non-canonical (no emoji, no per-task files).

`project-bootstrap` Step 4 now delegates to `setup-tasks`.

The user's manual follow-up after this commit:
  rm -rf ~/.claude/skills/{wiki-maintainer,task-status-wiki}/
to clean up the stale installs of the old names. (install.sh creates the
new ones but doesn't remove the old.)

This completes the three-commit refactor (a/b/c) tracked in
.tasks/STATUS.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-28 13:26:46 +03:00
parent 36fe39e921
commit bd8c378f83
9 changed files with 253 additions and 75 deletions

View File

@@ -1,38 +1,31 @@
# 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
### Versioning + setup/using split for wiki & tasks (3 commits)
#### (a) Versioning + manifest — `e1e5bd1`
- [x] `version: 1.0.0` added to all 6 infra skills' frontmatter
- [x] `project-bootstrap` Step 5.5 writes `.wiki/concepts/bootstrap-manifest.md`
- [x] `concepts/skill-versioning.md` documents the convention
#### (b) Split wiki — `36fe39e`
- [x] `wiki-maintainer``using-wiki` (rename via `git mv`)
- [x] New `setup-wiki` skill — 6 phases, two modes (greenfield / migrate), full canon templates
- [x] `using-wiki` Prerequisites delegates to `setup-wiki`
- [x] `project-bootstrap` Step 3 delegates
#### (c) Split tasks — _this commit_
- [x] `task-status-wiki``using-tasks` (rename via `git mv`)
- [x] New `setup-tasks` skill — 6 phases, two modes (greenfield / migrate); migration is interactive, never auto-parses old flat STATUS.md
- [x] `using-tasks` Prerequisites delegates to `setup-tasks`
- [x] `project-bootstrap` Step 4 delegates
- [x] Stale `dist/task-status-wiki.skill` removed
### Manual follow-up for the user (one-time)
- [ ] `rm -rf ~/.claude/skills/{wiki-maintainer,task-status-wiki}/` — the old folders linger on disk after rename. The new `using-wiki` / `using-tasks` are already installed alongside; once you remove the old ones, `available_skills` will list only the new names.
### 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