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.
- package/CHANGELOG.md +10 -0
- package/CONTRIBUTING.md +69 -0
- package/DOCUMENTATION.md +1081 -0
- package/README.md +146 -0
- package/examples/bug-debug-lifecycle.md +39 -0
- package/examples/feature-lifecycle.md +54 -0
- package/examples/harness-subagent-plan.md +39 -0
- package/examples/vertical-slices.md +43 -0
- package/package.json +39 -0
- package/references/architecture-overview.md +279 -0
- package/references/artifact-model.md +20 -0
- package/references/final-skill-quality-bar.md +33 -0
- package/references/minimal-mode.md +50 -0
- package/references/source-integration-map.md +159 -0
- package/references/subagent-policy.md +30 -0
- package/references/tiering.md +23 -0
- package/scripts/validate-skills.mjs +187 -0
- package/skills/vc-align/SKILL.md +124 -0
- package/skills/vc-architecture/SKILL.md +131 -0
- package/skills/vc-debug/SKILL.md +154 -0
- package/skills/vc-execute/SKILL.md +166 -0
- package/skills/vc-handoff/SKILL.md +127 -0
- package/skills/vc-harness-architect/SKILL.md +138 -0
- package/skills/vc-learn/SKILL.md +123 -0
- package/skills/vc-orient/SKILL.md +108 -0
- package/skills/vc-plan/SKILL.md +156 -0
- package/skills/vc-prototype/SKILL.md +103 -0
- package/skills/vc-review/SKILL.md +156 -0
- package/skills/vc-setup/SKILL.md +126 -0
- package/skills/vc-skill-author/SKILL.md +131 -0
- package/skills/vc-slice/SKILL.md +121 -0
- package/skills/vc-triage/SKILL.md +149 -0
- package/skills.json +98 -0
- package/templates/AGENTS.md +82 -0
- package/templates/CONTEXT.md +23 -0
- package/templates/vc-budget.yml +4 -0
package/README.md
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Vector Cadence Skills
|
|
2
|
+
|
|
3
|
+
Vector Cadence Skills is a production-ready skill suite for agentic software engineering workflows. It integrates the useful disciplines from Matt Pocock’s skills and Compound Engineering without making runtime skills depend on upstream command names or block-by-block composition.
|
|
4
|
+
|
|
5
|
+
## Core idea
|
|
6
|
+
|
|
7
|
+
Each skill owns one lifecycle responsibility:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
setup → orient → align → plan → review → slice → triage → execute → review → learn
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Use only the amount of process the task needs. See `references/minimal-mode.md` for lightweight usage.
|
|
14
|
+
|
|
15
|
+
## Skill catalog
|
|
16
|
+
|
|
17
|
+
| Skill | Purpose |
|
|
18
|
+
|---|---|
|
|
19
|
+
| `vc-setup` | Bootstrap repo instructions, docs, labels, validation commands, and optional budget guard. |
|
|
20
|
+
| `vc-orient` | Map a codebase area before planning, debugging, or editing. |
|
|
21
|
+
| `vc-align` | Clarify product/domain intent, risks, terminology, and rejected alternatives. |
|
|
22
|
+
| `vc-plan` | Write implementation-ready technical plans with units, files, tests, and verification. |
|
|
23
|
+
| `vc-slice` | Convert plans into vertical issues or agent briefs. |
|
|
24
|
+
| `vc-triage` | Route issues to agent, human, needs-info, or wontfix states. |
|
|
25
|
+
| `vc-prototype` | Build a throwaway artifact to answer one design question. |
|
|
26
|
+
| `vc-execute` | Implement clear work with workspace safety, TDD, and tiered validation. |
|
|
27
|
+
| `vc-debug` | Diagnose bugs with a feedback-loop-first and causal-chain process. |
|
|
28
|
+
| `vc-review` | Review code/docs against Standards and Spec with severity/confidence routing. |
|
|
29
|
+
| `vc-architecture` | Improve application module boundaries, seams, and testability. |
|
|
30
|
+
| `vc-learn` | Capture reusable lessons after verified non-trivial work. |
|
|
31
|
+
| `vc-handoff` | Compact state for another agent or future session. |
|
|
32
|
+
| `vc-harness-architect` | Design Vector Cadence/pi harness, extensions, subagents, providers, search, and permissions. |
|
|
33
|
+
| `vc-skill-author` | Create or improve Vc-compatible skills. |
|
|
34
|
+
|
|
35
|
+
## Naming convention
|
|
36
|
+
|
|
37
|
+
Skill folders are named `vc-*`. Slash-command harnesses may expose them as `/vc-*`, but the canonical skill names are the folder/frontmatter names, such as `vc-align`.
|
|
38
|
+
|
|
39
|
+
## Recommended workflows
|
|
40
|
+
|
|
41
|
+
### Normal feature
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
vc-align → vc-plan → vc-review → vc-slice → vc-triage → vc-execute → vc-review → vc-learn
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Use `vc-review` before slicing only for important plans. Use `vc-learn` only when there is a reusable lesson.
|
|
48
|
+
|
|
49
|
+
### Small known change
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
vc-execute → optional vc-review
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Unfamiliar code
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
vc-orient → vc-execute
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Bug
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
vc-debug → vc-review → optional vc-learn
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Use `vc-execute` if the diagnosis produces a plan but the fix has not been applied.
|
|
68
|
+
|
|
69
|
+
### Harness work
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
vc-harness-architect → vc-plan → vc-slice → vc-execute → vc-review
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Artifact model
|
|
76
|
+
|
|
77
|
+
| Artifact | Question answered |
|
|
78
|
+
|---|---|
|
|
79
|
+
| `AGENTS.md` | How should agents operate in this repo? |
|
|
80
|
+
| `CONTEXT.md` | What are domain things called? |
|
|
81
|
+
| `STRATEGY.md` | What product outcome matters? |
|
|
82
|
+
| `docs/align-notes/` | What did alignment reject, fear, or assume? |
|
|
83
|
+
| `docs/brainstorms/` | What should be built from a product/user view? |
|
|
84
|
+
| `docs/plans/` | How should it be implemented? |
|
|
85
|
+
| issue tracker or `docs/issues/` | What can an agent/human pick up? |
|
|
86
|
+
| `docs/solutions/` | What solved problem should future agents reuse? |
|
|
87
|
+
| `docs/knowledge/` | What was planned, what shipped, and what changed? |
|
|
88
|
+
| `docs/adr/` | Which durable trade-off should future agents respect? |
|
|
89
|
+
| `.out-of-scope/` | Which rejected idea should not be rediscovered? |
|
|
90
|
+
| `docs/handoffs/` | What state should a future agent resume from? |
|
|
91
|
+
|
|
92
|
+
## Included support files
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
templates/AGENTS.md
|
|
96
|
+
templates/CONTEXT.md
|
|
97
|
+
templates/vc-budget.yml
|
|
98
|
+
scripts/validate-skills.mjs
|
|
99
|
+
skills.json
|
|
100
|
+
examples/
|
|
101
|
+
references/
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Validation
|
|
105
|
+
|
|
106
|
+
From this directory, run:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
node scripts/validate-skills.mjs
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
The validator checks frontmatter, name/path consistency, description length, broken markdown links, banned legacy runtime command names, and line-count warnings.
|
|
113
|
+
|
|
114
|
+
## When not to use full Vector Cadence
|
|
115
|
+
|
|
116
|
+
Do not run the full lifecycle for:
|
|
117
|
+
|
|
118
|
+
- typos,
|
|
119
|
+
- formatting-only changes,
|
|
120
|
+
- obvious one-file fixes,
|
|
121
|
+
- mechanical renames,
|
|
122
|
+
- throwaway experiments,
|
|
123
|
+
- changes with exact user instructions and clear validation.
|
|
124
|
+
|
|
125
|
+
Use minimal mode instead.
|
|
126
|
+
|
|
127
|
+
## Harness boundary
|
|
128
|
+
|
|
129
|
+
These markdown skills can guide workflows. They do not by themselves provide tools such as subagents, DeepSeek telemetry, Taste integration, code search indexing, or permission gates. Those belong in future Vector Cadence extensions or the Vector Cadence CLI.
|
|
130
|
+
|
|
131
|
+
Recommended package split:
|
|
132
|
+
|
|
133
|
+
```text
|
|
134
|
+
@your-scope/vc-core
|
|
135
|
+
@your-scope/vc-skills
|
|
136
|
+
@your-scope/vc-extensions
|
|
137
|
+
@your-scope/vc-cli
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Documentation
|
|
141
|
+
|
|
142
|
+
- `DOCUMENTATION.md` — comprehensive architecture documentation.
|
|
143
|
+
- `references/architecture-overview.md` — shorter architecture overview.
|
|
144
|
+
- `references/source-integration-map.md` — why each skill chose its source disciplines.
|
|
145
|
+
- `references/minimal-mode.md` — how to use Vector Cadence without excess process.
|
|
146
|
+
- `references/final-skill-quality-bar.md` — publishing checklist.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Example: Bug Debug Lifecycle
|
|
2
|
+
|
|
3
|
+
User request:
|
|
4
|
+
|
|
5
|
+
> Webhook retries are creating duplicate invoices.
|
|
6
|
+
|
|
7
|
+
Recommended path:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
vc-debug → vc-review → vc-learn
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Use `vc-execute` separately if diagnosis produces a clear implementation plan but no fix was applied during debugging.
|
|
14
|
+
|
|
15
|
+
## Debug
|
|
16
|
+
|
|
17
|
+
1. Build a replay loop from captured webhook payload.
|
|
18
|
+
2. Reproduce duplicate invoice creation.
|
|
19
|
+
3. Check environment and config.
|
|
20
|
+
4. Trace idempotency key selection.
|
|
21
|
+
5. Form hypotheses.
|
|
22
|
+
6. Prove root cause.
|
|
23
|
+
7. Write failing integration test.
|
|
24
|
+
8. Apply minimal fix.
|
|
25
|
+
9. Re-run original replay loop.
|
|
26
|
+
|
|
27
|
+
## Review
|
|
28
|
+
|
|
29
|
+
Because this touches payments, review with security, correctness, reliability, and data-integrity lenses.
|
|
30
|
+
|
|
31
|
+
## Learn
|
|
32
|
+
|
|
33
|
+
Good lesson:
|
|
34
|
+
|
|
35
|
+
> Webhook handlers must use provider event ID as the idempotency key, not invoice ID.
|
|
36
|
+
|
|
37
|
+
Bad lesson:
|
|
38
|
+
|
|
39
|
+
> Fixed duplicate invoice bug.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Example: Feature Lifecycle
|
|
2
|
+
|
|
3
|
+
User request:
|
|
4
|
+
|
|
5
|
+
> Add scheduled exports for teams.
|
|
6
|
+
|
|
7
|
+
Recommended path:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
vc-align → vc-plan → vc-review → vc-slice → vc-triage → vc-execute → vc-review → vc-learn
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 1. Align
|
|
14
|
+
|
|
15
|
+
Clarify:
|
|
16
|
+
|
|
17
|
+
- which users need exports,
|
|
18
|
+
- what “scheduled” means,
|
|
19
|
+
- success criteria,
|
|
20
|
+
- rejected alternatives,
|
|
21
|
+
- data retention concerns.
|
|
22
|
+
|
|
23
|
+
Artifacts:
|
|
24
|
+
|
|
25
|
+
- `docs/brainstorms/YYYY-MM-DD-scheduled-exports-requirements.md`
|
|
26
|
+
- `docs/align-notes/scheduled-exports-grilled.md`
|
|
27
|
+
|
|
28
|
+
## 2. Plan
|
|
29
|
+
|
|
30
|
+
Produce U-IDs, files, patterns, test scenarios, and verification.
|
|
31
|
+
|
|
32
|
+
## 3. Slice
|
|
33
|
+
|
|
34
|
+
Good vertical slices:
|
|
35
|
+
|
|
36
|
+
1. User can schedule one export.
|
|
37
|
+
2. User can see export status.
|
|
38
|
+
3. Failed export retries safely.
|
|
39
|
+
4. Admin can inspect export history.
|
|
40
|
+
|
|
41
|
+
Bad horizontal slices:
|
|
42
|
+
|
|
43
|
+
- Create export tables.
|
|
44
|
+
- Build export API.
|
|
45
|
+
- Build export UI.
|
|
46
|
+
- Write tests.
|
|
47
|
+
|
|
48
|
+
## 4. Execute and review
|
|
49
|
+
|
|
50
|
+
Implement AFK slices with TDD. Use review to catch missed permissions, data leaks, N+1s, and missing tests.
|
|
51
|
+
|
|
52
|
+
## 5. Learn
|
|
53
|
+
|
|
54
|
+
Capture only reusable lessons, such as idempotency or retention rules.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Example: Harness Subagent Feature
|
|
2
|
+
|
|
3
|
+
User request:
|
|
4
|
+
|
|
5
|
+
> Add read-only research subagents to the Vector Cadence harness.
|
|
6
|
+
|
|
7
|
+
Recommended path:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
vc-harness-architect → vc-plan → vc-slice → vc-execute → vc-review
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Harness architecture
|
|
14
|
+
|
|
15
|
+
Decisions:
|
|
16
|
+
|
|
17
|
+
- integration level: extension package,
|
|
18
|
+
- first implementation: pi RPC subprocess or harness-supported child session,
|
|
19
|
+
- default permission: read-only,
|
|
20
|
+
- required timeout,
|
|
21
|
+
- structured output contract,
|
|
22
|
+
- raw log path for auditability.
|
|
23
|
+
|
|
24
|
+
## First vertical slices
|
|
25
|
+
|
|
26
|
+
1. Register `run_subagent` tool with schema and timeout requirement.
|
|
27
|
+
2. Enforce read-only default permissions.
|
|
28
|
+
3. Capture raw log and concise summary.
|
|
29
|
+
4. Add validation tests for malformed output and timeout.
|
|
30
|
+
|
|
31
|
+
## Review gates
|
|
32
|
+
|
|
33
|
+
Use agent-native and security lenses:
|
|
34
|
+
|
|
35
|
+
- no unrestricted file writes,
|
|
36
|
+
- no hidden network/telemetry,
|
|
37
|
+
- no unbounded process execution,
|
|
38
|
+
- clear output contract,
|
|
39
|
+
- cancellation/timeouts tested.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Example: Vertical Slices
|
|
2
|
+
|
|
3
|
+
A vertical slice is a narrow complete behavior, not a layer.
|
|
4
|
+
|
|
5
|
+
## Good
|
|
6
|
+
|
|
7
|
+
### Saved search creation
|
|
8
|
+
|
|
9
|
+
User can create a saved search and see it in the saved-search list.
|
|
10
|
+
|
|
11
|
+
Why vertical:
|
|
12
|
+
|
|
13
|
+
- crosses UI/API/persistence as needed,
|
|
14
|
+
- has observable acceptance criteria,
|
|
15
|
+
- can be tested end-to-end,
|
|
16
|
+
- reduces integration risk immediately.
|
|
17
|
+
|
|
18
|
+
## Bad
|
|
19
|
+
|
|
20
|
+
### Create saved search table
|
|
21
|
+
|
|
22
|
+
Why horizontal:
|
|
23
|
+
|
|
24
|
+
- persistence only,
|
|
25
|
+
- not user-visible,
|
|
26
|
+
- cannot prove the feature works,
|
|
27
|
+
- pushes integration risk later.
|
|
28
|
+
|
|
29
|
+
## Better decomposition
|
|
30
|
+
|
|
31
|
+
Instead of:
|
|
32
|
+
|
|
33
|
+
1. database,
|
|
34
|
+
2. API,
|
|
35
|
+
3. UI,
|
|
36
|
+
4. tests,
|
|
37
|
+
|
|
38
|
+
use:
|
|
39
|
+
|
|
40
|
+
1. create and list one saved search,
|
|
41
|
+
2. validate duplicate names,
|
|
42
|
+
3. edit saved search query,
|
|
43
|
+
4. delete saved search with confirmation.
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vector-cadence-skills",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Integrated Vector Cadence skill suite for agentic software engineering workflows.",
|
|
5
|
+
"main": "skills.json",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"validate": "node scripts/validate-skills.mjs"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"vector-cadence",
|
|
11
|
+
"skills",
|
|
12
|
+
"agentic",
|
|
13
|
+
"ai",
|
|
14
|
+
"coding-agent",
|
|
15
|
+
"workflows"
|
|
16
|
+
],
|
|
17
|
+
"author": "Mithil Yaganti",
|
|
18
|
+
"license": "Apache-2.0",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/Mithilyaganti/skills.git"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/Mithilyaganti/skills/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/Mithilyaganti/skills#readme",
|
|
27
|
+
"files": [
|
|
28
|
+
"skills",
|
|
29
|
+
"examples",
|
|
30
|
+
"references",
|
|
31
|
+
"scripts",
|
|
32
|
+
"templates",
|
|
33
|
+
"skills.json",
|
|
34
|
+
"README.md",
|
|
35
|
+
"DOCUMENTATION.md",
|
|
36
|
+
"CHANGELOG.md",
|
|
37
|
+
"CONTRIBUTING.md"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# Vector Cadence Skills — Architecture Overview
|
|
2
|
+
|
|
3
|
+
This is the short architecture document for the new skill suite. It is intentionally smaller than the full research documentation. The full documentation can be written later when requested.
|
|
4
|
+
|
|
5
|
+
## 1. What changed from the original Vector Cadence document
|
|
6
|
+
|
|
7
|
+
The original Vector Cadence research doc had the right instinct — combine Pocock’s alignment-first workflow with Compound’s orchestration and review — but the architecture risk was that it composed skills like stacked blocks:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
run Pocock thing
|
|
11
|
+
then run Compound thing
|
|
12
|
+
then save output
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
That is not integration. It creates duplicated artifacts, duplicated questions, and unclear ownership.
|
|
16
|
+
|
|
17
|
+
The new suite integrates by assigning each workflow a primary owner:
|
|
18
|
+
|
|
19
|
+
- **Alignment owns product/domain decisions.** It can use brainstorming and grilling, but its output is intent.
|
|
20
|
+
- **Planning owns technical decisions.** It can use research, but its output is an implementation-ready plan.
|
|
21
|
+
- **Slicing owns issue shape.** It converts plans into vertical, independently useful work.
|
|
22
|
+
- **Triage owns delegation safety.** It decides agent vs human, not implementation.
|
|
23
|
+
- **Execution owns code changes.** It uses TDD and orchestration, not new product discovery.
|
|
24
|
+
- **Review owns confidence.** It checks Standards and Spec with multi-agent help when useful.
|
|
25
|
+
- **Learning owns reusable memory.** It captures only lessons that future agents will retrieve.
|
|
26
|
+
|
|
27
|
+
This prevents workflow overlap.
|
|
28
|
+
|
|
29
|
+
## 2. Why Pocock and Compound are not interchangeable
|
|
30
|
+
|
|
31
|
+
Pocock’s skills are strongest at **engineering judgment close to the work**:
|
|
32
|
+
|
|
33
|
+
- ask one question at a time,
|
|
34
|
+
- use domain language,
|
|
35
|
+
- create vertical slices,
|
|
36
|
+
- write behavior tests through public interfaces,
|
|
37
|
+
- debug through feedback loops,
|
|
38
|
+
- design deep modules,
|
|
39
|
+
- compact handoffs.
|
|
40
|
+
|
|
41
|
+
Compound’s skills are strongest at **orchestration and institutional scale**:
|
|
42
|
+
|
|
43
|
+
- brainstorm → plan → work → review pipelines,
|
|
44
|
+
- multi-agent code/doc review,
|
|
45
|
+
- plan U-IDs and requirements traceability,
|
|
46
|
+
- subagent orchestration and worktree safety,
|
|
47
|
+
- solved-problem knowledge capture,
|
|
48
|
+
- agent-native application architecture.
|
|
49
|
+
|
|
50
|
+
Vector Cadence uses each where it is structurally better, not where it happens to have a similarly named command.
|
|
51
|
+
|
|
52
|
+
## 3. The lifecycle
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
Setup
|
|
56
|
+
→ Orient
|
|
57
|
+
→ Align
|
|
58
|
+
→ Plan
|
|
59
|
+
→ Review plan when useful
|
|
60
|
+
→ Slice
|
|
61
|
+
→ Triage
|
|
62
|
+
→ Execute
|
|
63
|
+
→ Review code
|
|
64
|
+
→ Learn
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Setup
|
|
68
|
+
|
|
69
|
+
`vc-setup` creates the repo contract: where domain language lives, where ADRs live, how issue labels map to canonical triage states, and what commands verify work.
|
|
70
|
+
|
|
71
|
+
Without this, every skill guesses.
|
|
72
|
+
|
|
73
|
+
### Orient
|
|
74
|
+
|
|
75
|
+
`vc-orient` is read-only. It maps a code area and separates verified code facts from inferred/documented context.
|
|
76
|
+
|
|
77
|
+
It exists because many agent mistakes come from editing a local file before understanding the system shape.
|
|
78
|
+
|
|
79
|
+
### Align
|
|
80
|
+
|
|
81
|
+
`vc-align` is the product/domain checkpoint.
|
|
82
|
+
|
|
83
|
+
It integrates Compound’s brainstorm workflow with Pocock’s grilling discipline. It captures:
|
|
84
|
+
|
|
85
|
+
- clean requirements in `docs/brainstorms/`,
|
|
86
|
+
- messy rejected alternatives and fears in `docs/align-notes/`,
|
|
87
|
+
- canonical domain terms in `CONTEXT.md`,
|
|
88
|
+
- durable trade-offs in ADRs only when warranted.
|
|
89
|
+
|
|
90
|
+
The major design choice is separating clean requirements from the grilling shadow. Formal docs are good for decisions; raw align notes are good for preventing repeated mistakes.
|
|
91
|
+
|
|
92
|
+
### Plan
|
|
93
|
+
|
|
94
|
+
`vc-plan` turns aligned intent into technical design.
|
|
95
|
+
|
|
96
|
+
It uses Compound’s plan structure because that is stronger than Pocock’s PRD for implementation handoff: U-IDs, files, patterns, dependencies, test scenarios, and verification are explicit.
|
|
97
|
+
|
|
98
|
+
But Pocock’s rules are injected into the plan quality bar:
|
|
99
|
+
|
|
100
|
+
- code-first verification,
|
|
101
|
+
- domain language,
|
|
102
|
+
- no implementation code in plans,
|
|
103
|
+
- public-interface tests,
|
|
104
|
+
- deep-module/seam awareness,
|
|
105
|
+
- vertical-slice readiness.
|
|
106
|
+
|
|
107
|
+
### Slice
|
|
108
|
+
|
|
109
|
+
`vc-slice` exists because a good technical plan is not automatically a good issue set.
|
|
110
|
+
|
|
111
|
+
Compound plan units are often atomic implementation units. Pocock tracer-bullet issues are end-to-end vertical slices. Vector Cadence keeps both concepts separate:
|
|
112
|
+
|
|
113
|
+
- plan unit = coherent implementation decision,
|
|
114
|
+
- slice/issue = independently shippable or verifiable outcome.
|
|
115
|
+
|
|
116
|
+
This is the main fix to the “adding blocks” problem.
|
|
117
|
+
|
|
118
|
+
### Triage
|
|
119
|
+
|
|
120
|
+
`vc-triage` is the delegation gate.
|
|
121
|
+
|
|
122
|
+
It uses Pocock’s issue state machine but adds Vector Cadence confidence and subagent-safety gates. The important distinction:
|
|
123
|
+
|
|
124
|
+
- `ready-for-agent` means autonomous execution is safe,
|
|
125
|
+
- `ready-for-human` means human judgment is still the task,
|
|
126
|
+
- `needs-info` means the missing information is specific and actionable.
|
|
127
|
+
|
|
128
|
+
### Execute
|
|
129
|
+
|
|
130
|
+
`vc-execute` uses Compound’s work execution shell because it handles real implementation concerns: branch safety, task tracking, subagent execution, incremental commits, and continuous testing.
|
|
131
|
+
|
|
132
|
+
But the inner coding loop is Pocock TDD:
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
one behavior → one failing public-interface test → minimal code → green → repeat
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
This prevents the Compound-style executor from becoming a generic task machine that writes all tests first or implements layer by layer.
|
|
139
|
+
|
|
140
|
+
### Debug
|
|
141
|
+
|
|
142
|
+
`vc-debug` is its own path because bugs should not start with planning.
|
|
143
|
+
|
|
144
|
+
It combines:
|
|
145
|
+
|
|
146
|
+
- Pocock’s feedback-loop-first diagnosis,
|
|
147
|
+
- Compound’s causal-chain gate and environment sanity checks.
|
|
148
|
+
|
|
149
|
+
The rule is simple: no causal chain, no fix.
|
|
150
|
+
|
|
151
|
+
### Review
|
|
152
|
+
|
|
153
|
+
`vc-review` is Compound-dominant because Compound’s code review system is much stronger operationally: personas, severity, confidence, deduplication, validators, and routing.
|
|
154
|
+
|
|
155
|
+
Pocock’s contribution is the two-axis review frame:
|
|
156
|
+
|
|
157
|
+
- Standards: did we follow repo rules?
|
|
158
|
+
- Spec: did we satisfy the source artifact?
|
|
159
|
+
|
|
160
|
+
### Architecture
|
|
161
|
+
|
|
162
|
+
`vc-architecture` has two routes:
|
|
163
|
+
|
|
164
|
+
- general code architecture → Pocock deep modules,
|
|
165
|
+
- harness/agent architecture → Compound agent-native architecture.
|
|
166
|
+
|
|
167
|
+
This split matters. “Make this module deeper” and “design an agent-native harness” are not the same problem.
|
|
168
|
+
|
|
169
|
+
### Learn
|
|
170
|
+
|
|
171
|
+
`vc-learn` is Compound-dominant because solved-problem compounding is one of Compound’s clearest strengths.
|
|
172
|
+
|
|
173
|
+
Pocock discipline prevents knowledge bloat:
|
|
174
|
+
|
|
175
|
+
- `CONTEXT.md` stays glossary-only,
|
|
176
|
+
- ADRs stay sparse,
|
|
177
|
+
- trivial fixes are not documented,
|
|
178
|
+
- artifacts answer distinct future questions.
|
|
179
|
+
|
|
180
|
+
## 4. Tiering model
|
|
181
|
+
|
|
182
|
+
Vector Cadence has three tiers:
|
|
183
|
+
|
|
184
|
+
| Tier | Meaning | Typical workflow |
|
|
185
|
+
|---|---|---|
|
|
186
|
+
| T1 | known, low-risk work | align lightly → plan lightly or execute direct → focused review |
|
|
187
|
+
| T2 | moderate complexity or unfamiliar module | align → plan with focused research → slice/execute → review |
|
|
188
|
+
| T3 | high-risk architecture/security/privacy/migration/harness loop | deep align → deep plan → doc review → gated execution → deep review |
|
|
189
|
+
|
|
190
|
+
Tiering is not about making the agent fancy. It is cost control.
|
|
191
|
+
|
|
192
|
+
Most tasks should not spawn many agents. High-risk tasks should not skip research.
|
|
193
|
+
|
|
194
|
+
## 5. Subagent policy
|
|
195
|
+
|
|
196
|
+
Vector Cadence assumes subagents will exist in the harness, but does not assume they can safely write anywhere.
|
|
197
|
+
|
|
198
|
+
Default stages:
|
|
199
|
+
|
|
200
|
+
1. read-only research subagents,
|
|
201
|
+
2. read-only review subagents,
|
|
202
|
+
3. test-running subagents,
|
|
203
|
+
4. serial implementation subagents,
|
|
204
|
+
5. parallel write subagents only with disjoint scopes or isolated worktrees.
|
|
205
|
+
|
|
206
|
+
The orchestrator owns:
|
|
207
|
+
|
|
208
|
+
- final merge,
|
|
209
|
+
- final validation,
|
|
210
|
+
- user-facing summary,
|
|
211
|
+
- conflict handling.
|
|
212
|
+
|
|
213
|
+
This avoids the common demo trap: impressive parallelism that corrupts the checkout.
|
|
214
|
+
|
|
215
|
+
## 6. Harness packaging strategy
|
|
216
|
+
|
|
217
|
+
Recommended package split:
|
|
218
|
+
|
|
219
|
+
```text
|
|
220
|
+
@your-scope/vc-core
|
|
221
|
+
@your-scope/vc-skills
|
|
222
|
+
@your-scope/vc-extensions
|
|
223
|
+
@your-scope/vc-cli
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Build on **bare pi** as the substrate. Borrow little-coder launcher and extension patterns, but avoid a deep fork.
|
|
227
|
+
|
|
228
|
+
Why:
|
|
229
|
+
|
|
230
|
+
- easier upstream updates,
|
|
231
|
+
- extensions stay composable,
|
|
232
|
+
- skills can be installed without the full CLI,
|
|
233
|
+
- advanced users can load only the extension package,
|
|
234
|
+
- future Reasonix/cache-first work can evolve without rewriting every skill.
|
|
235
|
+
|
|
236
|
+
## 7. DeepSeek / Reasonix boundary
|
|
237
|
+
|
|
238
|
+
A skill suite can improve DeepSeek usage, but it cannot by itself guarantee Reasonix-style cache hit rates.
|
|
239
|
+
|
|
240
|
+
Reasonix-level caching depends on request construction:
|
|
241
|
+
|
|
242
|
+
- stable system prompt,
|
|
243
|
+
- stable tool schema order,
|
|
244
|
+
- stable message serialization,
|
|
245
|
+
- append-only history where possible,
|
|
246
|
+
- scratch excluded from future stable prefixes,
|
|
247
|
+
- careful compaction.
|
|
248
|
+
|
|
249
|
+
That is harness-loop architecture, not just markdown instructions.
|
|
250
|
+
|
|
251
|
+
So Vector Cadence’s staged plan is:
|
|
252
|
+
|
|
253
|
+
1. DeepSeek provider support,
|
|
254
|
+
2. cache telemetry,
|
|
255
|
+
3. prompt/tool stability improvements,
|
|
256
|
+
4. Reasonix backend/subagent for selected tasks,
|
|
257
|
+
5. custom pi SDK cache-first loop only if measurements justify it.
|
|
258
|
+
|
|
259
|
+
## 8. Taste and future tools
|
|
260
|
+
|
|
261
|
+
Taste, code search, browser tools, and other integrations belong in extensions, not ordinary skills.
|
|
262
|
+
|
|
263
|
+
A skill can describe when to use them. An extension provides the tool.
|
|
264
|
+
|
|
265
|
+
Privacy rule: Taste/telemetry must be explicit opt-in.
|
|
266
|
+
|
|
267
|
+
## 9. Why this architecture should scale
|
|
268
|
+
|
|
269
|
+
The suite scales because responsibilities are separated:
|
|
270
|
+
|
|
271
|
+
- alignment does not write code,
|
|
272
|
+
- plans do not become issues automatically,
|
|
273
|
+
- issue slicing enforces verticality,
|
|
274
|
+
- triage decides autonomy,
|
|
275
|
+
- execution respects tests and branch safety,
|
|
276
|
+
- review is confidence-gated,
|
|
277
|
+
- learning captures only reusable knowledge.
|
|
278
|
+
|
|
279
|
+
Each step reduces uncertainty for the next step instead of piling more process on top.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Vector Cadence Artifact Model
|
|
2
|
+
|
|
3
|
+
Each artifact answers one future question.
|
|
4
|
+
|
|
5
|
+
| Artifact | Question |
|
|
6
|
+
|---|---|
|
|
7
|
+
| `AGENTS.md` | How should agents operate in this repo? |
|
|
8
|
+
| `CONTEXT.md` | What are domain things called? |
|
|
9
|
+
| `STRATEGY.md` | What product outcome matters? |
|
|
10
|
+
| `docs/align-notes/` | What did alignment reject, fear, or assume? |
|
|
11
|
+
| `docs/brainstorms/` | What should be built from a product/user view? |
|
|
12
|
+
| `docs/plans/` | How should it be implemented? |
|
|
13
|
+
| `docs/issues/` or tracker | What can an agent/human pick up? |
|
|
14
|
+
| `docs/solutions/` | What solved problem should future agents reuse? |
|
|
15
|
+
| `docs/knowledge/` | What was planned, what shipped, and what changed? |
|
|
16
|
+
| `docs/adr/` | Which durable trade-off should future agents respect? |
|
|
17
|
+
| `.out-of-scope/` | Which rejected idea should not be rediscovered? |
|
|
18
|
+
| `docs/handoffs/` | What state should a future agent resume from? |
|
|
19
|
+
|
|
20
|
+
Do not create an artifact unless it has future retrieval value.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Final Skill Quality Bar
|
|
2
|
+
|
|
3
|
+
Use this checklist before publishing any Vector Cadence skill.
|
|
4
|
+
|
|
5
|
+
## Required
|
|
6
|
+
|
|
7
|
+
- [ ] One lifecycle responsibility.
|
|
8
|
+
- [ ] Frontmatter has `name` and `description`.
|
|
9
|
+
- [ ] `name` matches directory.
|
|
10
|
+
- [ ] Description is under 1024 characters.
|
|
11
|
+
- [ ] Description includes concrete `Use when` triggers.
|
|
12
|
+
- [ ] Skill has Purpose, When to use, When to skip, Workflow, Output, and Guardrails.
|
|
13
|
+
- [ ] Side effects are explicit.
|
|
14
|
+
- [ ] Optional tools are phrased as “if the harness provides...”.
|
|
15
|
+
- [ ] No invented tools, commands, paths, or APIs.
|
|
16
|
+
- [ ] Runtime skill does not contain upstream source-rationale sections.
|
|
17
|
+
- [ ] Links resolve.
|
|
18
|
+
- [ ] Next-skill routing is clear.
|
|
19
|
+
|
|
20
|
+
## Preferred
|
|
21
|
+
|
|
22
|
+
- [ ] Normal skills stay under 150 lines where practical.
|
|
23
|
+
- [ ] Complex orchestration skills stay under 170 lines where practical.
|
|
24
|
+
- [ ] Examples are minimal and behavior-shaping.
|
|
25
|
+
- [ ] Long rationale lives in references or documentation.
|
|
26
|
+
- [ ] Deterministic checks live in scripts.
|
|
27
|
+
|
|
28
|
+
## Do not publish if
|
|
29
|
+
|
|
30
|
+
- The skill duplicates an existing skill without a clear boundary.
|
|
31
|
+
- The behavior really requires an extension but is described as markdown-only.
|
|
32
|
+
- It encourages autonomous work without stop conditions.
|
|
33
|
+
- It writes to project files without stating when and why.
|