@cloudstreamsoftware/claude-tools 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/README.md +152 -37
  2. package/agents/INDEX.md +183 -0
  3. package/agents/architect.md +247 -0
  4. package/agents/build-error-resolver.md +555 -0
  5. package/agents/catalyst-deployer.md +132 -0
  6. package/agents/code-reviewer.md +121 -0
  7. package/agents/compliance-auditor.md +148 -0
  8. package/agents/creator-architect.md +395 -0
  9. package/agents/deluge-reviewer.md +98 -0
  10. package/agents/doc-updater.md +471 -0
  11. package/agents/e2e-runner.md +711 -0
  12. package/agents/planner.md +122 -0
  13. package/agents/refactor-cleaner.md +309 -0
  14. package/agents/security-reviewer.md +582 -0
  15. package/agents/tdd-guide.md +302 -0
  16. package/bin/cloudstream-setup.js +16 -6
  17. package/config/versions.json +63 -0
  18. package/dist/hooks/hooks.json +209 -0
  19. package/dist/index.js +47 -0
  20. package/dist/lib/asset-value.js +609 -0
  21. package/dist/lib/client-manager.js +300 -0
  22. package/dist/lib/command-matcher.js +242 -0
  23. package/dist/lib/cross-session-patterns.js +754 -0
  24. package/dist/lib/intent-classifier.js +1075 -0
  25. package/dist/lib/package-manager.js +374 -0
  26. package/dist/lib/recommendation-engine.js +597 -0
  27. package/dist/lib/session-memory.js +489 -0
  28. package/dist/lib/skill-effectiveness.js +486 -0
  29. package/dist/lib/skill-matcher.js +595 -0
  30. package/dist/lib/tutorial-metrics.js +242 -0
  31. package/dist/lib/tutorial-progress.js +209 -0
  32. package/dist/lib/tutorial-renderer.js +431 -0
  33. package/dist/lib/utils.js +380 -0
  34. package/dist/lib/verify-formatter.js +143 -0
  35. package/dist/lib/workflow-state.js +249 -0
  36. package/hooks/hooks.json +209 -0
  37. package/package.json +5 -1
  38. package/scripts/aggregate-sessions.js +290 -0
  39. package/scripts/branch-name-validator.js +291 -0
  40. package/scripts/build.js +101 -0
  41. package/scripts/commands/client-switch.js +231 -0
  42. package/scripts/deprecate-skill.js +610 -0
  43. package/scripts/diagnose.js +324 -0
  44. package/scripts/doc-freshness.js +168 -0
  45. package/scripts/generate-weekly-digest.js +393 -0
  46. package/scripts/health-check.js +270 -0
  47. package/scripts/hooks/credential-check.js +101 -0
  48. package/scripts/hooks/evaluate-session.js +81 -0
  49. package/scripts/hooks/pre-compact.js +66 -0
  50. package/scripts/hooks/prompt-analyzer.js +276 -0
  51. package/scripts/hooks/prompt-router.js +422 -0
  52. package/scripts/hooks/quality-gate-enforcer.js +371 -0
  53. package/scripts/hooks/session-end.js +156 -0
  54. package/scripts/hooks/session-start.js +195 -0
  55. package/scripts/hooks/skill-injector.js +333 -0
  56. package/scripts/hooks/suggest-compact.js +58 -0
  57. package/scripts/lib/asset-value.js +609 -0
  58. package/scripts/lib/client-manager.js +300 -0
  59. package/scripts/lib/command-matcher.js +242 -0
  60. package/scripts/lib/cross-session-patterns.js +754 -0
  61. package/scripts/lib/intent-classifier.js +1075 -0
  62. package/scripts/lib/package-manager.js +374 -0
  63. package/scripts/lib/recommendation-engine.js +597 -0
  64. package/scripts/lib/session-memory.js +489 -0
  65. package/scripts/lib/skill-effectiveness.js +486 -0
  66. package/scripts/lib/skill-matcher.js +595 -0
  67. package/scripts/lib/tutorial-metrics.js +242 -0
  68. package/scripts/lib/tutorial-progress.js +209 -0
  69. package/scripts/lib/tutorial-renderer.js +431 -0
  70. package/scripts/lib/utils.js +380 -0
  71. package/scripts/lib/verify-formatter.js +143 -0
  72. package/scripts/lib/workflow-state.js +249 -0
  73. package/scripts/onboard.js +363 -0
  74. package/scripts/quarterly-report.js +692 -0
  75. package/scripts/setup-package-manager.js +204 -0
  76. package/scripts/sync-upstream.js +391 -0
  77. package/scripts/test.js +108 -0
  78. package/scripts/tutorial-runner.js +351 -0
  79. package/scripts/validate-all.js +201 -0
  80. package/scripts/verifiers/agents.js +245 -0
  81. package/scripts/verifiers/config.js +186 -0
  82. package/scripts/verifiers/environment.js +123 -0
  83. package/scripts/verifiers/hooks.js +188 -0
  84. package/scripts/verifiers/index.js +38 -0
  85. package/scripts/verifiers/persistence.js +140 -0
  86. package/scripts/verifiers/plugin.js +215 -0
  87. package/scripts/verifiers/skills.js +209 -0
  88. package/scripts/verify-setup.js +164 -0
  89. package/skills/INDEX.md +157 -0
  90. package/skills/backend-patterns/SKILL.md +586 -0
  91. package/skills/backend-patterns/catalyst-patterns.md +128 -0
  92. package/skills/bigquery-patterns/SKILL.md +27 -0
  93. package/skills/bigquery-patterns/performance-optimization.md +518 -0
  94. package/skills/bigquery-patterns/query-patterns.md +372 -0
  95. package/skills/bigquery-patterns/schema-design.md +78 -0
  96. package/skills/cloudstream-project-template/SKILL.md +20 -0
  97. package/skills/cloudstream-project-template/structure.md +65 -0
  98. package/skills/coding-standards/SKILL.md +524 -0
  99. package/skills/coding-standards/deluge-standards.md +83 -0
  100. package/skills/compliance-patterns/SKILL.md +28 -0
  101. package/skills/compliance-patterns/hipaa/audit-requirements.md +251 -0
  102. package/skills/compliance-patterns/hipaa/baa-process.md +298 -0
  103. package/skills/compliance-patterns/hipaa/data-archival-strategy.md +387 -0
  104. package/skills/compliance-patterns/hipaa/phi-handling.md +52 -0
  105. package/skills/compliance-patterns/pci-dss/saq-a-requirements.md +307 -0
  106. package/skills/compliance-patterns/pci-dss/tokenization-patterns.md +382 -0
  107. package/skills/compliance-patterns/pci-dss/zoho-checkout-patterns.md +56 -0
  108. package/skills/compliance-patterns/soc2/access-controls.md +344 -0
  109. package/skills/compliance-patterns/soc2/audit-logging.md +458 -0
  110. package/skills/compliance-patterns/soc2/change-management.md +403 -0
  111. package/skills/compliance-patterns/soc2/deluge-execution-logging.md +407 -0
  112. package/skills/consultancy-workflows/SKILL.md +19 -0
  113. package/skills/consultancy-workflows/client-isolation.md +21 -0
  114. package/skills/consultancy-workflows/documentation-automation.md +454 -0
  115. package/skills/consultancy-workflows/handoff-procedures.md +257 -0
  116. package/skills/consultancy-workflows/knowledge-capture.md +513 -0
  117. package/skills/consultancy-workflows/time-tracking.md +26 -0
  118. package/skills/continuous-learning/SKILL.md +84 -0
  119. package/skills/continuous-learning/config.json +18 -0
  120. package/skills/continuous-learning/evaluate-session.sh +60 -0
  121. package/skills/continuous-learning-v2/SKILL.md +126 -0
  122. package/skills/continuous-learning-v2/config.json +61 -0
  123. package/skills/frontend-patterns/SKILL.md +635 -0
  124. package/skills/frontend-patterns/zoho-widget-patterns.md +103 -0
  125. package/skills/gcp-data-engineering/SKILL.md +36 -0
  126. package/skills/gcp-data-engineering/bigquery/performance-optimization.md +337 -0
  127. package/skills/gcp-data-engineering/dataflow/error-handling.md +496 -0
  128. package/skills/gcp-data-engineering/dataflow/pipeline-patterns.md +444 -0
  129. package/skills/gcp-data-engineering/dbt/model-organization.md +63 -0
  130. package/skills/gcp-data-engineering/dbt/testing-patterns.md +503 -0
  131. package/skills/gcp-data-engineering/medallion-architecture/bronze-layer.md +60 -0
  132. package/skills/gcp-data-engineering/medallion-architecture/gold-layer.md +311 -0
  133. package/skills/gcp-data-engineering/medallion-architecture/layer-transitions.md +517 -0
  134. package/skills/gcp-data-engineering/medallion-architecture/silver-layer.md +305 -0
  135. package/skills/gcp-data-engineering/zoho-to-gcp/data-extraction.md +543 -0
  136. package/skills/gcp-data-engineering/zoho-to-gcp/real-time-vs-batch.md +337 -0
  137. package/skills/security-review/SKILL.md +498 -0
  138. package/skills/security-review/compliance-checklist.md +53 -0
  139. package/skills/strategic-compact/SKILL.md +67 -0
  140. package/skills/tdd-workflow/SKILL.md +413 -0
  141. package/skills/tdd-workflow/zoho-testing.md +124 -0
  142. package/skills/tutorial/SKILL.md +249 -0
  143. package/skills/tutorial/docs/ACCESSIBILITY.md +169 -0
  144. package/skills/tutorial/lessons/00-philosophy-and-workflow.md +198 -0
  145. package/skills/tutorial/lessons/01-basics.md +81 -0
  146. package/skills/tutorial/lessons/02-training.md +86 -0
  147. package/skills/tutorial/lessons/03-commands.md +109 -0
  148. package/skills/tutorial/lessons/04-workflows.md +115 -0
  149. package/skills/tutorial/lessons/05-compliance.md +116 -0
  150. package/skills/tutorial/lessons/06-zoho.md +121 -0
  151. package/skills/tutorial/lessons/07-hooks-system.md +277 -0
  152. package/skills/tutorial/lessons/08-mcp-servers.md +316 -0
  153. package/skills/tutorial/lessons/09-client-management.md +215 -0
  154. package/skills/tutorial/lessons/10-testing-e2e.md +260 -0
  155. package/skills/tutorial/lessons/11-skills-deep-dive.md +272 -0
  156. package/skills/tutorial/lessons/12-rules-system.md +326 -0
  157. package/skills/tutorial/lessons/13-golden-standard-graduation.md +213 -0
  158. package/skills/tutorial/lessons/14-fork-setup-and-sync.md +312 -0
  159. package/skills/tutorial/lessons/15-living-examples-system.md +221 -0
  160. package/skills/tutorial/tracks/accelerated/README.md +134 -0
  161. package/skills/tutorial/tracks/accelerated/assessment/checkpoint-1.md +161 -0
  162. package/skills/tutorial/tracks/accelerated/assessment/checkpoint-2.md +175 -0
  163. package/skills/tutorial/tracks/accelerated/day-1-core-concepts.md +234 -0
  164. package/skills/tutorial/tracks/accelerated/day-2-essential-commands.md +270 -0
  165. package/skills/tutorial/tracks/accelerated/day-3-workflow-mastery.md +305 -0
  166. package/skills/tutorial/tracks/accelerated/day-4-compliance-zoho.md +304 -0
  167. package/skills/tutorial/tracks/accelerated/day-5-hooks-skills.md +344 -0
  168. package/skills/tutorial/tracks/accelerated/day-6-client-testing.md +386 -0
  169. package/skills/tutorial/tracks/accelerated/day-7-graduation.md +369 -0
  170. package/skills/zoho-patterns/CHANGELOG.md +108 -0
  171. package/skills/zoho-patterns/SKILL.md +446 -0
  172. package/skills/zoho-patterns/analytics/dashboard-patterns.md +352 -0
  173. package/skills/zoho-patterns/analytics/zoho-to-bigquery-pipeline.md +427 -0
  174. package/skills/zoho-patterns/catalyst/appsail-deployment.md +349 -0
  175. package/skills/zoho-patterns/catalyst/context-close-patterns.md +354 -0
  176. package/skills/zoho-patterns/catalyst/cron-batch-processing.md +374 -0
  177. package/skills/zoho-patterns/catalyst/function-patterns.md +439 -0
  178. package/skills/zoho-patterns/creator/form-design.md +304 -0
  179. package/skills/zoho-patterns/creator/publish-api-patterns.md +313 -0
  180. package/skills/zoho-patterns/creator/widget-integration.md +306 -0
  181. package/skills/zoho-patterns/creator/workflow-automation.md +253 -0
  182. package/skills/zoho-patterns/deluge/api-patterns.md +468 -0
  183. package/skills/zoho-patterns/deluge/batch-processing.md +403 -0
  184. package/skills/zoho-patterns/deluge/cross-app-integration.md +356 -0
  185. package/skills/zoho-patterns/deluge/error-handling.md +423 -0
  186. package/skills/zoho-patterns/deluge/syntax-reference.md +65 -0
  187. package/skills/zoho-patterns/integration/cors-proxy-architecture.md +426 -0
  188. package/skills/zoho-patterns/integration/crm-books-native-sync.md +277 -0
  189. package/skills/zoho-patterns/integration/oauth-token-management.md +461 -0
  190. package/skills/zoho-patterns/integration/zoho-flow-patterns.md +334 -0
@@ -0,0 +1,221 @@
1
+ # Lesson 15: Living Examples System (Phase 10)
2
+
3
+ The Living Examples System transforms documentation into validated, real-world code examples with community curation.
4
+
5
+ ## Concept
6
+
7
+ Every scraped documentation page gets an associated **validated code example** that:
8
+ 1. Passes 3-stage validation (syntax, standards, security)
9
+ 2. Can be verified by community members
10
+ 3. Evolves through corrections and improvements
11
+ 4. Integrates with the learning/instincts system
12
+
13
+ ```
14
+ Documentation → Example Generator → Validation Pipeline → Community Verification
15
+
16
+ Knowledge Base
17
+ ```
18
+
19
+ ## Why This Matters
20
+
21
+ Without living examples:
22
+ - Documentation is passive - users must figure out implementation
23
+ - No way to know if examples actually work
24
+ - Knowledge stagnates without community input
25
+ - No quality metrics on guidance provided
26
+
27
+ With living examples:
28
+ - Every doc has a working example attached
29
+ - Community verification confirms real-world validity
30
+ - Users can report and fix broken examples
31
+ - Quality scores show trustworthiness
32
+
33
+ ## Architecture
34
+
35
+ ### The Pipeline
36
+
37
+ | Component | Purpose | Status |
38
+ |-----------|---------|--------|
39
+ | **Example Generator** | Claude-powered example creation | Scheduled worker |
40
+ | **Example Validator** | 3-stage validation pipeline | Scheduled worker |
41
+ | **Community Feedback** | User corrections and improvements | Via MCP tools |
42
+ | **Reference Library** | Ground truth corpus | Grows organically |
43
+
44
+ ### Trust Levels
45
+
46
+ Examples have different trust levels based on validation and community input:
47
+
48
+ | Level | Badge | Criteria |
49
+ |-------|-------|----------|
50
+ | **Gold** | 🏆 | 90%+ quality, 5+ verifications |
51
+ | **Verified** | ✅ | Community verified (3+ users) |
52
+ | **Standard** | ✓ | Passed validation pipeline |
53
+ | **Pending** | ⏳ | Awaiting validation |
54
+
55
+ ## MCP Tools
56
+
57
+ ### For All Users
58
+
59
+ | Tool | Purpose |
60
+ |------|---------|
61
+ | `get_code_example` | Get validated example for a doc |
62
+ | `search_reference_examples` | Search the example corpus |
63
+ | `verify_example_works` | Confirm an example works |
64
+ | `get_example_history` | View version history |
65
+ | `submit_url_for_scraping` | Suggest new URLs to index |
66
+
67
+ ### For Submitting Feedback
68
+
69
+ | Tool | Purpose |
70
+ |------|---------|
71
+ | `submit_example_feedback` | Report issues or suggest fixes |
72
+ | `check_url_status` | Check if a URL is indexed |
73
+
74
+ ### For Reviewers
75
+
76
+ | Tool | Purpose |
77
+ |------|---------|
78
+ | `get_pending_reviews` | View pending feedback |
79
+ | `approve_feedback` | Approve and merge fixes |
80
+ | `reject_feedback` | Reject submissions |
81
+ | `get_review_stats` | Dashboard metrics |
82
+
83
+ ## Validation Pipeline
84
+
85
+ Every example goes through 3 stages:
86
+
87
+ ### Stage 1: Syntax Validation
88
+ ```
89
+ ✓ Brace matching
90
+ ✓ Basic structure
91
+ ✓ No obvious errors
92
+ ```
93
+
94
+ ### Stage 2: Standards Compliance
95
+ ```
96
+ ✓ Variable naming (camelCase)
97
+ ✓ Function naming (verb_noun)
98
+ ✓ Error handling present
99
+ ✓ No hardcoded credentials
100
+ ✓ Within size limits
101
+ ```
102
+
103
+ ### Stage 3: Security Scan
104
+ ```
105
+ ✓ No credential patterns
106
+ ✓ Input validation present
107
+ ✓ No injection vulnerabilities
108
+ ✓ Safe API usage
109
+ ```
110
+
111
+ ## Community Feedback Flow
112
+
113
+ ```
114
+ User finds broken example
115
+
116
+ Submits feedback (MCP tool)
117
+
118
+ Auto-validation checks
119
+
120
+ Queued for reviewer
121
+
122
+ Reviewer approves → New version created
123
+ All users get fixed example
124
+ ```
125
+
126
+ ### Feedback Types
127
+
128
+ | Type | Priority | Purpose |
129
+ |------|----------|---------|
130
+ | 🔴 `security_issue` | Critical | Security problems |
131
+ | 🟠 `broken` | High | Non-working examples |
132
+ | 🟡 `improvement` | Medium | Enhancements |
133
+ | 🟢 `works` | Low | Confirms example works |
134
+
135
+ ## Exercise
136
+
137
+ ### Exercise 15.1: Explore Examples
138
+
139
+ **Step 1**: Search for examples related to a function:
140
+ ```
141
+ Use: search_reference_examples
142
+ Args: { "function_name": "getRecords" }
143
+ ```
144
+
145
+ **Step 2**: Notice the quality metrics:
146
+ - Quality score (percentage)
147
+ - Verification count
148
+ - Trust level badge
149
+
150
+ ### Exercise 15.2: View Example Details
151
+
152
+ **Step 1**: Get a specific example:
153
+ ```
154
+ Use: get_code_example
155
+ Args: { "doc_url": "https://www.zoho.com/creator/help/..." }
156
+ ```
157
+
158
+ **Step 2**: Notice the metadata:
159
+ - Trust level box
160
+ - Validation details table
161
+ - Action links for feedback
162
+
163
+ ### Exercise 15.3: Verify an Example
164
+
165
+ **Step 1**: If you've used an example in production:
166
+ ```
167
+ Use: verify_example_works
168
+ Args: { "example_id": "ex_abc123" }
169
+ ```
170
+
171
+ **Step 2**: Your verification contributes to community trust.
172
+
173
+ ## Learning Integration
174
+
175
+ Verified examples can be exported as **instincts**:
176
+
177
+ ```
178
+ Use: export_example_as_instinct
179
+ Args: { "example_id": "ex_abc123" }
180
+ ```
181
+
182
+ This creates a YAML file you can save to:
183
+ ```
184
+ ~/.claude/homunculus/instincts/inherited/
185
+ ```
186
+
187
+ Instincts inform Claude's future behavior based on validated patterns.
188
+
189
+ ## Reviewer Dashboard
190
+
191
+ Designated reviewers see:
192
+ - Pending feedback count
193
+ - Pending URL submissions
194
+ - Approval rate
195
+ - Community health metrics
196
+
197
+ Use `get_review_stats` to see the dashboard.
198
+
199
+ ## Verification
200
+
201
+ You've completed this lesson successfully if:
202
+ - [ ] You can search for reference examples
203
+ - [ ] You understand the validation pipeline stages
204
+ - [ ] You know how to verify an example works
205
+ - [ ] You understand the feedback flow
206
+ - [ ] You can export examples as instincts
207
+
208
+ ## Key Takeaway
209
+
210
+ The Living Examples System creates a **compound growth loop**: users submit corrections, reviewers approve them, and the entire community benefits from improved examples. Quality scores and trust badges let you know exactly how reliable each example is.
211
+
212
+ ## Next Steps
213
+
214
+ You've completed the CloudStream Claude Tools tutorial! Review the [Golden Standard Graduation](./13-golden-standard-graduation.md) checklist to confirm you're ready for production work.
215
+
216
+ ---
217
+
218
+ **System indexed**: 27 MCP tools including 17 for Living Examples
219
+ **Key pattern**: Documentation → Example → Validation → Community
220
+ **Trust levels**: Gold (🏆) → Verified (✅) → Standard (✓)
221
+ **Progress**: 16 of 16 lessons complete
@@ -0,0 +1,134 @@
1
+ # Accelerated Track - 7-Day Intensive Onboarding
2
+
3
+ This track is designed for experienced developers (2+ years) joining CloudStream Software LLC. It condenses the standard 14-day, 15-lesson tutorial into an intensive 7-day program.
4
+
5
+ ## Prerequisites
6
+
7
+ Before starting this track, you should have:
8
+
9
+ - [ ] 2+ years professional development experience
10
+ - [ ] Familiarity with TypeScript/JavaScript
11
+ - [ ] Experience with test-driven development concepts
12
+ - [ ] Basic understanding of CI/CD pipelines
13
+ - [ ] Comfort with command-line tools
14
+
15
+ If you're missing any of these, consider the [Standard Track](../README.md) instead.
16
+
17
+ ## Track Structure
18
+
19
+ | Day | Focus | Standard Lessons Covered | Time |
20
+ |-----|-------|-------------------------|------|
21
+ | 1 | Core Concepts | Lessons 0-1: Philosophy, Architecture | 2-3 hrs |
22
+ | 2 | Essential Commands | Lessons 2-3: Training Mode, Commands | 2-3 hrs |
23
+ | 3 | Workflow Mastery | Lesson 4: Complete Workflow Patterns | 2-3 hrs |
24
+ | 4 | Compliance & Zoho | Lessons 5-6: HIPAA/SOC2/PCI, Zoho Platform | 3-4 hrs |
25
+ | 5 | Hooks & Skills | Lessons 7-8, 11-12: Hooks, MCP, Skills, Rules | 3-4 hrs |
26
+ | 6 | Client & Testing | Lessons 9-10: Client Management, E2E Testing | 3-4 hrs |
27
+ | 7 | Graduation | Lessons 13-14: Golden Standard, Fork Sync | 2-3 hrs |
28
+
29
+ **Total Time**: ~18-24 hours across 7 days
30
+
31
+ ## Assessments
32
+
33
+ Two checkpoints ensure comprehension before advancing:
34
+
35
+ | Checkpoint | After Day | Topics | Passing Score |
36
+ |------------|-----------|--------|---------------|
37
+ | 1 | Day 3 | Core concepts, commands, workflows | 80% |
38
+ | 2 | Day 6 | Compliance, Zoho, hooks, skills, testing | 80% |
39
+
40
+ Checkpoints are required. Failing blocks progress until passed (max 2 retakes).
41
+
42
+ ## Key Differences from Standard Track
43
+
44
+ | Aspect | Standard | Accelerated |
45
+ |--------|----------|-------------|
46
+ | Duration | 14 days | 7 days |
47
+ | Lessons | 15 separate | 7 combined |
48
+ | Pace | 1-2 lessons/day | 2-3 lessons/day |
49
+ | Exercises | Detailed | Condensed |
50
+ | Checkpoints | None | 2 required |
51
+ | Prerequisites | None | 2+ years exp |
52
+
53
+ ## How to Start
54
+
55
+ ```
56
+ /tutorial accelerated
57
+ ```
58
+
59
+ Or jump to a specific day:
60
+ ```
61
+ /tutorial accelerated day-3
62
+ ```
63
+
64
+ ## Daily Schedule Recommendation
65
+
66
+ ```
67
+ Morning (1-2 hrs):
68
+ - Read day's content
69
+ - Complete first exercise set
70
+
71
+ Afternoon (1-2 hrs):
72
+ - Complete remaining exercises
73
+ - Practice commands on real project
74
+
75
+ End of day:
76
+ - Run /verify on practice work
77
+ - Note questions for next session
78
+ ```
79
+
80
+ ## Milestones to Track
81
+
82
+ By completing this track, you should hit these milestones:
83
+
84
+ | Milestone | Target | Day |
85
+ |-----------|--------|-----|
86
+ | First Session Complete | Day 1 | 1 |
87
+ | First Unassisted Commit | 8 hours | 1-2 |
88
+ | First Complete Workflow | Day 3 | 3 |
89
+ | Tutorial Complete | Day 7 | 7 |
90
+ | Client-Ready Work | 14 days | Post-track |
91
+
92
+ Run `/milestone status` to track your progress.
93
+
94
+ ## Quick Reference
95
+
96
+ ### Core Commands (Master by Day 3)
97
+ ```
98
+ /verify - Validate project (before every commit)
99
+ /plan - Design implementation
100
+ /tdd - Test-driven development
101
+ /code-review - Quality check
102
+ /checkpoint - Create recovery point
103
+ /audit - System health check
104
+ ```
105
+
106
+ ### The Golden Standard
107
+ - Production-ready, bulletproof code
108
+ - 80%+ test coverage
109
+ - Security-reviewed (OWASP Top 10)
110
+ - Handoff-ready documentation
111
+
112
+ ### Daily Workflow
113
+ ```
114
+ /audit → /checkpoint → /plan → /tdd → /code-review → /verify → commit
115
+ ```
116
+
117
+ ## Getting Help
118
+
119
+ - Questions during tutorial: Ask Claude directly
120
+ - System issues: `/audit` to diagnose
121
+ - Stuck on exercise: Skip and note for follow-up
122
+ - Need more depth: Reference standard track lessons
123
+
124
+ ## Next Steps After Completion
125
+
126
+ 1. Apply workflow to first real client project
127
+ 2. Run `/learn` after completing first feature to extract patterns
128
+ 3. Review `/skill-gaps` to identify areas for continued learning
129
+ 4. Target: Client-ready work within 14 days of track completion
130
+
131
+ ---
132
+
133
+ **Track Version**: 1.0.0
134
+ **Last Updated**: 2026-01-25
@@ -0,0 +1,161 @@
1
+ # Checkpoint 1: Foundations Assessment
2
+
3
+ **Covers**: Days 1-3 (Core Concepts, Commands, Workflows)
4
+ **Passing Score**: 80% (8/10 correct)
5
+ **Max Retakes**: 2
6
+
7
+ ---
8
+
9
+ ## Instructions
10
+
11
+ Answer each question. Run `/tutorial checkpoint-1 submit` when ready to check your answers.
12
+
13
+ ---
14
+
15
+ ## Questions
16
+
17
+ ### Q1: Core Workflow
18
+ What is the correct order of the core development workflow?
19
+
20
+ A) tdd → plan → verify → code-review
21
+ B) plan → tdd → code-review → verify
22
+ C) code-review → plan → tdd → verify
23
+ D) verify → plan → tdd → code-review
24
+
25
+ ---
26
+
27
+ ### Q2: Golden Standard
28
+ What is the minimum test coverage required by the Golden Standard?
29
+
30
+ A) 50%
31
+ B) 70%
32
+ C) 80%
33
+ D) 100%
34
+
35
+ ---
36
+
37
+ ### Q3: Essential Commands
38
+ Which command should you run BEFORE every git commit?
39
+
40
+ A) /audit
41
+ B) /plan
42
+ C) /verify
43
+ D) /checkpoint
44
+
45
+ ---
46
+
47
+ ### Q4: Checkpoint Purpose
48
+ What is the primary purpose of the `/checkpoint` command?
49
+
50
+ A) To commit code to git
51
+ B) To create a recovery point for safe rollback
52
+ C) To run tests
53
+ D) To switch client contexts
54
+
55
+ ---
56
+
57
+ ### Q5: Architecture
58
+ In the system architecture (Commands → Agents → Rules → Skills), what do Agents represent?
59
+
60
+ A) User input commands
61
+ B) Specialized AI personas that execute commands
62
+ C) Behavioral constraints
63
+ D) Reusable knowledge packages
64
+
65
+ ---
66
+
67
+ ### Q6: Training Mode
68
+ What does Training Mode do when it detects your intent?
69
+
70
+ A) Automatically executes commands without asking
71
+ B) Suggests optimal workflow with rationale
72
+ C) Blocks all operations until approved
73
+ D) Sends notifications to the team
74
+
75
+ ---
76
+
77
+ ### Q7: Bug Fix Workflow
78
+ According to the TDD approach, what should you do FIRST when fixing a bug?
79
+
80
+ A) Fix the code immediately
81
+ B) Write a failing test that reproduces the bug
82
+ C) Run /plan to design the fix
83
+ D) Create a checkpoint
84
+
85
+ ---
86
+
87
+ ### Q8: Safety Workflow
88
+ What is the recommended full safety workflow sequence?
89
+
90
+ A) plan → tdd → verify
91
+ B) checkpoint → code-review → verify
92
+ C) audit → checkpoint → plan → tdd → code-review → verify
93
+ D) tdd → plan → code-review → checkpoint
94
+
95
+ ---
96
+
97
+ ### Q9: Refactoring
98
+ When starting a refactoring task, what should you do FIRST?
99
+
100
+ A) Start modifying code
101
+ B) Run /plan
102
+ C) Create a /checkpoint
103
+ D) Run tests
104
+
105
+ ---
106
+
107
+ ### Q10: Verification
108
+ Which checks does the `/verify` command run?
109
+
110
+ A) Only tests
111
+ B) Only type checking
112
+ C) Build, tests, lint, and type checking
113
+ D) Only linting
114
+
115
+ ---
116
+
117
+ ## Answer Key
118
+
119
+ *(For self-assessment - do not look before attempting)*
120
+
121
+ <details>
122
+ <summary>Click to reveal answers</summary>
123
+
124
+ 1. **B** - plan → tdd → code-review → verify
125
+ 2. **C** - 80%
126
+ 3. **C** - /verify
127
+ 4. **B** - To create a recovery point for safe rollback
128
+ 5. **B** - Specialized AI personas that execute commands
129
+ 6. **B** - Suggests optimal workflow with rationale
130
+ 7. **B** - Write a failing test that reproduces the bug
131
+ 8. **C** - audit → checkpoint → plan → tdd → code-review → verify
132
+ 9. **C** - Create a /checkpoint
133
+ 10. **C** - Build, tests, lint, and type checking
134
+
135
+ **Passing Score: 8/10 (80%)**
136
+
137
+ </details>
138
+
139
+ ---
140
+
141
+ ## Results
142
+
143
+ After checking your answers:
144
+
145
+ - **8-10 correct**: PASSED - Proceed to Day 4
146
+ - **6-7 correct**: Review Days 1-3, retake assessment
147
+ - **Below 6**: Review material more thoroughly, retake assessment
148
+
149
+ ---
150
+
151
+ ## Retake Policy
152
+
153
+ - Maximum 2 retakes allowed
154
+ - Review relevant material before retaking
155
+ - Same questions with shuffled order
156
+
157
+ If you fail after 2 retakes, complete the standard track exercises for Days 1-3 before attempting again.
158
+
159
+ ---
160
+
161
+ **Run `/tutorial checkpoint-1 submit` to submit your answers**
@@ -0,0 +1,175 @@
1
+ # Checkpoint 2: Advanced Assessment
2
+
3
+ **Covers**: Days 4-6 (Compliance, Zoho, Hooks, Skills, Testing)
4
+ **Passing Score**: 80% (8/10 correct)
5
+ **Max Retakes**: 2
6
+
7
+ ---
8
+
9
+ ## Instructions
10
+
11
+ Answer each question. Run `/tutorial checkpoint-2 submit` when ready to check your answers.
12
+
13
+ ---
14
+
15
+ ## Questions
16
+
17
+ ### Q1: Compliance Modes
18
+ Which compliance mode should you enable for a healthcare application handling patient data?
19
+
20
+ A) soc2
21
+ B) pci-dss
22
+ C) hipaa
23
+ D) standard
24
+
25
+ ---
26
+
27
+ ### Q2: Deluge Constraints
28
+ What is the maximum number of statements allowed in a single Deluge function?
29
+
30
+ A) 1,000
31
+ B) 5,000
32
+ C) 10,000
33
+ D) Unlimited
34
+
35
+ ---
36
+
37
+ ### Q3: Catalyst Timeout
38
+ What is the default timeout for Catalyst functions?
39
+
40
+ A) 10 seconds
41
+ B) 30 seconds
42
+ C) 40 seconds
43
+ D) 60 seconds
44
+
45
+ ---
46
+
47
+ ### Q4: Hooks - Blocking vs Warning
48
+ Which of these hooks BLOCKS the operation (vs just warning)?
49
+
50
+ A) Console.log warning
51
+ B) Credential check
52
+ C) Tmux reminder
53
+ D) Git push review
54
+
55
+ ---
56
+
57
+ ### Q5: Hook Lifecycle
58
+ Which hook type fires BEFORE a tool executes?
59
+
60
+ A) PostToolUse
61
+ B) PreToolUse
62
+ C) SessionEnd
63
+ D) Stop
64
+
65
+ ---
66
+
67
+ ### Q6: Skills Count
68
+ How many skills are included in the CloudStream Claude Tools system?
69
+
70
+ A) 8
71
+ B) 12
72
+ C) 16
73
+ D) 20
74
+
75
+ ---
76
+
77
+ ### Q7: Rules Loading
78
+ In what order do rules load (from first to last)?
79
+
80
+ A) Directory CLAUDE.md → Project → Global
81
+ B) Project CLAUDE.md → Global → Directory
82
+ C) Global CLAUDE.md → Project → Directory
83
+ D) They all load simultaneously
84
+
85
+ ---
86
+
87
+ ### Q8: Test Coverage Target
88
+ What is the test coverage target for the Golden Standard?
89
+
90
+ A) 60%+
91
+ B) 70%+
92
+ C) 80%+
93
+ D) 90%+
94
+
95
+ ---
96
+
97
+ ### Q9: Client Management
98
+ Which command generates comprehensive documentation when transitioning a client?
99
+
100
+ A) /client-switch
101
+ B) /handoff
102
+ C) /document
103
+ D) /export
104
+
105
+ ---
106
+
107
+ ### Q10: E2E Testing
108
+ Which command generates and runs end-to-end Playwright tests?
109
+
110
+ A) /tdd
111
+ B) /test-coverage
112
+ C) /e2e
113
+ D) /verify
114
+
115
+ ---
116
+
117
+ ## Answer Key
118
+
119
+ *(For self-assessment - do not look before attempting)*
120
+
121
+ <details>
122
+ <summary>Click to reveal answers</summary>
123
+
124
+ 1. **C** - hipaa
125
+ 2. **B** - 5,000
126
+ 3. **C** - 40 seconds
127
+ 4. **B** - Credential check (blocks on secrets found)
128
+ 5. **B** - PreToolUse
129
+ 6. **C** - 16
130
+ 7. **C** - Global CLAUDE.md → Project → Directory
131
+ 8. **C** - 80%+
132
+ 9. **B** - /handoff
133
+ 10. **C** - /e2e
134
+
135
+ **Passing Score: 8/10 (80%)**
136
+
137
+ </details>
138
+
139
+ ---
140
+
141
+ ## Results
142
+
143
+ After checking your answers:
144
+
145
+ - **8-10 correct**: PASSED - Proceed to Day 7 (Graduation)
146
+ - **6-7 correct**: Review Days 4-6, retake assessment
147
+ - **Below 6**: Review material more thoroughly, retake assessment
148
+
149
+ ---
150
+
151
+ ## Retake Policy
152
+
153
+ - Maximum 2 retakes allowed
154
+ - Review relevant material before retaking
155
+ - Same questions with shuffled order
156
+
157
+ If you fail after 2 retakes, complete the standard track exercises for Days 4-6 before attempting again.
158
+
159
+ ---
160
+
161
+ ## Additional Study Resources
162
+
163
+ If you struggled with specific topics:
164
+
165
+ | Topic | Review |
166
+ |-------|--------|
167
+ | Compliance | Day 4, Part 1 + skills/compliance-patterns |
168
+ | Zoho | Day 4, Part 2-3 + skills/zoho-patterns |
169
+ | Hooks | Day 5, Part 1 + hooks/hooks.json |
170
+ | Skills | Day 5, Part 3 + skills/ directory |
171
+ | Testing | Day 6, Part 2-3 + /tdd help |
172
+
173
+ ---
174
+
175
+ **Run `/tutorial checkpoint-2 submit` to submit your answers**