From 6acf08f80d802fb37dadc7a24a2d59f6a074cfcf Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Fri, 20 Feb 2026 16:15:37 -0700 Subject: [PATCH] Add SpiceBook docs -- reference page, tutorial, and updated indexes New pages: - reference/spicebook: all 5 SpiceBook tools with params, returns, examples - tutorials/publish-to-spicebook: end-to-end workflow guide Updated pages: - reference/index: add SpiceBook LinkCard, bump tool/resource/prompt counts - reference/resources: add spicebook://status resource - reference/prompts: add publish_to_spicebook prompt - tutorials/index: add Publish to SpiceBook LinkCard - sidebar: SpiceBook entry with "New" badge --- docs/astro.config.mjs | 2 + docs/src/content/docs/reference/index.mdx | 16 +- docs/src/content/docs/reference/prompts.mdx | 31 ++- docs/src/content/docs/reference/resources.mdx | 15 +- docs/src/content/docs/reference/spicebook.mdx | 194 ++++++++++++++++++ docs/src/content/docs/tutorials/index.mdx | 1 + .../docs/tutorials/publish-to-spicebook.mdx | 115 +++++++++++ 7 files changed, 367 insertions(+), 7 deletions(-) create mode 100644 docs/src/content/docs/reference/spicebook.mdx create mode 100644 docs/src/content/docs/tutorials/publish-to-spicebook.mdx diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index b7ba5ae..bf70f0a 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -40,6 +40,7 @@ export default defineConfig({ { label: 'Overview', slug: 'tutorials' }, { label: 'Design a Filter', slug: 'tutorials/design-a-filter' }, { label: 'Monte Carlo Yield', slug: 'tutorials/monte-carlo-yield' }, + { label: 'Publish to SpiceBook', slug: 'tutorials/publish-to-spicebook' }, ], }, { @@ -54,6 +55,7 @@ export default defineConfig({ { label: 'Stability & Power', slug: 'reference/stability-power' }, { label: 'Schematic & Netlist', slug: 'reference/schematic-netlist' }, { label: 'Library & Templates', slug: 'reference/library-templates' }, + { label: 'SpiceBook', slug: 'reference/spicebook', badge: { text: 'New', variant: 'note' } }, { label: 'Resources', slug: 'reference/resources' }, { label: 'Prompts', slug: 'reference/prompts' }, ], diff --git a/docs/src/content/docs/reference/index.mdx b/docs/src/content/docs/reference/index.mdx index 33ddf48..4ce1119 100644 --- a/docs/src/content/docs/reference/index.mdx +++ b/docs/src/content/docs/reference/index.mdx @@ -5,7 +5,7 @@ description: Complete reference for all mcltspice tools, resources, and prompts. import { LinkCard } from '@astrojs/starlight/components'; -mcltspice exposes 37 tools, 5 resources, and 7 prompts. This section documents every one of them with parameter types, defaults, return values, and usage notes. +mcltspice exposes 42 tools, 6 resources, and 8 prompts. This section documents every one of them with parameter types, defaults, return values, and usage notes. ## Tools by category @@ -51,16 +51,22 @@ mcltspice exposes 37 tools, 5 resources, and 7 prompts. This section documents e href="/reference/library-templates/" /> + + ## Resources and prompts diff --git a/docs/src/content/docs/reference/prompts.mdx b/docs/src/content/docs/reference/prompts.mdx index cb99c13..e7e50a6 100644 --- a/docs/src/content/docs/reference/prompts.mdx +++ b/docs/src/content/docs/reference/prompts.mdx @@ -7,7 +7,7 @@ import { Aside, Code } from '@astrojs/starlight/components'; MCP prompts are conversation starters. Each prompt generates an initial message that guides the LLM through a multi-step workflow, telling it which tools to call and in what order. Think of them as runbooks --- they encode best practices so the LLM does not have to figure out the workflow from scratch. -mcltspice provides 7 prompts covering filter design, power supply analysis, debugging, optimization, Monte Carlo yield analysis, building circuits from descriptions, and troubleshooting simulation failures. +mcltspice provides 8 prompts covering filter design, power supply analysis, debugging, optimization, Monte Carlo yield analysis, building circuits from descriptions, troubleshooting simulation failures, and publishing to SpiceBook.