一键导入
add-content
Create or edit Flint Static content pages (Markdown + YAML frontmatter). Use when adding pages, blog posts, section indexes, or products to the site.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or edit Flint Static content pages (Markdown + YAML frontmatter). Use when adding pages, blog posts, section indexes, or products to the site.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create or edit Flint Static UI components (TypeScript classes extending Component<T>). Use when building reusable server-rendered UI that appears across multiple pages via {{tag}} placeholders in templates.
Create or edit Flint Static developer documentation (docs/*.md). Use when adding architecture docs, API references, system deep-dives, or updating existing documentation to reflect code changes.
Create or edit Flint Static page templates (HTML with {{tag}} placeholders). Use when adding new page layouts or modifying the structural skeleton of pages.
Build the Flint Static site and run tests. Use when compiling Markdown to HTML, running Bun tests, type-checking, linting, or debugging build/test issues.
Deploy the Flint Static site and/or checkout worker to Cloudflare Pages, Vercel, Netlify, or GitHub Pages. Use when asked to "deploy the site", "push to production", "deploy to Cloudflare", "deploy the worker", or "deploy checkout server".
Build a Flint Static template by analysing a URL or image. Use when a user says "build this", "clone this site", "make a template from this URL", or provides a screenshot and asks to replicate the design.
| name | add-content |
| description | Create or edit Flint Static content pages (Markdown + YAML frontmatter). Use when adding pages, blog posts, section indexes, or products to the site. |
Create or modify content pages in content/. Each .md file becomes an HTML page at build time. The file path determines the URL; frontmatter determines everything else.
:::children, :::html, or HTMX links to a page| Goal | File path | URL |
|---|---|---|
| Top-level page | content/<slug>.md | /<slug> |
| Section index | content/<section>/index.md | /<section> |
| Child page | content/<section>/<slug>.md | /<section>/<slug> |
Every file must have Short-URI. See references/frontmatter-fields.md for all fields.
---
title: My Page Title
Short-URI: my-page
Template: default
Type: page
Parent: root
Order: 3
Category: General
Labels: [tutorial, beginner]
Description: A short SEO summary
---
Parent: root → appears in top navigationParent: <section-short-uri> → child of that sectionType: section → container page, use :::children in bodyType: product → requires PriceCents, Currency, StripePriceId, StripePaymentLink, ImageStandard GFM Markdown. Extend with three directives:
Auto-list child pages:
:::children sort=date-desc limit=5
:::
Raw HTML block:
:::html
<div hx-get="/fragments/demo.html" hx-target="#output">
<button class="bg-blue-600 text-white px-4 py-2 rounded">Click Me</button>
<div id="output"></div>
</div>
:::
HTMX link:
[Load Data](/fragments/data.html){hx-get hx-target=#output hx-swap=innerHTML}
See references/directives.md for full options and placeholders.
Short-URI is unique across all content filesParent matches an existing section's Short-URI or is rootTemplate matches a file in themes/default/templates/ (without .html)Type is one of: page, post, section, product:::children directivebun run build
<style> or <link> tags — use Tailwind in :::html blocks<script> blocks — client JS goes in src/client/::: blocks — first ::: closes the block:::html — it's raw HTML onlyParent + Order{{tag}} components render it (e.g. Skills: array → {{skill-cards}}, product fields → {{product}})references/frontmatter-fields.md — Complete field reference with types and defaultsreferences/directives.md — :::children, :::html, and HTMX syntax detailsreferences/examples.md — Full page examples (blog post, product, section index)