AGENT SKILL

devspark-migrate-knowledge-entities

Move existing flat .knowledge/ docs (architecture, patterns, operations) into the opt-in entity-ontology layout under .knowledge/entities/<id>/, then rebuild the knowledge index (optional, human-confirmed).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
devspark-migrate-knowledge-entities
description
Move existing flat .knowledge/ docs (architecture, patterns, operations) into the opt-in entity-ontology layout under .knowledge/entities/<id>/, then rebuild the knowledge index (optional, human-confirmed).
user-invocable
true
disable-model-invocation
true

03 SKILL.md 正文

<!-- Generated by DevSpark. Do not edit. -->

Prompt Resolution

Determine the current git user by running git config user.name. Normalize to a folder-safe slug: lowercase, replace spaces with hyphens, strip non-alphanumeric/hyphen chars.

Read and execute the instructions from the first file that exists:

  1. .devspark.work/{git-user}/commands/devspark.migrate-knowledge-entities.md (personalized override)
  2. .devspark.work/commands/devspark.migrate-knowledge-entities.md (team customization)
  3. .devspark/defaults/commands/devspark.migrate-knowledge-entities.md (stock default)

Where {git-user} is the normalized slug from the step above.

User Input

The text typed after /devspark-migrate-knowledge-entities is the command input. Pass it unchanged to the resolved prompt.

04 同仓库更多 Skills