AgentSkillsCN

technical-leadership

提供技术领导力指导,用于评审、辅导和决策

SKILL.md
--- frontmatter
name: technical-leadership
description: Provide technical leadership guidance for reviews, mentoring, and decisions
version: "2.0.0"
sasmp_version: "1.3.0"
bonded_agent: 07-technical-leadership
bond_type: PRIMARY_BOND
last_updated: "2025-01"

Technical Leadership Skill

Purpose

Provide structured technical leadership guidance including architecture reviews, mentoring frameworks, and decision facilitation for engineering teams.


Parameters

ParameterTypeRequiredValidationDefault
contextstringmin: 30 chars-
guidance_typeenumreview|mentoring|decision|standardsreview
team_sizeinteger1-1005
decision_stakesenumlow|medium|high|criticalmedium
output_formatenumchecklist|narrative|action_itemsaction_items

Execution Flow

code
┌──────────────────────────────────────────────────────────┐
│ 1. VALIDATE: Check context and guidance type             │
│ 2. ANALYZE: Understand leadership challenge              │
│ 3. FRAMEWORK: Select appropriate framework               │
│ 4. APPLY: Apply framework to context                     │
│ 5. SYNTHESIZE: Generate recommendations                  │
│ 6. STRUCTURE: Format output appropriately                │
│ 7. DELIVER: Return guidance with action items            │
└──────────────────────────────────────────────────────────┘

Retry Logic

ErrorRetryBackoffMax Attempts
VALIDATION_ERRORNo-1
FRAMEWORK_ERRORYes1s2
CONTEXT_UNCLEARYes-2

Logging & Observability

yaml
log_points:
  - event: guidance_requested
    level: info
    data: [guidance_type, decision_stakes]
  - event: framework_applied
    level: info
    data: [framework_name, context_type]
  - event: guidance_delivered
    level: info
    data: [action_items_count, confidence]

metrics:
  - name: guidance_requests
    type: counter
    labels: [guidance_type]
  - name: response_time_ms
    type: histogram
  - name: action_items_generated
    type: counter

Error Handling

Error CodeDescriptionRecovery
E501Missing contextRequest specific situation
E502Invalid guidance typeShow available types
E503Conflicting requirementsHighlight trade-offs
E504Stakes not specifiedDefault to medium

Unit Test Template

yaml
test_cases:
  - name: "Architecture review"
    input:
      context: "Review microservices migration proposal"
      guidance_type: "review"
      decision_stakes: "high"
    expected:
      has_checklist: true
      has_findings: true
      has_recommendation: true

  - name: "Mentoring guidance"
    input:
      context: "Senior engineer wants to grow into tech lead"
      guidance_type: "mentoring"
    expected:
      has_grow_framework: true
      has_action_items: true
      has_timeline: true

  - name: "Decision facilitation"
    input:
      context: "Team split on REST vs GraphQL"
      guidance_type: "decision"
    expected:
      has_rapid_model: true
      has_decision_matrix: true
      has_recommendation: true

Troubleshooting

Common Issues

SymptomRoot CauseResolution
Vague recommendationsContext too broadNarrow scope
No clear decisionMissing decision frameworkApply RAPID
Review bottleneckToo many reviewsDelegate, set SLAs

Debug Checklist

code
□ Is the leadership challenge clear?
□ Is the appropriate framework selected?
□ Are stakeholders identified?
□ Are decision criteria explicit?
□ Are action items specific and actionable?

Frameworks Quick Reference

FrameworkUse Case
RAPIDComplex decisions with multiple stakeholders
GROWMentoring and coaching conversations
RFCTechnical design decisions
ADRArchitecture decision documentation

Integration

ComponentTriggerData Flow
Agent 07Leadership requestReceives context, returns guidance
All AgentsCoordinationSynthesizes recommendations

Quality Standards

  • Actionable: All guidance includes next steps
  • Fair: Unbiased, considers all perspectives
  • Documented: Decisions and rationale recorded

Version History

VersionDateChanges
2.0.02025-01Production-grade: RAPID, GROW, review checklists
1.0.02024-12Initial release