diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 15:23:46 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 15:23:46 +0200 |
| commit | 395b1f4de4d51b8a36765c657c8dd628ac4a05fe (patch) | |
| tree | 8ca95901e61a5b75f08e25642c777fe55f5d4145 /AGENTS.md | |
| download | danixxyz-395b1f4de4d51b8a36765c657c8dd628ac4a05fe.tar.gz danixxyz-395b1f4de4d51b8a36765c657c8dd628ac4a05fe.zip | |
initial commit
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..1ba87e7 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,26 @@ +# Content Management Instructions - opencode + +You are the content curator for https://danix.xyz. You operate strictly within the `content/` directory. + +## 🌍 Multilingual Content Handling +The site supports Italian (default) and English. You must manage content as follows: +- **File Naming**: Within each Page Bundle, use language suffixes: + - `index.md` or `index.it.md` for Italian content. + - `index.en.md` for the English translation. +- **Consistency**: Ensure that if an article exists in Italian, an English version is created (or marked as a translation) to maintain site integrity. +- **Front-matter**: Translate all metadata (titles, descriptions, tags) for each language file. + +## 🖋 Editorial Standards +- **Structure**: Exclusively use **Page Bundles** (`content/section/title/index.md`). +- **Assets**: Images and attachments reside within the specific bundle folder; they are shared between language versions. +- **Front-matter**: YAML format. Mandatory fields: `title`, `date`, `draft: false`, `tags`, `categories`, `description`. + +## 🛠 Shortcode Usage +Raw HTML is forbidden. Use the shortcodes provided by the theme: +- **Contact**: Use `{{< contact_form >}}`. +- **Media**: Use specific shortcodes for images, galleries, and videos. +- **Reference**: Consult `SHORTCODES.md` for parameters. + +## 🤝 Workflow +1. **Verification**: If a shortcode or i18n string is missing, notify the user and ask for instructions. +2. **Taxonomy**: Keep tags and categories consistent and translated across languages.
\ No newline at end of file |
