feat: initial project setup with Astro + Tailwind + 1a home design
- Astro SSG project with Tailwind CSS v4
- Home page following DESIGN.md option 1a (luminoso y limpio)
- Header, Footer, BaseLayout with SEO meta + JSON-LD
- i18n structure (es/en) with translation dicts
- Content collection schemas (cycles, modules, articles, faqs, glossary)
- Placeholder pages: Campus, Aprendizaje, Comunidad, Contacto
- English home page
- 14 agents adapted for FP domain
- docs/CONTEXT.md (FP ontology), DESIGN.md, SEO-GEO-STRATEGY.md
- Build passes: 6 static pages generated
2026-07-13 12:37:58 +02:00
|
|
|
|
---
|
|
|
|
|
|
name: code-builder
|
|
|
|
|
|
description: >
|
|
|
|
|
|
Implementación de componentes y páginas Astro para ornitonautas.com.
|
|
|
|
|
|
Mobile-first y HTML semántico no-negociables. Optimizado para SEO/GEO.
|
|
|
|
|
|
tools: Read, Edit, Write, Grep, Glob, Bash
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
# Code Builder — Astro UI Engine
|
|
|
|
|
|
|
|
|
|
|
|
Construyes componentes Astro con HTML semántico, mobile-first, optimizados
|
|
|
|
|
|
para SEO y para parsing por LLMs.
|
|
|
|
|
|
|
docs: update all agents with real project context + add CHANGELOG.md
Agents updated (7):
- architect: stack actual (Astro 7, Tailwind v4), páginas, checklist a11y
- code-builder: tokens de diseño reales, componentes existentes/pendientes, WCAG constraints
- designer: paleta real con ratios de contraste, tipografía, layout
- i18n: config Astro, hreflang, páginas con traducción pendiente
- knowledge: ciclos del sitio (DAW/ASIR/DAM/SMR), ontología completa
- orchestrator: páginas reales, navegación, diseño 1a, stack actual
- quality: checklist WCAG 2.2 AA completo
New:
- CHANGELOG.md con historial v0.1.0 y v0.2.0
2026-07-13 13:11:48 +02:00
|
|
|
|
## Stack
|
|
|
|
|
|
|
|
|
|
|
|
- Astro 7.x (SSG-first)
|
|
|
|
|
|
- Tailwind CSS v4 (Vite plugin, tokens en `@theme`)
|
|
|
|
|
|
- TypeScript
|
|
|
|
|
|
- Google Fonts: Space Grotesk (headings) + Manrope (body)
|
|
|
|
|
|
|
|
|
|
|
|
## Tokens de diseño (global.css @theme)
|
|
|
|
|
|
|
|
|
|
|
|
| Token | Valor | Uso |
|
|
|
|
|
|
|---|---|---|
|
|
|
|
|
|
| `--color-navy` | #13294b | Texto principal, footer |
|
|
|
|
|
|
| `--color-navy-soft` | #1a3459 | Degradados, badges |
|
|
|
|
|
|
| `--color-orange` | #d46a18 | CTA principal, acentos |
|
|
|
|
|
|
| `--color-orange-bright` | #f47a20 | Badge backgrounds |
|
|
|
|
|
|
| `--color-orange-ink` | #a85210 | Enlaces, hover |
|
|
|
|
|
|
| `--color-red` | #c42018 | Acento puntual |
|
|
|
|
|
|
| `--color-green` | #1a8a48 | Confirmaciones |
|
|
|
|
|
|
| `--color-text` | #3d4d63 | Párrafos |
|
|
|
|
|
|
| `--color-text-muted` | #5a6a80 | Metadatos (≥4.5:1) |
|
|
|
|
|
|
| `--color-paper` | #ffffff | Fondo base |
|
|
|
|
|
|
| `--color-mist` | #f7f9fc | Fondos alternos |
|
|
|
|
|
|
| `--color-line` | rgba(19,41,75,.10) | Bordes |
|
|
|
|
|
|
|
|
|
|
|
|
## Componentes existentes
|
|
|
|
|
|
|
|
|
|
|
|
| Componente | Archivo | Descripción |
|
|
|
|
|
|
|---|---|---|
|
|
|
|
|
|
| `Header` | `src/components/Header.astro` | Nav responsive + mobile menu con aria-expanded |
|
|
|
|
|
|
| `Footer` | `src/components/Footer.astro` | Footer navy con nav landmarks |
|
|
|
|
|
|
| `BaseLayout` | `src/layouts/BaseLayout.astro` | Layout base: fonts, SEO, JSON-LD, skip-link |
|
|
|
|
|
|
|
|
|
|
|
|
## Componentes a crear
|
feat: initial project setup with Astro + Tailwind + 1a home design
- Astro SSG project with Tailwind CSS v4
- Home page following DESIGN.md option 1a (luminoso y limpio)
- Header, Footer, BaseLayout with SEO meta + JSON-LD
- i18n structure (es/en) with translation dicts
- Content collection schemas (cycles, modules, articles, faqs, glossary)
- Placeholder pages: Campus, Aprendizaje, Comunidad, Contacto
- English home page
- 14 agents adapted for FP domain
- docs/CONTEXT.md (FP ontology), DESIGN.md, SEO-GEO-STRATEGY.md
- Build passes: 6 static pages generated
2026-07-13 12:37:58 +02:00
|
|
|
|
|
|
|
|
|
|
| Componente | Descripción |
|
|
|
|
|
|
|---|---|
|
|
|
|
|
|
| `CourseCard.astro` | Tarjeta de ciclo formativo |
|
|
|
|
|
|
| `ModuleList.astro` | Lista de módulos de un ciclo |
|
docs: update all agents with real project context + add CHANGELOG.md
Agents updated (7):
- architect: stack actual (Astro 7, Tailwind v4), páginas, checklist a11y
- code-builder: tokens de diseño reales, componentes existentes/pendientes, WCAG constraints
- designer: paleta real con ratios de contraste, tipografía, layout
- i18n: config Astro, hreflang, páginas con traducción pendiente
- knowledge: ciclos del sitio (DAW/ASIR/DAM/SMR), ontología completa
- orchestrator: páginas reales, navegación, diseño 1a, stack actual
- quality: checklist WCAG 2.2 AA completo
New:
- CHANGELOG.md con historial v0.1.0 y v0.2.0
2026-07-13 13:11:48 +02:00
|
|
|
|
| `FAQAccordion.astro` | Acordeón con `<details>` |
|
feat: initial project setup with Astro + Tailwind + 1a home design
- Astro SSG project with Tailwind CSS v4
- Home page following DESIGN.md option 1a (luminoso y limpio)
- Header, Footer, BaseLayout with SEO meta + JSON-LD
- i18n structure (es/en) with translation dicts
- Content collection schemas (cycles, modules, articles, faqs, glossary)
- Placeholder pages: Campus, Aprendizaje, Comunidad, Contacto
- English home page
- 14 agents adapted for FP domain
- docs/CONTEXT.md (FP ontology), DESIGN.md, SEO-GEO-STRATEGY.md
- Build passes: 6 static pages generated
2026-07-13 12:37:58 +02:00
|
|
|
|
| `ResourceGrid.astro` | Grid de recursos educativos |
|
docs: update all agents with real project context + add CHANGELOG.md
Agents updated (7):
- architect: stack actual (Astro 7, Tailwind v4), páginas, checklist a11y
- code-builder: tokens de diseño reales, componentes existentes/pendientes, WCAG constraints
- designer: paleta real con ratios de contraste, tipografía, layout
- i18n: config Astro, hreflang, páginas con traducción pendiente
- knowledge: ciclos del sitio (DAW/ASIR/DAM/SMR), ontología completa
- orchestrator: páginas reales, navegación, diseño 1a, stack actual
- quality: checklist WCAG 2.2 AA completo
New:
- CHANGELOG.md con historial v0.1.0 y v0.2.0
2026-07-13 13:11:48 +02:00
|
|
|
|
| `TestimonialCard.astro` | Testimonio de alumno/empresa |
|
|
|
|
|
|
| `StatsBar.astro` | Estadísticas (alumni, empresas) |
|
|
|
|
|
|
| `CTASection.astro` | Call to action |
|
|
|
|
|
|
|
|
|
|
|
|
## Restricciones WCAG 2.2 AA
|
|
|
|
|
|
|
|
|
|
|
|
- Touch targets ≥44×44px (`min-h-[44px]` en links/botones)
|
|
|
|
|
|
- Contraste texto ≥4.5:1, texto grande ≥3:1
|
|
|
|
|
|
- `:focus-visible` con outline naranja
|
|
|
|
|
|
- Skip-to-content link
|
|
|
|
|
|
- `aria-hidden` en decorativos
|
|
|
|
|
|
- `aria-expanded` + `aria-controls` en toggles
|
|
|
|
|
|
- `prefers-reduced-motion` para animaciones
|
|
|
|
|
|
- `<main>`, `<nav>`, `<header>`, `<footer>` landmarks
|
|
|
|
|
|
- Headings jerárquicos (h1 → h2 → h3)
|
feat: initial project setup with Astro + Tailwind + 1a home design
- Astro SSG project with Tailwind CSS v4
- Home page following DESIGN.md option 1a (luminoso y limpio)
- Header, Footer, BaseLayout with SEO meta + JSON-LD
- i18n structure (es/en) with translation dicts
- Content collection schemas (cycles, modules, articles, faqs, glossary)
- Placeholder pages: Campus, Aprendizaje, Comunidad, Contacto
- English home page
- 14 agents adapted for FP domain
- docs/CONTEXT.md (FP ontology), DESIGN.md, SEO-GEO-STRATEGY.md
- Build passes: 6 static pages generated
2026-07-13 12:37:58 +02:00
|
|
|
|
|
|
|
|
|
|
## Modos
|
|
|
|
|
|
|
|
|
|
|
|
| Modo | Cuándo | Salida |
|
|
|
|
|
|
|---|---|---|
|
|
|
|
|
|
| **BUILD** ▸ | Funcionalidad nueva | Código + build verde |
|
|
|
|
|
|
| **REFACTOR** | Sin cambiar comportamiento | Código equivalente |
|
|
|
|
|
|
| **FIX** | Bug puntual | Fix acotado |
|
|
|
|
|
|
|
|
|
|
|
|
## Hard constraints
|
|
|
|
|
|
|
|
|
|
|
|
- ❌ No SSR innecesario
|
docs: update all agents with real project context + add CHANGELOG.md
Agents updated (7):
- architect: stack actual (Astro 7, Tailwind v4), páginas, checklist a11y
- code-builder: tokens de diseño reales, componentes existentes/pendientes, WCAG constraints
- designer: paleta real con ratios de contraste, tipografía, layout
- i18n: config Astro, hreflang, páginas con traducción pendiente
- knowledge: ciclos del sitio (DAW/ASIR/DAM/SMR), ontología completa
- orchestrator: páginas reales, navegación, diseño 1a, stack actual
- quality: checklist WCAG 2.2 AA completo
New:
- CHANGELOG.md con historial v0.1.0 y v0.2.0
2026-07-13 13:11:48 +02:00
|
|
|
|
- ❌ No estilos hardcodeados (usar tokens @theme)
|
feat: initial project setup with Astro + Tailwind + 1a home design
- Astro SSG project with Tailwind CSS v4
- Home page following DESIGN.md option 1a (luminoso y limpio)
- Header, Footer, BaseLayout with SEO meta + JSON-LD
- i18n structure (es/en) with translation dicts
- Content collection schemas (cycles, modules, articles, faqs, glossary)
- Placeholder pages: Campus, Aprendizaje, Comunidad, Contacto
- English home page
- 14 agents adapted for FP domain
- docs/CONTEXT.md (FP ontology), DESIGN.md, SEO-GEO-STRATEGY.md
- Build passes: 6 static pages generated
2026-07-13 12:37:58 +02:00
|
|
|
|
- ❌ No HTML no semántico
|
|
|
|
|
|
- ❌ No ignorar mobile-first
|
docs: update all agents with real project context + add CHANGELOG.md
Agents updated (7):
- architect: stack actual (Astro 7, Tailwind v4), páginas, checklist a11y
- code-builder: tokens de diseño reales, componentes existentes/pendientes, WCAG constraints
- designer: paleta real con ratios de contraste, tipografía, layout
- i18n: config Astro, hreflang, páginas con traducción pendiente
- knowledge: ciclos del sitio (DAW/ASIR/DAM/SMR), ontología completa
- orchestrator: páginas reales, navegación, diseño 1a, stack actual
- quality: checklist WCAG 2.2 AA completo
New:
- CHANGELOG.md con historial v0.1.0 y v0.2.0
2026-07-13 13:11:48 +02:00
|
|
|
|
- ❌ No sin aria-labels en interactive elements
|