| 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. |
Add / Edit Content
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.
Trigger Phrases
- "Add a page about [topic]"
- "Create a blog post about [topic]"
- "Add a new section called [name]"
- "Write content for [page]"
- "Create a landing page for [topic]"
- "Add [name] to the blog"
- "Update the frontmatter on [page]"
- "Add a child page under [section]"
- "Create a product page for [name]"
When to Use
- Adding a new page, blog post, section index, or product
- Editing frontmatter fields (title, parent, labels, etc.)
- Adding
:::children, :::html, or HTMX links to a page
Procedure
1. Pick the file path
| 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> |
2. Write frontmatter
Every file must have Short-URI. See for all fields.