Skip to content
Back to skills

Placet Knowledge Base Update

ASecurity

Placet Task 8.5 — incremental knowledge-base update. Update the DETAIL Requirement Index, function inventory, and related modules without a full rescan. Trigger in Claude Code via /placet-knowledge-base-update. Natural language: update knowledge base.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 30, 2026
documentationbashnodeapi

Works with

  • claude code
  • api

Security analysis

A100/100

Scanned September 30, 2026

npx -y skills add placethk/placet --skill placet-knowledge-base-update --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Placet Knowledge Base Update?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Placet Knowledge Base Update
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/placethk-placet-knowledge-base-update/badge)](https://www.skillsdirectory.com/skills/placethk-placet-knowledge-base-update)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: placet-knowledge-base-update
description: Placet Task 8.5 — incremental knowledge-base update. Update the DETAIL Requirement Index, function inventory, and related modules without a full rescan. Trigger in Claude Code via /placet-knowledge-base-update. Natural language: update knowledge base.
---

# placet-knowledge-base-update — Incremental Knowledge-Base Update

> **Runtime: Claude Code**. Run after a requirement is completed or changed. Do not full-rescan.

## Trigger

```
/placet-knowledge-base-update --project <target-project-path> [--req-id <requirement-id>]
```

Or natural language: `update knowledge base` / `knowledge base update`

## Prerequisites

1. Read `~/.claude/placet-framework-path` → `$FRAMEWORK`
2. Read `$FRAMEWORK/docs/KNOWLEDGE_BASE_RULES.md` §6.1
3. Read `$FRAMEWORK/skills/placet-knowledge-base/reference.md` §7–9

## Inputs

| Source | Purpose |
|------|------|
| Full document set under `docs/{requirement-id}/` | Scope of this change |
| Source files modified this time | Incremental module/function updates |
| `docs/knowledge-base/PROJECT_KNOWLEDGE_DETAIL.md` | Update target |
| `docs/knowledge-base/*.puml` | Prefer updating these when a flow changes |

## Execution (fixed order)

### 1. Decide the update scope

- Architecture / deployment change → also update BASE
- Feature / module / function change → update DETAIL
- Flow change → update PUML **first**, then DETAIL

### 2. Update DETAIL (MUST after every completed requirement)

- **Requirement Index**: append or update one row (id, display name, level, related modules, version)
- **Function inventory table**: append/update rows for functions touched by this change
- **API inventory** (if HTTP changed): append endpoint rows
- **Update records**: version +1, append a change note

### 3. Update the CHANGELOG.md anchor

Write into the `## Knowledge Base Anchor` section of `docs/{requirement-id}/CHANGELOG.md` (**the only write location**; do not repeat this in 00/01/02/03 or other development docs):

```markdown
## Knowledge Base Anchor
- Knowledge-base version: vX.Y
- Related module domains: ...
- See: docs/knowledge-base/PROJECT_KNOWLEDGE_DETAIL.md
```

### 4. Self-check list

- [ ] DETAIL Requirement Index updated
- [ ] Function inventory table synced
- [ ] PUML change record appended (if applicable)
- [ ] BASE / DETAIL / PUML version numbers match

### 5. Run knowledge-base validation

```bash
node "$FRAMEWORK/skills/placet-knowledge-base/scripts/validate-kb.js" "<target-project-path>"
```

If validation reports Error, MUST fix before Task 8.5 counts as done; Warning MUST be explained in the output with a follow-up suggestion.

### 6. Refresh the fact gate

```bash
node "$FRAMEWORK/skills/placet-knowledge-fact-gate/scripts/verify-kb-facts.js" "<target-project-path>" --query "<this-requirement-id-or-change-keywords>"
```

Report pass/fail to the user. fail means the knowledge base just written still has falsifiable fields that disagree with source — correct DETAIL and rerun, or mark those entries as not-to-be-used-as-fact in the output.

## Outputs

Tell the user the updated file paths, version number, `validate-kb.js` result, and fact-gate pass/fail. **Do not** full-rescan the entire project (unless the user explicitly asks to rebuild the knowledge base).

## Difference from Task 2

| Task | Skill | Scope |
|------|-------|------|
| 2 full | `/placet-knowledge-base` | First onboarding, whole-project scan |
| 8.5 incremental | `/placet-knowledge-base-update` | Only chapters involved in this requirement |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…