KI-gestützter Code-Review-Workflow

Nutzen Sie KI, um Bugs zu finden, Standards durchzusetzen und Code vor jedem Merge zu dokumentieren.

4 steps
codingdeveloper-toolsproductivity
1

Code einfügen und Bug-Review anfordern

Fügen Sie geänderte Funktionen in Ihr KI-Tool ein und bitten Sie es, Bugs, Edge Cases und Null-Pointer-Risiken zu finden.

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

Codestil und Namenskonventionen prüfen

Bitten Sie die KI, Stilprobleme, inkonsistente Namen und Abweichungen von den Teamkonventionen zu markieren.

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

Inline-Dokumentation generieren

Nutzen Sie KI, um JSDoc- oder Docstring-Kommentare für jede öffentliche Funktion zu schreiben.

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

PR-Beschreibung schreiben

Fügen Sie den Diff ein und lassen Sie die KI die PR-Beschreibung schreiben: was geändert wurde, warum und wie zu testen.

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