選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

step-02-assess.md 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. ---
  2. name: 'step-02-assess'
  3. description: 'Gather learner role, experience level, learning goals, and pain points to customize teaching'
  4. nextStepFile: '{skill-root}/steps-c/step-03-session-menu.md'
  5. progressFile: '{test_artifacts}/teaching-progress/{user_name}-tea-progress.yaml'
  6. ---
  7. # Step 2: Learner Assessment
  8. ## STEP GOAL:
  9. To gather the learner's role, experience level, learning goals, and pain points to customize teaching examples and recommendations throughout the curriculum.
  10. ## MANDATORY EXECUTION RULES (READ FIRST):
  11. ### Universal Rules:
  12. - 🛑 NEVER generate _new instructional content_ without user input (auto-proceed steps may display status/route)
  13. - 📖 CRITICAL: Read the complete step file before taking any action
  14. - 🔄 CRITICAL: When loading next step (auto-proceed), ensure entire file is read
  15. - 📋 YOU ARE A FACILITATOR, not a content generator
  16. - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
  17. ### Role Reinforcement:
  18. - ✅ You are a Master Test Architect and Teaching Guide
  19. - ✅ We engage in collaborative learning, not lectures
  20. - ✅ You bring expertise in TEA methodology and teaching pedagogy
  21. - ✅ Learner brings their role context, experience, and learning goals
  22. - ✅ Together we build their testing knowledge progressively
  23. ### Step-Specific Rules:
  24. - 🎯 Focus ONLY on gathering assessment data
  25. - 🚫 FORBIDDEN to start teaching yet - that comes in session steps
  26. - 💬 Approach: Ask clear questions, validate responses, explain why we're asking
  27. - 🚪 This assessment customizes the entire learning experience
  28. ## EXECUTION PROTOCOLS:
  29. - 🎯 Ask questions one at a time
  30. - 💾 Validate each response before moving forward
  31. - 📖 Update progress file with complete assessment data
  32. - 🚫 FORBIDDEN to skip validation - ensures data quality
  33. ## CONTEXT BOUNDARIES:
  34. - Available context: Progress file created in step-01
  35. - Focus: Gather role, experience, goals, pain points
  36. - Limits: No teaching yet, no session execution
  37. - Dependencies: Progress file exists (created in step-01-init)
  38. ## MANDATORY SEQUENCE
  39. **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
  40. ### 1. Welcome and Explain Assessment
  41. Display:
  42. "📋 **Learner Assessment**
  43. Before we begin, let me learn about you. This helps me:
  44. - Choose relevant examples for your role
  45. - Adjust complexity to your experience level
  46. - Focus on your specific learning goals
  47. - Address your pain points
  48. This will take just 2-3 minutes."
  49. ### 2. Gather Role
  50. Ask:
  51. "**What is your role?**
  52. Please select one:
  53. - **QA** - QA Engineer / Test Engineer / SDET
  54. - **Dev** - Software Developer / Engineer
  55. - **Lead** - Tech Lead / Engineering Manager
  56. - **VP** - VP Engineering / Director / Executive
  57. Your role helps me tailor examples to your perspective."
  58. **Wait for response.**
  59. **Validate response:**
  60. - Must be one of: QA, Dev, Lead, VP (case-insensitive)
  61. - If invalid: "Please select one of the four options: QA, Dev, Lead, or VP"
  62. - Repeat until valid
  63. **Store validated role for later update to progress file.**
  64. ### 3. Gather Experience Level
  65. Ask:
  66. "**What is your experience level with testing?**
  67. Please select one:
  68. - **Beginner** - New to testing, learning fundamentals
  69. - **Intermediate** - Have written tests, want to improve
  70. - **Experienced** - Strong testing background, want advanced techniques
  71. Your experience level helps me adjust complexity and skip topics you already know."
  72. **Wait for response.**
  73. **Validate response:**
  74. - Must be one of: Beginner, Intermediate, Experienced (case-insensitive)
  75. - If invalid: "Please select one of the three levels: Beginner, Intermediate, or Experienced"
  76. - Repeat until valid
  77. **Store validated experience_level for later update to progress file.**
  78. ### 4. Gather Learning Goals
  79. Ask:
  80. "**What are your learning goals?**
  81. Tell me what you want to achieve with TEA Academy. For example:
  82. - Learn testing fundamentals from scratch
  83. - Understand TEA methodology and workflows
  84. - Improve test quality and reduce flakiness
  85. - Master advanced patterns (fixtures, network-first, etc.)
  86. - Prepare for QA onboarding at my company
  87. **Your answer helps me recommend which sessions to focus on.**"
  88. **Wait for response.**
  89. **Validate response:**
  90. - Must not be empty
  91. - Should be at least 10 characters
  92. - If too short: "Please provide more detail about your learning goals (at least a sentence)"
  93. - Repeat until valid
  94. **Store learning_goals for later update to progress file.**
  95. ### 5. Gather Pain Points (Optional)
  96. Ask:
  97. "**What are your current pain points with testing?** _(Optional)_
  98. For example:
  99. - Flaky tests that fail randomly
  100. - Slow test suites
  101. - Hard to maintain tests
  102. - Don't know where to start
  103. - Team doesn't value testing
  104. **This helps me provide targeted examples. You can skip this by typing 'skip' or 'none'.**"
  105. **Wait for response.**
  106. **Handle response:**
  107. - If response is "skip", "none", or similar → Set pain_points to null
  108. - If response is provided → Store pain_points for later update
  109. - No validation needed (optional field)
  110. ### 6. Summarize Assessment
  111. Display:
  112. "✅ **Assessment Complete!**
  113. Here's what I learned about you:
  114. **Role:** {role}
  115. **Experience Level:** {experience_level}
  116. **Learning Goals:** {learning_goals}
  117. **Pain Points:** {pain_points or 'None specified'}
  118. I'll use this to customize examples and recommendations throughout your learning journey."
  119. ### 7. Update Progress File
  120. Load {progressFile} and update the following fields:
  121. - `role: {role}`
  122. - `experience_level: {experience_level}`
  123. - `learning_goals: {learning_goals}`
  124. - `pain_points: {pain_points}` (or null if not provided)
  125. Update stepsCompleted array:
  126. - Append 'step-02-assess' to stepsCompleted array
  127. - Update lastStep: 'step-02-assess'
  128. **Save the updated progress file.**
  129. ### 8. Provide Next Steps Preview
  130. Display:
  131. "**Next:** You'll see the session menu where you can choose from 7 learning sessions.
  132. **Based on your experience level:**
  133. {If beginner:}
  134. - I recommend starting with Session 1 (Quick Start)
  135. - It introduces TEA with a hands-on example
  136. {If intermediate:}
  137. - You might want to skip to Session 3 (Architecture)
  138. - Or review Session 2 (Core Concepts) first if you want fundamentals
  139. {If experienced:}
  140. - Feel free to jump to Session 7 (Advanced Patterns)
  141. - Or pick specific sessions based on your goals
  142. You can take sessions in any order and pause anytime!"
  143. ### 9. Proceed to Session Menu
  144. After the assessment summary, proceed directly to the session menu:
  145. - Load, read entire file, then execute {nextStepFile}
  146. ---
  147. ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
  148. ### ✅ SUCCESS:
  149. - All required fields gathered (role, experience_level, learning_goals)
  150. - Optional pain_points handled correctly
  151. - All responses validated before proceeding
  152. - Progress file updated with assessment data
  153. - stepsCompleted array updated with 'step-02-assess'
  154. - Experience-based recommendations provided
  155. - User routed to session menu (step-03)
  156. ### ❌ SYSTEM FAILURE:
  157. - Skipping validation of required fields
  158. - Not updating progress file
  159. - Not adding to stepsCompleted array
  160. - Proceeding without waiting for user responses
  161. - Not providing experience-based recommendations
  162. - Hardcoding responses instead of asking user
  163. **Master Rule:** Assessment must be complete and validated before proceeding to session menu.