mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
fbdd913d8e
* Add translation tracker for stale translations audit Generated-By: mintlify-agent * translations: add missing pages and update content for es, fr, zh Phase 1: Add translations for 4 new API analytics pages (feedback-by-page, searches, views, visitors) in es, fr, and zh. Phase 2: Update 3 pages with content changes: - agent/workflows: add "Disable a workflow" subsection - ai/skillmd: add 24-hour generation note - editor/publish: add AI PR title tip, reformat publishing workflows, promote "Publish your changes" heading from h3 to h2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * update descriptions * translations * translations * translations * Delete TRANSLATION_TRACKER.md * translations * a * a * translations * translations * translations * translations * translations * translations * translations * translations * Update use-cases.mdx * translations * translations * Update ai-native.mdx * Update accordions.mdx * Update accordions.mdx * Update accordions.mdx * translations * translations * Update fonts.mdx * translations * translations: update SEO descriptions for es, fr, zh (150 pages) Update the description: frontmatter field across 150 pages × 3 languages to match the current English descriptions updated on 2026-03-31. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
57 lines
3.2 KiB
Plaintext
57 lines
3.2 KiB
Plaintext
---
|
|
title: "Personalizar el comportamiento del agente"
|
|
description: "Personaliza el comportamiento del agente con un archivo de configuración `AGENTS.md` para controlar cómo gestiona las tareas de documentación y sigue tus convenciones."
|
|
keywords: ["AGENTS.md", "agent configuration", "custom instructions", "agent customization"]
|
|
---
|
|
|
|
Crea un archivo `.mintlify/AGENTS.md` en la raíz de tu proyecto de documentación para personalizar el comportamiento del agente (también se acepta `Agents.md` como nombre de archivo).
|
|
|
|
<Warning>
|
|
Coloca tu archivo `AGENTS.md` dentro del directorio `.mintlify/`, no en la raíz de tu proyecto. Si almacenas el archivo en la raíz de tu proyecto, tus instrucciones personalizadas serán accesibles públicamente a través de la ruta `/agents.md`. El directorio `.mintlify/` no se sirve públicamente, por lo que tu archivo `AGENTS.md` no será accesible cuando esté en ese directorio.
|
|
|
|
Si necesitas almacenar tu archivo `AGENTS.md` en la raíz de tu proyecto o en cualquier otro directorio, agrégalo a tu archivo [`.mintignore`](/es/organize/mintignore) para excluirlo de tu sitio de documentación.
|
|
</Warning>
|
|
|
|
Añade todas las instrucciones que quieras que el agente siga. El agente agrega estas instrucciones a su prompt del sistema, por lo que se aplican a todas las tareas, tanto si usas el agente en tu dashboard, en Slack o mediante la API.
|
|
|
|
<div id="what-to-include-in-agentsmd">
|
|
## Qué incluir en AGENTS.md
|
|
</div>
|
|
|
|
Considera agregar instrucciones sobre:
|
|
|
|
- **Preferencias de estilo**: Voz, tono, formato y terminología específica de tu documentación.
|
|
- **Estándares de código**: Lenguajes de programación, frameworks y convenciones de codificación que se deben usar en los ejemplos.
|
|
- **Requisitos de contenido**: Qué secciones o información se deben incluir para diferentes tipos de páginas.
|
|
- **Contexto del proyecto**: Detalles específicos sobre tu producto, arquitectura o base de usuarios que guíen las decisiones sobre la documentación.
|
|
|
|
<div id="example-agentsmd-file">
|
|
## Ejemplo de archivo AGENTS.md
|
|
</div>
|
|
|
|
```markdown .mintlify/AGENTS.md
|
|
# Documentation agent instructions
|
|
|
|
## Code examples
|
|
- Use TypeScript for all code examples. Our users are primarily TypeScript developers.
|
|
- Always include error handling in API call examples.
|
|
- Show both success and error response examples for all endpoints.
|
|
- Include import statements at the top of code examples.
|
|
|
|
## API documentation standards
|
|
- Every endpoint must document: authentication requirements, rate limits, and common error codes.
|
|
- Use real-world parameter values in examples (not foo/bar placeholders).
|
|
- Include a complete request/response cycle for each endpoint.
|
|
|
|
## Style and formatting
|
|
- Write for developers with 2-5 years of experience. Don't oversimplify, but explain non-obvious concepts.
|
|
- Use active voice and second person ("you").
|
|
- Date format: ISO 8601 (YYYY-MM-DD).
|
|
- When referencing UI elements, use bold: **Settings** button.
|
|
|
|
## What to include
|
|
- Add prerequisite sections to guides when users need API keys, environment setup, or dependencies.
|
|
- Include "Next steps" sections linking to related documentation.
|
|
- Add troubleshooting sections for common issues we see in support tickets.
|
|
```
|