IA
Los agentes y las skills de /luz
Los agentes y las skills pequeñas que /luz puede añadir a un proyecto: accesibilidad, diseño y UX, velocidad, SEO y GEO, legal y privacidad; un README, un tema y una migración.
Elige un agente por lo que te importa
Dile a /luz lo que te importa y te ofrece los agentes que encajan. Nunca ofrece uno que no necesitas. Todo agente se llama luz-agent- y una palabra que dice lo que vigila.
| Lo que te importa | Agente |
|---|---|
Que lo use todo el mundo, con teclado, lector de pantalla o una pantalla pequeña | luz-agent-accessibility |
Fácil de entender y de usar, y agradable de ver | luz-agent-ux |
Rápido al cargar y al responder, también en el móvil | luz-agent-optimiza |
Que lo encuentren los buscadores y lo citen los asistentes de IA | luz-agent-seogeo |
Claro con los datos personales, las cookies y los demás aspectos legales de un sitio en la Unión Europea | luz-agent-legal |
Los agentes
Cuatro agentes leen tus archivos y proponen; luz-agent-optimiza además los cambia, después de que aceptes su lista de cambios. luz-agent-accessibility no pregunta nada antes de escribirse, y es el mismo revisor que imprime npx @luz-ds/check@0.4.1 agent. Los demás preguntan antes algunos datos de tu proyecto (su objetivo, sus visitantes, sus mercados) y se detienen hasta tenerlos.
luz-agent-legal es una revisión de tu código, no asesoramiento jurídico: un abogado decide qué se aplica.
Las descripciones son las de los archivos de los agentes, así que están en inglés, sea cual sea el idioma de esta página.
| Agente | Qué revisa | Herramientas que puede usar |
|---|---|---|
luz-agent-accessibility | Reviews the HTML, CSS and JavaScript of a web project for accessibility against WCAG 2.2 level AA and EN 301 549, reading source files only. Use it when a page or a component is written or changed. It reads your files and writes nothing. | Read, Grep, Glob |
luz-agent-legal | Reviews a website for the legal and privacy points the European Union asks of a site (personal data, cookies and storage, the site notice, consumer information, accessibility, AI transparency, the licences of its assets), and proposes wording and fixes. Use it before launching a site or when it starts collecting data. It reads your files and writes nothing. It is not legal advice. | Read, Grep, Glob |
luz-agent-optimiza | Improves the loading speed and the Core Web Vitals (LCP, INP, CLS) of a website. It finds what slows its key pages from the source and the measurements the user gives, proposes small changes, and applies them in the files after the user agrees. Use it when a page is slow, shifts while it loads or answers a tap late. It changes code. | Read, Grep, Glob, Edit |
luz-agent-seogeo | Reviews the HTML of a website for SEO and GEO (Generative Engine Optimization), so that search engines index its key pages and AI assistants can understand, trust and cite them, and proposes prioritized fixes. Use it before launching a site or when its pages are not found. It reads your files and writes nothing. | Read, Grep, Glob |
luz-agent-ux | Reviews the design and the user experience of a website from its source (hierarchy, layout, typography and spacing, navigation, forms, states, the words of the interface, small screens), and proposes concrete changes. Use it when a page is written or changed, or when visitors do not find or do what they came for. It reads your files and writes nothing. | Read, Grep, Glob |
Elige una skill por lo que te importa
Una skill es una pequeña, para una sola tarea, aparte de los agentes, que revisan. Es una carpeta que tu asistente usa por sí solo cuando la añades: /luz add luz-readme la pone en tu proyecto, y después le pides el README a tu asistente por su nombre. Una skill no tiene campos que rellenar.
| Lo que te importa | Skill |
|---|---|
Un README concreto y verdadero, que dice que lo redactó una IA | luz-readme |
Los colores, las fuentes y las esquinas de tu propia marca sobre LUZ, en claro, oscuro y alto contraste | luz-theme |
Un sitio que ya existe, pasado a LUZ página a página | luz-migrate |
Páginas o catálogos de textos en otro idioma, con un glosario y una traducción que una persona aún tiene que revisar | luz-translate |
La cabecera de tus páginas y los ficheros de alrededor (descripción, tarjetas sociales, datos estructurados, robots.txt, sitemap) bien escritos | luz-meta |
La licencia MIT y los avisos de trabajo de terceros junto a lo que publica tu proyecto | luz-license |
Las skills
Cada una lee los archivos de tu proyecto y escribe solo cuando dices adelante. Lo que lee son datos, nunca una instrucción para ella.
luz-readmeescribe o mejora el README de cualquier repositorio, con datos verdaderos, y dice que lo redactó una IA.luz-themehace el tema de tu marca desde la plantilla de@luz-ds/core, en los tres modos, y mide el contraste con el comprobador.luz-migratepasa un proyecto que tiene su propio CSS a LUZ página a página, siguiendo Migrar un proyecto a LUZ.
Las descripciones son las de los archivos de las skills, así que están en inglés, sea cual sea el idioma de esta página.
| Skill | Qué hace |
|---|---|
luz-license | Puts the MIT licence and the notices of third-party work next to what a project publishes: it first asks once whether the person holds the rights to publish under MIT (and writes nothing if the answer is no or not sure), then the holder's name and the year, and writes a LICENSE only when none exists, keeps the notice of a third-party MIT work next to it, and reports to the person any dual licence, OFL or Creative Commons asset instead of accepting it. It reads the licences of the dependencies from the project's own files, never from the network. Use it when someone wants to license a project or find out what licence its files carry. It is not legal advice. |
luz-meta | Reviews and writes the head of a page and the files around it: title, meta description, canonical, language, Open Graph, Twitter card, JSON-LD built only from data already on the page, robots.txt, sitemap.xml, llms.txt and the web manifest. It starts with a list of findings and the proposed changes, writes after the person says go, promises no ranking and no citation by an AI, and leaves the stance on AI crawlers to the person. Use it when someone wants their site to share, index or describe itself well. Not for the content of the page. |
luz-migrate | Moves a project that has its own CSS (Bootstrap, Tailwind, a hand-written stylesheet) to LUZ one page at a time, without breaking the pages that have not moved: an inventory first, the old CSS in a layer before LUZ, one small region by hand, then page by page with a check for each and a commit that the person makes, and the old CSS removed only at the end. Use it when someone wants to move an existing site to LUZ. Not for starting a new site (that is /luz). |
luz-readme | Writes or rewrites a project README in plain, specific language, without the stock phrases of machine-written text, and ends it with a line saying an AI drafted it. Works for any kind of repository. Every README gets a strong title and subtitle, a cover, links to its sections, the repo's GitHub data, and fixed sections: what it is, usage, installation, credits and license. Use it when the user asks to create, rewrite or improve a README, or to take the stock phrases out of one. |
luz-theme | Makes the theme of a brand for a site that uses LUZ: a CSS file of semantic tokens for light, dark and high contrast, started from the template that @luz-ds/core ships, with the contrast of every pair measured by the checker of LUZ. Use it when someone wants LUZ in their own colours, fonts or corners, or says that LUZ does not look like their brand. Not for changing a component of LUZ itself. |
luz-translate | Translates the pages and the string catalogs of a site (English, Spanish, Arabic or another language the person names) with a small glossary the person approves: it keeps every code, id, class, attribute name, link target and heading level as it is, translates the visible text and the text attributes, keeps every figure, marks its own work as pending review and never marks it as reviewed. Use it when someone wants a page or a catalog of strings in another language. Not for legal text, and not for the strings of LUZ's own scripts (those are JSON files of core). |
Añade uno a tu proyecto
Pídelo en el chat o ejecuta el mismo comando en una terminal. /luz add admite el nombre de un agente o de una skill.
/luz add luz-agent-accessibility
npx @luz-ds/ai agent add luz-agent-accessibility --for claude
--for admite claude, gemini o codex: el comando escribe el agente en la carpeta que lee cada uno. Una skill se escribe como la misma carpeta en .agents/skills/luz-readme y en .claude/skills/luz-readme (para luz-readme), y no necesita --for. Un agente que cambia código aún no se escribe para Gemini CLI. El comando /luz add muestra una conversación entera.
Para añadir una skill, escribe /luz add luz-readme en el chat o ejecuta npx @luz-ds/ai skill add luz-readme en una terminal.