{"slug":"render","title":"render","summary":"Regenerate a render from its recipe in recipes/","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-01T16:31:49.831347Z","repo":{"url":"https://github.com/pche-broken-artist/forge-of-thought","stars":11,"forks":2,"license":"CC-BY-4.0","updatedAt":"2026-11-01T16:21:04Z"},"bodyHtml":"<hr>\n<h2>description: Regenerate a render from its recipe in recipes/\nargument-hint: \"</h2>\n<p>Role: renderer (what a render and a recipe are: CLAUDE.md, Document\nchain, Renders). A render is regenerated only here, on the principal's\nexplicit command, or by <code>/release</code> (POS.0810); Claude never regenerates\non its own judgement — it reports a stale render and offers. Iterating\nthe recipe is working conversation like any other; generating the render\nis mechanical.</p>\n<ol>\n<li>Infer the current project from context ($1, or ask if ambiguous) and\nread <code>recipes/$0.md</code>. If it does not exist, offer to compose it\nthrough <code>/recipe</code> (a genre where one fits, else bare from\n<code>templates/recipe.md</code>) and stop.</li>\n<li>Read the recipe's declared inputs at their current versions.\nWhere the inputs name <code>ledger.md</code>, make it first, <code>python scripts/forge-ledger.py &lt;slug&gt;</code>: the ledger is made at read time\n(CLAUDE.md, Ledger) and a render reads the file on disk.\nEvery input is read from disk in the run (CLAUDE.md, Isolated\nreviewers: what holds for every isolated subagent).</li>\n<li>Generate in isolation: spawn one subagent (Agent tool, type\n<code>general-purpose</code>, session model — never a model override) whose\nprompt names the project, the recipe path, the output path and the\nrender date, and instructs it to read the recipe and its declared\ninputs, follow the Instructions and Template exactly, and write the\nfile — nothing else. The prompt carries the front-matter block of\nstep 5 verbatim, so the subagent never derives the provenance shape\nfrom a previous render. The subagent sees only the recipe and its\ninputs, never this conversation: a render is derived from the\nartefacts, not from what was said about them. Its prompt cites what\nholds for every isolated subagent (CLAUDE.md, Isolated reviewers),\nno instance fact in the render among it. It must not read the\nprevious render unless the recipe declares it among its inputs\n(the release-notes genre does, for the released sections), and\nmust not touch the ledger. Prose is hard-wrapped as CLAUDE.md,\nDocument kinds, says for every document. Where the recipe\ndeclares <code>languages:</code>, the subagent writes the primary render\nfirst and then each translation as a file of its own, scene for\nscene and line for line, its provenance naming the primary\nrender it was made from; nothing is re-cut.\nContent only, always Markdown: the render carries no instructions\nfor a conversion — the recipe's <code>## Format</code> section is never\ncopied into it.</li>\n<li>The subagent writes to <code>renders/$0.md</code>, or, where the recipe\ndeclares languages, to <code>renders/$0.&lt;lang&gt;.md</code> per language, or\nto the recipe's <code>output:</code> path if it declares one (e.g. the\nrepository README). An <code>output:</code> path may lie outside the\nproject, in the engine's <code>docs/videos/</code> (POS.1540): that is the\nplace of the format file of step 7 only, and the Markdown render\nalways stays in the project's <code>renders/</code>. Overwrite freely;\nhistory lives in git.</li>\n<li>The render opens with YAML front-matter provenance, written by the\nsubagent:\n<pre><code>---\nproject: &lt;slug&gt;\nrender: &lt;recipe&gt;\ngenerated: YYYY-MM-DD\nrecipe: recipes/&lt;recipe&gt;.md v&lt;version&gt;\ninputs:\n  - &lt;path&gt; v&lt;version&gt;\n---\n</code></pre>\nA render in one of several languages adds <code>language: &lt;lang&gt;</code>,\nand a translation <code>translated_from: renders/&lt;recipe&gt;.&lt;primary&gt;.md</code>.\nInputs without a version of their own (e.g. CLAUDE.md) are cited by\npath alone. A render is <strong>stale</strong> when any version cited in this\nfront-matter differs from the current version of that file, or a\ncited file no longer exists. This is the one definition; <code>/forge</code>\nand <code>/check</code> cite it (POS.1070).</li>\n<li>Back in the session: scan the written file mechanically for the\ninstance's facts, <code>python scripts/docs-check.py --file &lt;render&gt;</code>;\na hit is said aloud and the principal judges it: an instance fact\nis regenerated out, never edited by hand; a public fixed text of\nthe recipe (POS.0990) or a fact of the engine's own history stands\n(POS.0950). Verify the file exists and its provenance is\ncorrect — the provenance is the row the ledger's Renders table\nreads, a translation citing the primary render; nobody writes a\nrow — remake the ledger, <code>python scripts/forge-ledger.py &lt;slug&gt;</code>,\nand report what was rendered from what.</li>\n<li>The plain file (CLAUDE.md, Document chain, Renders). Where the recipe\ncarries a <code>## Format</code> section, run the script of its format —\n<code>python scripts/md2docx.py</code> or <code>python scripts/md2pptx.py</code> — on the\nrender with <code>--engine pandoc</code> and the reference document and page size\nthe section names; the file lands beside the render. Where the\nformat is <code>video</code> or <code>html-player</code>, run <code>python scripts/md2video.py</code> on each language's render with the format,\nthe pace, the date and, for <code>html-player</code>, the section of the\ncourse and that language's name the section names, the file beside the\nrender or at the recipe's <code>output:</code> (<code>docs/videos/</code>, where the\nscript renews the player page). Where pandoc, or Pillow and\nffmpeg, is missing, the render stands, the plain file is not\nmade, and that is said aloud. A recipe without the section ends\nat the Markdown. The designed file is <code>/publish</code>'s, never made\nhere; a screenplay has none, and step 8 does not apply to it.</li>\n<li>Where <code>published/&lt;recipe&gt;.md</code> exists, say that the published file\nis now older than its render: the ledger computes its state\n<code>stale</code> from the dates (SOL.0680), nobody sets it. Remake nothing.</li>\n</ol>\n","files":[{"path":"SKILL.md","sizeBytes":5640,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-01T16:32:26.001455Z","sha256":"1A35CC2CD1CEAA702D751304F40AAC79CB31ED1C3028BCA7B3CF7C828E1944A2","sizeBytes":2492},"review":null,"source":{"repositoryUrl":"https://github.com/pche-broken-artist/forge-of-thought","path":".claude/skills/render","license":"CC-BY-4.0","commit":"3ef759bef569df2927430ffb3fbbdfe0fa742b1f","subtreeSha":"384DA49EB420DF10FBAF01818BAE093A8DA2F1B87E6E9575CA13656630AB67D1","lastSyncedAt":"2026-11-01T16:31:45.200529Z"},"reviewedAt":"2026-11-01T16:33:34.229447Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/pche-broken-artist/forge-of-thought/tree/main/.claude/skills/render"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install pche-broken-artist-forge-of-thought@llmmart"},{"target":"git","command":"git clone https://github.com/pche-broken-artist/forge-of-thought.git"}]}