kb-wiki-deprecatelisted
Install: claude install-skill draakaap/lorewerk
# KB Wiki — Deprecate a page
## The rule: never delete, always deprecate
CONVENTIONS.md Rule 5: "Do not delete pages — deprecate by adding a
`status: deprecated` frontmatter field and a note at the top of the body."
## Step 1 — Read CONVENTIONS.md and CLAUDE.md
Read both before proceeding.
## Step 2 — Read the target page
Note its `title` and `related:` list.
## Step 3 — Add `status: deprecated` to frontmatter
Use `Edit` to add the field. Also bump `updated` and `last_verified` to today.
Ensure all required frontmatter fields are present per CLAUDE.md standard.
## Step 4 — Add deprecation notice at top of body
```markdown
> **Deprecated** — This page is no longer maintained.
> See [[Replacement Page Title]] for current information.
```
## Step 5 — Remove inbound links from other pages
Search all pages linking to the deprecated page. For each:
1. `Read` the file
2. `Edit` to remove or replace the `[[link]]`
3. Bump `updated` and `last_verified`
## Step 6 — Update index.md
Remove the deprecated page link from `wiki/index.md`.
## Step 7 — Update gaps.md
If the deprecation creates a knowledge gap (topic no longer covered), add
an entry to wiki/gaps.md > Critical Gaps.
## Step 8 — Append to wiki/log.md
```
[YYYY-MM-DD] WRITE: <page path> — deprecated, replaced by [[successor]] or no replacement
```
## Step 9 — Do NOT delete the file
Leave the `.md` file in place. Never auto-delete content.
## Step 10 — Invoke `wiki-index-regenerator` — MANDATORY FINAL STEP
Do