[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2PV5CK4TRMA0KSB9G0DFV":3,"skill-same:01M6C2PV5CK4TRMA0KSB9G0DFV":76},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6C2PV5CK4TRMA0KSB9G0DFV","decision-support","技术决策分析与 ADR 生成","Facilitate data-driven technical decisions using weighted decision matrices, trade-off analysis, and ADR generation","使用加权决策矩阵、权衡分析和 ADR（架构决策记录）生成来促进数据驱动的技术决策。","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\u002Fdecision-support\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTBRV70X1T1B33XJ0GW1TW","方案质询与决策压力测试","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C4ZVS0ZJKF2T2G58PW5VR2","系统架构师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43],"support","decision","decision support","data","analysis","adr","technical","decisions","trade","generation","matrices","driven","data-driven","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: decision-support\nplatforms: [all]\ndescription: Facilitate data-driven technical decisions using weighted decision matrices, trade-off analysis, and ADR generation\n\n---\n\n# decision-support\n\nFacilitate data-driven technical decisions using embedded decision matrices and trade-off analysis.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"ADR\" in decision context → Architecture Decision Record\n- \"ToT\" \u002F \"tree of thought\" → structured reasoning mode\n- \"pros and cons\" → trade-off analysis\n\n## Purpose\n\nThis skill facilitates structured decision-making for technical and architectural choices by:\n- Building weighted decision matrices\n- Analyzing trade-offs across multiple dimensions\n- Documenting decision rationale\n- Generating Architecture Decision Records (ADRs)\n- Tracking decision outcomes\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Identifies decision context**:\n   - Parse the decision question\n   - Identify stakeholders and constraints\n   - Determine decision type (architectural, technical, process)\n\n2. **Gathers alternatives**:\n   - List candidate options\n   - Research each alternative\n   - Document key characteristics\n\n3. **Defines evaluation criteria**:\n   - Identify relevant factors\n   - Assign weights based on priorities\n   - Define scoring rubrics\n\n4. **Builds decision matrix**:\n   - Score each option per criterion\n   - Calculate weighted totals\n   - Visualize comparisons\n\n5. **Analyzes trade-offs**:\n   - Identify strengths\u002Fweaknesses\n   - Document risks per option\n   - Consider long-term implications\n\n6. **Generates recommendation**:\n   - Provide data-backed recommendation\n   - Document minority positions\n   - Create ADR for record\n\n## Decision Types\n\n### Architectural Decisions\n\n```yaml\narchitectural:\n  examples:\n    - database_selection\n    - api_design_pattern\n    - microservices_vs_monolith\n    - authentication_approach\n    - caching_strategy\n\n  typical_criteria:\n    - scalability\n    - maintainability\n    - performance\n    - security\n    - team_expertise\n    - cost\n    - time_to_implement\n```\n\n### Technical Decisions\n\n```yaml\ntechnical:\n  examples:\n    - library_selection\n    - framework_choice\n    - language_selection\n    - testing_approach\n    - ci_cd_tooling\n\n  typical_criteria:\n    - maturity\n    - community_support\n    - documentation\n    - learning_curve\n    - integration_ease\n    - license_compatibility\n```\n\n### Process Decisions\n\n```yaml\nprocess:\n  examples:\n    - branching_strategy\n    - release_cadence\n    - review_process\n    - documentation_approach\n    - communication_tools\n\n  typical_criteria:\n    - team_fit\n    - efficiency\n    - quality_impact\n    - adoption_effort\n    - tooling_support\n```\n\n## Decision Matrix Template\n\n```markdown\n# Decision Matrix: [Decision Title]\n\n**Decision ID**: DEC-2025-001\n**Date**: 2025-12-08\n**Status**: Under Evaluation\n**Decision Owner**: [Name]\n**Stakeholders**: [List]\n\n## Context\n\n[Description of the problem or opportunity requiring a decision]\n\n## Constraints\n\n- [Constraint 1]\n- [Constraint 2]\n- [Constraint 3]\n\n## Options Under Consideration\n\n### Option A: [Name]\n- **Description**: [Brief description]\n- **Pros**: [Key advantages]\n- **Cons**: [Key disadvantages]\n- **Risk Level**: Low\u002FMedium\u002FHigh\n\n### Option B: [Name]\n- **Description**: [Brief description]\n- **Pros**: [Key advantages]\n- **Cons**: [Key disadvantages]\n- **Risk Level**: Low\u002FMedium\u002FHigh\n\n### Option C: [Name]\n- **Description**: [Brief description]\n- **Pros**: [Key advantages]\n- **Cons**: [Key disadvantages]\n- **Risk Level**: Low\u002FMedium\u002FHigh\n\n## Evaluation Criteria\n\n| Criterion | Weight | Description |\n|-----------|--------|-------------|\n| Scalability | 25% | Ability to handle growth |\n| Maintainability | 20% | Ease of ongoing maintenance |\n| Performance | 20% | Speed and efficiency |\n| Security | 15% | Security posture |\n| Team Expertise | 10% | Team familiarity |\n| Cost | 10% | Total cost of ownership |\n\n## Scoring Rubric\n\n| Score | Meaning |\n|-------|---------|\n| 5 | Excellent - Exceeds requirements |\n| 4 | Good - Meets all requirements |\n| 3 | Adequate - Meets most requirements |\n| 2 | Poor - Meets some requirements |\n| 1 | Unacceptable - Does not meet requirements |\n\n## Decision Matrix\n\n| Criterion | Weight | Option A | Option B | Option C |\n|-----------|--------|----------|----------|----------|\n| Scalability | 25% | 4 (1.00) | 5 (1.25) | 3 (0.75) |\n| Maintainability | 20% | 5 (1.00) | 3 (0.60) | 4 (0.80) |\n| Performance | 20% | 4 (0.80) | 5 (1.00) | 3 (0.60) |\n| Security | 15% | 4 (0.60) | 4 (0.60) | 5 (0.75) |\n| Team Expertise | 10% | 5 (0.50) | 2 (0.20) | 4 (0.40) |\n| Cost | 10% | 3 (0.30) | 4 (0.40) | 3 (0.30) |\n| **Total** | 100% | **4.20** | **4.05** | **3.60** |\n\n## Trade-off Analysis\n\n### Option A vs Option B\n- **A wins on**: Maintainability (+2), Team Expertise (+3)\n- **B wins on**: Scalability (+1), Performance (+1), Cost (+1)\n- **Key trade-off**: Immediate productivity vs long-term scale\n\n### Option A vs Option C\n- **A wins on**: Scalability (+1), Maintainability (+1), Performance (+1)\n- **C wins on**: Security (+1)\n- **Key trade-off**: Overall capability vs security focus\n\n## Risk Assessment\n\n| Option | Key Risks | Mitigation |\n|--------|-----------|------------|\n| A | May hit scale limits in 2 years | Plan migration path |\n| B | Learning curve may slow initial dev | Training budget |\n| C | Performance concerns at scale | Performance testing |\n\n## Recommendation\n\n**Recommended Option**: Option A\n\n**Rationale**:\n1. Highest weighted score (4.20)\n2. Strong team expertise reduces implementation risk\n3. Best maintainability for long-term ownership\n4. Acceptable scalability with documented migration path\n\n**Dissenting Views**:\n- [Stakeholder X] prefers Option B for scalability headroom\n- Noted for future re-evaluation if growth exceeds projections\n\n## Decision Record\n\n**Decision**: Adopt Option A\n**Decided By**: [Decision Owner]\n**Date**: 2025-12-08\n**Review Date**: 2026-06-08 (6 months)\n\n## Action Items\n\n- [ ] Document implementation approach\n- [ ] Create ADR\n- [ ] Communicate decision to team\n- [ ] Set up review milestone\n```\n\n## ADR Generation\n\nWhen a decision is finalized, generate an ADR:\n\n```markdown\n# ADR-XXX: [Decision Title]\n\n## Status\n\nAccepted\n\n## Context\n\n[Background and problem statement]\n\n## Decision\n\nWe will use [Option A] because [rationale summary].\n\n## Consequences\n\n### Positive\n- [Benefit 1]\n- [Benefit 2]\n\n### Negative\n- [Trade-off 1]\n- [Trade-off 2]\n\n### Neutral\n- [Observation 1]\n\n## Alternatives Considered\n\n### Option B: [Name]\nRejected because: [reason]\n\n### Option C: [Name]\nRejected because: [reason]\n\n## References\n\n- Decision Matrix: .aiwg\u002Fdecisions\u002FDEC-2025-001.md\n- Related ADRs: ADR-XXX\n```\n\n## Usage Examples\n\n### Full Decision Analysis\n\n```\nUser: \"Help me decide between PostgreSQL and MongoDB for our user service\"\n\nSkill executes:\n1. Identify decision: Database selection for user service\n2. Gather alternatives: PostgreSQL, MongoDB, (suggests DynamoDB)\n3. Define criteria based on user service requirements\n4. Build comparison matrix\n5. Analyze trade-offs\n6. Generate recommendation\n\nOutput:\n\"Decision Analysis: User Service Database\n\nOptions Evaluated:\n1. PostgreSQL (Score: 4.35)\n2. MongoDB (Score: 3.90)\n3. DynamoDB (Score: 3.65)\n\nRecommendation: PostgreSQL\n\nKey Factors:\n- Strong ACID compliance for user data\n- Team has SQL expertise\n- Proven scalability with proper indexing\n- Better for relational user data patterns\n\nTrade-off Accepted:\n- Less flexibility for schema changes\n- Mitigation: Use JSONB for extensible fields\n\nDecision Matrix: .aiwg\u002Fdecisions\u002Fdatabase-selection.md\nADR: .aiwg\u002Farchitecture\u002Fadr-015-user-db.md\"\n```\n\n### Quick Comparison\n\n```\nUser: \"Compare options for API gateway\"\n\nSkill generates:\n- Kong vs AWS API Gateway vs Nginx\n- Weighted criteria comparison\n- Quick recommendation\n\nOutput:\n\"API Gateway Comparison:\n\n| Criteria | Kong | AWS GW | Nginx |\n|----------|------|--------|-------|\n| Features | 5 | 4 | 3 |\n| Cost | 3 | 4 | 5 |\n| Ops Effort | 3 | 5 | 2 |\n| Flexibility | 5 | 3 | 5 |\n| Weighted | 4.1 | 4.0 | 3.8 |\n\nRecommendation: Kong (slight edge)\nKey: Best feature set with acceptable ops overhead\n\nWant full analysis? Say 'full decision matrix'\"\n```\n\n### Trade-off Focus\n\n```\nUser: \"What are the trade-offs between microservices and monolith?\"\n\nSkill analyzes:\n- Key dimensions\n- Specific trade-offs\n- When each is preferred\n\nOutput:\n\"Microservices vs Monolith Trade-offs:\n\nMicroservices Wins:\n✓ Independent scaling\n✓ Technology flexibility\n✓ Team autonomy\n✓ Fault isolation\n\nMonolith Wins:\n✓ Simpler operations\n✓ Easier debugging\n✓ Lower latency (no network)\n✓ Faster initial development\n\nDecision Factors:\n- Team size: \u003C10 devs → monolith\n- Scale needs: 10x+ growth → microservices\n- Domain complexity: Clear boundaries → microservices\n\nWant me to build a decision matrix for your specific context?\"\n```\n\n## Integration\n\nThis skill uses:\n- `project-awareness`: Context for decision constraints\n- `artifact-metadata`: Track decision lifecycle\n- `template-engine`: Load ADR templates\n\n## Agent Orchestration\n\n```yaml\nagents:\n  research:\n    agent: technical-researcher\n    focus: Gather data on alternatives\n\n  architecture:\n    agent: architecture-designer\n    focus: Architectural implications\n\n  security:\n    agent: security-architect\n    focus: Security trade-offs\n    condition: security_relevant == true\n\n  cost:\n    agent: business-process-analyst\n    focus: Cost and resource implications\n```\n\n## Configuration\n\n### Default Criteria Sets\n\n```yaml\ncriteria_sets:\n  architectural:\n    - {name: scalability, weight: 20, default: true}\n    - {name: maintainability, weight: 20, default: true}\n    - {name: performance, weight: 15, default: true}\n    - {name: security, weight: 15, default: true}\n    - {name: team_expertise, weight: 10, default: true}\n    - {name: cost, weight: 10, default: true}\n    - {name: time_to_implement, weight: 10, default: true}\n\n  library_selection:\n    - {name: maturity, weight: 20}\n    - {name: community_support, weight: 20}\n    - {name: documentation, weight: 15}\n    - {name: learning_curve, weight: 15}\n    - {name: license, weight: 15}\n    - {name: performance, weight: 15}\n```\n\n### Decision Thresholds\n\n```yaml\nthresholds:\n  clear_winner: 0.5  # Score gap for clear recommendation\n  close_call: 0.2    # Gap requiring stakeholder input\n  tie: 0.1           # Effectively equal, other factors decide\n```\n\n## Output Locations\n\n- Decision matrices: `.aiwg\u002Fdecisions\u002F`\n- ADRs: `.aiwg\u002Farchitecture\u002Fadr-*.md`\n- Decision log: `.aiwg\u002Fdecisions\u002Fdecision-log.md`\n\n## References\n\n- ADR template: templates\u002Fanalysis-design\u002Fadr-template.md\n- Decision matrix template: templates\u002Fmanagement\u002Fdecision-matrix.md\n- Trade-off catalog: docs\u002Fcommon-tradeoffs.md\n","# decision-support\n\nFacilitate data-driven technical decisions using embedded decision matrices and trade-off analysis.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"ADR\" in decision context → Architecture Decision Record\n- \"ToT\" \u002F \"tree of thought\" → structured reasoning mode\n- \"pros and cons\" → trade-off analysis\n\n## Purpose\n\nThis skill facilitates structured decision-making for technical and architectural choices by:\n- Building weighted decision matrices\n- Analyzing trade-offs across multiple dimensions\n- Documenting decision rationale\n- Generating Architecture Decision Records (ADRs)\n- Tracking decision outcomes\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Identifies decision context**:\n   - Parse the decision question\n   - Identify stakeholders and constraints\n   - Determine decision type (architectural, technical, process)\n\n2. **Gathers alternatives**:\n   - List candidate options\n   - Research each alternative\n   - Document key characteristics\n\n3. **Defines evaluation criteria**:\n   - Identify relevant factors\n   - Assign weights based on priorities\n   - Define scoring rubrics\n\n4. **Builds decision matrix**:\n   - Score each option per criterion\n   - Calculate weighted totals\n   - Visualize comparisons\n\n5. **Analyzes trade-offs**:\n   - Identify strengths\u002Fweaknesses\n   - Document risks per option\n   - Consider long-term implications\n\n6. **Generates recommendation**:\n   - Provide data-backed recommendation\n   - Document minority positions\n   - Create ADR for record\n\n## Decision Types\n\n### Architectural Decisions\n\n```yaml\narchitectural:\n  examples:\n    - database_selection\n    - api_design_pattern\n    - microservices_vs_monolith\n    - authentication_approach\n    - caching_strategy\n\n  typical_criteria:\n    - scalability\n    - maintainability\n    - performance\n    - security\n    - team_expertise\n    - cost\n    - time_to_implement\n```\n\n### Technical Decisions\n\n```yaml\ntechnical:\n  examples:\n    - library_selection\n    - framework_choice\n    - language_selection\n    - testing_approach\n    - ci_cd_tooling\n\n  typical_criteria:\n    - maturity\n    - community_support\n    - documentation\n    - learning_curve\n    - integration_ease\n    - license_compatibility\n```\n\n### Process Decisions\n\n```yaml\nprocess:\n  examples:\n    - branching_strategy\n    - release_cadence\n    - review_process\n    - documentation_approach\n    - communication_tools\n\n  typical_criteria:\n    - team_fit\n    - efficiency\n    - quality_impact\n    - adoption_effort\n    - tooling_support\n```\n\n## Decision Matrix Template\n\n```markdown\n# Decision Matrix: [Decision Title]\n\n**Decision ID**: DEC-2025-001\n**Date**: 2025-12-08\n**Status**: Under Evaluation\n**Decision Owner**: [Name]\n**Stakeholders**: [List]\n\n## Context\n\n[Description of the problem or opportunity requiring a decision]\n\n## Constraints\n\n- [Constraint 1]\n- [Constraint 2]\n- [Constraint 3]\n\n## Options Under Consideration\n\n### Option A: [Name]\n- **Description**: [Brief description]\n- **Pros**: [Key advantages]\n- **Cons**: [Key disadvantages]\n- **Risk Level**: Low\u002FMedium\u002FHigh\n\n### Option B: [Name]\n- **Description**: [Brief description]\n- **Pros**: [Key advantages]\n- **Cons**: [Key disadvantages]\n- **Risk Level**: Low\u002FMedium\u002FHigh\n\n### Option C: [Name]\n- **Description**: [Brief description]\n- **Pros**: [Key advantages]\n- **Cons**: [Key disadvantages]\n- **Risk Level**: Low\u002FMedium\u002FHigh\n\n## Evaluation Criteria\n\n| Criterion | Weight | Description |\n|-----------|--------|-------------|\n| Scalability | 25% | Ability to handle growth |\n| Maintainability | 20% | Ease of ongoing maintenance |\n| Performance | 20% | Speed and efficiency |\n| Security | 15% | Security posture |\n| Team Expertise | 10% | Team familiarity |\n| Cost | 10% | Total cost of ownership |\n\n## Scoring Rubric\n\n| Score | Meaning |\n|-------|---------|\n| 5 | Excellent - Exceeds requirements |\n| 4 | Good - Meets all requirements |\n| 3 | Adequate - Meets most requirements |\n| 2 | Poor - Meets some requirements |\n| 1 | Unacceptable - Does not meet requirements |\n\n## Decision Matrix\n\n| Criterion | Weight | Option A | Option B | Option C |\n|-----------|--------|----------|----------|----------|\n| Scalability | 25% | 4 (1.00) | 5 (1.25) | 3 (0.75) |\n| Maintainability | 20% | 5 (1.00) | 3 (0.60) | 4 (0.80) |\n| Performance | 20% | 4 (0.80) | 5 (1.00) | 3 (0.60) |\n| Security | 15% | 4 (0.60) | 4 (0.60) | 5 (0.75) |\n| Team Expertise | 10% | 5 (0.50) | 2 (0.20) | 4 (0.40) |\n| Cost | 10% | 3 (0.30) | 4 (0.40) | 3 (0.30) |\n| **Total** | 100% | **4.20** | **4.05** | **3.60** |\n\n## Trade-off Analysis\n\n### Option A vs Option B\n- **A wins on**: Maintainability (+2), Team Expertise (+3)\n- **B wins on**: Scalability (+1), Performance (+1), Cost (+1)\n- **Key trade-off**: Immediate productivity vs long-term scale\n\n### Option A vs Option C\n- **A wins on**: Scalability (+1), Maintainability (+1), Performance (+1)\n- **C wins on**: Security (+1)\n- **Key trade-off**: Overall capability vs security focus\n\n## Risk Assessment\n\n| Option | Key Risks | Mitigation |\n|--------|-----------|------------|\n| A | May hit scale limits in 2 years | Plan migration path |\n| B | Learning curve may slow initial dev | Training budget |\n| C | Performance concerns at scale | Performance testing |\n\n## Recommendation\n\n**Recommended Option**: Option A\n\n**Rationale**:\n1. Highest weighted score (4.20)\n2. Strong team expertise reduces implementation risk\n3. Best maintainability for long-term ownership\n4. Acceptable scalability with documented migration path\n\n**Dissenting Views**:\n- [Stakeholder X] prefers Option B for scalability headroom\n- Noted for future re-evaluation if growth exceeds projections\n\n## Decision Record\n\n**Decision**: Adopt Option A\n**Decided By**: [Decision Owner]\n**Date**: 2025-12-08\n**Review Date**: 2026-06-08 (6 months)\n\n## Action Items\n\n- [ ] Document implementation approach\n- [ ] Create ADR\n- [ ] Communicate decision to team\n- [ ] Set up review milestone\n```\n\n## ADR Generation\n\nWhen a decision is finalized, generate an ADR:\n\n```markdown\n# ADR-XXX: [Decision Title]\n\n## Status\n\nAccepted\n\n## Context\n\n[Background and problem statement]\n\n## Decision\n\nWe will use [Option A] because [rationale summary].\n\n## Consequences\n\n### Positive\n- [Benefit 1]\n- [Benefit 2]\n\n### Negative\n- [Trade-off 1]\n- [Trade-off 2]\n\n### Neutral\n- [Observation 1]\n\n## Alternatives Considered\n\n### Option B: [Name]\nRejected because: [reason]\n\n### Option C: [Name]\nRejected because: [reason]\n\n## References\n\n- Decision Matrix: .aiwg\u002Fdecisions\u002FDEC-2025-001.md\n- Related ADRs: ADR-XXX\n```\n\n## Usage Examples\n\n### Full Decision Analysis\n\n```\nUser: \"Help me decide between PostgreSQL and MongoDB for our user service\"\n\nSkill executes:\n1. Identify decision: Database selection for user service\n2. Gather alternatives: PostgreSQL, MongoDB, (suggests DynamoDB)\n3. Define criteria based on user service requirements\n4. Build comparison matrix\n5. Analyze trade-offs\n6. Generate recommendation\n\nOutput:\n\"Decision Analysis: User Service Database\n\nOptions Evaluated:\n1. PostgreSQL (Score: 4.35)\n2. MongoDB (Score: 3.90)\n3. DynamoDB (Score: 3.65)\n\nRecommendation: PostgreSQL\n\nKey Factors:\n- Strong ACID compliance for user data\n- Team has SQL expertise\n- Proven scalability with proper indexing\n- Better for relational user data patterns\n\nTrade-off Accepted:\n- Less flexibility for schema changes\n- Mitigation: Use JSONB for extensible fields\n\nDecision Matrix: .aiwg\u002Fdecisions\u002Fdatabase-selection.md\nADR: .aiwg\u002Farchitecture\u002Fadr-015-user-db.md\"\n```\n\n### Quick Comparison\n\n```\nUser: \"Compare options for API gateway\"\n\nSkill generates:\n- Kong vs AWS API Gateway vs Nginx\n- Weighted criteria comparison\n- Quick recommendation\n\nOutput:\n\"API Gateway Comparison:\n\n| Criteria | Kong | AWS GW | Nginx |\n|----------|------|--------|-------|\n| Features | 5 | 4 | 3 |\n| Cost | 3 | 4 | 5 |\n| Ops Effort | 3 | 5 | 2 |\n| Flexibility | 5 | 3 | 5 |\n| Weighted | 4.1 | 4.0 | 3.8 |\n\nRecommendation: Kong (slight edge)\nKey: Best feature set with acceptable ops overhead\n\nWant full analysis? Say 'full decision matrix'\"\n```\n\n### Trade-off Focus\n\n```\nUser: \"What are the trade-offs between microservices and monolith?\"\n\nSkill analyzes:\n- Key dimensions\n- Specific trade-offs\n- When each is preferred\n\nOutput:\n\"Microservices vs Monolith Trade-offs:\n\nMicroservices Wins:\n✓ Independent scaling\n✓ Technology flexibility\n✓ Team autonomy\n✓ Fault isolation\n\nMonolith Wins:\n✓ Simpler operations\n✓ Easier debugging\n✓ Lower latency (no network)\n✓ Faster initial development\n\nDecision Factors:\n- Team size: \u003C10 devs → monolith\n- Scale needs: 10x+ growth → microservices\n- Domain complexity: Clear boundaries → microservices\n\nWant me to build a decision matrix for your specific context?\"\n```\n\n## Integration\n\nThis skill uses:\n- `project-awareness`: Context for decision constraints\n- `artifact-metadata`: Track decision lifecycle\n- `template-engine`: Load ADR templates\n\n## Agent Orchestration\n\n```yaml\nagents:\n  research:\n    agent: technical-researcher\n    focus: Gather data on alternatives\n\n  architecture:\n    agent: architecture-designer\n    focus: Architectural implications\n\n  security:\n    agent: security-architect\n    focus: Security trade-offs\n    condition: security_relevant == true\n\n  cost:\n    agent: business-process-analyst\n    focus: Cost and resource implications\n```\n\n## Configuration\n\n### Default Criteria Sets\n\n```yaml\ncriteria_sets:\n  architectural:\n    - {name: scalability, weight: 20, default: true}\n    - {name: maintainability, weight: 20, default: true}\n    - {name: performance, weight: 15, default: true}\n    - {name: security, weight: 15, default: true}\n    - {name: team_expertise, weight: 10, default: true}\n    - {name: cost, weight: 10, default: true}\n    - {name: time_to_implement, weight: 10, default: true}\n\n  library_selection:\n    - {name: maturity, weight: 20}\n    - {name: community_support, weight: 20}\n    - {name: documentation, weight: 15}\n    - {name: learning_curve, weight: 15}\n    - {name: license, weight: 15}\n    - {name: performance, weight: 15}\n```\n\n### Decision Thresholds\n\n```yaml\nthresholds:\n  clear_winner: 0.5  # Score gap for clear recommendation\n  close_call: 0.2    # Gap requiring stakeholder input\n  tie: 0.1           # Effectively equal, other factors decide\n```\n\n## Output Locations\n\n- Decision matrices: `.aiwg\u002Fdecisions\u002F`\n- ADRs: `.aiwg\u002Farchitecture\u002Fadr-*.md`\n- Decision log: `.aiwg\u002Fdecisions\u002Fdecision-log.md`\n\n## References\n\n- ADR template: templates\u002Fanalysis-design\u002Fadr-template.md\n- Decision matrix template: templates\u002Fmanagement\u002Fdecision-matrix.md\n- Trade-off catalog: docs\u002Fcommon-tradeoffs.md\n",{"name":5,"namespace":49,"platforms":50,"description":7},"aiwg",[51],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Fdecision-support",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":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add jmagly\u002Faiwg --skill decision-support",{"tool":68,"command":69},"bunx","bunx skills add jmagly\u002Faiwg --skill decision-support",{"tool":71,"command":72},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill decision-support","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fcodex-sdlc\u002Fskills\u002Fdecision-support\u002FSKILL.md",true,[],[77,85,90,117,136,141],{"skillNo":78,"name":79,"nameZh":17,"description":80,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"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":86,"name":79,"nameZh":17,"description":80,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":84},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":44},"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",[],[97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":118,"name":119,"nameZh":17,"description":120,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":44},"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",[],[35,124,125,126,127,128,102,129,108,115,110,130,98,131,112,132,133,116,134,135],"exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":137,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":44},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[97,98,99,114,115,116,109,113,105,101,102,103,104,106,107,108,100,110,111,112],{"skillNo":142,"name":119,"nameZh":17,"description":120,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":44},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[35,124,135,134,127,133,132,112,126,128,102,129,108,125,110,130,98,116,115,131]]