Bibliography page
Render every reference in the checkout (each declared references directory’s folio-reference/v1 nodes and each catalogue directory’s Dublin Core records) as the bibliography page and one page per sub-graph, each with its BibTeX, CSL-JSON, RIS and Dublin Core JSON-LD exports and a per-reference export, at the route of the visualiser core declares for it.
Skills it satisfies
A skill states the capability; this Tool is one way to exercise it. Each skill’s declared input and output contract follows, where it has one.
graph-rendering
Draw any graph in a harness (schemas, processes, a folio’s block graph and any formal relation its content type adds, a detangle partition) so the picture is derived, checkable and readable. Ten rules, which engine to lay a graph out with and why, and how each graph typology here applies them.
Source: cat-harness/skills/kg/graph-management/graph-rendering.md.
Also satisfied by: auto-docs-viewer, content-graph-uml, document-kinds-viewer, external-schemas-viewer, folio-viewer, kg-viewer, library-viewer, lsi-viewer, methodologies-viewer, node-kind-pages, openapi-pages, processes-viewer, schemas-viewer, site-viewer, staging-graph-viewer, state-viewer, theme-viewer, tools-viewer, translation-status-viewer, uploads-viewer, voices-viewer, web-app-build, archimate-from-glossary, glossary-page, glossary-table, references-render, l1-extraction-pages, iris-pages.
The skill declares no I/O contract (schemas/skills/graph-rendering/{input,output}.schema.json).
Inputs and outputs
Each port names a shared type by IRI, so two Tools for one skill can be checked for interchangeability.
| port | type | required | description | constraint | |
|---|---|---|---|---|---|
| in | check | Flag | Fail if a page or export is stale, instead of writing. | boolean · A boolean switch — projects to a bare flag, with no value word | |
| in | site | RepoPath | A site being built: write the pages at their declared route under it instead of under cat-harness’s docs, as a repository’s own site build does (visualiser-writers.ts). | string · pattern ^[A-Za-z0-9._][A-Za-z0-9._/-]*$ · A path relative to the repository root. No .. segments. | |
| in | scope | IdList | A scoped site build: the comma-separated instances whose pages this writer writes (the IG and the layer it lands on); every other instance’s pages are linked on that layer’s own site. Passed by the tools layer’s visualiser-writers.ts (owner, 2026-11-08, Q-SZ-2 “B”). Absent: every instance. | string · pattern ^[A-Za-z0-9][A-Za-z0-9._/-]*(?:,[A-Za-z0-9][A-Za-z0-9._/-]*)*$ · Comma-separated ids, e.g. skills,processes/sdlc or bean-query,agent-memory | |
| out | pages | RepoPath | The bibliography pages and their exports, under the published site directory. | string · pattern ^[A-Za-z0-9._][A-Za-z0-9._/-]*$ · A path relative to the repository root. No .. segments. |
Processes and tasks
No process step names a skill this Tool satisfies.
How it is deployed and reached
- Command line. From the repository root:
bun run cat bibliography:page.cat bibliography:pagerunsbun run folio-assistant-core/scripts/bibliography-page.ts(declared infolio-assistant-core/package.json). - GitHub Actions. 2 workflow line(s) run its command:
| workflow | line | |
|---|---|---|
.github/workflows/docs-site.yml | 571 | bun run cat bibliography:page --instance "$INSTANCE" --site "./_docs/${INSTANCE}" |
.github/workflows/feature-staging.yml | 1104 | bun run cat bibliography:page --instance "$INSTANCE" --site "./_docs/${INSTANCE}" |
As an API: its operation in the OpenAPI document and the MCP tool list of its layer.
| install | none |
| runtime | bun |
| network | no |
What it is made of
| role | file | |
|---|---|---|
| definition | folio-assistant-core/tools/bibliography-page/bibliography-page.ts | |
| script | folio-assistant-core/scripts/bibliography-page.ts |
It draws the viewer for the graph typologies references, catalogue.
Linked data
The Tool is published as its own JSON-LD document at its IRI, https://litlfred.github.io/folio-assistant/folio-assistant-core/tools/bibliography-page.jsonld, partOf its layer’s document. The node below is the definition this page was drawn from, and is embedded in the page as application/ld+json.
{
"@context": "https://litlfred.github.io/folio-assistant/folio-assistant-core/folio-assistant-core.context.jsonld",
"@id": "https://litlfred.github.io/folio-assistant/folio-assistant-core/tools/bibliography-page.jsonld",
"@type": "https://litlfred.github.io/cat-harness/v0/ns/Tool",
"partOf": "https://litlfred.github.io/folio-assistant/folio-assistant-core/folio-assistant-core.jsonld",
"name": "bibliography-page",
"title": "Bibliography page",
"description": "Render every reference in the checkout (each declared `references` directory's folio-reference/v1 nodes and each `catalogue` directory's Dublin Core records) as the bibliography page and one page per sub-graph, each with its BibTeX, CSL-JSON, RIS and Dublin Core JSON-LD exports and a per-reference export, at the route of the visualiser core declares for it.",
"install": {
"none": true
},
"invoke": {
"shell": "bun run cat bibliography:page"
},
"io": {
"inputs": [
{
"name": "check",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/Flag",
"description": "Fail if a page or export is stale, instead of writing.",
"required": false,
"arg": {
"flag": "--check"
}
},
{
"name": "site",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/RepoPath",
"description": "A site being built: write the pages at their declared route under it instead of under cat-harness's docs, as a repository's own site build does (`visualiser-writers.ts`).",
"required": false,
"arg": {
"flag": "--site"
}
},
{
"name": "scope",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/IdList",
"description": "A scoped site build: the comma-separated instances whose pages this writer writes (the IG and the layer it lands on); every other instance's pages are linked on that layer's own site. Passed by the tools layer's `visualiser-writers.ts` (owner, 2026-11-08, Q-SZ-2 \"B\"). Absent: every instance.",
"required": false,
"arg": {
"flag": "--scope"
}
}
],
"outputs": [
{
"name": "pages",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/RepoPath",
"description": "The bibliography pages and their exports, under the published site directory."
}
]
},
"satisfies": [
"graph-rendering"
],
"requirements": {
"runtime": [
"bun"
],
"network": false
},
"renders": [
"references",
"catalogue"
]
}