Flujo de trabajo de revisión de código con IA

Usa IA para detectar bugs, aplicar estándares y documentar código antes de cada merge.

4 steps
codingdeveloper-toolsproductivity
1

Pega el código y solicita una revisión de bugs

Pega las funciones modificadas en tu herramienta de IA y pídele que encuentre bugs, casos límite y riesgos de puntero nulo.

Example prompt
Review this code for bugs, edge cases, and potential runtime errors. List each issue with: location (function/line), severity (critical/medium/low), what can go wrong, and a suggested fix. Code:

[PASTE CODE HERE]
2

Verifica el estilo del código y las convenciones de nombres

Pide a la IA que señale violaciones de estilo, nombres inconsistentes y cualquier cosa que no siga las convenciones del equipo.

Example prompt
Review this code for style and consistency issues. Check: naming conventions (variables, functions, classes), function length, comment quality, magic numbers, and DRY violations. Team conventions: [DESCRIBE YOUR CONVENTIONS]. Code:

[PASTE CODE HERE]
3

Genera documentación inline

Usa IA para escribir comentarios JSDoc o docstring para cada función pública.

Example prompt
Write JSDoc comments for each function in the code below. Include: one-line summary, @param with types and descriptions, @returns with type and description, @throws if applicable, and one usage example per function. Code:

[PASTE CODE HERE]
4

Escribe la descripción del PR

Pega el diff y deja que la IA escriba la descripción del PR: qué cambió, por qué y cómo probarlo.

Example prompt
Write a pull request description for the following code changes. Include: Summary (2-3 sentences on what changed and why), Changes Made (bulleted list of key changes), How to Test (step-by-step testing instructions), Screenshots (placeholder if UI changed), and any Breaking Changes. Diff:

[PASTE DIFF HERE]
Ready to try LockedIn AI?
Follow this playbook with the actual tool
View Tool