Code review workflow for Restaurants
The value of Code review is the repeatable decision process, not a one-off output. This workflow starts from Restaurants constraints, defines acceptance criteria, executes step by step and finishes with a table turnover and gross margin review.
Workflow
- 1
Define the goal and constraints
Clarify the problem and its boundaries. Measure with table turnover and gross margin; first establish the current state of platform dependence and squeezed margins and what is acceptable.
- 2
find correctness, security and performance issues
find correctness, security and performance issues. Ground it in two concrete Restaurants situations instead of generic advice.
- 3
rank them by severity
rank them by severity. Then check it against the criteria from step 1 and flag what still needs human review.
- 4
Deliver and review
Deliver "issue list (severity, location, cause, fix)", then review against table turnover and gross margin: what is usable, what needs more data and what to change next.
Recommended prompts
FAQ
Who is this workflow for?
For restaurant owners and operations managers, especially teams that need to standardize Code review and reduce repeated communication.
What should I prepare before starting?
Prepare the topic, the table turnover and gross margin target and available materials; write a one-page brief on platform dependence and squeezed margins.
How do I know it worked?
Compare table turnover and gross margin, cycle time and rework count before and after; if two rounds show no improvement, adjust the prompt or workflow.
Related skills
AI Code Review
Use AI for a first review pass so human attention goes to architecture, edge cases and security instead of formatting.
Legacy Refactor
Refactor legacy code without changing external behavior by adding tests, finding seams and replacing in small steps.
Test Generation
Generate tests that catch real defects instead of happy-path ceremony.