-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrouting.yaml
More file actions
579 lines (536 loc) · 18 KB
/
Copy pathrouting.yaml
File metadata and controls
579 lines (536 loc) · 18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
# routing.yaml — Single source of truth for skill composition
#
# This file is a BUILD-TIME artifact. It never ships to users.
# Run `./scripts/generate-routing.sh` to produce:
# 1. Per-group orchestrator SKILL.md files
# 2. "Composes With" sections appended to each skill's SKILL.md
# 3. Validation report (orphan references, missing skills)
#
# Schema:
# groups: Plugin group definitions and their skills
# edges: Directed composition links (from → to)
# chains: Named canonical sequences (ordered lists of skills)
# parallel_sets: Skills that can run concurrently (independent lenses)
groups:
reasoning:
plugin: craftwork-reasoning
orchestrator: reasoning-orchestrator
skills:
- analogical-thinking
- bisociative-creativity
- cognitive-bias-detection
- cynefin-framework
- decision-intelligence
- decision-synthesis
- epistemic-mapping
- evidence-synthesis
- fermi-estimation
- first-principles-thinking
- five-whys-root-cause
- game-theoretic-analysis
- inversion-premortem
- lateral-thinking
- limit-thinking
- probabilistic-thinking
- reasoning-orchestrator
- red-teaming
- retrospective-counterfactual
- scenario-planning
- second-order-thinking
- system-thinking
- theory-of-constraints
context-engineering:
plugin: craftwork-context-engineering
orchestrator: context-engineering-orchestrator
skills:
- agent-instruction-forge
- business-logic-extractor
- context-cartography
- context-compressor
- context-debugging
- context-eval
- context-engineering-orchestrator
- context-gap-analyzer
- deep-document-processor
- edd
- llms-txt-generator
- rule-quality-evaluator
- test-challenger
professional:
plugin: craftwork-professional
orchestrator: professional-orchestrator
skills:
- architecture-evaluation
- argument-craft
- automate
- casual-inference
- code-review-amplifier
- debugging-methodology
- difficult-conversations
- ethical-reasoning
- execution-planning
- experimental-design
- facilitation-design
- fairness-auditing
- financial-modeling
- learning-strategy
- narrative-construction
- negotiation-strategy
- process-design
- professional-orchestrator
- stakeholder-power-mapping
- technical-writing
- topic-explainer
- summarizer
- presentation-craft
- kaizen
- kintsugi
- knowledge-architect
- skill-router
# Directed composition edges
# Each edge: from skill → to skill, with a condition for when it applies.
# cross_group: true means the edge only works when both groups are installed.
edges:
# ── Reasoning: Diagnostic chains ──
- from: system-thinking
to: theory-of-constraints
when: bottleneck identified
- from: system-thinking
to: five-whys-root-cause
when: root cause needed
- from: theory-of-constraints
to: five-whys-root-cause
when: constraint identified, need root cause
- from: five-whys-root-cause
to: decision-synthesis
when: multiple root causes found, need to prioritize
# ── Reasoning: Meta-cognitive ──
- from: epistemic-mapping
to: first-principles-thinking
when: dangerous assumptions found
- from: epistemic-mapping
to: lateral-thinking
when: stuck, need new options
- from: epistemic-mapping
to: cynefin-framework
when: domain complexity unclear
- from: cynefin-framework
to: lateral-thinking
when: domain is complex
- from: cynefin-framework
to: scenario-planning
when: domain is complex
# ── Reasoning: Limit / trajectory analysis ──
- from: limit-thinking
to: second-order-thinking
when: limit identified, need to trace the path to get there
- from: limit-thinking
to: first-principles-thinking
when: ceiling or collapse found, need to question whether the variable is the right one
- from: limit-thinking
to: scenario-planning
when: extremes identified, need to define the scenario space
- from: limit-thinking
to: theory-of-constraints
when: asymptotic ceiling found, need to identify the constraint
- from: limit-thinking
to: decision-synthesis
when: optimal operating point identified, need to decide
- from: second-order-thinking
to: limit-thinking
when: consequence chain suggests a trajectory worth tracing to its extreme
# ── Reasoning: Adversarial validation ──
- from: inversion-premortem
to: cognitive-bias-detection
when: high-severity risks found
- from: red-teaming
to: cognitive-bias-detection
when: high-severity risks found
- from: second-order-thinking
to: decision-synthesis
when: consequence chains mapped
# ── Reasoning: Uncertainty quantification ──
- from: fermi-estimation
to: probabilistic-thinking
when: estimates need probability distributions
- from: probabilistic-thinking
to: scenario-planning
when: probabilities need future scenarios
- from: scenario-planning
to: decision-synthesis
when: scenarios enumerated, need to choose
# ── Reasoning: Strategic ──
- from: game-theoretic-analysis
to: second-order-thinking
when: repeated game dynamics, need reputation effects
- from: game-theoretic-analysis
to: decision-synthesis
when: Nash equilibrium ≠ Pareto optimum, mechanism design needed
# ── Reasoning: Generative ──
- from: lateral-thinking
to: inversion-premortem
when: new options generated, need validation
- from: analogical-thinking
to: inversion-premortem
when: analogy-based design, need stress-test
- from: first-principles-thinking
to: decision-synthesis
when: fundamentals established, need to decide
# ── Reasoning: Convergence ──
- from: decision-synthesis
to: evidence-synthesis
when: key assumption too uncertain, need evidence review
- from: evidence-synthesis
to: decision-synthesis
when: evidence synthesized, decision needed
- from: retrospective-counterfactual
to: five-whys-root-cause
when: systemic cause found
- from: retrospective-counterfactual
to: epistemic-mapping
when: need to map what was unknown
# ── Context Engineering: Lifecycle ──
- from: context-gap-analyzer
to: agent-instruction-forge
when: gaps identified, need to create rules
- from: context-gap-analyzer
to: context-cartography
when: need to design what goes in the context window
- from: agent-instruction-forge
to: rule-quality-evaluator
when: rules created, need scoring
- from: agent-instruction-forge
to: edd
when: rules created, need eval-driven validation
- from: rule-quality-evaluator
to: context-eval
when: rules scored, need outcome measurement
- from: edd
to: context-eval
when: assertions defined, need measurement
- from: context-eval
to: agent-instruction-forge
when: eval shows regression, iterate on rules
# ── Context Engineering: Compression ──
- from: context-cartography
to: context-compressor
when: context designed, need to fit within token budget
- from: context-compressor
to: context-eval
when: context compressed, need to verify agent still performs
- from: llms-txt-generator
to: context-compressor
when: generated doc exceeds token budget
- from: context-compressor
to: edd
when: compressed context needs regression testing
# ── Context Engineering: Documentation ──
- from: deep-document-processor
to: llms-txt-generator
when: document processed, need LLM-friendly output
- from: business-logic-extractor
to: llms-txt-generator
when: domain rules extracted, need LLM-friendly output
- from: business-logic-extractor
to: agent-instruction-forge
when: domain rules extracted, need agent instructions
# ── Context Engineering: Debugging ──
- from: context-debugging
to: context-gap-analyzer
when: failure traced to missing context
- from: context-debugging
to: context-cartography
when: failure traced to context design
- from: context-debugging
to: edd
when: fix applied, need regression test
# ── Context Engineering: Testing ──
- from: test-challenger
to: edd
when: false positives found, need better eval assertions
# ── Professional: Architecture ──
- from: architecture-evaluation
to: execution-planning
when: architecture decided, need implementation plan
cross_group: false
- from: architecture-evaluation
to: argument-craft
when: architecture decided, need stakeholder buy-in
cross_group: false
# ── Professional: Communication ──
- from: argument-craft
to: narrative-construction
when: logic alone won't convince, need storytelling
- from: argument-craft
to: technical-writing
when: argument structured, need to write it up as a document
- from: argument-craft
to: execution-planning
when: argument accepted, need action plan
- from: architecture-evaluation
to: technical-writing
when: architecture decided, need to write ADR or RFC
- from: technical-writing
to: narrative-construction
when: draft done, needs storytelling polish
# ── Professional: Conflict & negotiation ──
- from: negotiation-strategy
to: difficult-conversations
when: emotional stakes or power asymmetry too high
- from: stakeholder-power-mapping
to: negotiation-strategy
when: key stakeholders identified, need negotiation prep
- from: stakeholder-power-mapping
to: difficult-conversations
when: blockers identified, need direct conversation
# ── Professional: Process ──
- from: process-design
to: execution-planning
when: process designed, need implementation
- from: debugging-methodology
to: casual-inference
when: root cause is a causal claim
# ── Professional: Ethics ──
- from: ethical-reasoning
to: fairness-auditing
when: systemic fairness concerns identified
- from: fairness-auditing
to: argument-craft
when: audit complete, need to communicate findings
# ── Professional: Learning & experimentation ──
- from: experimental-design
to: casual-inference
when: experiment complete, need causal analysis
- from: learning-strategy
to: execution-planning
when: learning plan ready, need scheduling
- from: learning-strategy
to: topic-explainer
when: knowledge gap identified, need explanation of a specific concept
- from: topic-explainer
to: technical-writing
when: topic understood, need to document it for others
- from: summarizer
to: technical-writing
when: summary reveals content that needs formal documentation
- from: summarizer
to: argument-craft
when: summary reveals findings that need to be argued to stakeholders
- from: argument-craft
to: presentation-craft
when: argument structured, need to present it to an audience
- from: technical-writing
to: presentation-craft
when: document written, need to present findings or proposal
- from: narrative-construction
to: presentation-craft
when: story crafted, need to build a presentation around it
- from: architecture-evaluation
to: knowledge-architect
when: architecture decided, need to capture the decision as a knowledge artifact
# ── Professional: Continuous improvement ──
- from: kaizen
to: execution-planning
when: improvement backlog prioritized, need action plan
- from: kaizen
to: process-design
when: process waste found, need workflow redesign
# ── Professional: Repair visibility ──
- from: kintsugi
to: knowledge-architect
when: bare scars found, need to capture institutional knowledge
- from: kintsugi
to: technical-writing
when: gilding backlog needs ADRs or formal documentation
- from: knowledge-architect
to: technical-writing
when: knowledge artifact needs to be a formal document (RFC, ADR, runbook)
# ── Professional: Financial ──
- from: financial-modeling
to: scenario-planning
when: model needs stress-testing
cross_group: true
- from: financial-modeling
to: argument-craft
when: numbers ready, need to make the case
# ── Cross-group edges (only active when both groups installed) ──
- from: decision-synthesis
to: argument-craft
when: decision made, needs communication
cross_group: true
- from: decision-synthesis
to: technical-writing
when: decision made, needs to be documented (ADR, RFC, announcement)
cross_group: true
- from: decision-synthesis
to: execution-planning
when: decision made, needs execution
cross_group: true
- from: decision-synthesis
to: ethical-reasoning
when: ethical criteria needed
cross_group: true
- from: decision-synthesis
to: financial-modeling
when: financial criteria needed
cross_group: true
- from: system-thinking
to: architecture-evaluation
when: system mapped, architecture decision needed
cross_group: true
- from: system-thinking
to: process-design
when: system mapped, process redesign needed
cross_group: true
- from: game-theoretic-analysis
to: stakeholder-power-mapping
when: strategic agents identified, need influence mapping
cross_group: true
- from: game-theoretic-analysis
to: negotiation-strategy
when: negotiation needed
cross_group: true
- from: epistemic-mapping
to: learning-strategy
when: knowledge gaps identified
cross_group: true
- from: epistemic-mapping
to: experimental-design
when: hypothesis needs testing
cross_group: true
- from: context-gap-analyzer
to: system-thinking
when: gaps are structural, need system-level analysis
cross_group: true
- from: debugging-methodology
to: five-whys-root-cause
when: root cause is structural
cross_group: true
- from: evidence-synthesis
to: argument-craft
when: evidence ready, need to present findings
cross_group: true
- from: deep-document-processor
to: summarizer
when: document processed, need compressed output
cross_group: true
- from: context-gap-analyzer
to: knowledge-architect
when: implicit knowledge gaps found, need to capture missing knowledge
cross_group: true
# Named canonical chains (documented in README)
chains:
evaluating-something:
description: Understand why a system behaves the way it does
group: reasoning
steps:
- cynefin-framework
- system-thinking
- theory-of-constraints
- five-whys-root-cause
validating-a-plan:
description: Stress-test a plan before committing
group: reasoning
steps:
- epistemic-mapping
- first-principles-thinking
- inversion-premortem
- second-order-thinking
- decision-synthesis
high-stakes-decision:
description: Make a decision under uncertainty with quantification
group: reasoning
steps:
- scenario-planning
- probabilistic-thinking
- fermi-estimation
- red-teaming
- decision-synthesis
stuck-no-options:
description: Generate new options when all current ones feel the same
group: reasoning
steps:
- epistemic-mapping
- lateral-thinking
- analogical-thinking
- first-principles-thinking
scaling-decision:
description: Evaluate what happens when a variable is pushed to its extreme
group: reasoning
steps:
- limit-thinking
- second-order-thinking
- scenario-planning
- decision-synthesis
after-something-went-wrong:
description: Learn from failure
group: reasoning
steps:
- retrospective-counterfactual
- five-whys-root-cause
- epistemic-mapping
- decision-synthesis
context-engineering-lifecycle:
description: Full cycle from audit to validated agent instructions
group: context-engineering
steps:
- context-gap-analyzer
- agent-instruction-forge
- rule-quality-evaluator
- context-eval
- edd
creating-agent-instructions:
description: Create and validate agent instruction files
group: context-engineering
steps:
- context-gap-analyzer
- agent-instruction-forge
- rule-quality-evaluator
- edd
architecture-decision:
description: Evaluate architecture and plan implementation
group: professional
steps:
- architecture-evaluation
- argument-craft
- execution-planning
building-a-business-case:
description: Quantify, model, and argue for a business decision
group: professional
steps:
- financial-modeling
- argument-craft
- execution-planning
navigating-organizational-resistance:
description: Map stakeholders and prepare for difficult conversations
group: professional
steps:
- stakeholder-power-mapping
- negotiation-strategy
- difficult-conversations
# Canonical parallel sets (skills that apply independent lenses)
parallel_sets:
adversarial:
description: Validate a plan before commitment
group: reasoning
skills: [inversion-premortem, red-teaming, second-order-thinking]
generative:
description: Generate new options when stuck
group: reasoning
skills: [lateral-thinking, analogical-thinking, first-principles-thinking]
diagnostic:
description: Understand why a system is failing
group: reasoning
skills: [system-thinking, theory-of-constraints]
uncertainty:
description: Quantify uncertainty for decision-making
group: reasoning
skills: [scenario-planning, probabilistic-thinking, fermi-estimation]
meta-cognitive:
description: Clean the reasoning environment before analysis
group: reasoning
skills: [epistemic-mapping, cognitive-bias-detection, cynefin-framework]
strategic:
description: Analyze multi-agent dynamics and incentives
skills: [game-theoretic-analysis, stakeholder-power-mapping, second-order-thinking]
cross_group: true