Use this skill when the user asks to check, lint, validate, review, or improve an OKF bundle.
Review sequence
- Run the bundled validator when available:
python tools/okf_tool.py lint path/to/bundle --format markdown
- Inspect errors first, warnings second.
- Repair hard errors:
- missing frontmatter;
- missing
type; - invalid Markdown file placement;
- malformed frontmatter;
- broken generated index references;
- invalid
log.mddate headings.
- Repair quality issues:
- missing titles/descriptions;
- empty or malformed
resourcevalues; - weak or missing citations;
- orphan concepts;
- duplicate concepts;
- weak cross-linking;
- stale timestamps;
- over-broad files.
- Regenerate indexes if the concept inventory changed.
- Update
log.mdwith a concise dated entry. - Re-run validation.
- Provide a review report with fixed items and remaining risks.
Strictness levels
- Conformance: OKF v0.1 minimum only.
- Good: recommended frontmatter, citations, index files, reasonable links.
- Enterprise: source policy, ownership metadata, sensitivity tags, freshness model, stewardship, controls, and audit trail.
Default to Good. Use Enterprise for regulated, internal, or architecture-critical knowledge.
Repair principles
- Preserve unknown frontmatter fields.
- Do not delete user-authored sections unless clearly obsolete.
- Prefer small, reviewable changes.
- Mark uncertainty rather than hiding it.
- Never invent citations.
- If a source is missing, add an
# Open questionssection rather than pretending confidence.