[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75NASK3KQCVV6QTVMWEB5MT":3,"skill-same:01M75NASK3KQCVV6QTVMWEB5MT":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":43},"01M75NASK3KQCVV6QTVMWEB5MT","kata-architecture",null,"Use this skill when checking a spec, a plan or a change for Kata against its architecture policy, or before deciding where a piece of Workbench behavior is computed. The Rust backend owns every decision; the Angular ViewModels only arrange what the backend decided for the screen. Covers where a rule lives, previews that must match their action, lists across the Tauri boundary, and operations across several repositories.","satish-krishna\u002Fkata","satish-krishna","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F26695756?v=4","01M75N910J6TF3ZF2K71GYGEV6","SatishKrishna Pilla","01M75N91142BHTH4G6E6ZXCM9F",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkata-architecture\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: kata-architecture\ndescription: Use this skill when checking a spec, a plan or a change for Kata against its architecture policy, or before deciding where a piece of Workbench behavior is computed. The Rust backend owns every decision; the Angular ViewModels only arrange what the backend decided for the screen. Covers where a rule lives, previews that must match their action, lists across the Tauri boundary, and operations across several repositories.\nuser-invocable: true\n---\n\n# Kata architecture policy\n\nRust is the brains of Kata. The Workbench frontend is presentational. This policy says what that means precisely enough to decide every case, and what to flag when a spec, a plan or a diff breaks it.\n\n## 1. Decisions live in Rust\n\nA rule a spec scenario, a context file rule or a decision table states is computed in Rust (`kata-sdlc` for the AI-SDLC mode, `kata-core` for the engine), reached through a Tauri command, and handed to the frontend as data through the ts-rs bindings. That covers which records take part, what is picked or refused by default, what blocks an action, how things are grouped and ordered when the spec says so, what counts as stale, and every outcome a decision table settles.\n\nA TypeScript ViewModel may:\n\n- filter, fold, hide or show what the backend sent, according to screen state (a selected filter, an open fold, a picked row, a tab);\n- hold form state before it is submitted (what is ticked, what is typed);\n- format text for display (truncate, pluralize, label);\n- map backend data onto presentational components.\n\nA rule the ai-sdlc plugin owns is asked of the plugin by the backend through `ai_sdlc` and passed on as data; it is never re-derived in Rust or TypeScript.\n\nThe test: if the answer is the same whatever the screen state, and a spec scenario or a context rule asserts it, it is a decision and belongs in Rust. \"Most serious first\" is a decision; \"the low findings are folded until clicked\" is arrangement.\n\n## 2. One computation per decision\n\nA preview and the action it previews use the same Rust call. When a dialog shows what will happen (\"these repositories get an agent, with these findings\"), it asks the backend with the form state and shows the answer, and starting the action sends the same form state to the same computation. A TypeScript copy kept for instant feedback is a second implementation, and the two drift.\n\n## 3. Lists cross the boundary as lists\n\nWhen the frontend needs a backend command for several items and the command takes one, change the command. Never loop over a single-item command in TypeScript and merge the results: the merge is logic, and the loop breaks any promise the command makes about the whole set.\n\n## 4. Operations across repositories are all-or-nothing\n\nAn operation that touches several repositories (preparing a build, creating branches, renaming) checks every repository before it changes any, and reports every problem and every leftover together, in one answer. Half the repositories changed and half refused is never an outcome.\n\n## 5. Existing logic in TypeScript\n\nThis is the decision logic TypeScript still holds. None of it is precedent: do not copy it and do not add a decision to it. Moving an item is a change of its own, unless the change at hand already rewrites that code. When an item moves, delete it here in the same change.\n\nRules a spec or a context file states, computed in TypeScript:\n\n- `rulePath`, `productRepoRules` and `restrictedFor` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc.ts` build deny rules for setup, context, triage, fix and new-change runs, and duplicate `kata_sdlc::permissions::rule_path`, the owner of the rule shape.\n- `stageRuns`, `stagePills` and `primaryAction` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc.ts`: which runs belong to a stage (with the fallback by deterministic run name), which stage pills are open, accepted or locked, and which action is primary.\n- `reviewFindings` and `mostSeriousFirst` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc.ts`, `shownReview` and `shownSection` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-review.ts`, and `groupFindings` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-findings.ts`: which findings a change shows (the review document over the review run's words), their order, most serious first, and their grouping by repository.\n- `shownDocument`, `shownBuild`, `shownPart` and `shownChangeList` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fdoc-notice.ts`: the decision table for what a spec, plan, build log or review shows and which notice goes above it.\n- `buildStage` and `taskGroups` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fbuild-stage.ts` (a change declared done is done whatever the build session says; which repositories the tasks area lists), and `layoutStage` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fbuild-layout-stage.ts` (where the build stands for the layout).\n- `sessionsFor` and `activityFor` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fbuild-sessions.ts`: which session a picked task shows (the latest of several links counts) and the default pick.\n- `isSetUp` and `contextAction` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-workspace.ts`: when a workspace counts as set up, and which context action a repository row offers.\n- `reviewEntry` in `app\u002Fsrc\u002Fapp\u002Fsdlc\u002Fbuild\u002Fbuild-page.view-model.ts` counts a review the build just finished and read as finished before the run links catch up. The review's standing itself is `kata_sdlc::review::standing`, and where each repository and task stands is `kata_sdlc::board`.\n\nSingle-item commands looped in TypeScript (section 3):\n\n- `sdlcDiffFiles` per repository in `readChanges` of `app\u002Fsrc\u002Fapp\u002Fsdlc\u002Fbuild\u002Fbuild-page.view-model.ts`, and `sdlcDiffFiles` and `sdlcCommitFiles` per repository in `app\u002Fsrc\u002Fapp\u002Fsdlc\u002Fchanges\u002Fchanges-view.view-model.ts`.\n- `sdlcContextHealth` per repository in `readContextStates` of `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-workspace.ts`, which the home calls.\n- `previewRun` per section in `app\u002Fsrc\u002Fapp\u002Fcore\u002Fgiven\u002Frun-preview.view-model.ts`.\n\nThe browser mock (`app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-mock.ts`) restates some backend decisions, `mockBoard` and `mockStanding` among them, so the browser and the unit tests have answers where no backend runs. That is a fixture, not a second owner: the Rust tests own the rows, and a mock answer that drifts from them is a mock bug.\n\n## Checking a document or a diff\n\n- **Spec:** a design that has the Workbench frontend decide something a requirement states is an area of concern owned by the Maintainer. So is a preview the design computes separately from its action.\n- **Plan:** every shared decision whose answer is a rule names a Rust function or type as its owner; a TypeScript owner for a rule is a gap. A task whose Tests assert a rule through a ViewModel alone, with no backend test, is a gap.\n- **Diff:** a new rule in a ViewModel or under `app\u002Fsrc\u002Fapp\u002Flib\u002F`, a TypeScript loop over a backend command, or a multi-repository operation that can stop halfway is a finding.\n","# Kata architecture policy\n\nRust is the brains of Kata. The Workbench frontend is presentational. This policy says what that means precisely enough to decide every case, and what to flag when a spec, a plan or a diff breaks it.\n\n## 1. Decisions live in Rust\n\nA rule a spec scenario, a context file rule or a decision table states is computed in Rust (`kata-sdlc` for the AI-SDLC mode, `kata-core` for the engine), reached through a Tauri command, and handed to the frontend as data through the ts-rs bindings. That covers which records take part, what is picked or refused by default, what blocks an action, how things are grouped and ordered when the spec says so, what counts as stale, and every outcome a decision table settles.\n\nA TypeScript ViewModel may:\n\n- filter, fold, hide or show what the backend sent, according to screen state (a selected filter, an open fold, a picked row, a tab);\n- hold form state before it is submitted (what is ticked, what is typed);\n- format text for display (truncate, pluralize, label);\n- map backend data onto presentational components.\n\nA rule the ai-sdlc plugin owns is asked of the plugin by the backend through `ai_sdlc` and passed on as data; it is never re-derived in Rust or TypeScript.\n\nThe test: if the answer is the same whatever the screen state, and a spec scenario or a context rule asserts it, it is a decision and belongs in Rust. \"Most serious first\" is a decision; \"the low findings are folded until clicked\" is arrangement.\n\n## 2. One computation per decision\n\nA preview and the action it previews use the same Rust call. When a dialog shows what will happen (\"these repositories get an agent, with these findings\"), it asks the backend with the form state and shows the answer, and starting the action sends the same form state to the same computation. A TypeScript copy kept for instant feedback is a second implementation, and the two drift.\n\n## 3. Lists cross the boundary as lists\n\nWhen the frontend needs a backend command for several items and the command takes one, change the command. Never loop over a single-item command in TypeScript and merge the results: the merge is logic, and the loop breaks any promise the command makes about the whole set.\n\n## 4. Operations across repositories are all-or-nothing\n\nAn operation that touches several repositories (preparing a build, creating branches, renaming) checks every repository before it changes any, and reports every problem and every leftover together, in one answer. Half the repositories changed and half refused is never an outcome.\n\n## 5. Existing logic in TypeScript\n\nThis is the decision logic TypeScript still holds. None of it is precedent: do not copy it and do not add a decision to it. Moving an item is a change of its own, unless the change at hand already rewrites that code. When an item moves, delete it here in the same change.\n\nRules a spec or a context file states, computed in TypeScript:\n\n- `rulePath`, `productRepoRules` and `restrictedFor` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc.ts` build deny rules for setup, context, triage, fix and new-change runs, and duplicate `kata_sdlc::permissions::rule_path`, the owner of the rule shape.\n- `stageRuns`, `stagePills` and `primaryAction` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc.ts`: which runs belong to a stage (with the fallback by deterministic run name), which stage pills are open, accepted or locked, and which action is primary.\n- `reviewFindings` and `mostSeriousFirst` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc.ts`, `shownReview` and `shownSection` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-review.ts`, and `groupFindings` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-findings.ts`: which findings a change shows (the review document over the review run's words), their order, most serious first, and their grouping by repository.\n- `shownDocument`, `shownBuild`, `shownPart` and `shownChangeList` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fdoc-notice.ts`: the decision table for what a spec, plan, build log or review shows and which notice goes above it.\n- `buildStage` and `taskGroups` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fbuild-stage.ts` (a change declared done is done whatever the build session says; which repositories the tasks area lists), and `layoutStage` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fbuild-layout-stage.ts` (where the build stands for the layout).\n- `sessionsFor` and `activityFor` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fbuild-sessions.ts`: which session a picked task shows (the latest of several links counts) and the default pick.\n- `isSetUp` and `contextAction` in `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-workspace.ts`: when a workspace counts as set up, and which context action a repository row offers.\n- `reviewEntry` in `app\u002Fsrc\u002Fapp\u002Fsdlc\u002Fbuild\u002Fbuild-page.view-model.ts` counts a review the build just finished and read as finished before the run links catch up. The review's standing itself is `kata_sdlc::review::standing`, and where each repository and task stands is `kata_sdlc::board`.\n\nSingle-item commands looped in TypeScript (section 3):\n\n- `sdlcDiffFiles` per repository in `readChanges` of `app\u002Fsrc\u002Fapp\u002Fsdlc\u002Fbuild\u002Fbuild-page.view-model.ts`, and `sdlcDiffFiles` and `sdlcCommitFiles` per repository in `app\u002Fsrc\u002Fapp\u002Fsdlc\u002Fchanges\u002Fchanges-view.view-model.ts`.\n- `sdlcContextHealth` per repository in `readContextStates` of `app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-workspace.ts`, which the home calls.\n- `previewRun` per section in `app\u002Fsrc\u002Fapp\u002Fcore\u002Fgiven\u002Frun-preview.view-model.ts`.\n\nThe browser mock (`app\u002Fsrc\u002Fapp\u002Flib\u002Fsdlc-mock.ts`) restates some backend decisions, `mockBoard` and `mockStanding` among them, so the browser and the unit tests have answers where no backend runs. That is a fixture, not a second owner: the Rust tests own the rows, and a mock answer that drifts from them is a mock bug.\n\n## Checking a document or a diff\n\n- **Spec:** a design that has the Workbench frontend decide something a requirement states is an area of concern owned by the Maintainer. So is a preview the design computes separately from its action.\n- **Plan:** every shared decision whose answer is a rule names a Rust function or type as its owner; a TypeScript owner for a rule is a gap. A task whose Tests assert a rule through a ViewModel alone, with no backend test, is a gap.\n- **Diff:** a new rule in a ViewModel or under `app\u002Fsrc\u002Fapp\u002Flib\u002F`, a TypeScript loop over a backend command, or a multi-repository operation that can stop halfway is a finding.\n",{"name":5,"description":7,"user-invocable":24},true,"main","4da69517ed5e3a33f87d8110ee59cff71256ad1f",".claude\u002Fskills\u002Fkata-architecture","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata","https:\u002F\u002Fgithub.com\u002Fsatish-krishna","2026-11-14 03:41:14",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":24},[33,36,39],{"tool":34,"command":35},"npx","npx skills add satish-krishna\u002Fkata --skill kata-architecture",{"tool":37,"command":38},"bunx","bunx skills add satish-krishna\u002Fkata --skill kata-architecture",{"tool":40,"command":41},"pnpm","pnpm dlx skills add satish-krishna\u002Fkata --skill kata-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkata-architecture\u002FSKILL.md",[],[45,52,59,66,73,78],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M75NC157R07ZE86MTXWMXM96","probe","Use when the task says to invoke the probe skill. Test fixture only.","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002Fcrates\u002Fkata-core\u002Ftests\u002Ffixtures\u002Fhook-probe\u002Fskills\u002Fprobe\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M75NBZBBE2YNKSZV8YVDH8NB","proof-skill","Proof skill for the web folder. Use whenever editing files under web\u002F. Marker PROOF-SKILL-NESTED-7431.","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002Fcrates\u002Fkata-core\u002Ftests\u002Ffixtures\u002Fbuild-proof\u002Fapp\u002Fweb\u002F.claude\u002Fskills\u002Fproof-skill\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M75NBTAVF50RK8YJWDG1F048","spartan","Manages spartan\u002Fui, the Angular UI library - adding, composing, fixing, debugging, and styling UI with the Brain (headless primitives) and Helm (styled) layers. Provides project context, component APIs, and usage examples. Applies when working with spartan\u002Fui, @spartan-ng\u002Fbrain, @spartan-ng\u002Fhelm, the @spartan-ng\u002Fcli generators, or any Angular project with a components.json file. Also triggers for \"spartan init\", \"add a spartan component\", or \"set up spartan\u002Fui\".","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002Fapp\u002F.claude\u002Fskills\u002Fspartan\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M75NBP134GH4PPK9SAMXN9Y9","house-style","The house frontend conventions for this repo, layered on top of the SpartanNG docs. Read before writing or editing any template or component stylesheet. Covers the layout grammar (grid for regions, flex for inline runs, no nested flex faking a grid) and the no-raw-literals rule for hand-written CSS. These extend the spartan docs where spartan is silent; they never contradict them.","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002Fapp\u002F.claude\u002Fskills\u002Fhouse-style\u002FSKILL.md",[],[],{"skillNo":74,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M75NBHCP6EV6KTDR7Y2PFS2R","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fspartan\u002FSKILL.md",[],[],{"skillNo":79,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M75NBC9BTZKQCFKC0A3PWB7E","https:\u002F\u002Fgithub.com\u002Fsatish-krishna\u002Fkata\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fhouse-style\u002FSKILL.md",[],[]]