[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2YVCWC5VY4YXHJYECSPSG":3,"skill-same:01M6C2YVCWC5VY4YXHJYECSPSG":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6C2YVCWC5VY4YXHJYECSPSG","tot-decide","思维树架构决策评估","Evaluate architectural decisions using Tree of Thoughts exploration","使用思维树（Tree of Thoughts）探索来评估架构决策。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Ftot-decide\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BT7QTSZKB08EAW9P9ZCDNQ","设计评审与架构优化","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C4ZVS0ZJKF2T2G58PW5VR2","系统架构师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39],"decide","tot decide","architecture","quality","decisions","exploration","tree","evaluate","tree of thoughts","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: tot-decide\nplatforms: [all]\ndescription: Evaluate architectural decisions using Tree of Thoughts exploration\ncommandHint:\n  category: architecture-quality\n---\n\n# Tree of Thoughts Decision Command\n\nEvaluate architectural decisions by generating and scoring k alternatives using the ToT methodology.\n\n## Instructions\n\nWhen invoked, perform structured Tree of Thoughts exploration for architecture decisions:\n\n1. **Parse Decision Context**\n   - Extract the decision question from arguments or prompt\n   - Identify relevant non-functional requirements from `.aiwg\u002Frequirements\u002Fnfr-modules\u002F`\n   - Load existing architectural constraints from `.aiwg\u002Farchitecture\u002F`\n\n2. **Load ToT Protocol**\n   - Reference @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fflows\u002Ftree-of-thought.yaml for workflow schema\n   - Reference @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fenhancements\u002Farchitecture-designer-tot-protocol.md for agent protocol\n\n3. **Define Evaluation Criteria**\n   - Extract criteria from NFRs (scalability, security, performance, maintainability)\n   - Assign weights based on project priorities\n   - Define scoring rubric (1-5 scale)\n\n4. **Generate Alternatives (k=3 default)**\n   - Generate k distinct architectural approaches\n   - Each alternative must be meaningfully different (not variations of the same approach)\n   - Document the core idea, key components, and trade-offs for each\n\n5. **Score and Compare**\n   - Build weighted scoring matrix\n   - Calculate composite scores\n   - Identify clear winner or close calls requiring stakeholder input\n\n6. **Generate ADR**\n   - Use @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Farchitecture\u002Fadr-with-tot.md template\n   - Document all alternatives with scores\n   - Record decision rationale and trade-offs accepted\n   - Include backtracking triggers (conditions for re-evaluation)\n\n7. **Output**\n   - Display scoring matrix summary\n   - State recommendation with confidence level\n   - Save ADR to `.aiwg\u002Farchitecture\u002F`\n   - If close call (score gap \u003C 0.5), flag for human decision gate\n\n## Arguments\n\n- `[decision-context]` - Description of the architectural decision (required)\n- `--alternatives [k]` - Number of alternatives to generate (default: 3, max: 7)\n- `--depth [levels]` - Depth of exploration per alternative (default: 2)\n- `--output [path]` - Custom output path for ADR (default: `.aiwg\u002Farchitecture\u002F`)\n- `--criteria [list]` - Override criteria (comma-separated)\n- `--quick` - Skip detailed analysis, produce summary matrix only\n\n## Examples\n\n### Full Architecture Decision\n\n```\n\u002Ftot-decide \"Select authentication approach for multi-tenant SaaS platform\"\n```\n\nOutput:\n```\nTree of Thoughts Decision Analysis\n===================================\n\nDecision: Authentication approach for multi-tenant SaaS\n\nCriteria (from NFRs):\n  Security    [30%] - Multi-tenant isolation required\n  Scalability [25%] - 10K+ tenants expected\n  Cost        [20%] - Startup budget constraints\n  Dev Speed   [15%] - MVP in 3 months\n  Maintenance [10%] - Small ops team\n\nAlternatives Generated:\n  A: OAuth2 + OIDC with tenant-scoped JWTs\n  B: Session-based with Redis cluster per tenant\n  C: API key + HMAC with per-request validation\n\nScoring Matrix:\n  | Criterion     | Wt  | A    | B    | C    |\n  |---------------|-----|------|------|------|\n  | Security      | 30% | 5    | 4    | 3    |\n  | Scalability   | 25% | 5    | 3    | 4    |\n  | Cost          | 20% | 3    | 2    | 5    |\n  | Dev Speed     | 15% | 3    | 4    | 5    |\n  | Maintenance   | 10% | 4    | 2    | 4    |\n  | Weighted      |     | 4.15 | 3.10 | 4.00 |\n\nRecommendation: Option A (OAuth2 + OIDC)\n  Confidence: HIGH (gap > 0.5 from runner-up)\n  Trade-off accepted: Higher initial dev cost for superior security\u002Fscale\n\nADR saved: .aiwg\u002Farchitecture\u002Fadr-auth-approach.md\n```\n\n### Quick Comparison\n\n```\n\u002Ftot-decide \"Database for event sourcing\" --alternatives 4 --quick\n```\n\n### Deep Analysis\n\n```\n\u002Ftot-decide \"Microservices vs modular monolith\" --depth 3 --criteria \"scalability,team-autonomy,ops-complexity,latency\"\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fflows\u002Ftree-of-thought.yaml - ToT workflow schema\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fenhancements\u002Farchitecture-designer-tot-protocol.md - Agent enhancement\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Farchitecture\u002Fadr-with-tot.md - ADR template\n- @.aiwg\u002Fresearch\u002Ffindings\u002FREF-020-tree-of-thoughts.md - Research foundation\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Freasoning-sections.md - Reasoning requirements\n","# Tree of Thoughts Decision Command\n\nEvaluate architectural decisions by generating and scoring k alternatives using the ToT methodology.\n\n## Instructions\n\nWhen invoked, perform structured Tree of Thoughts exploration for architecture decisions:\n\n1. **Parse Decision Context**\n   - Extract the decision question from arguments or prompt\n   - Identify relevant non-functional requirements from `.aiwg\u002Frequirements\u002Fnfr-modules\u002F`\n   - Load existing architectural constraints from `.aiwg\u002Farchitecture\u002F`\n\n2. **Load ToT Protocol**\n   - Reference @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fflows\u002Ftree-of-thought.yaml for workflow schema\n   - Reference @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fenhancements\u002Farchitecture-designer-tot-protocol.md for agent protocol\n\n3. **Define Evaluation Criteria**\n   - Extract criteria from NFRs (scalability, security, performance, maintainability)\n   - Assign weights based on project priorities\n   - Define scoring rubric (1-5 scale)\n\n4. **Generate Alternatives (k=3 default)**\n   - Generate k distinct architectural approaches\n   - Each alternative must be meaningfully different (not variations of the same approach)\n   - Document the core idea, key components, and trade-offs for each\n\n5. **Score and Compare**\n   - Build weighted scoring matrix\n   - Calculate composite scores\n   - Identify clear winner or close calls requiring stakeholder input\n\n6. **Generate ADR**\n   - Use @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Farchitecture\u002Fadr-with-tot.md template\n   - Document all alternatives with scores\n   - Record decision rationale and trade-offs accepted\n   - Include backtracking triggers (conditions for re-evaluation)\n\n7. **Output**\n   - Display scoring matrix summary\n   - State recommendation with confidence level\n   - Save ADR to `.aiwg\u002Farchitecture\u002F`\n   - If close call (score gap \u003C 0.5), flag for human decision gate\n\n## Arguments\n\n- `[decision-context]` - Description of the architectural decision (required)\n- `--alternatives [k]` - Number of alternatives to generate (default: 3, max: 7)\n- `--depth [levels]` - Depth of exploration per alternative (default: 2)\n- `--output [path]` - Custom output path for ADR (default: `.aiwg\u002Farchitecture\u002F`)\n- `--criteria [list]` - Override criteria (comma-separated)\n- `--quick` - Skip detailed analysis, produce summary matrix only\n\n## Examples\n\n### Full Architecture Decision\n\n```\n\u002Ftot-decide \"Select authentication approach for multi-tenant SaaS platform\"\n```\n\nOutput:\n```\nTree of Thoughts Decision Analysis\n===================================\n\nDecision: Authentication approach for multi-tenant SaaS\n\nCriteria (from NFRs):\n  Security    [30%] - Multi-tenant isolation required\n  Scalability [25%] - 10K+ tenants expected\n  Cost        [20%] - Startup budget constraints\n  Dev Speed   [15%] - MVP in 3 months\n  Maintenance [10%] - Small ops team\n\nAlternatives Generated:\n  A: OAuth2 + OIDC with tenant-scoped JWTs\n  B: Session-based with Redis cluster per tenant\n  C: API key + HMAC with per-request validation\n\nScoring Matrix:\n  | Criterion     | Wt  | A    | B    | C    |\n  |---------------|-----|------|------|------|\n  | Security      | 30% | 5    | 4    | 3    |\n  | Scalability   | 25% | 5    | 3    | 4    |\n  | Cost          | 20% | 3    | 2    | 5    |\n  | Dev Speed     | 15% | 3    | 4    | 5    |\n  | Maintenance   | 10% | 4    | 2    | 4    |\n  | Weighted      |     | 4.15 | 3.10 | 4.00 |\n\nRecommendation: Option A (OAuth2 + OIDC)\n  Confidence: HIGH (gap > 0.5 from runner-up)\n  Trade-off accepted: Higher initial dev cost for superior security\u002Fscale\n\nADR saved: .aiwg\u002Farchitecture\u002Fadr-auth-approach.md\n```\n\n### Quick Comparison\n\n```\n\u002Ftot-decide \"Database for event sourcing\" --alternatives 4 --quick\n```\n\n### Deep Analysis\n\n```\n\u002Ftot-decide \"Microservices vs modular monolith\" --depth 3 --criteria \"scalability,team-autonomy,ops-complexity,latency\"\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fflows\u002Ftree-of-thought.yaml - ToT workflow schema\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fenhancements\u002Farchitecture-designer-tot-protocol.md - Agent enhancement\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Farchitecture\u002Fadr-with-tot.md - ADR template\n- @.aiwg\u002Fresearch\u002Ffindings\u002FREF-020-tree-of-thoughts.md - Research foundation\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Freasoning-sections.md - Reasoning requirements\n",{"name":5,"namespace":45,"platforms":46,"commandHint":48,"description":7},"aiwg",[47],"all",{"category":49},"architecture-quality","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Ftot-decide",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add jmagly\u002Faiwg --skill tot-decide",{"tool":66,"command":67},"bunx","bunx skills add jmagly\u002Faiwg --skill tot-decide",{"tool":69,"command":70},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill tot-decide","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Ftot-decide\u002FSKILL.md",true,[74,80],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"assets\u002Focto.css","ASSET","资产文件",4497,"https:\u002F\u002Fgithub.com\u002FMuvon\u002Foctomind-tap\u002Fblob\u002Fmaster\u002Fskills\u002Fslide-decks\u002Fassets\u002Focto.css",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fdeck.py","SCRIPT","脚本",17646,"https:\u002F\u002Fgithub.com\u002FMuvon\u002Foctomind-tap\u002Fblob\u002Fmaster\u002Fskills\u002Fslide-decks\u002Fscripts\u002Fdeck.py",[87,95,100,127,147,152],{"skillNo":88,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":96,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":94},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":40},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":128,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":40},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[134,135,136,137,138,139,112,140,118,125,120,141,108,142,122,143,144,126,145,146],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":148,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":40},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[107,108,109,124,125,126,119,123,115,111,112,113,114,116,117,118,110,120,121,122],{"skillNo":153,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":40},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[134,135,146,145,138,144,143,122,137,139,112,140,118,136,120,141,108,126,125,142]]