[{"data":1,"prerenderedAt":161},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fworkflows\u002Fcode-test-review":3},{"id":4,"title":5,"body":6,"description":153,"extension":154,"meta":155,"navigation":156,"path":157,"seo":158,"stem":159,"__hash__":160},"docs\u002Fdocs\u002Fworkflows\u002Fcode-test-review.md","Code-test-review",{"type":7,"value":8,"toc":140},"minimark",[9,13,17,22,25,31,36,39,43,48,67,70,74,81,86,89,93,96,112,115,119,122,126,137],[10,11,5],"h1",{"id":12},"code-test-review",[14,15,16],"p",{},"The code-test-review workflow guides you through writing code, covering it with tests, reviewing it for issues, and shipping a pull request — as one continuous flow.",[18,19,21],"h2",{"id":20},"how-to-start-it","How to start it",[14,23,24],{},"Describe the feature or change you want to work on:",[26,27,28],"blockquote",{},[14,29,30],{},"\"Build the user authentication service, write tests for every decision point, and open a pull request when it's done.\"",[26,32,33],{},[14,34,35],{},"\"I've written the payment module — help me test it and then review the code before we open a PR.\"",[14,37,38],{},"Slo adapts to wherever you are in the process. You can start from scratch or hand off mid-way.",[18,40,42],{"id":41},"what-happens","What happens",[44,45,47],"h3",{"id":46},"step-1-write-code","Step 1 — Write code",[14,49,50,51,55,56,55,59,62,63,66],{},"Slo loads the applicable coding skills for your stack and writes the implementation. For a FastAPI service this might include ",[52,53,54],"code",{},"build-routers",", ",[52,57,58],{},"build-domain-features",[52,60,61],{},"named-arguments-and-type-hints",", and ",[52,64,65],{},"declarative-method-structure"," — all applied automatically.",[14,68,69],{},"You don't need to name the skills. Slo picks them based on what the code is doing.",[44,71,73],{"id":72},"step-2-identify-decision-points-and-write-tests","Step 2 — Identify decision points and write tests",[14,75,76,77,80],{},"After writing, Slo scans the code for every decision point — every ",[52,78,79],{},"if",", early return, try\u002Fexcept, or conditional branch. It writes one test per path, names tests after what they exercise, and runs them to make sure they pass.",[26,82,83],{},[14,84,85],{},"\"Test files  4 passed (4) — Tests  12 passed (12)\"",[14,87,88],{},"If tests fail, Slo fixes the code (or the test) before moving on.",[44,90,92],{"id":91},"step-3-code-review","Step 3 — Code review",[14,94,95],{},"Slo reviews the finished implementation against:",[97,98,99,103,106,109],"ul",{},[100,101,102],"li",{},"The applicable build skills for the stack (router conventions, docstrings, named args, etc.)",[100,104,105],{},"Security — OWASP top 10, injection, XSS, CSRF, secrets in code",[100,107,108],{},"The ubiquitous language convention — names must be consistent across every layer",[100,110,111],{},"The test verification policy — every decision point must have a test",[14,113,114],{},"You can ask for a lighter-touch review (\"just check for obvious bugs\") or a thorough audit (\"review everything\").",[44,116,118],{"id":117},"step-4-ship-the-pr","Step 4 — Ship the PR",[14,120,121],{},"Slo creates a branch, writes a commit message, pushes, and opens a pull request with a full summary of what changed and why.",[18,123,125],{"id":124},"tips","Tips",[97,127,128,131,134],{},[100,129,130],{},"If you want to review mid-build: \"Stop here and review what we have so far.\"",[100,132,133],{},"If you only want the review step: \"Review my current code changes.\"",[100,135,136],{},"If you want to skip straight to the PR: \"Open a PR for this branch.\"",[14,138,139],{},"Each step is independently available — you can ask for just the part you need.",{"title":141,"searchDepth":142,"depth":142,"links":143},"",2,[144,145,152],{"id":20,"depth":142,"text":21},{"id":41,"depth":142,"text":42,"children":146},[147,149,150,151],{"id":46,"depth":148,"text":47},3,{"id":72,"depth":148,"text":73},{"id":91,"depth":148,"text":92},{"id":117,"depth":148,"text":118},{"id":124,"depth":142,"text":125},"How Slo guides a feature from code to tests to a reviewed, ship-ready PR.","md",{},true,"\u002Fdocs\u002Fworkflows\u002Fcode-test-review",{"title":5,"description":153},"docs\u002Fworkflows\u002Fcode-test-review","w2iC3uXwzu_RAuUCQy8YEvLjsNt9J2WQZfArzV00t1U",1782392848392]