vector-cadence-skills 0.1.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 (36) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/CONTRIBUTING.md +69 -0
  3. package/DOCUMENTATION.md +1081 -0
  4. package/README.md +146 -0
  5. package/examples/bug-debug-lifecycle.md +39 -0
  6. package/examples/feature-lifecycle.md +54 -0
  7. package/examples/harness-subagent-plan.md +39 -0
  8. package/examples/vertical-slices.md +43 -0
  9. package/package.json +39 -0
  10. package/references/architecture-overview.md +279 -0
  11. package/references/artifact-model.md +20 -0
  12. package/references/final-skill-quality-bar.md +33 -0
  13. package/references/minimal-mode.md +50 -0
  14. package/references/source-integration-map.md +159 -0
  15. package/references/subagent-policy.md +30 -0
  16. package/references/tiering.md +23 -0
  17. package/scripts/validate-skills.mjs +187 -0
  18. package/skills/vc-align/SKILL.md +124 -0
  19. package/skills/vc-architecture/SKILL.md +131 -0
  20. package/skills/vc-debug/SKILL.md +154 -0
  21. package/skills/vc-execute/SKILL.md +166 -0
  22. package/skills/vc-handoff/SKILL.md +127 -0
  23. package/skills/vc-harness-architect/SKILL.md +138 -0
  24. package/skills/vc-learn/SKILL.md +123 -0
  25. package/skills/vc-orient/SKILL.md +108 -0
  26. package/skills/vc-plan/SKILL.md +156 -0
  27. package/skills/vc-prototype/SKILL.md +103 -0
  28. package/skills/vc-review/SKILL.md +156 -0
  29. package/skills/vc-setup/SKILL.md +126 -0
  30. package/skills/vc-skill-author/SKILL.md +131 -0
  31. package/skills/vc-slice/SKILL.md +121 -0
  32. package/skills/vc-triage/SKILL.md +149 -0
  33. package/skills.json +98 -0
  34. package/templates/AGENTS.md +82 -0
  35. package/templates/CONTEXT.md +23 -0
  36. package/templates/vc-budget.yml +4 -0
@@ -0,0 +1,1081 @@
1
+ # Vector Cadence Skills — Final Documentation
2
+
3
+ ## Status
4
+
5
+ This document describes the finalized production-oriented Vector Cadence skill suite in `skills/vc-integrated-skills/`.
6
+
7
+ The suite started as an integration of Matt Pocock’s engineering skills and Compound Engineering’s skills, but the final version no longer exposes that integration history inside each runtime skill. Runtime skills are now concise operating procedures. Source comparisons, rationale, and architecture decisions live in documentation and reference files.
8
+
9
+ That final shape is intentional:
10
+
11
+ - `SKILL.md` files are for agents at runtime.
12
+ - Documentation files are for humans, maintainers, and future skill authors.
13
+ - Extension/harness behavior is not pretended into markdown skills.
14
+
15
+ ---
16
+
17
+ ## Table of Contents
18
+
19
+ 1. Executive Summary
20
+ 2. Final Design Principle
21
+ 3. What Changed From the Draft Version
22
+ 4. Skill Catalog
23
+ 5. Runtime Skill Structure
24
+ 6. Lifecycle Workflows
25
+ 7. Skill Boundaries
26
+ 8. Artifact Architecture
27
+ 9. Tiering and Process Control
28
+ 10. Subagent Policy
29
+ 11. Harness Architecture Strategy
30
+ 12. DeepSeek / Reasonix Boundary
31
+ 13. Code Search and Taste Boundaries
32
+ 14. Support Files Added
33
+ 15. Validation and Quality Bar
34
+ 16. How to Use the Suite
35
+ 17. How to Maintain the Suite
36
+ 18. Roadmap
37
+ 19. Final Recommendation
38
+
39
+ ---
40
+
41
+ ## 1. Executive Summary
42
+
43
+ Vector Cadence Skills is a production-ready skill suite for agentic software engineering workflows.
44
+
45
+ Its purpose is to make AI-assisted engineering safer and more reusable by giving agents clear workflows for:
46
+
47
+ - setup,
48
+ - orientation,
49
+ - alignment,
50
+ - planning,
51
+ - issue slicing,
52
+ - triage,
53
+ - prototyping,
54
+ - execution,
55
+ - debugging,
56
+ - review,
57
+ - architecture,
58
+ - learning,
59
+ - handoff,
60
+ - harness design,
61
+ - skill authoring.
62
+
63
+ The central architecture is lifecycle ownership:
64
+
65
+ ```text
66
+ setup → orient → align → plan → review → slice → triage → execute → review → learn
67
+ ```
68
+
69
+ Not every task uses the full lifecycle. Vector Cadence is designed to scale process up or down according to risk.
70
+
71
+ Small known change:
72
+
73
+ ```text
74
+ vc-execute → optional vc-review
75
+ ```
76
+
77
+ Bug:
78
+
79
+ ```text
80
+ vc-debug → vc-review → optional vc-learn
81
+ ```
82
+
83
+ Harness work:
84
+
85
+ ```text
86
+ vc-harness-architect → vc-plan → vc-slice → vc-execute → vc-review
87
+ ```
88
+
89
+ The final suite contains:
90
+
91
+ - 15 runtime skills,
92
+ - machine-readable `skills.json`,
93
+ - setup templates,
94
+ - validation script,
95
+ - examples,
96
+ - reference docs,
97
+ - changelog,
98
+ - contributing guide,
99
+ - comprehensive documentation.
100
+
101
+ ---
102
+
103
+ ## 2. Final Design Principle
104
+
105
+ The final design principle is:
106
+
107
+ > Keep runtime skills operational. Keep rationale in documentation.
108
+
109
+ Earlier drafts included a section called `Integrated source decision` inside every skill. That section explained whether a skill came primarily from Pocock, Compound, or Vc-specific reasoning.
110
+
111
+ That was useful during design review, but it was not ideal for production runtime skills.
112
+
113
+ Reasons:
114
+
115
+ 1. It consumed prompt tokens.
116
+ 2. It made skills feel like research notes instead of productized workflows.
117
+ 3. It could distract the agent into thinking about upstream origins instead of executing the workflow.
118
+ 4. It duplicated information already better captured in documentation.
119
+
120
+ So the final version removes `Integrated source decision` from runtime skills.
121
+
122
+ The source rationale now lives in:
123
+
124
+ - `DOCUMENTATION.md`,
125
+ - `references/source-integration-map.md`,
126
+ - `references/architecture-overview.md`.
127
+
128
+ Runtime skills now focus on:
129
+
130
+ - purpose,
131
+ - operating model,
132
+ - when to use,
133
+ - when to skip,
134
+ - inputs,
135
+ - workflow,
136
+ - output,
137
+ - guardrails.
138
+
139
+ ---
140
+
141
+ ## 3. What Changed From the Draft Version
142
+
143
+ ### 3.1 Removed source-rationale sections from runtime skills
144
+
145
+ Removed from all `vc-*/SKILL.md` files:
146
+
147
+ ```md
148
+ ## Integrated source decision
149
+ ```
150
+
151
+ Replaced with concise operational sections such as:
152
+
153
+ ```md
154
+ ## Operating model
155
+ ```
156
+
157
+ Example idea:
158
+
159
+ ```md
160
+ Use branch/worktree safety, task tracking, one-behavior-at-a-time TDD for behavior changes, continuous validation, and scoped subagents only when their file access is safe.
161
+ ```
162
+
163
+ This is more useful to the agent than a historical explanation of where the workflow came from.
164
+
165
+ ### 3.2 Normalized skill structure
166
+
167
+ All runtime skills now generally follow this shape:
168
+
169
+ ```md
170
+ ---
171
+ name: vc-example
172
+ description: Does X. Use when Y.
173
+ ---
174
+
175
+ # Vector Cadence Example
176
+
177
+ ## Purpose
178
+ ## Operating model
179
+ ## When to use
180
+ ## When to skip
181
+ ## Inputs
182
+ ## Workflow
183
+ ## Output
184
+ ## Guardrails
185
+ ```
186
+
187
+ Some simple skills omit sections that would be redundant, but the main structure is consistent.
188
+
189
+ ### 3.3 Added explicit “When to skip” sections
190
+
191
+ This is important because Vector Cadence should not over-process trivial work.
192
+
193
+ Examples:
194
+
195
+ - `vc-align` skips typos and clear one-file edits.
196
+ - `vc-plan` skips bugs without root cause.
197
+ - `vc-learn` skips trivial fixes and unverified solutions.
198
+ - `vc-execute` skips vague or unsafe work.
199
+
200
+ ### 3.4 Tightened next-skill routing
201
+
202
+ Each skill’s output now suggests the likely next skill, such as:
203
+
204
+ ```md
205
+ **Recommended next skill:** vc-review | vc-learn
206
+ ```
207
+
208
+ This helps workflows compose without each skill absorbing the next skill’s responsibility.
209
+
210
+ ### 3.5 Clarified skill-only versus extension-backed behavior
211
+
212
+ The final docs now explicitly say that markdown skills do not create tools by themselves.
213
+
214
+ For example:
215
+
216
+ - subagents require harness/extension support,
217
+ - DeepSeek telemetry requires provider/extension support,
218
+ - Taste requires explicit tool/extension support,
219
+ - code search indexing belongs in an extension,
220
+ - permission gates belong in the harness or extension layer.
221
+
222
+ Skills can say what to do **if the harness provides a tool**. They should not pretend the tool exists.
223
+
224
+ ### 3.6 Added support package files
225
+
226
+ Added:
227
+
228
+ - `skills.json`,
229
+ - templates,
230
+ - validation script,
231
+ - examples,
232
+ - `CHANGELOG.md`,
233
+ - `CONTRIBUTING.md`,
234
+ - additional references.
235
+
236
+ These make the suite closer to something publishable as `vc-skills`.
237
+
238
+ ---
239
+
240
+ ## 4. Skill Catalog
241
+
242
+ | Skill | Purpose |
243
+ |---|---|
244
+ | `vc-setup` | Bootstrap repo instructions, docs, labels, validation commands, and optional budget guard. |
245
+ | `vc-orient` | Map a codebase area before planning, debugging, or editing. |
246
+ | `vc-align` | Clarify product/domain intent, risks, terminology, and rejected alternatives. |
247
+ | `vc-plan` | Write implementation-ready technical plans with units, files, tests, and verification. |
248
+ | `vc-slice` | Convert plans into vertical issues or agent briefs. |
249
+ | `vc-triage` | Route issues to agent, human, needs-info, or wontfix states. |
250
+ | `vc-prototype` | Build a throwaway artifact to answer one design question. |
251
+ | `vc-execute` | Implement clear work with workspace safety, TDD, and tiered validation. |
252
+ | `vc-debug` | Diagnose bugs with a feedback-loop-first and causal-chain process. |
253
+ | `vc-review` | Review code/docs against Standards and Spec with severity/confidence routing. |
254
+ | `vc-architecture` | Improve application module boundaries, seams, and testability. |
255
+ | `vc-learn` | Capture reusable lessons after verified non-trivial work. |
256
+ | `vc-handoff` | Compact state for another agent or future session. |
257
+ | `vc-harness-architect` | Design Vector Cadence/pi harness, extensions, subagents, providers, search, and permissions. |
258
+ | `vc-skill-author` | Create or improve Vc-compatible skills. |
259
+
260
+ ---
261
+
262
+ ## 5. Runtime Skill Structure
263
+
264
+ ### 5.1 Frontmatter
265
+
266
+ Every skill starts with:
267
+
268
+ ```md
269
+ ---
270
+ name: vc-example
271
+ description: Does X. Use when Y.
272
+ ---
273
+ ```
274
+
275
+ The `name` must match the folder name.
276
+
277
+ The `description` is especially important because skill loaders use it to decide when to load the skill.
278
+
279
+ Description rules:
280
+
281
+ - under 1024 characters,
282
+ - concrete and trigger-rich,
283
+ - says what the skill does,
284
+ - includes `Use when`,
285
+ - avoids vague “helps with” wording.
286
+
287
+ ### 5.2 Purpose
288
+
289
+ Short statement of why the skill exists.
290
+
291
+ ### 5.3 Operating model
292
+
293
+ The runtime replacement for the old source-decision section.
294
+
295
+ It tells the agent how to think while using the skill, without explaining upstream history.
296
+
297
+ ### 5.4 When to use
298
+
299
+ Concrete triggers.
300
+
301
+ ### 5.5 When to skip
302
+
303
+ Prevents overuse and process bloat.
304
+
305
+ ### 5.6 Inputs
306
+
307
+ Lists expected inputs when relevant.
308
+
309
+ ### 5.7 Workflow
310
+
311
+ Step-by-step operating procedure.
312
+
313
+ ### 5.8 Output
314
+
315
+ Standardized summary format and next skill routing.
316
+
317
+ ### 5.9 Guardrails
318
+
319
+ Hard boundaries and common failure prevention.
320
+
321
+ ---
322
+
323
+ ## 6. Lifecycle Workflows
324
+
325
+ ### 6.1 Full feature workflow
326
+
327
+ ```text
328
+ vc-align
329
+ → vc-plan
330
+ → vc-review optional for important plans
331
+ → vc-slice
332
+ → vc-triage
333
+ → vc-execute
334
+ → vc-review
335
+ → vc-learn only if reusable lesson exists
336
+ ```
337
+
338
+ Use this for meaningful features, cross-cutting work, or work that will enter an issue queue.
339
+
340
+ ### 6.2 Minimal workflow
341
+
342
+ ```text
343
+ vc-execute → optional vc-review
344
+ ```
345
+
346
+ Use for:
347
+
348
+ - typos,
349
+ - copy tweaks,
350
+ - mechanical renames,
351
+ - obvious one-file fixes,
352
+ - clear small config changes.
353
+
354
+ See `references/minimal-mode.md`.
355
+
356
+ ### 6.3 Orientation workflow
357
+
358
+ ```text
359
+ vc-orient → vc-plan | vc-execute | vc-architecture | vc-debug
360
+ ```
361
+
362
+ Use when the agent or user needs a system map before acting.
363
+
364
+ ### 6.4 Bug workflow
365
+
366
+ ```text
367
+ vc-debug → vc-review → optional vc-learn
368
+ ```
369
+
370
+ If the diagnosis produces clear work but no fix is applied, insert `vc-execute`:
371
+
372
+ ```text
373
+ vc-debug → vc-execute → vc-review → optional vc-learn
374
+ ```
375
+
376
+ ### 6.5 Prototype workflow
377
+
378
+ ```text
379
+ vc-align → vc-prototype → vc-plan
380
+ ```
381
+
382
+ Use when a design question should be answered before production architecture is chosen.
383
+
384
+ ### 6.6 Application architecture workflow
385
+
386
+ ```text
387
+ vc-orient → vc-architecture → vc-plan → vc-slice → vc-execute
388
+ ```
389
+
390
+ Use for codebase module boundaries, testability, interfaces, and refactor strategy.
391
+
392
+ ### 6.7 Harness architecture workflow
393
+
394
+ ```text
395
+ vc-harness-architect → vc-plan → vc-slice → vc-execute → vc-review
396
+ ```
397
+
398
+ Use for Vector Cadence/pi harness, extension, subagent, provider, cache, search, permission, and Taste-related architecture.
399
+
400
+ ---
401
+
402
+ ## 7. Skill Boundaries
403
+
404
+ Clear boundaries prevent the suite from becoming another pile of overlapping blocks.
405
+
406
+ ### 7.1 `vc-align` vs `vc-plan`
407
+
408
+ `vc-align` answers:
409
+
410
+ - what should we build?
411
+ - who is it for?
412
+ - what should we fear?
413
+ - what terms and constraints matter?
414
+ - what alternatives were rejected?
415
+
416
+ `vc-plan` answers:
417
+
418
+ - how should it be implemented?
419
+ - what files/modules are likely involved?
420
+ - what units should be built?
421
+ - what tests prove it?
422
+ - what risks and rollout notes matter?
423
+
424
+ Alignment does not write implementation units. Planning does not do open-ended product discovery.
425
+
426
+ ### 7.2 `vc-plan` vs `vc-slice`
427
+
428
+ A plan unit is a technical implementation chunk.
429
+
430
+ A slice is an issue-ready vertical outcome.
431
+
432
+ This distinction is critical.
433
+
434
+ Bad issue decomposition:
435
+
436
+ ```text
437
+ 1. Build database
438
+ 2. Build API
439
+ 3. Build UI
440
+ 4. Write tests
441
+ ```
442
+
443
+ Good vertical slicing:
444
+
445
+ ```text
446
+ 1. User can create one saved search and see it in the list
447
+ 2. User gets validation for duplicate saved-search names
448
+ 3. User can edit a saved search query
449
+ 4. User can delete a saved search with confirmation
450
+ ```
451
+
452
+ ### 7.3 `vc-triage` vs `vc-execute`
453
+
454
+ `vc-triage` decides readiness.
455
+
456
+ `vc-execute` implements ready work.
457
+
458
+ If acceptance criteria or confidence are weak, the issue should not be routed to autonomous execution.
459
+
460
+ ### 7.4 `vc-debug` vs `vc-execute`
461
+
462
+ `vc-debug` finds root cause.
463
+
464
+ `vc-execute` implements known work.
465
+
466
+ Do not use execution as a debugging substitute.
467
+
468
+ ### 7.5 `vc-review` vs `vc-learn`
469
+
470
+ `vc-review` evaluates current work.
471
+
472
+ `vc-learn` captures future reusable knowledge.
473
+
474
+ Do not document every review finding. Capture only lessons likely to be searched for later.
475
+
476
+ ### 7.6 `vc-architecture` vs `vc-harness-architect`
477
+
478
+ `vc-architecture` is for application code architecture:
479
+
480
+ - modules,
481
+ - seams,
482
+ - interfaces,
483
+ - refactors,
484
+ - testability.
485
+
486
+ `vc-harness-architect` is for Vector Cadence/pi harness architecture:
487
+
488
+ - wrapper CLI,
489
+ - extensions,
490
+ - subagents,
491
+ - provider/cache strategy,
492
+ - skill injection,
493
+ - code search,
494
+ - permissions,
495
+ - Taste integration.
496
+
497
+ This split was a final cleanup decision because the earlier `vc-architecture` mixed app architecture and harness architecture too much.
498
+
499
+ ---
500
+
501
+ ## 8. Artifact Architecture
502
+
503
+ Vector Cadence artifacts should answer distinct future questions.
504
+
505
+ | Artifact | Question answered |
506
+ |---|---|
507
+ | `AGENTS.md` | How should agents operate in this repo? |
508
+ | `CONTEXT.md` | What are domain things called? |
509
+ | `STRATEGY.md` | What product outcome matters? |
510
+ | `docs/align-notes/` | What did alignment reject, fear, or assume? |
511
+ | `docs/brainstorms/` | What should be built from a product/user view? |
512
+ | `docs/plans/` | How should it be implemented? |
513
+ | issue tracker or `docs/issues/` | What can an agent/human pick up? |
514
+ | `docs/solutions/` | What solved problem should future agents reuse? |
515
+ | `docs/knowledge/` | What was planned, what shipped, and what changed? |
516
+ | `docs/adr/` | Which durable trade-off should future agents respect? |
517
+ | `.out-of-scope/` | Which rejected idea should not be rediscovered? |
518
+ | `docs/handoffs/` | What state should a future agent resume from? |
519
+
520
+ See `references/artifact-model.md`.
521
+
522
+ ### 8.1 `CONTEXT.md`
523
+
524
+ Domain glossary only.
525
+
526
+ Good:
527
+
528
+ ```md
529
+ ### Subscription
530
+
531
+ Definition: A paid entitlement that grants access to...
532
+ Aliases to avoid: Plan, Package
533
+ Related terms: Account, Billing Profile
534
+ ```
535
+
536
+ Bad:
537
+
538
+ ```md
539
+ Add the subscription endpoint next sprint.
540
+ ```
541
+
542
+ Implementation plans do not belong in `CONTEXT.md`.
543
+
544
+ ### 8.2 ADRs
545
+
546
+ ADRs should be sparse.
547
+
548
+ Create an ADR only when a decision is:
549
+
550
+ 1. hard to reverse,
551
+ 2. surprising without context,
552
+ 3. chosen after real trade-offs.
553
+
554
+ ### 8.3 Align notes
555
+
556
+ `docs/align-notes/` captures the “grilling shadow”:
557
+
558
+ - rejected alternatives,
559
+ - fear points,
560
+ - assumptions,
561
+ - open questions,
562
+ - non-ADR context that still matters.
563
+
564
+ ### 8.4 Solution docs
565
+
566
+ `docs/solutions/` is for solved-problem reuse.
567
+
568
+ Use `vc-learn` only when the lesson has future retrieval value.
569
+
570
+ Good lesson:
571
+
572
+ > Webhook handlers must use provider event ID as the idempotency key, not invoice ID.
573
+
574
+ Bad lesson:
575
+
576
+ > Fixed duplicate invoice bug.
577
+
578
+ ---
579
+
580
+ ## 9. Tiering and Process Control
581
+
582
+ Vector Cadence uses tiers to match process to risk.
583
+
584
+ | Tier | Use for | Process |
585
+ |---|---|---|
586
+ | T1 | known, low-risk, small blast radius | lean execution and focused validation |
587
+ | T2 | moderate ambiguity or unfamiliar area | alignment, plan, focused research, review gate |
588
+ | T3 | high-risk or cross-cutting | gated deep research, doc review, human pause, deep review |
589
+
590
+ T3 signals:
591
+
592
+ - auth or permissions,
593
+ - payments or billing,
594
+ - PII, privacy, or compliance,
595
+ - data migrations or backfills,
596
+ - public APIs or CLI contracts,
597
+ - multi-service behavior,
598
+ - harness agent loop,
599
+ - subagent write behavior,
600
+ - cache-first provider architecture.
601
+
602
+ See `references/tiering.md`.
603
+
604
+ The point of tiering is not ceremony. It is judgment.
605
+
606
+ - Do not over-process T1 work.
607
+ - Do not under-research T3 work.
608
+
609
+ ---
610
+
611
+ ## 10. Subagent Policy
612
+
613
+ Subagents are a harness feature, not a markdown-only feature.
614
+
615
+ Runtime skills use language like:
616
+
617
+ ```text
618
+ If the harness provides subagents...
619
+ ```
620
+
621
+ because the skill pack itself cannot create a subagent runtime.
622
+
623
+ ### 10.1 Rollout stages
624
+
625
+ 1. Read-only research/review subagents.
626
+ 2. Test-running subagents with bounded commands.
627
+ 3. Serial implementation subagents.
628
+ 4. Parallel write subagents with isolated worktrees or disjoint file scopes.
629
+
630
+ ### 10.2 Safety rules
631
+
632
+ - Parent orchestrator owns final merge and validation.
633
+ - Review/research subagents are read-only by default.
634
+ - Shared-checkout subagents must not stage, commit, or run whole-suite tests concurrently.
635
+ - Parallel write subagents require isolation or provably disjoint scopes.
636
+ - Every subagent needs a bounded task and output contract.
637
+
638
+ See `references/subagent-policy.md`.
639
+
640
+ ---
641
+
642
+ ## 11. Harness Architecture Strategy
643
+
644
+ Vector Cadence should be built as a pi-first modular harness, not a deep fork.
645
+
646
+ Recommended package split:
647
+
648
+ ```text
649
+ @your-scope/vc-core
650
+ @your-scope/vc-skills
651
+ @your-scope/vc-extensions
652
+ @your-scope/vc-cli
653
+ ```
654
+
655
+ ### 11.1 `vc-core`
656
+
657
+ Shared code:
658
+
659
+ - config parsing,
660
+ - type definitions,
661
+ - artifact helpers,
662
+ - tier/budget helpers,
663
+ - logging utilities.
664
+
665
+ ### 11.2 `vc-skills`
666
+
667
+ This skill suite:
668
+
669
+ - runtime skills,
670
+ - templates,
671
+ - examples,
672
+ - references,
673
+ - validation script,
674
+ - documentation.
675
+
676
+ ### 11.3 `vc-extensions`
677
+
678
+ Tools and behavior:
679
+
680
+ - subagents,
681
+ - code search,
682
+ - DeepSeek telemetry,
683
+ - Taste commands,
684
+ - permission gates,
685
+ - skill injection if needed.
686
+
687
+ ### 11.4 `vc-cli`
688
+
689
+ Wrapper UX:
690
+
691
+ - resolves pi dependency,
692
+ - loads extensions,
693
+ - loads skills,
694
+ - supports curated/composable modes,
695
+ - forwards user arguments.
696
+
697
+ ### 11.5 Curated vs composable
698
+
699
+ Curated mode:
700
+
701
+ ```text
702
+ only Vector Cadence prompts/extensions/tools
703
+ ```
704
+
705
+ Composable mode:
706
+
707
+ ```text
708
+ Vector Cadence plus user/global/project extensions
709
+ ```
710
+
711
+ Recommendation:
712
+
713
+ - composable for ecosystem adoption,
714
+ - curated for reproducibility.
715
+
716
+ ---
717
+
718
+ ## 12. DeepSeek / Reasonix Boundary
719
+
720
+ DeepSeek prefix-cache performance is not just a skill instruction.
721
+
722
+ It depends on request construction:
723
+
724
+ - stable system prompt,
725
+ - stable tool schema order,
726
+ - stable message serialization,
727
+ - stable prefix,
728
+ - careful compaction,
729
+ - volatile scratch kept out of future prefixes.
730
+
731
+ Markdown skills cannot guarantee Reasonix-level cache behavior.
732
+
733
+ Safe staged plan:
734
+
735
+ 1. DeepSeek provider support.
736
+ 2. Cache telemetry.
737
+ 3. Prompt/tool stability improvements.
738
+ 4. Optional Reasonix backend/subagent for cache-sensitive tasks.
739
+ 5. Custom cache-first loop only if measurements justify it.
740
+
741
+ Safe promise:
742
+
743
+ > Vector Cadence supports DeepSeek and reports cache telemetry where available.
744
+
745
+ Unsafe early promise:
746
+
747
+ > Vector Cadence guarantees Reasonix-level cache hit rates.
748
+
749
+ Do not make the unsafe promise until telemetry proves it.
750
+
751
+ ---
752
+
753
+ ## 13. Code Search and Taste Boundaries
754
+
755
+ ### 13.1 Code search
756
+
757
+ Code search belongs in an extension/tool layer.
758
+
759
+ Progression:
760
+
761
+ 1. regex/symbol wrapper,
762
+ 2. persistent local index,
763
+ 3. semantic/hybrid ranking,
764
+ 4. background watcher,
765
+ 5. subagent-friendly evidence bundles.
766
+
767
+ A skill can instruct when to use search. It does not implement the index.
768
+
769
+ ### 13.2 Taste
770
+
771
+ Taste/preference integration should be opt-in.
772
+
773
+ Start with explicit commands in an extension:
774
+
775
+ ```text
776
+ taste pull <profile>
777
+ taste push --all
778
+ taste status
779
+ ```
780
+
781
+ Then optional prompt injection:
782
+
783
+ - small summary,
784
+ - only when relevant,
785
+ - after explicit opt-in.
786
+
787
+ Do not hide Taste or telemetry behind normal skill execution.
788
+
789
+ ---
790
+
791
+ ## 14. Support Files Added
792
+
793
+ ### 14.1 `skills.json`
794
+
795
+ Machine-readable index of skill names, paths, categories, and phases.
796
+
797
+ This is useful for a future Vector Cadence CLI or installer.
798
+
799
+ ### 14.2 Templates
800
+
801
+ Templates live in `templates/`:
802
+
803
+ - `AGENTS.md`,
804
+ - `CONTEXT.md`,
805
+ - `vc-budget.yml`.
806
+
807
+ ### 14.3 Validation script
808
+
809
+ Script:
810
+
811
+ ```text
812
+ scripts/validate-skills.mjs
813
+ ```
814
+
815
+ It checks:
816
+
817
+ - frontmatter exists,
818
+ - `name` matches folder,
819
+ - description exists and is under 1024 chars,
820
+ - description includes `Use when`,
821
+ - required runtime sections exist,
822
+ - broken markdown links,
823
+ - banned legacy runtime command names,
824
+ - leftover `Integrated source decision`,
825
+ - line-count warnings.
826
+
827
+ ### 14.4 Examples
828
+
829
+ Examples live in `examples/`:
830
+
831
+ - `feature-lifecycle.md`,
832
+ - `bug-debug-lifecycle.md`,
833
+ - `harness-subagent-plan.md`,
834
+ - `vertical-slices.md`.
835
+
836
+ ### 14.5 Reference docs
837
+
838
+ Important references:
839
+
840
+ - `references/architecture-overview.md`,
841
+ - `references/source-integration-map.md`,
842
+ - `references/minimal-mode.md`,
843
+ - `references/final-skill-quality-bar.md`,
844
+ - `references/artifact-model.md`,
845
+ - `references/subagent-policy.md`,
846
+ - `references/tiering.md`.
847
+
848
+ ---
849
+
850
+ ## 15. Validation and Quality Bar
851
+
852
+ Validation command from the workspace root used in this environment:
853
+
854
+ ```bash
855
+ node vc-integrated-skills/scripts/validate-skills.mjs
856
+ ```
857
+
858
+ If running from inside `vc-integrated-skills`, this also works:
859
+
860
+ ```bash
861
+ node scripts/validate-skills.mjs
862
+ ```
863
+
864
+ The current finalization pass produced:
865
+
866
+ ```text
867
+ Checked 15 skills.
868
+ Validation passed.
869
+ ```
870
+
871
+ Final runtime skill line counts after cleanup:
872
+
873
+ | Skill | Lines |
874
+ |---|---:|
875
+ | `vc-align` | 124 |
876
+ | `vc-architecture` | 131 |
877
+ | `vc-debug` | 154 |
878
+ | `vc-execute` | 166 |
879
+ | `vc-handoff` | 127 |
880
+ | `vc-harness-architect` | 138 |
881
+ | `vc-learn` | 123 |
882
+ | `vc-orient` | 108 |
883
+ | `vc-plan` | 156 |
884
+ | `vc-prototype` | 103 |
885
+ | `vc-review` | 156 |
886
+ | `vc-setup` | 126 |
887
+ | `vc-skill-author` | 131 |
888
+ | `vc-slice` | 121 |
889
+ | `vc-triage` | 149 |
890
+
891
+ Runtime skill docs total:
892
+
893
+ ```text
894
+ 2,013 lines
895
+ ```
896
+
897
+ All runtime skills are under the validator’s 170-line warning threshold.
898
+
899
+ See `references/final-skill-quality-bar.md`.
900
+
901
+ ---
902
+
903
+ ## 16. How to Use the Suite
904
+
905
+ ### 16.1 Today
906
+
907
+ This folder is a skill suite. Load or copy the `vc-*` skill folders into any skill-aware harness.
908
+
909
+ Use the README and templates to bootstrap a project.
910
+
911
+ ### 16.2 Future CLI
912
+
913
+ The future Vector Cadence CLI should use:
914
+
915
+ ```text
916
+ @your-scope/vc-skills
917
+ ```
918
+
919
+ as its bundled skill package.
920
+
921
+ Potential advanced install shape:
922
+
923
+ ```text
924
+ @your-scope/vc-core
925
+ @your-scope/vc-skills
926
+ @your-scope/vc-extensions
927
+ @your-scope/vc-cli
928
+ ```
929
+
930
+ ### 16.3 Slash command convention
931
+
932
+ Canonical skill names are folder/frontmatter names:
933
+
934
+ ```text
935
+ vc-align
936
+ vc-plan
937
+ vc-execute
938
+ ```
939
+
940
+ Slash-command harnesses may expose them as:
941
+
942
+ ```text
943
+ /vc-align
944
+ /vc-plan
945
+ /vc-execute
946
+ ```
947
+
948
+ Docs should prefer canonical names unless specifically describing a slash-command UI.
949
+
950
+ ---
951
+
952
+ ## 17. How to Maintain the Suite
953
+
954
+ ### 17.1 Add skills sparingly
955
+
956
+ Do not add a new top-level skill unless it owns a distinct lifecycle responsibility.
957
+
958
+ If it is only:
959
+
960
+ - long rationale → reference doc,
961
+ - deterministic helper → script,
962
+ - new tool → extension,
963
+ - install/default behavior → wrapper CLI.
964
+
965
+ ### 17.2 Keep runtime skills concise
966
+
967
+ Runtime skills should remain operational.
968
+
969
+ Do not reintroduce long upstream source-rationale sections into `SKILL.md`.
970
+
971
+ ### 17.3 Keep source rationale in docs
972
+
973
+ Use `references/source-integration-map.md` to explain upstream sources and integration decisions.
974
+
975
+ ### 17.4 Run validation before publishing
976
+
977
+ Run:
978
+
979
+ ```bash
980
+ node scripts/validate-skills.mjs
981
+ ```
982
+
983
+ from inside `vc-integrated-skills`, or:
984
+
985
+ ```bash
986
+ node vc-integrated-skills/scripts/validate-skills.mjs
987
+ ```
988
+
989
+ from the parent directory.
990
+
991
+ ### 17.5 Keep examples small
992
+
993
+ Examples should teach behavior, not become huge tutorials.
994
+
995
+ ### 17.6 Track changes in `CHANGELOG.md`
996
+
997
+ Update the changelog for any public package release.
998
+
999
+ ---
1000
+
1001
+ ## 18. Roadmap
1002
+
1003
+ ### Phase 1: Finalized skill pack
1004
+
1005
+ Complete.
1006
+
1007
+ Includes:
1008
+
1009
+ - runtime skills,
1010
+ - README,
1011
+ - comprehensive documentation,
1012
+ - references,
1013
+ - examples,
1014
+ - templates,
1015
+ - validation script,
1016
+ - index,
1017
+ - changelog,
1018
+ - contributing guide.
1019
+
1020
+ ### Phase 2: Package as `vc-skills`
1021
+
1022
+ Add package metadata and installer assumptions once the target harness format is chosen.
1023
+
1024
+ ### Phase 3: Build `vc-extensions`
1025
+
1026
+ Start with:
1027
+
1028
+ - `run_subagent`,
1029
+ - DeepSeek cache telemetry,
1030
+ - simple code search,
1031
+ - permission gate,
1032
+ - optional Taste commands.
1033
+
1034
+ ### Phase 4: Build `vc-cli`
1035
+
1036
+ Thin wrapper around pi:
1037
+
1038
+ - load bundled skills,
1039
+ - load bundled extensions,
1040
+ - support curated/composable modes,
1041
+ - forward user args,
1042
+ - expose setup command.
1043
+
1044
+ ### Phase 5: Improve subagent orchestration
1045
+
1046
+ Progress from read-only to isolated write subagents.
1047
+
1048
+ ### Phase 6: Measure cache behavior
1049
+
1050
+ Use telemetry before deciding whether Reasonix/backend/custom-loop work is worth it.
1051
+
1052
+ ### Phase 7: Docs site and examples
1053
+
1054
+ Create install guide, sample repos, and short workflow demos.
1055
+
1056
+ ---
1057
+
1058
+ ## 19. Final Recommendation
1059
+
1060
+ The final skill suite is now in the shape it should be for a publishable skill pack:
1061
+
1062
+ - runtime skills are concise and operational,
1063
+ - rationale is documented outside runtime skill files,
1064
+ - boundaries are clear,
1065
+ - harness features are not falsely represented as markdown-only skills,
1066
+ - setup templates and validation exist,
1067
+ - minimal mode prevents process bloat,
1068
+ - subagent and DeepSeek/Reasonix claims are properly bounded.
1069
+
1070
+ The next best step is not more skill editing. The next best step is packaging and harness implementation:
1071
+
1072
+ 1. Treat `vc-integrated-skills` as the seed for `@your-scope/vc-skills`.
1073
+ 2. Build `vc-extensions` for actual tools.
1074
+ 3. Build a thin pi-first `vc-cli` wrapper.
1075
+ 4. Keep Reasonix/cache-first work behind telemetry and measurement.
1076
+ 5. Keep Taste and telemetry opt-in.
1077
+ 6. Keep future top-level skills rare.
1078
+
1079
+ The rule to preserve:
1080
+
1081
+ > Runtime skills tell the agent what to do. Documentation explains why the skill exists.