Step-by-step tutorial

OKF tutorial: build your first knowledge bundle

This tutorial walks through a small OKF bundle for a website. You can adapt the same pattern for documentation, APIs, data catalogs, and support playbooks.

Step 1: choose one knowledge scope

Start with a narrow scope. A good first bundle might cover five important pages, three API endpoints, or one support workflow.

Do not start by converting everything. OKF works best when each file has a clear concept boundary.

Step 2: create a folder

Create a bundle folder with an `index.md` file at the root. The index file helps humans and agents see what is available before opening individual concept files.

Step 3: write frontmatter first

Frontmatter is the structured block at the top of a Markdown file. In this guide, the validator checks `type`, `title`, `description`, and `tags` so your documents are useful for search and preview workflows.

Step 4: write a focused Markdown body

Step 5: validate and review

Paste each file into the OKF validator on this site. The validator runs in your browser, which means pasted content is not uploaded to this website.

After validation, review the file for accuracy. A passing file can still contain outdated or unsupported claims.

Step 6: publish safely

Source boundary

This guide is unofficial. It uses public draft references for orientation and adds practical examples for learning.