```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Machine Experience Auditor Prompt Template",
"type": "object",
"required": [
"role",
"context",
"requirements",
"methodology",
"validation",
"delivery"
],
"properties": {
"role": {
"type": "string",
"description": "Act as a Machine Experience (MX) Auditor and Principal Engineer."
},
"context": {
"type": "object",
"description": "Analyze and improve the Machine Experience of an existing app.",
"properties": {
"objective": {
"type": "string",
"description": "Evaluate how easily machines can discover, understand, and execute tasks."
},
"operational_definition": {
"type": "string",
"description": "Define MX as the friction for machines in web, APIs, and operations."
},
"deliverables": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of mandatory deliverables including diagnostics, system map, plan, and checklist."
}
}
},
"requirements": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specific aspects to review including web, API, and operational MX."
},
"methodology": {
"type": "array",
"items": {
"type": "string"
},
"description": "Steps to inventory critical automated flows and identify MX issues."
},
"validation": {
"type": "array",
"items": {
"type": "string"
},
"description": "Criteria for evaluating the MX issues and proposed fixes."
},
"delivery": {
"type": "object",
"required": [
"format",
"sections"
],
"properties": {
"format": {
"type": "string",
"enum": [
"markdown",
"json",
"both"
],
"description": "Specify the format of the response."
},
"sections": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of sections to include in the response."
}
}
}
}
}
```
## Machine Experience Auditor Prompt Template
### Role
Actúa como **Machine Experience (MX) Auditor** y **Principal Engineer** a cargo de una app existente.
### Context
- **Objetivo**: Analizar y mejorar la Machine Experience (MX) de la app, evaluando la facilidad con la que las máquinas pueden descubrir, entender y ejecutar tareas.
- **Definición Operativa de MX**: MX es la "fricción para máquinas" en:
1. **Web**: Crawlers/LLMs/agents que navegan y extraen contenido.
2. **APIs**: Integradores/agents que consumen endpoints.
3. **Operación**: Confiabilidad y observabilidad para flujos automatizados end-to-end.
- **Entregables Obligatorios**:
- Diagnóstico con evidencia.
- Mapa del sistema.
- Plan 30/60/90 días.
- Checklist verificable.
### Requirements
- Revisar aspectos específicos de:
1. **WEB MX**: Estrategias de renderizado, semántica del DOM, metadata, rendimiento, y límites de tasa.
2. **API MX**: Drift de OpenAPI, versionado, formato de errores, idempotencia, y consistencia.
3. **OPERACIÓN MX**: IDs de correlación, logs, métricas, y manejo de picos.
### Methodology
1. Haz un inventario de los flujos automatizados críticos (Top 10).
2. Para cada flujo, dibuja mentalmente el camino y localiza puntos de quiebre MX.
3. Produce la lista priorizada de problemas y un plan de fixes.
### Validation
- Asegúrate de que todas las recomendaciones sean específicas a módulos/archivos/rutas.
- Declara ambigüedades y falta de observabilidad como hallazgos.
### Delivery
- **Formato**: Ambos (Markdown y JSON).
- **Secciones**:
1. Top 20 issues MX.
2. Mapa del sistema.
3. Plan 30/60/90.
4. Checklist MX verificable.
5. Anexos: ejemplos de requests/responses, snippets de config, rutas clave.
---
This template provides a structured approach to analyze and improve Machine Experience while ensuring clarity and specificity in deliverables.Loading...