[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2DDQ7KWN706H4Z4ZGXPM2":3,"skill-same:01M6C2DDQ7KWN706H4Z4ZGXPM2":74},{"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},"01M6C2DDQ7KWN706H4Z4ZGXPM2","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\u002Fframeworks\u002Fsdlc-complete\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\u002Fframeworks\u002Fsdlc-complete\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\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Ftot-decide\u002FSKILL.md",true,[],[75,83,88,115,135,140],{"skillNo":76,"name":77,"nameZh":17,"description":78,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"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":84,"name":77,"nameZh":17,"description":78,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":82},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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",[],[95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":116,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":121,"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",[],[122,123,124,125,126,127,100,128,106,113,108,129,96,130,110,131,132,114,133,134],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":136,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":40},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[95,96,97,112,113,114,107,111,103,99,100,101,102,104,105,106,98,108,109,110],{"skillNo":141,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":40},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[122,123,134,133,126,132,131,110,125,127,100,128,106,124,108,129,96,114,113,130]]