gori
AGENTS.md117 starsChanged 4 months agoApache-2.0View on GitHub
This document provides instructions for AI agents working on this Hwaro-generated website. This is a static website built with Hwaro, a fast and lightweight static site generator written in Crystal. For detailed documentation on content, templates, configuration, and more: To generate the full embedded AGENTS.md locally, run:
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Files
AGENTS.md - AI Agent Instructions for Hwaro Site
This document provides instructions for AI agents working on this Hwaro-generated website.
Project Overview
This is a static website built with Hwaro, a fast and lightweight static site generator written in Crystal.
Essential Commands
| Command | Description |
hwaro build | Build the site to public/ directory |
hwaro serve | Start development server with live reload |
hwaro new <path> | Create new content from archetype |
hwaro deploy | Deploy the site (requires configuration) |
hwaro build --drafts | Include draft content |
hwaro serve -p 8080 | Serve on custom port (default: 3000) |
hwaro build --base-url "https://example.com" | Set base URL for production |
Directory Structure
.
├── config.toml # Site configuration
├── content/ # Markdown content files
│ ├── index.md # Homepage (single file, no underscore)
│ ├── about.md # Standalone page
│ └── <section>/ # Section directory (posts/, guide/, chapter-1/, …)
│ ├── _index.md # Section landing page (underscore-prefixed)
│ └── *.md # Pages within the section
├── templates/ # Jinja2 templates (Crinja)
│ ├── header.html # Shared <head> + <body> open
│ ├── footer.html # Shared <body>/<html> close
│ ├── page.html # Page template
│ ├── section.html # Section listing template
│ ├── 404.html # Not-found page
│ ├── partials/ # Reusable fragments (nav, search, sidebar)
│ └── shortcodes/ # Shortcode templates
├── static/ # Static assets (copied as-is)
└── archetypes/ # Content templates for `hwaro new`Notes for AI Agents
- Front matter can be TOML (
+++), YAML (---), or JSON ({...}at file start). Pick one per file and keep delimiters matched. - Rendered content is
{{ content }}in templates (already-safe HTML — no extra| safeneeded). - Custom metadata is
page.extra.field, notpage.params.field. - Always preview with
hwaro servebefore committing. - Validate front matter syntax (TOML, YAML, or JSON) and
config.tomlafter edits. - Use
{{ base_url }}prefix for URLs in templates. - Escape user content with
{{ value | e }}(or| escape) in templates.
Full Reference
For detailed documentation on content, templates, configuration, and more:
- Hwaro Documentation
- Configuration Guide
- Full LLM Reference — comprehensive reference optimized for AI agents
To generate the full embedded AGENTS.md locally, run:
hwaro tool agents-md --local --writeSite-Specific Instructions
<!-- Add your site-specific rules and conventions below -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

