Okf Skill — Code Quality skill for Claude Code
A stronger Claude Code skill/plugin for the Open Knowledge Format (OKF) v0.1: deterministic zero-dependency validator (hard errors vs lint), migrate/index/context/graph tools, examples, 137 tests, CI.
How to install Okf Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open win4r/okf-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Okf Skill does
A stronger Claude Code skill/plugin for the Open Knowledge Format (OKF) v0.1: deterministic zero-dependency validator (hard errors vs lint), migrate/index/context/graph tools, examples, 137 tests, CI.
Alternatives in Code Quality
- Import Drawio — Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level 27.2k ★
- Open Code Review — /open-code-review 21.5k ★
- Job Stories — Create job stories with acceptance criteria in JTBD format 7.8k ★
README
OKF Skill — a stronger Claude Code skill set for the Open Knowledge Format
A Claude Code plugin for working with **[Open Knowledge Format (OKF)](https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf)** v0.1 — Google Cloud's open spec for representing knowledge as a directory of Markdown files with YAML frontmatter (the "LLM-wiki" pattern). It helps you **create, maintain, validate, migrate, and visualize** OKF bundles.
The headline: the official OKF repo ships a *producer* (a Gemini/BigQuery enrichment agent) and an HTML *visualizer*, but **no standalone conformance validator** — the closest thing is a producer write-guard that is actually *stricter* than the spec. This project fills that gap with a **deterministic, zero-dependency validator** that implements the spec's conformance rules exactly and keeps **hard OKF errors strictly separate from optional lint warnings**.
No Gemini, Google Cloud, BigQuery, paid service, or account required. Pure Python 3.8+ standard library. Plain Markdown, YAML frontmatter, standard Markdown links, Git-friendly.
Highlights
- Deterministic, zero-dependency validator (pure Python 3.8+ standard library) with a strict two-tier model: hard OKF v0.1 conformance errors are kept separate from optional lint warnings, plus an opt-in project-quality tier.
- Bias toward acceptance. A zero-dependency YAML mini-parser whose accept/reject verdict is
tested to match PyYAML on real bundles, so it never over-rejects spec-conformant content
(multi-line folded scalars, scalar
tags, relative links, unknowntypevalues). - Full toolchain behind one
okf.pyCLI: scaffold (new), maintain indexes (index), progressive-disclosure context packs (context), an offline link-graph visualizer (graph, no CDN/backend), and Markdown/wiki → OKF migration with[[wikilink]]resolution (migrate). - A real skill set: an
okfSKILL.md, slash commands, and reference docs, packaged as an
Related Skills
Run Quality Gates
Run code quality checks (lint, format, type check, tests)
Vault Bridge
Obsidian vault as compiled knowledge base. Use when user says ingest, compile, query, lint, evolve, or asks qu
Ha Automation Lint
Validate Home Assistant automation YAML for syntax errors and best practices
Sediment
引导式知识沉淀 — 判重(并入/系列/新增)→ 脱敏成文 → lint/INDEX/索引自动收尾。
Workflow Eval
Evaluate the workflow — deterministic lint over the instruction files plus an optional scored live run of /new
Essay Scaffolder
Generate skeleton answers for essay-format exam questions. Provides structure, key arguments, examples to incl
Related Agents
Ruver Fd Tester
Feature-delivery graph node. Runs hard gate commands (typecheck/lint/tests) and records real exit codes. Does
Copyeditor
Sole owner of deterministic quantitative checks across all Layers. Runs the 10 tools/lint.py groups (graph·hub
Atomic Planner
Create deterministic implementation specs with zero ambiguity. Builders should never need to make decisions.