Install
$ agentstack add skill-xsavikx-okf-skills-okf-lint ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
OKF Lint
okf-lint is a Go-based CLI consumer skill that validates an OKF bundle and gates CI with its exit code. It is deterministic and read-only — no LLM, no mutation — and shares its bundle scanner with okf-viz coverage (both call okf-go's ScanBundle).
When to Use
Use this skill to:
- Validate that a bundle conforms to the OKF spec (frontmatter rules, concept
type). - Gate a build/publish step on documentation quality (broken links, enrichment %).
- Catch regressions in CI before a bundle is ingested or shared.
It complements skills-ref validate (which checks a skill's SKILL.md frontmatter): okf-lint validates the bundle's own concept documents.
How to Use
Lint a bundle
okf-lint lint --bundle [flags]
Flags:
--bundle(required): path to the OKF bundle directory.--min: fail if the enriched percentage is below this threshold (0 = no gate).--max-broken-links: maximum tolerated broken cross-links before failing (default 0).--require-types(default true): fail if any concept is missing a non-emptytype.--strict(default false): also fail when there are orphan (cross-link-less) concepts.--json: emit the full report as JSON instead of the text summary.
Always-enforced spec conformance (independent of flags): the root index.md may carry only okf_version; subdirectory index.md files must carry no frontmatter; every concept must have parseable frontmatter. These cause a non-zero exit.
Exit code: 0 when all gates pass, 1 when any gate is violated (with the reasons printed to stderr) — suitable for a CI gate.
# Example CI gate: require 80% enriched, no broken links, no missing types.
okf-lint lint --bundle ./catalog --min 80
Inspect the schema (self-description)
okf-lint schema
Prints the machine-readable JSON description used by okf-mcp to expose the skill.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: xSAVIKx
- Source: xSAVIKx/okf-skills
- License: Apache-2.0
- Homepage: https://xsavikx.github.io/okf-skills/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.