Software Architect / Tech Lead · Focus area 3: Engineering leadership
AR8: Engineering standards and code review
Goal: write a small set of coding standards with reasons, automate the ones a tool can check, run code reviews that find what matters, give feedback that is kind and specific, and keep standards owned by the team as they change.
You'll need: AR3 Lesson 4, AR4, Module 26 (Debugging and Testing), Module 46 (Backend Testing), Module 71 (CI/CD), Module 77
(Encryption and Secrets), Module 78 (Secure Development), and the RasoiRoute practice kit (standards.config.json, tools/lint.js,
reviews/).
Where this is used: every team that shares code. Standards and reviews are how a team keeps a codebase that any of its members can change safely, and how new engineers learn the team's habits.
How it differs: earlier modules shaped systems. This module shapes habits: the everyday rules and conversations that decide whether a good architecture stays good.
Time: reading about 3 hours · practice (the Try it tasks) about 3 hours · assignment about 4 hours.
Lessons
- 1Standards worth havingReading 15–25 minutes, plus practice✓
- 2Automating standardsReading 15–25 minutes, plus practice✓
- 3Code reviewReading 15–25 minutes, plus practice✓
- 4Feedback that helpsReading 15–25 minutes, plus practice✓
- 5Templates, ownership and changing the standardsReading 15–25 minutes, plus practice✓
🛠️Assignment: Standards and a review for RasoiRoute
- Rewrite
docs/standards.mdwith at least eight rules, each with Why, Checked by and an example, plus Version, Last reviewed and a change process. - Switch on the matching rules in
standards.config.jsonand fix the code untilnpm run lintreports 0 errors. - Add unit tests for every module in
app/tests(at least two each). - Write
docs/review-checklist.mdand.github/pull_request_template.md. - Review PR 41 in
reviews/pr-41.md, with findings, a praise and a decision. - Run
npm run test:standards.
Self-check before you finish:
- [ ] Every rule switched on is in the document, and the reverse (test 2).
- [ ] No secret remains anywhere, and the payment key comes from the environment (test 5).
- [ ] The review finds the four blockers and suggests a fix for each (test 8).
- [ ]
npm run test:standardspasses 10 of 10.
✅Module check
Explain in a few sentences, in your own words:
How do you set up standards and reviews that keep a codebase safe without slowing the team down?
Show a good answer
A good answer mentions: few rules that prevent real harm, each with a reason from evidence, an example and how it's checked, versioned and dated; style settled by a formatter; automated checks in the build, kept in step with the document, switched on gradually in old code; reviews for harm, knowledge and consistency, with a checklist and small pull requests, looking at harm first; feedback on the code, specific, with severity, a suggestion, praise and a decision; a pull request template; and a team-owned process for changing the standards.
📚Official references
Official documentation and guidance for this module's topics, chosen on 2 November 2026. Tools, laws and standards change, so check the current version before you rely on a detail. If a link has moved, search the same site.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
