okf:_okf-skill-read-spec · v1.0 · 2026-06-27 · sha256 5ec99315e558b41e
okf:_okf-skill-read-spec v1.0A
Immutable. This exact content never changes and is served at /api/v1/blob/5ec99315e558b41e.
--- name: okf:_okf-skill-read-spec version: "1.0" description: > Internal skill: locate SPEC.md and extract the OKF version and conformance rules. Called by okf:create, okf:update, okf:reconcile, and okf:edit. --- Locate `SPEC.md` using the following search order: 1. The bundle root (or current working directory when called from `okf:create`). 2. Parent directories, walking up to the filesystem root. 3. If still not found, fetch from the upstream repository: `https://raw.githubusercontent.com/GoogleCloudPlatform/knowledge-catalog/main/okf/SPEC.md` Extract and return to the calling skill: - The OKF version (for the `okf_version` field in the root `index.md`). - Frontmatter field definitions (§4.1). - Reserved filenames and their required structure (§3.1, §6, §7). - Conformance rules (§9).