Dataset Viewer
Auto-converted to Parquet Duplicate
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
End of preview. Expand in Data Studio

K2F Pretrain Corpus

Pretraining documents for the K2F document format: the v0.3 specification, its grammar, the five format JSON Schemas, authoring guides, and real .K2F packages from the K2F Gallery.

The training text is the text column. Other columns are metadata.

Subsets

subset rows contents
spec 1 K2F format specification v0.3
grammar 2 EBNF appendix and layout-engine description
schema 5 manifest, nodes, styles, visual_primitives, signatures
guide 105 Authoring docs, public skill writing guides, and catalog examples
sample 834 Deduplicated gallery packages

Gallery categories

  • brief: 15
  • brochure: 59
  • card: 17
  • certificate: 49
  • cover: 69
  • cv: 51
  • event: 5
  • flyer: 29
  • form: 60
  • guide: 4
  • infographic: 37
  • invoice: 11
  • legal: 5
  • letter: 26
  • memo: 76
  • menu: 49
  • newsletter: 34
  • paper: 2
  • planner: 35
  • poster: 42
  • presentation: 15
  • proposal: 19
  • report: 76
  • schedule: 5
  • social: 37
  • worksheet: 7

What a sample contains

Each sample is one Markdown document:

  • the gallery description of the piece
  • a node outline (id, role, content.type) and the theme roles, taken from the package JSON
  • a structural commentary
  • the original authoring files: manifest.json, content/*.json, styles/theme.json, and changelog.json when present

.K2F packages are ZIP files. Fonts, images, and the compiled document.K2F.lock are not included. Schema files appear once, in the schema subset, not inside every sample.

The commentary was drafted by deepseek/deepseek-v4.1-flash-1017:floor from the package JSON. It describes that JSON; it is not a rewritten package. The fenced JSON is the authoring source.

License

Apache-2.0, the same license as the K2F format specification.

Source

  • Specification, schemas, and skills: the public K2F repository
  • Samples: K2F Gallery templates, deduplicated by authoring JSON
Downloads last month
30