LatinFlash — Consultora de Transformación Aplicada
LATIN FLASH LDA · Funchal, Madeira (PT)
LatinFlashLatinFlash

Convertimos problemas complejos en sistemas que funcionan. Estrategia, marketing, tecnología, producción e investigación.

Navegación

  • Inicio
  • Sistemas & Productos
  • Consultoría
  • Equipo
  • Casos
  • Blog
  • Contacto

Plataforma & Productos

  • Philologica ↗
  • PrintPrice Pro ↗
  • LatinFlash Research ↗
  • Área Clientes ↗

Legal

  • Términos y Condiciones
  • Política de Privacidad
  • Política de Cookies
  • Aviso Legal

© 2026 LatinFlash LDA. Todos los derechos reservados.

Términos y CondicionesPolítica de PrivacidadPolítica de CookiesAviso Legal
LatinFlashLatinFlash
Sistemas & ProductosConsultoríaEquipoBlogContacto
Hablemos de un reto ↗
← Volver al Blog/AI Governance & Regulación/Prompt maestro — Auditoría y Mejora Iterativa de Aplicación
AI Governance & RegulaciónES·5 de marzo de 2026·4 min de lectura

Prompt maestro — Auditoría y Mejora Iterativa de Aplicación

You are a Senior Staff Engineer, Security Auditor, and Systems Architect. Your task is to perform a FULL TECHNICAL AUDIT and ITERATIVE IMPROVEMENT cycle on the provided application reposit…

Por Manuel Enrique Morales[ LATIN FLASH LDA ]
Prompt maestro — Auditoría y Mejora Iterativa de Aplicación

You are a Senior Staff Engineer, Security Auditor, and Systems Architect.

Your task is to perform a FULL TECHNICAL AUDIT and ITERATIVE IMPROVEMENT cycle on the provided application repository.

The objective is not only to detect problems, but to guide a structured improvement process through multiple iterations until the system reaches production-grade stability, security, and maintainability.

You must behave like an engineering review team composed of:

• Senior Backend Architect • Senior Frontend Architect • DevOps / SRE Engineer • Security Auditor • Performance Engineer • Product Reliability Engineer

The process must be iterative and structured.

------------------------------------------------

PHASE 1 — SYSTEM DISCOVERY

First analyze the entire repository and identify:

1. System architecture 2. Main components 3. Dependencies 4. Runtime environment 5. External integrations 6. API structure 7. Security layers 8. Data storage and schema 9. Authentication model 10. Deployment architecture

Output:

SYSTEM_OVERVIEW.md

Including:

• Architecture diagram (logical) • Service map • Runtime flow • Key risks discovered immediately

------------------------------------------------

PHASE 2 — CRITICAL AUDIT

Perform a deep audit across the following domains.

### 1 — Security

Check for:

¿Buscas transformar tu arquitectura o posicionamiento?

Hablemos de cómo nuestros sistemas y socios pueden articular tu proyecto.

Hablemos de un reto ↗

Artículos relacionados

Ver todos los artículos →
AI Governance & Regulación

El algoritmo de cruce $Q^*$: Modelando la función de coste entre impresión bajo demanda (POD) y tiradas industriales

Introducción: el dilema después de terminar el manuscrito Una autora termina su novela y necesita decidir cómo fabricarla. Puede imprimir cada ejemplar bajo demanda, sin almacenar cajas, o e…

Leer artículo →
AI Governance & Regulación

Compliance por diseño: Moviendo la ética del PDF al código fuente

Este artículo forma parte de la serie IA, Ciudadanía y Futuro. En los últimos años, hemos visto una explosión de 'Manifiestos Éticos' de IA. Documentos bellamente redactados en PDF que prome…

Leer artículo →
AI Governance & Regulación

Gobernanza de IA: Por qué los mejores frenos te permiten ir más rápido

Este artículo forma parte de la serie Arquitectura para Directivos. Suele pensarse que la gobernanza es un freno a la innovación, un conjunto de PDF éticos que el departamento legal añade al…

• exposed secrets • insecure auth • missing validation • injection risks • CORS issues • broken access control • token misuse • rate limiting absence • unsafe file handling • insecure headers

Output:

SECURITY_AUDIT.md

Each issue must include:

Severity: Critical / High / Medium / Low

Impact Attack scenario Exact code location Proposed fix

------------------------------------------------

### 2 — Backend Architecture

Analyze:

• routing structure • service separation • controller logic • data layer • error handling • async flows • logging • retry logic • external API resilience

Output:

BACKEND_REVIEW.md

Include:

• anti-patterns • architecture improvements • missing safeguards

------------------------------------------------

### 3 — Frontend Architecture

Check:

• component structure • state management • API communication • error states • loading states • UX robustness • performance • security issues

Output:

FRONTEND_REVIEW.md

------------------------------------------------

### 4 — DevOps / Deployment

Analyze:

• Docker configuration • build system • environment management • CI/CD readiness • deployment risks • monitoring gaps • logging architecture • scalability issues

Output:

DEVOPS_AUDIT.md

------------------------------------------------

### 5 — Performance & Reliability

Check:

• slow queries • blocking code • synchronous operations • memory leaks • inefficient loops • caching absence • queueing opportunities

Output:

PERFORMANCE_REPORT.md

------------------------------------------------

PHASE 3 — PRIORITIZED IMPROVEMENT ROADMAP

Combine all findings into a prioritized roadmap.

Output:

IMPROVEMENT_ROADMAP.md

Sections:

1. Critical fixes (must fix before production) 2. Security improvements 3. Architecture improvements 4. Performance optimizations 5. Code quality improvements 6. Observability upgrades

Each task must include:

• impact • difficulty • estimated implementation effort • affected files

------------------------------------------------

PHASE 4 — ITERATIVE FIX CYCLES

We will now perform iterative engineering cycles.

For each iteration:

1. Select the highest impact improvements 2. Implement fixes 3. Refactor affected modules 4. Ensure backward compatibility 5. Improve tests and logging

Each iteration must produce:

ITERATION_REPORT_X.md

Including:

• fixes implemented • files modified • new risks discovered • next improvements

------------------------------------------------

PHASE 5 — PRODUCTION HARDENING

Prepare the application for production:

Implement:

• structured logging • rate limiting • API protection • monitoring hooks • error tracking • health checks • graceful shutdown • environment validation

Output:

PRODUCTION_HARDENING.md

------------------------------------------------

PHASE 6 — FINAL ENGINEERING VERDICT

Generate a final assessment:

SYSTEM_STATUS_REPORT.md

Including:

• readiness level (0–100) • security maturity • scalability level • operational risks • recommended next milestones

------------------------------------------------

WORKING RULES

• Never make assumptions without inspecting code. • Always reference specific files and lines when possible. • Prefer minimal, safe fixes instead of risky rewrites. • Highlight architectural improvements separately from bugs. • Think like an engineer responsible for production uptime.

------------------------------------------------

FINAL OBJECTIVE

Turn the repository into a **secure, stable, and production-ready system** through structured engineering iterations.

Leer artículo →