Flow knowledge transfer

From jmagly/aiwg · View interactive version

Flow knowledge transfer is an AI agent skill from the GitHub repository jmagly/aiwg. Orchestrate Knowledge Transfer flow with assessment, documentation, shadowing, validation, and handover

How to use this skill

Skill file

Declarative Flow (#1539): This flow's orchestration is now also expressed as a

declarative YAML Flow at flows/flow-knowledge-transfer.playbook.yaml (source of truth for the step

sequence + gates). This SKILL.md remains the discoverable trigger surface and prose

reference. See epic #1534.

<!-- AIWG-SKILL-CALLOUT -->

Skill access pattern (post-kernel-pivot, 2026.5+)

Skill names referenced in this document are AIWG skills, not slash commands. Most are not kernel-listed and cannot be invoked as /skill-name by the platform. Reach them via:

```bash

aiwg discover "<capability>"

aiwg show skill <name> --body

```

Only kernel-listed skills (aiwg-doctor, aiwg-refresh, aiwg-status, aiwg-help, use, aiwg-steward-routing on Claude Code) are directly invokable as slash commands. See skill-discovery rule.

Knowledge Transfer Orchestration Flow

You are the Core Orchestrator for structured knowledge transfer between team members.

Your Role

You orchestrate multi-agent workflows. You do NOT execute bash scripts.

When the user requests this flow (via natural language or explicit command):

  1. Interpret the request and confirm understanding
  2. Read this template as your orchestration guide
  3. Extract agent assignments and workflow steps
  4. Delegate agents with the current provider-native orchestration mechanism in the correct sequence
  5. Synthesize results and finalize artifacts
  6. Report completion with summary

Knowledge Transfer Overview

Purpose: Ensure continuity when team members transition roles, leave projects, or hand off domain expertise

Key Milestone: Knowledge Transfer Signoff

Success Criteria:

Expected Duration: 2-6 weeks (typical), 30-45 minutes orchestration

Natural Language Triggers

Users may say:

You recognize these as requests for this orchestration flow.

Parameter Handling

Required Parameters

--guidance Parameter

Purpose: User provides upfront direction to tailor transfer priorities

Examples:

--guidance "Focus on production support and incident response procedures"
--guidance "Tight timeline, prioritize critical operational knowledge"
--guidance "Receiver has strong technical background but no domain experience"
--guidance "Include compliance and regulatory knowledge for audit requirements"

How to Apply:

--interactive Parameter

Purpose: You ask 6 strategic questions to understand transfer context

Questions to Ask (if --interactive):

I'll ask 6 strategic questions to tailor the knowledge transfer to your needs:

Q1: What are your top priorities for this knowledge transfer?
    (e.g., operational continuity, architectural understanding, troubleshooting skills)

Q2: What are your biggest constraints?
    (e.g., timeline, availability of knowledge holder, complexity of domain)

Q3: What risks concern you most for this transfer?
    (e.g., critical knowledge loss, insufficient practice time, documentation gaps)

Q4: What's the receiver's experience level with similar domains?
    (Helps calibrate transfer depth and pace)

Q5: What's your target timeline for independent operation?
    (Influences shadowing duration and validation rigor)

Q6: Are there compliance or regulatory requirements?
    (e.g., SOX separation of duties, HIPAA training requirements)

Based on your answers, I'll adjust:
- Focus areas (operational vs. architectural vs. compliance)
- Shadowing duration (standard vs. extended)
- Validation rigor (basic vs. comprehensive)
- Documentation depth (reference vs. tutorial)

Synthesize Guidance: Combine answers into structured guidance string for execution

Artifacts to Generate

Primary Deliverables:

Supporting Artifacts:

Multi-Agent Orchestration Workflow

Step 1: Knowledge Assessment and Transfer Scope

Purpose: Identify knowledge domain(s) and define transfer scope

Your Actions:

  1. Validate Team Members Exist:

```

Read .aiwg/team/team-profile.yaml (if exists)

Verify from-member and to-member are valid team members

If not found, proceed with provided names but note in report

```

  1. Launch Knowledge Assessment Agents (parallel):

```

# Agent 1: Knowledge Manager (lead)

Task(

subagent_type="knowledge-manager",

description="Assess knowledge domain and create transfer scope",

prompt="""

Create knowledge assessment for transfer:

Define Knowledge Map:

1. Knowledge Areas (list all relevant areas)

2. Criticality Assessment (Critical, High, Medium, Low)

3. Current State Assessment:

4. Knowledge Gaps (delta between holder and receiver)

5. Transfer Priority (HIGH, MEDIUM, LOW for each area)

Define Transfer Scope:

Estimate Timeline:

Use the inline format: knowledge map fields in this skill

Output: .aiwg/knowledge/knowledge-map-{domain}.md

"""

)

# Agent 2: Training Coordinator

Task(

subagent_type="training-coordinator",

description="Create structured transfer plan",

prompt="""

Based on knowledge assessment, create transfer plan:

Structure:

1. Documentation Phase (Week 1)

2. Shadowing Phase (Week 2-3)

3. Reverse Shadowing (Week 3-4)

4. Validation Phase (Week 4-5)

5. Handover Phase (Week 5-6)

Adjust timeline based on:

Use the inline format: transfer plan fields in this skill

Output: .aiwg/knowledge/transfer-plan-{from}-to-{to}.md

"""

)

```

  1. Review and Confirm Scope:

```

Task(

subagent_type="project-manager",

description="Review and validate transfer scope",

prompt="""

Read:

Validate:

Create gate decision:

Output validation summary to transfer plan

"""

)

```

Communicate Progress:

✓ Knowledge assessment complete
✓ Transfer scope defined: {X} knowledge areas, {Y} weeks estimated
✓ Transfer plan created: .aiwg/knowledge/transfer-plan-{from}-to-{to}.md

Step 2: Documentation Review and Knowledge Artifacts

Purpose: Compile and enhance documentation for knowledge transfer

Your Actions:

  1. Inventory Existing Documentation:

```

# Use Glob to find relevant docs

Glob("*/.md")

Glob("*/.txt")

Filter for domain-relevant documentation

Create inventory list

```

  1. Launch Documentation Agents (parallel):

```

# Agent 1: Documentation Archivist

Task(

subagent_type="documentation-archivist",

description="Organize and review existing documentation",

prompt="""

Domain: {domain}

Review existing documentation:

1. Architecture documents

2. Runbooks and procedures

3. Configuration guides

4. Troubleshooting guides

5. Historical incident reports

Assess each document:

Create Documentation Inventory:

Organize in logical learning sequence

Output: .aiwg/knowledge/docs/documentation-inventory.md

"""

)

# Agent 2: Subject Matter Expert (knowledge holder role)

Task(

subagent_type="subject-matter-expert",

description="Identify and create missing documentation",

prompt="""

Acting as {from-member} (knowledge holder perspective)

Based on documentation inventory, create missing critical docs:

1. Runbooks for common operations:

2. Troubleshooting guides:

3. Architecture notes:

4. Tribal knowledge:

Focus on practical, hands-on knowledge needed for independent operation

Output to: .aiwg/knowledge/docs/{category}/

"""

)

# Agent 3: Technical Writer

Task(

subagent_type="technical-writer",

description="Enhance documentation clarity and completeness",

prompt="""

Review and enhance documentation for knowledge transfer:

Improvements:

1. Add missing context for newcomers

2. Clarify technical jargon

3. Add examples and scenarios

4. Create quick reference guides

5. Add diagrams where helpful

Ensure documentation is:

Create consolidated reading list in order

Output enhanced docs to: .aiwg/knowledge/docs/enhanced/

"""

)

```

Communicate Progress:

⏳ Documentation review in progress...
  ✓ {X} existing documents inventoried
  ✓ {Y} documentation gaps identified
  ✓ {Z} new documents created
✓ Documentation package complete: .aiwg/knowledge/docs/

Step 3: Shadowing Phase (Receiver Observes)

Purpose: Knowledge receiver observes holder performing actual work

Your Actions:

  1. Initialize Shadowing Sessions:

```

# Create session structure

mkdir -p .aiwg/knowledge/shadowing/sessions

# Define 4-8 sessions based on knowledge areas

For each critical knowledge area, allocate 1-2 sessions

```

  1. Launch Shadowing Simulation (for each session):

```

# For each shadowing session (4-8 total)

Task(

subagent_type="training-coordinator",

description="Simulate shadowing session {N}",

prompt="""

Shadowing Session {N}

Knowledge Area: {area from knowledge map}

Duration: 1-2 hours (simulated)

Simulate session where {from-member} demonstrates:

1. Task execution (step-by-step)

2. Decision points (what and why)

3. Tool usage (specific commands/interfaces)

4. Common issues (what to watch for)

5. Best practices (efficiency tips)

{to-member} perspective:

Create session log including:

Output: .aiwg/knowledge/shadowing/sessions/session-{N}-{area}.md

"""

)

```

  1. Synthesize Shadowing Learnings:

```

Task(

subagent_type="knowledge-manager",

description="Synthesize shadowing phase learnings",

prompt="""

Read all shadowing session logs

Create synthesis:

1. Knowledge areas covered

2. Key learnings consolidated

3. Remaining questions

4. Confidence progression (trend over sessions)

5. Areas needing more practice

Identify patterns:

Recommend focus for reverse shadowing

Output: .aiwg/knowledge/shadowing/shadowing-synthesis.md

"""

)

```

Communicate Progress:

⏳ Shadowing phase in progress...
  ✓ Session 1: Database operations (confidence: 3/5)
  ✓ Session 2: Deployment procedures (confidence: 2/5)
  ✓ Session 3: Incident response (confidence: 4/5)
  ✓ Session 4: Performance tuning (confidence: 2/5)
✓ Shadowing complete: {X} sessions, average confidence: {Y}/5

Step 4: Reverse Shadowing Phase (Receiver Leads)

Purpose: Knowledge receiver performs tasks with holder observing

Your Actions:

  1. Plan Reverse Shadowing Sessions:

```

Based on shadowing synthesis, prioritize:

```

  1. Launch Reverse Shadowing (for each session):

```

# For each reverse shadowing session (4-8 total)

Task(

subagent_type="learner",

description="Simulate reverse shadowing session {N}",

prompt="""

Reverse Shadowing Session {N}

Knowledge Area: {area}

Receiver Leading: {to-member}

Holder Observing: {from-member}

Simulate {to-member} performing tasks:

1. Task approach (how they tackle it)

2. Decision making (choices and reasoning)

3. Challenges faced (what's difficult)

4. Holder interventions (when and why)

5. Corrections made (learning moments)

Holder feedback:

Success indicators:

Create session log:

Output: .aiwg/knowledge/shadowing/reverse/session-{N}-{area}.md

"""

)

```

  1. Assess Progress and Readiness:

```

Task(

subagent_type="training-coordinator",

description="Assess reverse shadowing progress",

prompt="""

Read all reverse shadowing sessions

Assess readiness:

1. Tasks completed successfully (%)

2. Intervention frequency (trending down?)

3. Confidence ratings (trending up?)

4. Decision quality (sound reasoning?)

For each knowledge area:

Overall assessment:

Output: .aiwg/knowledge/shadowing/reverse/readiness-assessment.md

"""

)

```

Communicate Progress:

⏳ Reverse shadowing in progress...
  ✓ Session 1: Database operations (SUCCESS, minimal intervention)
  ✓ Session 2: Deployment procedures (PARTIAL, 2 interventions)
  ✓ Session 3: Incident response (SUCCESS, no intervention)
  ⚠️ Session 4: Performance tuning (NEEDS_PRACTICE, multiple interventions)
✓ Reverse shadowing complete: 75% success rate

Step 5: Knowledge Validation and Practical Testing

Purpose: Validate knowledge acquisition through realistic scenarios

Your Actions:

  1. Create Validation Scenarios:

```

Task(

subagent_type="test-architect",

description="Design validation scenarios",

prompt="""

Based on knowledge domain {domain}, create 4 validation scenarios:

Scenario 1: Routine Operation

Scenario 2: Troubleshooting

Scenario 3: Teach-Back

Scenario 4: Novel Situation

Each scenario includes:

Output: .aiwg/knowledge/validation/validation-scenarios.md

"""

)

```

  1. Execute Validation Tests (parallel where possible):

```

# For each validation scenario

Task(

subagent_type="learner",

description="Execute validation scenario {N}",

prompt="""

As {to-member}, complete validation scenario {N}

Demonstrate:

1. Understanding of the problem

2. Systematic approach

3. Correct solution or diagnosis

4. Appropriate tool usage

5. Documentation of actions

For teach-back scenario:

For novel situation:

Document:

Output: .aiwg/knowledge/validation/scenario-{N}-results.md

"""

)

# Parallel evaluation by holder

Task(

subagent_type="subject-matter-expert",

description="Evaluate validation scenarios",

prompt="""

As {from-member}, evaluate {to-member}'s performance

For each scenario:

Rating scale:

Provide specific feedback:

Overall readiness assessment:

Output: .aiwg/knowledge/validation/evaluation-results.md

"""

)

```

Communicate Progress:

⏳ Validation testing in progress...
  ✓ Scenario 1 (Routine): PASS
  ✓ Scenario 2 (Troubleshooting): PASS
  ✓ Scenario 3 (Teach-Back): EXCELLENT
  ⚠️ Scenario 4 (Novel): CONDITIONAL (minor gaps noted)
✓ Validation complete: 3/4 PASS or better

Step 6: Handover Checklist and Signoff

Purpose: Complete formal handover with all parties signing off

Your Actions:

  1. Generate Handover Checklist:

```

Task(

subagent_type="project-manager",

description="Create comprehensive handover checklist",

prompt="""

Create handover checklist for:

Checklist sections:

1. Documentation

2. Practical Skills

3. Knowledge Validation

4. Access and Permissions

5. Operational Handoff

6. Follow-Up Plan

7. Residual Gaps (if any)

Use the inline format: handover checklist in this skill

Output: .aiwg/knowledge/handover-checklist-{domain}.md

"""

)

```

  1. Collect Signoffs:

```

Task(

subagent_type="project-manager",

description="Collect handover signoffs",

prompt="""

Document signoffs for handover:

Required signatures:

1. Knowledge Receiver ({to-member}):

"I am confident in my ability to perform {domain} responsibilities independently"

Confidence level: {1-5}

Concerns (if any): {list}

2. Knowledge Holder ({from-member}):

"I am confident the receiver has the knowledge to succeed independently"

Confidence level: {1-5}

Recommendations: {list}

3. Project Manager:

"Knowledge transfer is complete and receiver is ready for independent operation"

Decision: APPROVED / CONDITIONAL / NOT_APPROVED

Conditional requirements (if CONDITIONAL):

Add signatures to handover checklist

"""

)

```

  1. Generate Final Report:

```

Task(

subagent_type="knowledge-manager",

description="Generate knowledge transfer completion report",

prompt="""

Create comprehensive transfer report including:

1. Executive Summary

2. Transfer Summary

3. Knowledge Acquisition Metrics

4. Documentation Improvements

5. Validation Results

6. Lessons Learned

7. Follow-Up Plan

8. Risk Assessment

Output: .aiwg/reports/knowledge-transfer-report-{domain}.md

"""

)

```

Communicate Progress:

✓ Handover checklist complete: .aiwg/knowledge/handover-checklist-{domain}.md
✓ All parties signed off
✓ Transfer report generated: .aiwg/reports/knowledge-transfer-report-{domain}.md

Quality Gates

Before marking workflow complete, verify:

User Communication

At start: Confirm understanding and outline process

Understood. I'll orchestrate the knowledge transfer from {from-member} to {to-member} for {domain}.

This will include:
- Knowledge assessment and gap analysis
- Documentation review and enhancement
- Shadowing sessions (observation)
- Reverse shadowing (practice)
- Validation testing
- Formal handover and signoff

Expected duration: 30-45 minutes orchestration.
Real-world timeline: 2-6 weeks for actual transfer.

Starting orchestration...

During: Update progress with clear indicators

✓ = Complete
⏳ = In progress
⚠️ = Attention needed
❌ = Failed/blocked

At end: Summary report with status and next steps

─────────────────────────────────────────────
Knowledge Transfer Complete
─────────────────────────────────────────────

**Transfer**: {from-member} → {to-member}
**Domain**: {domain}
**Status**: COMPLETE
**Readiness**: READY FOR INDEPENDENT OPERATION

**Summary**:
✓ Knowledge gaps identified and addressed
✓ Documentation: {X} docs created/updated
✓ Shadowing: {Y} sessions completed
✓ Validation: {Z}/4 scenarios passed
✓ Handover: All parties signed off

**Confidence Assessment**:
- Receiver confidence: 4/5
- Holder confidence: 4/5
- Manager approval: APPROVED

**Follow-Up Plan**:
- 1-week check-in: {date}
- 1-month review: {date}
- Support period: {from-member} available for {duration}

**Artifacts Generated**:
- Knowledge Map: .aiwg/knowledge/knowledge-map-{domain}.md
- Transfer Plan: .aiwg/knowledge/transfer-plan-{from}-to-{to}.md
- Documentation: .aiwg/knowledge/docs/
- Validation Results: .aiwg/knowledge/validation/
- Handover Checklist: .aiwg/knowledge/handover-checklist-{domain}.md
- Final Report: .aiwg/reports/knowledge-transfer-report-{domain}.md

**Next Steps**:
- Update team roster and responsibilities
- Schedule follow-up check-ins
- Monitor initial independent operation
- Address any residual gaps per remediation plan

─────────────────────────────────────────────

Error Handling

Team Member Not Found:

⚠️ Team member not found in roster
Proceeding with provided names: {from-member} → {to-member}

Note: Consider updating .aiwg/team/team-profile.yaml

Knowledge Domain Unclear:

⚠️ Knowledge domain not specified

Defaulting to: "all responsibilities"
This may extend timeline and scope.

Recommendation: Specify domain for focused transfer
Example: "backend-api", "deployment", "security"

Validation Failure:

❌ Validation scenario failed: {scenario}

Result: {failure-reason}
Impact: Receiver not ready for independent operation

Recommendations:
1. Additional practice in {area}
2. Review relevant documentation
3. Schedule extra reverse shadowing session
4. Re-attempt validation after practice

Insufficient Confidence:

⚠️ Low confidence detected

Receiver confidence: {X}/5 (target: ≥3)
Holder confidence: {Y}/5 (target: ≥3)

Actions:
1. Identify specific concern areas
2. Provide additional shadowing/practice
3. Consider extended support period
4. Document contingency plans

Timeline Overrun:

⚠️ Transfer taking longer than planned

Original estimate: {X} weeks
Current duration: {Y} weeks

Factors:
- Complexity underestimated
- Availability constraints
- Additional gaps discovered

Recommendation: Adjust timeline and expectations

Success Criteria

This orchestration succeeds when:

Metrics to Track

During orchestration, track:

References

Templates (via $AIWG_ROOT):

Related Commands:

Best Practices:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.