Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

frontmatter-ref-fix

Sterne0
Forks1
Aktualisiert10. Mai 2026 um 07:15

Normalize relative-path `*.md` references inside KOS page frontmatter (`related:`, `source_refs:`, etc.) into canonical slug form. v1-wiki legacy left ~220 refs in `../X/Y.md` shape across the brain; gbrain's link-extraction DIR_PATTERN doesn't accept `sources/` (plural) so frontmatter refs to source pages all silently fail to resolve. v2 adds: (1) EXTERNAL_POINTER_KEYS allowlist for fields that legitimately point at brain-external paths (e.g. `raw_path:`); (2) bare-slug fuzzy resolve via basename index; (3) optional deletion of brain-external refs (`../../X.md`) and dead links (`X/Y.md` with missing target).

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
2 Dateien
SKILL.md
readonly