Back to directory

Astra Ssg

Agent skill
1 skill

Use when building markdown-driven docs / blog sites with mizchi/astra. Astra is a static-site generator first — astra build writes a pure-static tree to disk and astra dev runs a local preview server. The Mars-middleware form (mizchi/astra/middleware) is a secondary shape for when you need to mount the same content on a long-running server (e.g. sol). astra build itself does not open a network listener and (as of 0.22.3) no longer instantiates a Mars Server — buildtodisk calls Middleware::renderurl(url) directly — so the typical deploy is "build once, serve from any static host" (CF Workers Static Assets, GitHub Pages, S3, etc.). Covers (a) the file-to-URL routing rules under docs/ (every .md becomes a route; index.md becomes the directory root; ja/ and other locale dirs are i18n branches), (b) astra.config.json fields (docsdir, outdir, nav, sidebar, i18n, islands, spaRoutes, deploy, headSnippets), (c) per-page metadata via frontmatter (title, description, layout, sidebar, revalidate for ISR — the last one only matters when served from Mars) and page.json (ssr, renderer, spa, fallbackBehavior, staticParams), (d) three ways to drop components onto a page — TSX with React renderToString SSR, MoonBit .mbt with pub fn render() -> Node[Unit], or client-side web components in the islands directory, (e) when to reach for the middleware mount instead (sol embedding, on-demand revalidation), and (f) how this composes with sol (no edge: astra has no sol dependency).

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryContent & writingStars0

About this skill

Use when building markdown-driven docs / blog sites with mizchi/astra. Astra is a static-site generator first — astra build writes a pure-static tree to disk and astra dev runs a local preview server. The Mars-middleware form (mizchi/astra/middleware) is a secondary shape for when you need to mount the same content on a long-running server (e.g. sol). astra build itself does not open a network listener and (as of 0.22.3) no longer instantiates a Mars Server — buildtodisk calls Middleware::renderurl(url) directly — so the typical deploy is "build once, serve from any static host" (CF Workers Static Assets, GitHub Pages, S3, etc.). Covers (a) the file-to-URL routing rules under docs/ (every .md becomes a route; index.md becomes the directory root; ja/ and other locale dirs are i18n branches), (b) astra.config.json fields (docsdir, outdir, nav, sidebar, i18n, islands, spaRoutes, deploy, headSnippets), (c) per-page metadata via frontmatter (title, description, layout, sidebar, revalidate for ISR — the last one only matters when served from Mars) and page.json (ssr, renderer, spa, fallbackBehavior, staticParams), (d) three ways to drop components onto a page — TSX with React renderToString SSR, MoonBit .mbt with pub fn render() -> Node[Unit], or client-side web components in the islands directory, (e) when to reach for the middleware mount instead (sol embedding, on-demand revalidation), and (f) how this composes with sol (no edge: astra has no sol dependency).

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: ea46477d568ef540570d99b79c135d315faa46e185f5a68f4d7b6b961df9cc4b

About scan coverage and limitations

About this listing

Category
Content & writing
Reported license
Not specified
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Astra Ssg | Agent Skills Atlas