AGENTS.md
AGENTS.md
Personal Jekyll site hosted on GitHub Pages (asosab.github.io). In the
desarrollo workspace the repo sits at desarrollo\asosab.github.io; opencode
metadata (STATE, PLAN, CHANGELOG, arquitectura) lives outside the repo at
desarrollo\opencode\asosab.github.io\. The deploy branch is master.
Workflow
For every change to the site, follow the full pipeline:
investigar → idear mejoras sobre la idea → planificar → editar → verificar →
commit + push a master → prueba en vivo
Before editing, read opencode/asosab.github.io/STATE.md and
PLAN/_index.md (workspace parent, outside the repo). Afterward, update the
plan file and CHANGELOG.md there, and log the session in
docs/log/YYYY-MM-DD.md. UI/design work must load the design-taste-frontend
skill first and pass its gate. Prose in Spanish goes through humanamente.
Stack at a glance
- Static site, built directly by GitHub Pages — no
Gemfile, nopackage.json, no.github/workflows. There is nothing to install. - No tests, no linter, no typecheck, no CI. Do not invent commands.
_config.ymlis the only build config. Plugins:jekyll-gist,rouge, and one local plugin in_plugins/external_link_filter.rb.
Layout
_posts/YYYY-MM-DD-slug.md— blog posts.permalink: /:title/in_config.ymlmeans the filename slug is the URL; renaming a file changes its public URL._drafts/— drafts. Not built in production (jekyll serve --draftslocally if you ever need to preview them)._layouts/,_includes/,assets/— standard Jekyll._site/— generated, gitignored (_site,.jekyll-metadata). Never edit.data/— JSON/TSV/CSV datasets referenced by posts (D3 charts, etc.).podcasts/— podcast hub generated from RSS feeds (see below). Theindex.htmlfiles under it are generated; hand-edit onlypodcasts.cssandpodcasts-app.js._scripts/build_podcasts.py— regeneratespodcasts/pages, thepodcasts/podcasts.jsplayer config andimagen/podcasts*covers from the Anchor RSS feeds (list at the top of the script). Runpython _scripts/build_podcasts.pyto refresh episodes, then commit. It wipespodcasts/<show>/dirs on each run.- Top-level project directories that are NOT Jekyll posts and are served
as-is (no front matter, no layouts):
buddy/— Buddy platform landinglav/— Línea Abierta Vecinal story sitecall_center_gobernacion/— proposal for the Gobernaciónvcv/— Voz Ciudadana Venezuela proposal Treat them as static HTML; do not try to wire them into_layouts/.
- Other project cards on the home (
/somos10e7/,/larga_noche_de_museos/,/nombres-venezolanos/,/ekvilibrolab/,/bot_sigue_linea/) are not directories in this repo — each is its own GitHub repo served as a project page under the same domain. Seedocs/sitio/subproyectos.md. docs/— Obsidian vault (see below), excluded from the Jekyll build.
Local preview
There is no committed dev setup. To preview the blog locally you need Jekyll 3.x with the whitelisted plugins:
1
2
3
gem install jekyll jekyll-gist rouge
jekyll serve # http://localhost:4000
jekyll serve --drafts
The local subprojects (buddy/, lav/, call_center_gobernacion/, vcv/)
are plain HTML and do not need a build — open index.html directly in a
browser.
Custom Liquid filter
_plugins/external_link_filter.rb adds target="_blank" to any <a href="http…">
emitted by `<div class="btn-group" role="group" aria-label="...">
` in _layouts/default.html.
It only runs for pages that go through that layout. The top-level
subproject pages (somos10e7/index.html, etc.) are not processed by
Jekyll templates, so the filter does not apply to them.
somos10e7 — separate repo
Somos 10⁷ moved to its own GitHub repository (served at
asosab.github.io/somos10e7/) with its own AGENTS.md covering locales,
episode editing, Firebase and secrets. Work on it in that repo, not here.
Obsidian vault
The repo root doubles as an Obsidian vault; docs/ is the knowledge domain
(excluded from the Jekyll build via exclude in _config.yml). Start at
docs/index.md — atomic notes under docs/sitio/, session logs under
docs/log/YYYY-MM-DD.md, templates under docs/templates/. .obsidian/
shared config is committed; workspaces, plugins and themes are gitignored.
After a work session, record what was done in the day’s log file.
llms.txt
llms.txt at the repo root is a curated, human-readable index of the
site’s notable pages and projects. Update it when adding a significant
post or subproject; this is the file AI crawlers tend to read first.
Conventions worth preserving
- Posts are written in Spanish (
_config.ymlsetslocale: es_ES). - Permalink strips the date — when fixing broken links, update the filename slug, not the front matter.
desarrollo: truein_config.ymlswitches CSS/JS to localassets/(offline dev);falseuses CDN (production default). Flip locally if the CDN is blocked.- The custom Ruby plugin is one file and intentionally tiny; keep it that way to stay within GitHub Pages’ plugin whitelist constraints.
- Do not commit
_site/,.jekyll-metadata, or shell history files (*bashis in.gitignore).