[{"data":1,"prerenderedAt":529},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-the-1-percent-rule":125,"-getting-started-the-1-percent-rule-surround":524},[4,28,62,94,100],{"title":5,"path":6,"stem":7,"children":8,"order":11,"icon":27},"Getting Started","/getting-started","1.getting-started/index",[9,12,17,22],{"title":10,"path":6,"stem":7,"order":11},"What is Gangsta?",1,{"title":13,"path":14,"stem":15,"order":16},"Installation","/getting-started/installation","1.getting-started/installation",2,{"title":18,"path":19,"stem":20,"order":21},"Quickstart — Your First Heist","/getting-started/quickstart","1.getting-started/quickstart",3,{"title":23,"path":24,"stem":25,"order":26},"The 1% Rule","/getting-started/the-1-percent-rule","1.getting-started/the-1-percent-rule",4,"i-lucide-rocket",{"title":29,"path":30,"stem":31,"children":32,"order":11,"icon":61},"Core Concepts","/core-concepts","2.core-concepts/index",[33,34,39,43,48,52,56],{"title":29,"path":30,"stem":31,"order":11},{"title":35,"path":36,"stem":37,"order":38},"Intent Routing","/core-concepts/intent-routing","2.core-concepts/intent-routing",5,{"title":40,"path":41,"stem":42,"order":26},"Omerta — The Five Laws","/core-concepts/omerta","2.core-concepts/omerta",{"title":44,"path":45,"stem":46,"order":47},"Spec-Driven Development","/core-concepts/spec-driven-dev","2.core-concepts/spec-driven-dev",7,{"title":49,"path":50,"stem":51,"order":16},"The Borgata Hierarchy","/core-concepts/the-borgata","2.core-concepts/the-borgata",{"title":53,"path":54,"stem":55,"order":21},"The Heist Pipeline","/core-concepts/the-heist","2.core-concepts/the-heist",{"title":57,"path":58,"stem":59,"order":60},"The Ledger","/core-concepts/the-ledger","2.core-concepts/the-ledger",6,"i-lucide-brain",{"title":63,"icon":64,"path":65,"stem":66,"children":67},"Heist Pipeline","i-lucide-workflow","/heist-pipeline","3.heist-pipeline",[68,70,74,78,82,86,90],{"title":53,"path":65,"stem":69,"order":11},"3.heist-pipeline/index",{"title":71,"path":72,"stem":73,"order":16},"Reconnaissance","/heist-pipeline/reconnaissance","3.heist-pipeline/1.reconnaissance",{"title":75,"path":76,"stem":77,"order":21},"The Grilling","/heist-pipeline/the-grilling","3.heist-pipeline/2.the-grilling",{"title":79,"path":80,"stem":81,"order":26},"The Sit-Down","/heist-pipeline/the-sit-down","3.heist-pipeline/3.the-sit-down",{"title":83,"path":84,"stem":85,"order":38},"Resource Development","/heist-pipeline/resource-development","3.heist-pipeline/4.resource-development",{"title":87,"path":88,"stem":89,"order":60},"The Hit","/heist-pipeline/the-hit","3.heist-pipeline/5.the-hit",{"title":91,"path":92,"stem":93,"order":47},"Laundering","/heist-pipeline/laundering","3.heist-pipeline/6.laundering",{"title":95,"path":96,"stem":97,"children":98},"Skills Reference","/skills","4.skills/index",[99],{"title":95,"path":96,"stem":97},{"title":101,"icon":102,"path":103,"stem":104,"children":105},"Advanced","i-lucide-zap","/advanced","5.advanced",[106,109,113,117,121],{"title":107,"path":103,"stem":108,"order":11},"Advanced Topics","5.advanced/index",{"title":110,"path":111,"stem":112,"order":26},"Checkpoint Recovery","/advanced/checkpoint-recovery","5.advanced/checkpoint-recovery",{"title":114,"path":115,"stem":116,"order":38},"Contributing","/advanced/contributing","5.advanced/contributing",{"title":118,"path":119,"stem":120,"order":16},"Writing Custom Skills","/advanced/custom-skills","5.advanced/custom-skills",{"title":122,"path":123,"stem":124,"order":21},"Multi-Agent Patterns","/advanced/multi-agent-patterns","5.advanced/multi-agent-patterns",{"id":126,"title":23,"body":127,"description":517,"extension":518,"links":519,"meta":520,"navigation":521,"path":24,"seo":522,"stem":25,"__hash__":523},"docs/1.getting-started/the-1-percent-rule.md",{"type":128,"value":129,"toc":508},"minimark",[130,134,138,152,157,160,176,179,183,186,276,280,283,342,346,349,397,403,407,410,464,478,482,485,505],[131,132,23],"h1",{"id":133},"the-1-rule",[135,136,137],"p",{},"The 1% Rule is the single most important rule in Gangsta. It's the behavioral contract that makes the entire framework work:",[139,140,143,149],"callout",{"icon":141,"type":142},"i-lucide-shield","danger",[135,144,145],{},[146,147,148],"strong",{},"If there is even a 1% chance that a Gangsta skill applies to what you are doing, you MUST invoke it.",[135,150,151],{},"This is not negotiable. This is not optional. You cannot rationalize your way out of it.",[153,154,156],"h2",{"id":155},"why-the-1-rule-exists","Why the 1% Rule Exists",[135,158,159],{},"Without the 1% Rule, AI agents default to ad-hoc behavior:",[161,162,163,167,170,173],"ul",{},[164,165,166],"li",{},"They jump straight to code without specs",[164,168,169],{},"They skip planning and start implementing",[164,171,172],{},"They ignore edge cases because \"it's simple\"",[164,174,175],{},"They produce inconsistent results across sessions",[135,177,178],{},"The 1% Rule enforces discipline. It ensures every task, no matter how small, goes through the appropriate structured process. This produces reliable, repeatable outcomes.",[153,180,182],{"id":181},"how-it-works","How It Works",[135,184,185],{},"When you (the Don) express an intent, the agent evaluates whether any Gangsta skill could apply. Even a slight possibility triggers invocation:",[187,188,189,205],"table",{},[190,191,192],"thead",{},[193,194,195,199,202],"tr",{},[196,197,198],"th",{},"Your Action",[196,200,201],{},"Skill Triggered",[196,203,204],{},"Why",[206,207,208,223,236,249,263],"tbody",{},[193,209,210,214,220],{},[211,212,213],"td",{},"\"I want to build a new feature\"",[211,215,216],{},[217,218,219],"code",{},"gangsta:reconnaissance",[211,221,222],{},"New build = start a Heist",[193,224,225,228,233],{},[211,226,227],{},"\"Fix this bug\"",[211,229,230],{},[217,231,232],{},"gangsta:the-consigliere",[211,234,235],{},"Bug = need diagnosis first",[193,237,238,241,246],{},[211,239,240],{},"\"This code isn't working\"",[211,242,243],{},[217,244,245],{},"gangsta:interrogation-debugging",[211,247,248],{},"Debugging = systematic root-cause",[193,250,251,254,260],{},[211,252,253],{},"\"Continue where we left off\"",[211,255,256,257],{},"Check ",[217,258,259],{},"docs/gangsta/",[211,261,262],{},"Resuming = read checkpoints",[193,264,265,268,273],{},[211,266,267],{},"\"Review this PR\"",[211,269,270],{},[217,271,272],{},"gangsta:audit-review",[211,274,275],{},"Review = structured assessment",[153,277,279],{"id":278},"common-rationalizations-and-why-they-fail","Common Rationalizations (and Why They Fail)",[135,281,282],{},"The framework explicitly calls out the rationalizations agents use to skip skills:",[187,284,285,295],{},[190,286,287],{},[193,288,289,292],{},[196,290,291],{},"Rationalization",[196,293,294],{},"Reality",[206,296,297,305,313,326,334],{},[193,298,299,302],{},[211,300,301],{},"\"This is just a simple task\"",[211,303,304],{},"Simple tasks become complex. Check for skills.",[193,306,307,310],{},[211,308,309],{},"\"I'll just write the code directly\"",[211,311,312],{},"Code without a spec is a shadow hotfix.",[193,314,315,318],{},[211,316,317],{},"\"The Don wants it fast\"",[211,319,320,321,325],{},"Speed without structure produces ",[322,323,324],"em",{},"stronzate"," (garbage). The Heist IS the fast path.",[193,327,328,331],{},[211,329,330],{},"\"I know what to do already\"",[211,332,333],{},"Knowledge without verification is hallucination.",[193,335,336,339],{},[211,337,338],{},"\"This doesn't need a full Heist\"",[211,340,341],{},"The Don decides what needs a Heist. Ask, don't assume.",[153,343,345],{"id":344},"the-skill-check-protocol","The Skill Check Protocol",[135,347,348],{},"Before every action, the agent runs this mental checklist:",[350,351,352,361,368,375,383,391],"ol",{},[164,353,354,360],{},[146,355,356,357,359],{},"Could ",[217,358,219],{}," apply?"," — Am I building something new?",[164,362,363,367],{},[146,364,356,365,359],{},[217,366,232],{}," — Am I diagnosing or reviewing?",[164,369,370,374],{},[146,371,356,372,359],{},[217,373,245],{}," — Am I debugging a problem?",[164,376,377,382],{},[146,378,356,379,359],{},[217,380,381],{},"gangsta:drill-tdd"," — Am I writing implementation code?",[164,384,385,390],{},[146,386,356,387,359],{},[217,388,389],{},"gangsta:the-hit"," — Am I in an active Heist execution phase?",[164,392,393,396],{},[146,394,395],{},"Could any other skill apply?"," — Check the full skill catalog.",[135,398,399,400],{},"If any answer is \"maybe\" — that's a 1%. ",[146,401,402],{},"Invoke the skill.",[153,404,406],{"id":405},"priority-order","Priority Order",[135,408,409],{},"When multiple skills could apply, the 1% Rule follows a priority order:",[350,411,412,433,449],{},[164,413,414,417,418,421,422,421,425,428,429,432],{},[146,415,416],{},"Process skills first"," — ",[217,419,420],{},"reconnaissance",", ",[217,423,424],{},"interrogation-debugging",[217,426,427],{},"drill-tdd"," — these determine ",[322,430,431],{},"how"," to approach the task",[164,434,435,417,438,421,441,444,445,448],{},[146,436,437],{},"Orchestration skills second",[217,439,440],{},"the-underboss",[217,442,443],{},"the-capo"," — these manage ",[322,446,447],{},"who"," does what",[164,450,451,417,454,421,457,460,461],{},[146,452,453],{},"Implementation skills third",[217,455,456],{},"the-hit",[217,458,459],{},"resource-development"," — these guide ",[322,462,463],{},"execution",[139,465,468,471,472,474,475,477],{"icon":466,"type":467},"i-lucide-lightbulb","info",[146,469,470],{},"Example:"," If you say \"Build X,\" the agent first invokes ",[217,473,219],{}," (process), then during The Hit phase will use ",[217,476,381],{}," (implementation) for code writing.",[153,479,481],{"id":480},"living-the-rule","Living the Rule",[135,483,484],{},"The 1% Rule isn't just for AI agents. As the Don, you should:",[161,486,487,493,499],{},[164,488,489,492],{},[146,490,491],{},"Expect structured process"," — If your agent jumps to code, redirect it to the appropriate skill",[164,494,495,498],{},[146,496,497],{},"Approve or reject at every gate"," — The Heist only works if you exercise your authority",[164,500,501,504],{},[146,502,503],{},"Hold the agent accountable"," — \"Did you check for applicable skills?\" is a fair question at any point",[135,506,507],{},"The 1% Rule is what separates Gangsta-assisted development from undisciplined chat-driven coding. Respect it, and your projects will be spec'd before they're built.",{"title":509,"searchDepth":16,"depth":16,"links":510},"",[511,512,513,514,515,516],{"id":155,"depth":16,"text":156},{"id":181,"depth":16,"text":182},{"id":278,"depth":16,"text":279},{"id":344,"depth":16,"text":345},{"id":405,"depth":16,"text":406},{"id":480,"depth":16,"text":481},"The core behavioral rule of Gangsta — if there's even a 1% chance a skill applies, you must invoke it.","md",null,{},{"order":26},{"title":23,"description":517},"5kPtnyae-Ggb3yY1mjUPo32eA-brOpZ-Fq-wJqs8zv4",[525,527],{"title":18,"path":19,"stem":20,"description":526,"order":21,"children":-1},"Walk through your first Gangsta Heist cycle from start to finish.",{"title":29,"path":30,"stem":31,"description":528,"order":11,"children":-1},"The foundational ideas behind Gangsta — the hierarchy, the pipeline, the laws, and the philosophy.",1776282625801]