text stringlengths 323 450k | doc_id stringlengths 18 60 | subset stringclasses 5
values | category stringclasses 43
values | source stringlengths 18 134 |
|---|---|---|---|---|
Source: `k2f/docs/spec/k2f-v0.3.md`
# K2F format specification v0.3
**Version:** `0.3` (on-disk package contract)
K2F (Key-to-Flow) is a ZIP document format. Authors write **meaning** as JSON. One reference engine compiles that meaning into geometry. Every viewer and every export paints the compiled lock, so output ... | k2f/docs/spec/k2f-v0.3.md | spec | spec | k2f/docs/spec/k2f-v0.3.md |
Source: `k2f/docs/architecture/layout-engine.md`
# Layout engine architecture
How the reference engine compiles semantic JSON into a deterministic render lock: two-pass layout, paint plan, fixed-point math, and modifier resolution.
**Status:** Shipped in v0.1 (paged documents)
**Contract:** [k2f-v0.3.md](../spec/k... | k2f/docs/architecture/layout-engine.md | grammar | grammar | k2f/docs/architecture/layout-engine.md |
Source: `k2f/docs/spec/k2f-v0.3.ebnf`
; K2F format specification v0.3 — formal grammar appendix
;
; Normative semantics: k2f-v0.3.md and schema/*.schema.json in the k2f repository.
; This file is a readable skeleton for tooling, agents, and documentation.
; It does not replace JSON Schema validation or engine compile ... | k2f/docs/spec/k2f-v0.3.ebnf | grammar | grammar | k2f/docs/spec/k2f-v0.3.ebnf |
# K2F Package Manifest
Source: `k2f/schema/manifest.schema.json`
This file is one of the five normative K2F v0.3 format schemas. Packed `.K2F` files embed these schemas, and the readable contract is `k2f/docs/spec/k2f-v0.3.md`. Lengths are millipt integers (1 pt = 1000). The schema is the field-level contract; the sp... | k2f/schema/manifest.schema.json | schema | schema | k2f/schema/manifest.schema.json |
# K2F Semantic Nodes Schema
Source: `k2f/schema/nodes.schema.json`
This file is one of the five normative K2F v0.3 format schemas. Packed `.K2F` files embed these schemas, and the readable contract is `k2f/docs/spec/k2f-v0.3.md`. Lengths are millipt integers (1 pt = 1000). The schema is the field-level contract; the ... | k2f/schema/nodes.schema.json | schema | schema | k2f/schema/nodes.schema.json |
# K2F Signatures v1
Source: `k2f/schema/signatures.schema.json`
This file is one of the five normative K2F v0.3 format schemas. Packed `.K2F` files embed these schemas, and the readable contract is `k2f/docs/spec/k2f-v0.3.md`. Lengths are millipt integers (1 pt = 1000). The schema is the field-level contract; the spe... | k2f/schema/signatures.schema.json | schema | schema | k2f/schema/signatures.schema.json |
# K2F Styles / Theme Schema
Source: `k2f/schema/styles.schema.json`
This file is one of the five normative K2F v0.3 format schemas. Packed `.K2F` files embed these schemas, and the readable contract is `k2f/docs/spec/k2f-v0.3.md`. Lengths are millipt integers (1 pt = 1000). The schema is the field-level contract; the... | k2f/schema/styles.schema.json | schema | schema | k2f/schema/styles.schema.json |
# K2F Visual Primitives Schema
Source: `k2f/schema/visual_primitives.schema.json`
This file is one of the five normative K2F v0.3 format schemas. Packed `.K2F` files embed these schemas, and the readable contract is `k2f/docs/spec/k2f-v0.3.md`. Lengths are millipt integers (1 pt = 1000). The schema is the field-level... | k2f/schema/visual_primitives.schema.json | schema | schema | k2f/schema/visual_primitives.schema.json |
Source: `k2f/skills/academic/k2f-academic-paper/SKILL.md`
---
name: k2f-academic-paper
description: Turn research questions, data, and literature into submission-ready academic manuscripts with venue-aligned structure, claim–evidence flow, and reader-scannable hierarchy. Use when the user asks for an academic paper, j... | k2f/skills/academic/k2f-academic-paper/SKILL.md | guide | academic | k2f/skills/academic/k2f-academic-paper/SKILL.md |
Source: `k2f/skills/academic/k2f-conference-handout/SKILL.md`
---
name: k2f-conference-handout
description: Turn an accepted talk, slide outline, or session notes into a printable attendee handout with verb-led takeaways, a condensed talk spine, and follow-up resources—not a slide dump or speaker script. Use when the ... | k2f/skills/academic/k2f-conference-handout/SKILL.md | guide | academic | k2f/skills/academic/k2f-conference-handout/SKILL.md |
Source: `k2f/skills/academic/k2f-grant-proposal/SKILL.md`
---
name: k2f-grant-proposal
description: Turn research ideas, preliminary data, and agency solicitations into reviewer-ready grant proposals with a fundable hypothesis, independent specific aims, and agency-aligned significance and innovation. Use when the use... | k2f/skills/academic/k2f-grant-proposal/SKILL.md | guide | academic | k2f/skills/academic/k2f-grant-proposal/SKILL.md |
Source: `k2f/skills/academic/k2f-research-poster/SKILL.md`
---
name: k2f-research-poster
description: Transform research papers, manuscripts, and findings into conference-ready academic posters with viewing distance typography, balanced columns, and high visual density. Use when asked to create an academic poster, sci... | k2f/skills/academic/k2f-research-poster/SKILL.md | guide | academic | k2f/skills/academic/k2f-research-poster/SKILL.md |
Source: `k2f/skills/academic/k2f-thesis/SKILL.md`
---
name: k2f-thesis
description: Blueprint degree theses from scattered drafts, data, and institutional rules—chapter arc, synthesized literature, evidence maps, and defense-ready hierarchy. Use when the user asks for a thesis, dissertation, PhD/Master’s manuscript, m... | k2f/skills/academic/k2f-thesis/SKILL.md | guide | academic | k2f/skills/academic/k2f-thesis/SKILL.md |
Source: `k2f/docs/authoring/images.md`
# Images
An image is a node with `content.type: "image"` and `role: "image"`. The engine does not read width or height from the file — you declare them in `content.value` as millipt (1 pt = 1000).
Copy [`ex_image.json`](../../skills/core/k2f/catalog/content/ex_image.json) into ... | k2f/docs/authoring/images.md | guide | authoring | k2f/docs/authoring/images.md |
Source: `k2f/docs/authoring/layout.md`
# Layout
`layout` applies only to **containers** (`content.type: "container"`). It positions that node's `children`. Leaves (text, image, table, …) do not carry `layout`.
Omit `layout` or use a vertical `stack` for ordinary top-to-bottom flow. Sibling paragraphs are separate te... | k2f/docs/authoring/layout.md | guide | authoring | k2f/docs/authoring/layout.md |
Source: `k2f/docs/authoring/tables.md`
# Tables
A table is one node with `role: "table"` and `content.type: "table"`. Rows live in `content.value.data` as **inline** cell trees — each cell is a full node (usually `table_header_cell` or `table_row_cell`), not a string.
Copy [`ex_table.json`](../../skills/core/k2f/cat... | k2f/docs/authoring/tables.md | guide | authoring | k2f/docs/authoring/tables.md |
Source: `k2f/docs/authoring/text.md`
# Text
A paragraph is a node with `content.type: "text"`. Headings, body copy, quotes, and code listings are the same kind of node — they differ by `role`. Appearance comes from that role in `styles/theme.json`, not from fields on the node.
Copy catalog fragments into `content/ro... | k2f/docs/authoring/text.md | guide | authoring | k2f/docs/authoring/text.md |
Source: `k2f/docs/authoring/theme.md`
# Theme and fonts
Appearance lives only in `styles/theme.json`. Each node names a `role` (and optional `variant`); it does not carry `color`, `font_size`, `font_family`, `padding`, `text_align`, or `box_decoration`. Putting those on a node is the most common compile failure.
Inl... | k2f/docs/authoring/theme.md | guide | authoring | k2f/docs/authoring/theme.md |
Source: `k2f/skills/business/k2f-business-proposal/SKILL.md`
---
name: k2f-business-proposal
description: Turn briefs and discovery notes into persuasive business proposals with a decision-ready narrative, phased solution, and clear investment for executives who skim first. Use when the user asks for a business propos... | k2f/skills/business/k2f-business-proposal/SKILL.md | guide | business | k2f/skills/business/k2f-business-proposal/SKILL.md |
Source: `k2f/skills/business/k2f-business-report/SKILL.md`
---
name: k2f-business-report
description: Create executive-ready business reports from KPIs, sales or operational data, and stakeholder notes—with prioritized findings, trend context, and actionable recommendations. Use when the user asks for a business repor... | k2f/skills/business/k2f-business-report/SKILL.md | guide | business | k2f/skills/business/k2f-business-report/SKILL.md |
Source: `k2f/skills/business/k2f-case-study/SKILL.md`
---
name: k2f-case-study
description: Create portfolio- or client-ready case studies from project notes, resume bullets, or outcome data—with a credible narrative arc, process evidence, quantified impact, and visual storytelling intent. Use when the user asks for a... | k2f/skills/business/k2f-case-study/SKILL.md | guide | business | k2f/skills/business/k2f-case-study/SKILL.md |
Source: `k2f/skills/business/k2f-invoice/SKILL.md`
---
name: k2f-invoice
description: Create payment-ready invoices from line items, rates, client details, tax rules, and terms—structured so totals reconcile and AP can pay without back-and-forth. Use when the user asks for an invoice, bill, receivable, pro forma invoi... | k2f/skills/business/k2f-invoice/SKILL.md | guide | business | k2f/skills/business/k2f-invoice/SKILL.md |
Source: `k2f/skills/business/k2f-purchase-order/SKILL.md`
---
name: k2f-purchase-order
description: Create issuance-ready purchase orders from requisitions, quotes, or line-item lists—structured so vendors can fulfill, ship, and invoice without clarification loops. Use when the user asks for a purchase order, PO, proc... | k2f/skills/business/k2f-purchase-order/SKILL.md | guide | business | k2f/skills/business/k2f-purchase-order/SKILL.md |
Source: `k2f/skills/business/k2f-quotation/SKILL.md`
---
name: k2f-quotation
description: Create client-ready sales quotations from scope notes, line items, rates, and terms—structured so buyers can compare options, accept, or convert to an invoice without rework. Use when the user asks for a quotation, quote, estimat... | k2f/skills/business/k2f-quotation/SKILL.md | guide | business | k2f/skills/business/k2f-quotation/SKILL.md |
Source: `k2f/skills/business/k2f-receipt/SKILL.md`
---
name: k2f-receipt
description: Blueprint transaction proofs and period impact receipts from user-supplied payment details or structured summaries—so totals, references, and attribution stay honest and scannable for customers, finance, or managers. Use when the use... | k2f/skills/business/k2f-receipt/SKILL.md | guide | business | k2f/skills/business/k2f-receipt/SKILL.md |
Source: `k2f/skills/core/k2f/catalog/README.md`
# K2F skill catalog
Golden, packable examples for unpacked authoring. `ex_*.json` files are **child nodes** — keep starter `content/root.json` (`id: root`, omit `layout` or vertical `stack`) and paste the example into `children`. Replacing `root.json` with a grid/overla... | k2f/skills/core/k2f/catalog/README.md | guide | catalog | k2f/skills/core/k2f/catalog/README.md |
# K2F authoring example: changelog.json
Source: `k2f/skills/core/k2f/catalog/changelog.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"entries": []
}
`... | k2f/skills/core/k2f/catalog/changelog.json | guide | catalog | k2f/skills/core/k2f/catalog/changelog.json |
# K2F authoring example: ex_badge.json
Source: `k2f/skills/core/k2f/catalog/content/ex_badge.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.b... | k2f/skills/core/k2f/catalog/content/ex_badge.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_badge.json |
# K2F authoring example: ex_banner_header.json
Source: `k2f/skills/core/k2f/catalog/content/ex_banner_header.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json... | k2f/skills/core/k2f/catalog/content/ex_banner_header.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_banner_header.json |
# K2F authoring example: ex_card_bands.json
Source: `k2f/skills/core/k2f/catalog/content/ex_card_bands.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"... | k2f/skills/core/k2f/catalog/content/ex_card_bands.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_card_bands.json |
# K2F authoring example: ex_code.json
Source: `k2f/skills/core/k2f/catalog/content/ex_code.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.cod... | k2f/skills/core/k2f/catalog/content/ex_code.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_code.json |
# K2F authoring example: ex_columns.json
Source: `k2f/skills/core/k2f/catalog/content/ex_columns.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "... | k2f/skills/core/k2f/catalog/content/ex_columns.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_columns.json |
# K2F authoring example: ex_cover.json
Source: `k2f/skills/core/k2f/catalog/content/ex_cover.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.c... | k2f/skills/core/k2f/catalog/content/ex_cover.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_cover.json |
# K2F authoring example: ex_end_block.json
Source: `k2f/skills/core/k2f/catalog/content/ex_end_block.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id... | k2f/skills/core/k2f/catalog/content/ex_end_block.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_end_block.json |
# K2F authoring example: ex_filled_page.json
Source: `k2f/skills/core/k2f/catalog/content/ex_filled_page.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
... | k2f/skills/core/k2f/catalog/content/ex_filled_page.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_filled_page.json |
# K2F authoring example: ex_form.json
Source: `k2f/skills/core/k2f/catalog/content/ex_form.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.for... | k2f/skills/core/k2f/catalog/content/ex_form.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_form.json |
# K2F authoring example: ex_glass.json
Source: `k2f/skills/core/k2f/catalog/content/ex_glass.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.g... | k2f/skills/core/k2f/catalog/content/ex_glass.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_glass.json |
# K2F authoring example: ex_grid.json
Source: `k2f/skills/core/k2f/catalog/content/ex_grid.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.gri... | k2f/skills/core/k2f/catalog/content/ex_grid.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_grid.json |
# K2F authoring example: ex_heading.json
Source: `k2f/skills/core/k2f/catalog/content/ex_heading.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "... | k2f/skills/core/k2f/catalog/content/ex_heading.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_heading.json |
# K2F authoring example: ex_image.json
Source: `k2f/skills/core/k2f/catalog/content/ex_image.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.i... | k2f/skills/core/k2f/catalog/content/ex_image.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_image.json |
# K2F authoring example: ex_list.json
Source: `k2f/skills/core/k2f/catalog/content/ex_list.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.lis... | k2f/skills/core/k2f/catalog/content/ex_list.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_list.json |
# K2F authoring example: ex_math.json
Source: `k2f/skills/core/k2f/catalog/content/ex_math.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.mat... | k2f/skills/core/k2f/catalog/content/ex_math.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_math.json |
# K2F authoring example: ex_math_numbered.json
Source: `k2f/skills/core/k2f/catalog/content/ex_math_numbered.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json... | k2f/skills/core/k2f/catalog/content/ex_math_numbered.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_math_numbered.json |
# K2F authoring example: ex_media_row.json
Source: `k2f/skills/core/k2f/catalog/content/ex_media_row.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id... | k2f/skills/core/k2f/catalog/content/ex_media_row.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_media_row.json |
# K2F authoring example: ex_modifiers.json
Source: `k2f/skills/core/k2f/catalog/content/ex_modifiers.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id... | k2f/skills/core/k2f/catalog/content/ex_modifiers.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_modifiers.json |
# K2F authoring example: ex_on_dark.json
Source: `k2f/skills/core/k2f/catalog/content/ex_on_dark.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "... | k2f/skills/core/k2f/catalog/content/ex_on_dark.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_on_dark.json |
# K2F authoring example: ex_overlay.json
Source: `k2f/skills/core/k2f/catalog/content/ex_overlay.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "... | k2f/skills/core/k2f/catalog/content/ex_overlay.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_overlay.json |
# K2F authoring example: ex_poster_growers.json
Source: `k2f/skills/core/k2f/catalog/content/ex_poster_growers.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```js... | k2f/skills/core/k2f/catalog/content/ex_poster_growers.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_poster_growers.json |
# K2F authoring example: ex_poster_shell.json
Source: `k2f/skills/core/k2f/catalog/content/ex_poster_shell.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{... | k2f/skills/core/k2f/catalog/content/ex_poster_shell.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_poster_shell.json |
# K2F authoring example: ex_rule.json
Source: `k2f/skills/core/k2f/catalog/content/ex_rule.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.rul... | k2f/skills/core/k2f/catalog/content/ex_rule.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_rule.json |
# K2F authoring example: ex_split_bar.json
Source: `k2f/skills/core/k2f/catalog/content/ex_split_bar.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id... | k2f/skills/core/k2f/catalog/content/ex_split_bar.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_split_bar.json |
# K2F authoring example: ex_stack.json
Source: `k2f/skills/core/k2f/catalog/content/ex_stack.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.s... | k2f/skills/core/k2f/catalog/content/ex_stack.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_stack.json |
# K2F authoring example: ex_table.json
Source: `k2f/skills/core/k2f/catalog/content/ex_table.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "ex.t... | k2f/skills/core/k2f/catalog/content/ex_table.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_table.json |
# K2F authoring example: ex_table_colspan.json
Source: `k2f/skills/core/k2f/catalog/content/ex_table_colspan.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json... | k2f/skills/core/k2f/catalog/content/ex_table_colspan.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_table_colspan.json |
# K2F authoring example: ex_table_composite.json
Source: `k2f/skills/core/k2f/catalog/content/ex_table_composite.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```... | k2f/skills/core/k2f/catalog/content/ex_table_composite.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_table_composite.json |
# K2F authoring example: ex_table_dense.json
Source: `k2f/skills/core/k2f/catalog/content/ex_table_dense.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
... | k2f/skills/core/k2f/catalog/content/ex_table_dense.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_table_dense.json |
# K2F authoring example: ex_table_edges.json
Source: `k2f/skills/core/k2f/catalog/content/ex_table_edges.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
... | k2f/skills/core/k2f/catalog/content/ex_table_edges.json | guide | catalog | k2f/skills/core/k2f/catalog/content/ex_table_edges.json |
# K2F authoring example: root.json
Source: `k2f/skills/core/k2f/catalog/content/root.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"id": "root",
"ro... | k2f/skills/core/k2f/catalog/content/root.json | guide | catalog | k2f/skills/core/k2f/catalog/content/root.json |
# K2F authoring example: manifest.json
Source: `k2f/skills/core/k2f/catalog/manifest.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"title": "K2F skill... | k2f/skills/core/k2f/catalog/manifest.json | guide | catalog | k2f/skills/core/k2f/catalog/manifest.json |
# K2F authoring example: theme.json
Source: `k2f/skills/core/k2f/catalog/styles/theme.json`
This file is a golden authoring example from the public K2F skill. It shows the semantic JSON an author writes. It is not a packed gallery document, and it is not one of the five format schemas.
```json
{
"font_aliases": {
... | k2f/skills/core/k2f/catalog/styles/theme.json | guide | catalog | k2f/skills/core/k2f/catalog/styles/theme.json |
Source: `k2f/skills/core/k2f/SKILL.md`
---
name: k2f
description: Create, design, edit, validate, and export elegant Word (docx), editable PDF, fillable AcroForm PDF, and Adobe InDesign (IDML) documents with K2F. Use when creating aesthetic Word, fillable PDF, AcroForm, IDML, or InDesign documents with AI agents, such... | k2f/skills/core/k2f/SKILL.md | guide | core | k2f/skills/core/k2f/SKILL.md |
Source: `k2f/skills/core/k2f/references/converting-markdown.md`
# Markdown conversion
Turn Markdown into a packed `.K2F` with `markdown_to_k2f`, or export semantics back with `k2f_to_markdown`. The bridge is **deterministic** and lives in the CLI and SDK — do not hand-parse Markdown into K2F JSON.
Roundtrip preserve... | k2f/skills/core/k2f/references/converting-markdown.md | guide | core | k2f/skills/core/k2f/references/converting-markdown.md |
Source: `k2f/skills/core/k2f/references/embedding-viewer.md`
# Embedding K2F Viewer
## Overview
Paint the published lock as engine PNG (official 2×) plus an optional `text_layer` for select/copy. Use `@openk2f/k2f/viewer` (`mountK2fViewer`, `<k2f-viewer>`). **Opening ≠ compiling.**
## Decision
| Context | Path |
|... | k2f/skills/core/k2f/references/embedding-viewer.md | guide | core | k2f/skills/core/k2f/references/embedding-viewer.md |
Source: `k2f/skills/core/k2f/references/embedding-viewer/api.md`
# Viewer mount API (quick reference)
Use `@openk2f/k2f/viewer` (`mountK2fViewer`, `<k2f-viewer>`). Types also ship on the `@openk2f/k2f` package as `ViewerMountOptions` / `ViewerHandle`.
## Official scale
`Viewer.official_scale()` → `2`. Official / ba... | k2f/skills/core/k2f/references/embedding-viewer/api.md | guide | core | k2f/skills/core/k2f/references/embedding-viewer/api.md |
Source: `k2f/skills/core/k2f/references/embedding-viewer/bundlers.md`
# Bundlers and WASM placement
## Default (npm `@openk2f/k2f`)
1. `npm i @openk2f/k2f` so `node_modules/@openk2f/k2f/wasm/k2f_wasm_bg.wasm` exists.
2. Copy it to a URL the browser can fetch:
```bash
node scripts/copy-wasm.mjs --dest ./public
```
... | k2f/skills/core/k2f/references/embedding-viewer/bundlers.md | guide | core | k2f/skills/core/k2f/references/embedding-viewer/bundlers.md |
Source: `k2f/skills/core/k2f/references/exporting-docx.md`
# Exporting K2F to DOCX
DOCX is a **drawing of the published lock**, not a flowing “Save as Word” layout engine. `.K2F` stays the source. Slight text reflow in Word is expected and allowed.
## When to Use
- Download / attach / email a Word file from an exis... | k2f/skills/core/k2f/references/exporting-docx.md | guide | core | k2f/skills/core/k2f/references/exporting-docx.md |
Source: `k2f/skills/core/k2f/references/exporting-idml.md`
# Exporting K2F to IDML
IDML is a **drawing of the published lock**, not a second layout engine. `.K2F` stays the source. Slight text reflow in InDesign is expected and allowed.
The IDML ZIP itself does not contain font files. Default export writes an InDesi... | k2f/skills/core/k2f/references/exporting-idml.md | guide | core | k2f/skills/core/k2f/references/exporting-idml.md |
Source: `k2f/skills/core/k2f/references/exporting-pdf.md`
# Exporting K2F to PDF
PDF is a **drawing of the published lock**, not a second layout engine. `.K2F` stays the source.
If the PDF looks wrong or you are checking bytes: [exporting-pdf/pdf-contract.md](exporting-pdf/pdf-contract.md).
## When to Use
- Downlo... | k2f/skills/core/k2f/references/exporting-pdf.md | guide | core | k2f/skills/core/k2f/references/exporting-pdf.md |
Source: `k2f/skills/core/k2f/references/exporting-pdf/pdf-contract.md`
# PDF output contract
Load when the exported PDF looks wrong or you are checking bytes.
## Pages
By default the PDF has the same page count as the lock — only the document pages, no extra material.
With `--trust-pack` (CLI) or `PdfExportOptions... | k2f/skills/core/k2f/references/exporting-pdf/pdf-contract.md | guide | core | k2f/skills/core/k2f/references/exporting-pdf/pdf-contract.md |
Source: `k2f/skills/core/k2f/references/exporting-pptx.md`
# Exporting K2F to PPTX
PPTX is a **drawing of the published lock**, not a second layout engine. `.K2F` stays the source. Slight text reflow in PowerPoint is expected and allowed.
## When to Use
- Download / attach / email a PowerPoint from an existing `.K2... | k2f/skills/core/k2f/references/exporting-pptx.md | guide | core | k2f/skills/core/k2f/references/exporting-pptx.md |
Source: `k2f/skills/core/k2f/references/publishing.md`
# Publishing K2F Documents
## Overview
**Publish** stores a locked `.K2F` ZIP keyed by `appearance_hash` and returns a permanent public viewer URL. `/v/{hash}` paints the lock only (viewer WASM) — it does **not** recompile. This is **not** the Playground 24-hour... | k2f/skills/core/k2f/references/publishing.md | guide | core | k2f/skills/core/k2f/references/publishing.md |
Source: `k2f/skills/core/k2f/references/writing.md`
# Writing K2F Documents
Deliverable is an **UNSIGNED** `.K2F` — signing stays a human step.
**Default path:** edit the semantic tree as JSON in an unpacked author directory, then `pack_verify.py`. Treat `content/*.json` and `styles/theme.json` like source code; `k2... | k2f/skills/core/k2f/references/writing.md | guide | core | k2f/skills/core/k2f/references/writing.md |
Source: `k2f/skills/core/k2f/references/writing/errors.md`
# Writing error codes
Fix the **semantic tree** or **theme**. Shapes: [`catalog/content/ex_*.json`](../../catalog/content/).
## AgentError `code` values
| Code | Fix |
|------|-----|
| `UNKNOWN_ROLE` | Add role (and variant if used) to `styles/theme.json` |... | k2f/skills/core/k2f/references/writing/errors.md | guide | core | k2f/skills/core/k2f/references/writing/errors.md |
Source: `k2f/skills/core/k2f/references/writing/fields.md`
# Allowed JSON keys
Skim this page, then open only the matching file under [`schema/`](../../schema/). Do not copy schema files into an author directory.
## Node (`content/*.json`)
Required: `id`, `role`, `content`. Optional: `variant`, `layout`, `modifiers... | k2f/skills/core/k2f/references/writing/fields.md | guide | core | k2f/skills/core/k2f/references/writing/fields.md |
Source: `k2f/skills/core/k2f/references/writing/package.md`
# Authoring an unpacked K2F package
Domain conventions for fixed layouts (CV, flyer, cheatsheet). **Allowed JSON keys:** [`schema/`](../../schema/). **Golden shapes:** [`catalog/content/ex_*.json`](../../catalog/content/) ([index](../../catalog/README.md)). ... | k2f/skills/core/k2f/references/writing/package.md | guide | core | k2f/skills/core/k2f/references/writing/package.md |
Source: `k2f/skills/core/k2f/references/writing/sdk.md`
# Optional Python / JS Editor SDK
**Not the default skill path.** Agents with file editing should use [writing.md](../writing.md) (JSON + `pack_verify.py`). Use this reference for Python `Editor`, JS/WASM `Editor`, MCP tools, or [edit_and_verify.py](../../script... | k2f/skills/core/k2f/references/writing/sdk.md | guide | core | k2f/skills/core/k2f/references/writing/sdk.md |
Source: `k2f/skills/education/k2f-exam-paper/SKILL.md`
---
name: k2f-exam-paper
description: Design formal exam papers—midterms, finals, unit tests, or take-home assessments—from a syllabus, rubric, past papers, or source readings, with weighted coverage, unambiguous calls for response, and intentional answer space. U... | k2f/skills/education/k2f-exam-paper/SKILL.md | guide | education | k2f/skills/education/k2f-exam-paper/SKILL.md |
Source: `k2f/skills/education/k2f-lesson-plan/SKILL.md`
---
name: k2f-lesson-plan
description: Build classroom-ready lesson plans with standards-aligned arcs, student-facing materials, and observation look-fors from teacher notes or topic prompts. Use when the user asks for a lesson plan, daily plan, mini-lesson, unit... | k2f/skills/education/k2f-lesson-plan/SKILL.md | guide | education | k2f/skills/education/k2f-lesson-plan/SKILL.md |
Source: `k2f/skills/education/k2f-syllabus/SKILL.md`
---
name: k2f-syllabus
description: Draft instructor-ready course syllabi with aligned outcomes, a scannable schedule spine, grading architecture, and policy layers from prompts, outlines, or legacy syllabi. Use when the user asks for a syllabus, course outline, cur... | k2f/skills/education/k2f-syllabus/SKILL.md | guide | education | k2f/skills/education/k2f-syllabus/SKILL.md |
Source: `k2f/skills/education/k2f-worksheet/SKILL.md`
---
name: k2f-worksheet
description: Design printable, fill-in-ready worksheets—practice sets, graphic organizers, lab records, reflections, or gap-closure forms—from learning goals and source material. Use when the user asks for a worksheet, handout with answer sp... | k2f/skills/education/k2f-worksheet/SKILL.md | guide | education | k2f/skills/education/k2f-worksheet/SKILL.md |
Source: `k2f/skills/events/k2f-event-program/SKILL.md`
---
name: k2f-event-program
description: Turn confirmed schedules, social slate decisions, and sponsor lists into attendee-facing programs with time-first wayfinding and publish-safe social copy—not posters, invitations, or slide decks. Use when the user asks for ... | k2f/skills/events/k2f-event-program/SKILL.md | guide | events | k2f/skills/events/k2f-event-program/SKILL.md |
Source: `k2f/skills/events/k2f-invitation/SKILL.md`
---
name: k2f-invitation
description: Turn event facts and tone notes into print or digital invitations with ceremonial copy, layered logistics, and suite-consistent visual intent—not posters, programs, or slide decks. Use when the user asks for a wedding invitation,... | k2f/skills/events/k2f-invitation/SKILL.md | guide | events | k2f/skills/events/k2f-invitation/SKILL.md |
Source: `k2f/skills/expert/k2f-aesthetic-ms-word/SKILL.md`
---
name: k2f-aesthetic-ms-word
description: Create polished, general-purpose Microsoft Word documents with clear structure, typed content blocks, and strong visual hierarchy for any brief. Use when the user asks for Microsoft Word, MS Word, a Word document, D... | k2f/skills/expert/k2f-aesthetic-ms-word/SKILL.md | guide | expert | k2f/skills/expert/k2f-aesthetic-ms-word/SKILL.md |
Source: `k2f/skills/expert/k2f-fillable-pdf/SKILL.md`
---
name: k2f-fillable-pdf
description: Blueprint professional fillable PDF forms—applications, registrations, intake packets, and compliance worksheets—with clear field inventory, section flow, and print-friendly hierarchy before layout. Use when the user asks for... | k2f/skills/expert/k2f-fillable-pdf/SKILL.md | guide | expert | k2f/skills/expert/k2f-fillable-pdf/SKILL.md |
Source: `k2f/skills/expert/k2f-idml/SKILL.md`
---
name: k2f-idml
description: Blueprint multi-page print publications—brochures, magazines, catalogs, annual reports, lookbooks—for designer handoff with spread-aware story flow, typed editorial blocks, and art direction before layout. Use when the user asks for InDesign... | k2f/skills/expert/k2f-idml/SKILL.md | guide | expert | k2f/skills/expert/k2f-idml/SKILL.md |
Source: `k2f/skills/forms/k2f-application-form/SKILL.md`
---
name: k2f-application-form
description: Blueprint job, program, or membership application forms with clear field architecture, calibrated answer spaces, and professional fillable layout intent—not a resume paste or generic questionnaire dump. Use when the us... | k2f/skills/forms/k2f-application-form/SKILL.md | guide | forms | k2f/skills/forms/k2f-application-form/SKILL.md |
Source: `k2f/skills/forms/k2f-checklist/SKILL.md`
---
name: k2f-checklist
description: Blueprint operational, launch, diligence, or readiness checklists with phased flow, verifiable items, and scannable hierarchy—not a flat bullet dump or generic productivity template. Use when the user asks for a checklist, pre-fligh... | k2f/skills/forms/k2f-checklist/SKILL.md | guide | forms | k2f/skills/forms/k2f-checklist/SKILL.md |
Source: `k2f/skills/forms/k2f-intake-form/SKILL.md`
---
name: k2f-intake-form
description: Blueprint client, patient, or project intake forms with clear section flow, calibrated field density, and trustworthy fillable layout intent—not an unstructured questionnaire dump or generic web-form paste. Use when the user ask... | k2f/skills/forms/k2f-intake-form/SKILL.md | guide | forms | k2f/skills/forms/k2f-intake-form/SKILL.md |
Source: `k2f/skills/forms/k2f-survey-form/SKILL.md`
---
name: k2f-survey-form
description: Blueprint feedback, research, and pulse survey forms with bounded scope, consistent scales, and credible fillable layout intent—not an unfocused question dump or generic Google Form paste. Use when the user asks for a survey for... | k2f/skills/forms/k2f-survey-form/SKILL.md | guide | forms | k2f/skills/forms/k2f-survey-form/SKILL.md |
Source: `k2f/docs/README.md`
# Introduction
K2F is a document format for **pixel-identical, semantically editable** documents. You author **meaning** as JSON; one reference engine compiles it, and every viewer paints the same output.
## Package model
A `.K2F` file is a ZIP. You edit two layers; `k2f pack` / `compil... | k2f/docs/README.md | guide | guide | k2f/docs/README.md |
Source: `k2f/skills/legal/k2f-contract/SKILL.md`
---
name: k2f-contract
description: Draft commercial agreements (NDA, MSA, SOW, SaaS, vendor) from user terms and deal context—signature-ready layout, counsel review required, no invented law. Use when the user asks to draft, author, template, or format a contract or ag... | k2f/skills/legal/k2f-contract/SKILL.md | guide | legal | k2f/skills/legal/k2f-contract/SKILL.md |
Source: `k2f/skills/legal/k2f-legal-notice/SKILL.md`
---
name: k2f-legal-notice
description: Draft formal legal notices—litigation holds (issue, refresh, release), preservation letters, and counsel-directed custodian communications—from matter context and house templates. Use when the user asks for a legal notice, lit... | k2f/skills/legal/k2f-legal-notice/SKILL.md | guide | legal | k2f/skills/legal/k2f-legal-notice/SKILL.md |
Source: `k2f/skills/legal/k2f-policy-document/SKILL.md`
---
name: k2f-policy-document
description: Draft employee- and organization-facing policy documents—handbook sections, HR rules, conduct, benefits summaries, and compliance procedures—from user source material, outlines, or legacy policy text. Use when the user a... | k2f/skills/legal/k2f-policy-document/SKILL.md | guide | legal | k2f/skills/legal/k2f-policy-document/SKILL.md |
Source: `k2f/skills/marketing/k2f-event-poster/SKILL.md`
---
name: k2f-event-poster
description: Turn event briefs into wall- or screen-ready posters with headline zone, hero visual intent, and scannable logistics—not programs, slide decks, or handout flyers. Use when the user asks for an event poster, concert poster,... | k2f/skills/marketing/k2f-event-poster/SKILL.md | guide | marketing | k2f/skills/marketing/k2f-event-poster/SKILL.md |
Source: `k2f/skills/marketing/k2f-flyer/SKILL.md`
---
name: k2f-flyer
description: Turn event details, offers, or brand notes into a single-page flyer with a scannable headline, one primary call to action, and mood-matched visual intent—not a brochure, slide deck, or poster wall. Use when the user asks for a flyer, le... | k2f/skills/marketing/k2f-flyer/SKILL.md | guide | marketing | k2f/skills/marketing/k2f-flyer/SKILL.md |
Source: `k2f/skills/marketing/k2f-media-kit/SKILL.md`
---
name: k2f-media-kit
description: Turn verified company, product, and leadership inputs into a journalist-ready media kit with scannable facts, boilerplate, and asset guidance—not a pitch deck or sales one-pager. Use when the user asks for a media kit, press kit... | k2f/skills/marketing/k2f-media-kit/SKILL.md | guide | marketing | k2f/skills/marketing/k2f-media-kit/SKILL.md |
Source: `k2f/skills/marketing/k2f-menu/SKILL.md`
---
name: k2f-menu
description: Turn venue notes, dish lists, and brand cues into a scannable food or beverage menu with clear categories, consistent item anatomy, and mood-matched visual intent—not a flyer, recipe book, or website sitemap. Use when the user asks for a ... | k2f/skills/marketing/k2f-menu/SKILL.md | guide | marketing | k2f/skills/marketing/k2f-menu/SKILL.md |
Source: `k2f/skills/marketing/k2f-one-pager/SKILL.md`
---
name: k2f-one-pager
description: Turn notes, specs, or release details into a single-page brief that aligns stakeholders on one story—problem, solution, proof, scope, or changelog—not a deck, flyer, or multi-page PRD. Use when the user asks for a one-pager, pro... | k2f/skills/marketing/k2f-one-pager/SKILL.md | guide | marketing | k2f/skills/marketing/k2f-one-pager/SKILL.md |
Source: `k2f/skills/personal/k2f-cover-letter/SKILL.md`
---
name: k2f-cover-letter
description: Turn a job posting, resume, and candidate notes into a tailored one-page cover letter with a sharp hook, requirement-matched proof, and company-specific fit—not a resume recap or generic application template. Use when the u... | k2f/skills/personal/k2f-cover-letter/SKILL.md | guide | personal | k2f/skills/personal/k2f-cover-letter/SKILL.md |
Source: `k2f/skills/personal/k2f-cv/SKILL.md`
---
name: k2f-cv
description: Compile a complete academic or senior professional curriculum vitae from notes, publication lists, and appointment history—with correct section order, honest bibliographic detail, and readable long-list hierarchy (not a one-page job resume). U... | k2f/skills/personal/k2f-cv/SKILL.md | guide | personal | k2f/skills/personal/k2f-cv/SKILL.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.