[{"data":1,"prerenderedAt":554},["ShallowReactive",2],{"docs-sections":3,"docs-page-\u002Fdocs\u002Fcli-view":124},[4,9,13,17,21,25,30,34,38,42,46,50,54,58,62,66,71,75,79,83,88,92,96,100,104,108,112,116,120],{"path":5,"title":6,"description":7,"group":8},"\u002Fdocs","Introduction","pdd-kit brings Product-Driven Development to coding agents through a Git-tracked Product Model and an automatic verification loop.","Get started",{"path":10,"title":11,"description":12,"group":8},"\u002Fdocs\u002Finstallation","Installation","Install the pdd-kit skills into your coding agent at project or global scope.",{"path":14,"title":15,"description":16,"group":8},"\u002Fdocs\u002Ffrom-your-repo","From your repo","Map what an existing repository already does into a Product Model, review it, then check the code against it.",{"path":18,"title":19,"description":20,"group":8},"\u002Fdocs\u002Ffrom-an-idea","From an idea","Decide what a new product does, approve its Product Model, then ask your agent to implement it while verify checks each part.",{"path":22,"title":23,"description":24,"group":8},"\u002Fdocs\u002Ffrom-a-blueprint","From a Blueprint","Pull a reviewed Product Model for a common kind of product instead of starting blank, adapt it if needed, then ask your agent to implement it.",{"path":26,"title":27,"description":28,"group":29},"\u002Fdocs\u002Fproduct-model","Model overview","The Product Model in five minutes (what the product-model\u002F folder holds, what each resource type is for, and how to tell them apart).","Product Model",{"path":31,"title":32,"description":33,"group":29},"\u002Fdocs\u002Fproduct","Product","The one product a Product Model describes (its name, its promise, the languages it is delivered in, its known boundaries, and what it needs to be published as a Blueprint).",{"path":35,"title":36,"description":37,"group":29},"\u002Fdocs\u002Fentities","Entities","The things your product keeps or reasons about (orders, products, settings) and the people and systems that act on it, with what it knows about each and the States it moves through.",{"path":39,"title":40,"description":41,"group":29},"\u002Fdocs\u002Finterfaces","Interfaces","The web apps, mobile apps, CLIs, APIs and webhooks through which people and systems reach your product, the parts inside them, and the places where facts and abilities are met.",{"path":43,"title":44,"description":45,"group":29},"\u002Fdocs\u002Fdomains","Domains","Optional subject areas, such as ordering or billing, that follow the Product's own sections and group its Capabilities and Entities without owning them.",{"path":47,"title":48,"description":49,"group":29},"\u002Fdocs\u002Fcapabilities","Capabilities","The things your product lets someone do, where each is offered, and the Capability Scenarios that show each one working.",{"path":51,"title":52,"description":53,"group":29},"\u002Fdocs\u002Fjourneys","Journeys","Goals where your product carries a person from one Capability into the next, and the Journey Scenarios that walk each path.",{"path":55,"title":56,"description":57,"group":29},"\u002Fdocs\u002Fbusiness-rules","Business Rules","What must always hold in your product, and who may do what (constraints, derivations and permissions), each stated once with everything it applies to.",{"path":59,"title":60,"description":61,"group":29},"\u002Fdocs\u002Fvariations","Variations","Feature flags, settings, plan tiers, A\u002FB tests and API versions, when your product works in more than one supported way and something decides which way applies.",{"path":63,"title":64,"description":65,"group":29},"\u002Fdocs\u002Freferences","References","Point any resource at material kept outside the model (code, a PRD, a design, research), saying what it is and why it is attached.",{"path":67,"title":68,"description":69,"group":70},"\u002Fdocs\u002Fskills","Skills overview","Three self-contained skills cover adoption, intended product change, and automatic verification-to-resolution.","Skills",{"path":72,"title":73,"description":74,"group":70},"\u002Fdocs\u002Fskill-pdd-map","map","Create or expand a Product Model from the code you already have, without running it.",{"path":76,"title":77,"description":78,"group":70},"\u002Fdocs\u002Fskill-pdd-ideate","ideate","Explore or define intended behavior, then write only the exact Product Model change you approve.",{"path":80,"title":81,"description":82,"group":70},"\u002Fdocs\u002Fskill-pdd-verify","verify","Implement the Product Model in code, in phases, or check that the model and the code agree, and resolve every gap you approve until they do or something blocks.",{"path":84,"title":85,"description":86,"group":87},"\u002Fdocs\u002Fcli","CLI overview","Install skills, lint and view a Product Model locally, and move Blueprints between repositories with the pdd-kit CLI.","CLI",{"path":89,"title":90,"description":91,"group":87},"\u002Fdocs\u002Fcli-install","install","Install the bundled pdd-kit agent skills safely for selected AI harnesses and scopes.",{"path":93,"title":94,"description":95,"group":87},"\u002Fdocs\u002Fcli-update","update","Refresh only pdd-kit-managed skill installations in project or global scope.",{"path":97,"title":98,"description":99,"group":87},"\u002Fdocs\u002Fcli-lint","lint","Check that a Product Model is structurally sound (files, relationships, Steps, Rules and References) without claiming it matches the code.",{"path":101,"title":102,"description":103,"group":87},"\u002Fdocs\u002Fcli-view","view","Open a Product Model as a private local report, from your checkout or from a GitHub repository.",{"path":105,"title":106,"description":107,"group":87},"\u002Fdocs\u002Fcli-export","blueprint export","Compile a Product Model into a portable Product Report that can move safely between repositories.",{"path":109,"title":110,"description":111,"group":87},"\u002Fdocs\u002Fcli-open","blueprint open","Expand a local Product Report into a canonical Product Model.",{"path":113,"title":114,"description":115,"group":87},"\u002Fdocs\u002Fcli-list","blueprint list","List the published Blueprints you can pull.",{"path":117,"title":118,"description":119,"group":87},"\u002Fdocs\u002Fcli-pull","blueprint pull","Pull a published Blueprint into the current directory.",{"path":121,"title":122,"description":123,"group":87},"\u002Fdocs\u002Fcli-contribute","blueprint contribute","Open a pull request proposing your Product Model as a Blueprint.",{"id":125,"title":102,"body":126,"description":103,"extension":546,"group":87,"meta":547,"navigation":549,"order":550,"path":101,"seo":551,"stem":552,"__hash__":553},"docs\u002Fdocs\u002Fcli-view.md",{"type":127,"value":128,"toc":539},"minimark",[129,137,141,226,231,303,307,328,346,350,361,383,395,399,418,486,503,510,513,517,535],[130,131,133],"h1",{"id":132},"pdd-kit-view",[134,135,136],"code",{},"pdd-kit view",[138,139,140],"p",{},"Open a Product Model as a read-only report in your browser, while you write it\nor to review someone else's branch or pull request.",[142,143,148],"pre",{"className":144,"code":145,"language":146,"meta":147,"style":147},"language-bash shiki shiki-themes pdd-kit-brand-warm pdd-kit-brand-warm material-theme-palenight","npx @itai-gendler\u002Fpdd-kit view [repository] [--branch \u003Cname> | --pr \u003Cnumber>] [--no-open] [--port \u003Cport>]\n","bash","",[134,149,150],{"__ignoreMap":147},[151,152,155,159,163,166,170,174,177,181,184,187,190,193,195,198,200,203,206,209,211,213,216,218,221,223],"span",{"class":153,"line":154},"line",1,[151,156,158],{"class":157},"sC-r1","npx",[151,160,162],{"class":161},"sPU0x"," @itai-gendler\u002Fpdd-kit",[151,164,165],{"class":161}," view",[151,167,169],{"class":168},"szETn"," [repository] ",[151,171,173],{"class":172},"sjkiA","[",[151,175,176],{"class":168},"--branch ",[151,178,180],{"class":179},"sA6JF","\u003C",[151,182,183],{"class":168},"name",[151,185,186],{"class":179},">",[151,188,189],{"class":179}," |",[151,191,192],{"class":168}," --pr ",[151,194,180],{"class":179},[151,196,197],{"class":168},"number",[151,199,186],{"class":179},[151,201,202],{"class":172},"]",[151,204,205],{"class":172}," [",[151,207,208],{"class":168},"--no-open",[151,210,202],{"class":172},[151,212,205],{"class":172},[151,214,215],{"class":168},"--port ",[151,217,180],{"class":179},[151,219,220],{"class":168},"port",[151,222,186],{"class":179},[151,224,225],{"class":172},"]\n",[227,228,230],"h2",{"id":229},"options","Options",[232,233,234,247],"table",{},[235,236,237],"thead",{},[238,239,240,244],"tr",{},[241,242,243],"th",{},"Option",[241,245,246],{},"Meaning",[248,249,250,261,271,284,293],"tbody",{},[238,251,252,258],{},[253,254,255],"td",{},[134,256,257],{},"[repository]",[253,259,260],{},"A GitHub repository to view instead of your checkout",[238,262,263,268],{},[253,264,265],{},[134,266,267],{},"--branch \u003Cname>",[253,269,270],{},"Branch or tag of that repository",[238,272,273,278],{},[253,274,275],{},[134,276,277],{},"--pr \u003Cnumber>",[253,279,280,281],{},"Pull request of that repository; not with ",[134,282,283],{},"--branch",[238,285,286,290],{},[253,287,288],{},[134,289,208],{},[253,291,292],{},"Print the URL without opening the browser",[238,294,295,300],{},[253,296,297],{},[134,298,299],{},"--port \u003Cport>",[253,301,302],{},"Port from 1 to 65535; by default a free port the system picks",[227,304,306],{"id":305},"what-it-does","What it does",[308,309,310,318,325],"ol",{},[311,312,313,314,317],"li",{},"Starts a server on ",[134,315,316],{},"127.0.0.1"," only, and opens the report.",[311,319,320,321,324],{},"Compiles the model in memory. It writes nothing (no\n",[134,322,323],{},"product-model\u002Fbuild\u002Freport.json",") and sends nothing to pdd-kit.",[311,326,327],{},"Keeps running until you press Ctrl+C.",[138,329,330,331,338,339,342,343,345],{},"If the ",[332,333,337],"a",{"href":334,"rel":335},"https:\u002F\u002Fcli.github.com",[336],"nofollow","GitHub CLI"," is signed in, the report asks GitHub\nthrough ",[134,340,341],{},"gh"," whether you have starred pdd-kit, and a star beside the GitHub\nlink stars it when you click it, or unstars it when you click it again. Without\n",[134,344,341],{},", only the link shows.",[227,347,349],{"id":348},"your-checkout","Your checkout",[138,351,352,353,355,356,360],{},"With no repository, ",[134,354,102],{}," uses your local model. See\n",[332,357,359],{"href":358},".\u002Fcli#choosing-the-product-model","Choosing the Product Model",". The report\nfollows your edits as you or your agent save them, and it still opens when the\nmodel has lint errors:",[362,363,364,371,377],"ul",{},[311,365,366,370],{},[367,368,369],"strong",{},"The model builds with errors."," The report shows it and counts the problems\nin its header. A resource missing part of its file because of an error says\nso in its own reading.",[311,372,373,376],{},[367,374,375],{},"A save stops the model from building."," The report keeps the last version\nthat built, says how old it is, and lists what stops the rebuild.",[311,378,379,382],{},[367,380,381],{},"Nothing has built yet."," The page lists the errors by file, and turns into\nthe report on the first save that fixes them.",[138,384,385,386,388,389,391,392,394],{},"Each list can be copied as a request for your agent. With no model yet, the\npage waits for one. Only ",[134,387,102],{}," relaxes this: ",[134,390,98],{}," still fails and\n",[134,393,106],{}," still refuses a model with errors.",[227,396,398],{"id":397},"a-github-repository","A GitHub repository",[138,400,401,402,405,406,409,410,413,414,417],{},"Pass ",[134,403,404],{},"owner\u002Frepo",", a ",[134,407,408],{},"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo"," URL, or\n",[134,411,412],{},"git@github.com:owner\u002Frepo.git"," to fetch over SSH. Only GitHub is supported, and\n",[134,415,416],{},"git"," must be installed.",[142,419,421],{"className":144,"code":420,"language":146,"meta":147,"style":147},"npx @itai-gendler\u002Fpdd-kit view acme\u002Fcheckout                      # default branch\nnpx @itai-gendler\u002Fpdd-kit view acme\u002Fcheckout --branch release\u002F2.4\nnpx @itai-gendler\u002Fpdd-kit view acme\u002Fcheckout --pr 12\nnpx @itai-gendler\u002Fpdd-kit view https:\u002F\u002Fgithub.com\u002Facme\u002Fcheckout\u002Fpull\u002F12\n",[134,422,423,438,456,474],{"__ignoreMap":147},[151,424,425,427,429,431,434],{"class":153,"line":154},[151,426,158],{"class":157},[151,428,162],{"class":161},[151,430,165],{"class":161},[151,432,433],{"class":161}," acme\u002Fcheckout",[151,435,437],{"class":436},"shP-r","                      # default branch\n",[151,439,441,443,445,447,449,453],{"class":153,"line":440},2,[151,442,158],{"class":157},[151,444,162],{"class":161},[151,446,165],{"class":161},[151,448,433],{"class":161},[151,450,452],{"class":451},"sfVL-"," --branch",[151,454,455],{"class":161}," release\u002F2.4\n",[151,457,459,461,463,465,467,470],{"class":153,"line":458},3,[151,460,158],{"class":157},[151,462,162],{"class":161},[151,464,165],{"class":161},[151,466,433],{"class":161},[151,468,469],{"class":451}," --pr",[151,471,473],{"class":472},"s5S7S"," 12\n",[151,475,477,479,481,483],{"class":153,"line":476},4,[151,478,158],{"class":157},[151,480,162],{"class":161},[151,482,165],{"class":161},[151,484,485],{"class":161}," https:\u002F\u002Fgithub.com\u002Facme\u002Fcheckout\u002Fpull\u002F12\n",[138,487,488,489,492,493,496,497,492,499,502],{},"A ",[134,490,491],{},"...\u002Ftree\u002F\u003Cbranch>"," or ",[134,494,495],{},"...\u002Fpull\u002F\u003Cnumber>"," URL already picks the revision; do\nnot add ",[134,498,283],{},[134,500,501],{},"--pr",". A pull request from a fork shows the fork's\ncontent.",[138,504,505,506,509],{},"The revision is fetched shallowly into a temporary directory, with your own Git\ncredentials, and deleted when you stop. Nothing from it runs. Its model must\nlint before the report opens, and the report does not refresh. Run the command\nagain for a newer revision. ",[134,507,508],{},"--cwd"," does not apply.",[138,511,512],{},"Exits 0 when you stop it, 1 when the port cannot be opened or a repository\ncannot be fetched or does not lint, and 2 for conflicting or invalid options.",[227,514,516],{"id":515},"next","Next",[362,518,519,527],{},[311,520,521,526],{},[332,522,524],{"href":523},".\u002Fcli-lint",[134,525,98],{}," to see every error in the terminal.",[311,528,529,534],{},[332,530,532],{"href":531},".\u002Fcli-export",[134,533,106],{}," to write a portable report file.",[536,537,538],"style",{},"html pre.shiki code .sC-r1, html code.shiki .sC-r1{--shiki-light:#972600;--shiki-default:#972600;--shiki-dark:#FFCB6B}html pre.shiki code .sPU0x, html code.shiki .sPU0x{--shiki-light:#1D5700;--shiki-default:#1D5700;--shiki-dark:#C3E88D}html pre.shiki code .szETn, html code.shiki .szETn{--shiki-light:#362B1D;--shiki-default:#362B1D;--shiki-dark:#BABED8}html pre.shiki code .sjkiA, html code.shiki .sjkiA{--shiki-light:#362B1D;--shiki-default:#362B1D;--shiki-dark:#89DDFF}html pre.shiki code .sA6JF, html code.shiki .sA6JF{--shiki-light:#00585F;--shiki-default:#00585F;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .shP-r, html code.shiki .shP-r{--shiki-light:#4C3E2B;--shiki-light-font-style:italic;--shiki-default:#4C3E2B;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sfVL-, html code.shiki .sfVL-{--shiki-light:#00585F;--shiki-default:#00585F;--shiki-dark:#C3E88D}html pre.shiki code .s5S7S, html code.shiki .s5S7S{--shiki-light:#00585F;--shiki-default:#00585F;--shiki-dark:#F78C6C}",{"title":147,"searchDepth":440,"depth":440,"links":540},[541,542,543,544,545],{"id":229,"depth":440,"text":230},{"id":305,"depth":440,"text":306},{"id":348,"depth":440,"text":349},{"id":397,"depth":440,"text":398},{"id":515,"depth":440,"text":516},"md",{"section":548},"open-source",true,24,{"title":102,"description":103},"docs\u002Fcli-view","gVgEqyu1emp9-O7v-sIdpLvorP_hd2IHvVKqu45VsxQ",1791840533370]