@uoyo/mvtt 2.0.0-beta.1 → 2.0.0-beta.2
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/README.md +194 -193
- package/dist/commands/migrate.d.ts +0 -2
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/migrate.js +0 -45
- package/dist/commands/migrate.js.map +1 -1
- package/package.json +1 -1
- package/registry.yaml +6 -0
- package/sources/sections/output-language-constraint.md +11 -11
- package/sources/sections/session-update.md +47 -47
- package/sources/skills/mvt-analyze/business.md +7 -7
- package/sources/skills/mvt-analyze-code/manifest.yaml +96 -96
- package/sources/skills/mvt-bug-detect/business.md +101 -0
- package/sources/skills/mvt-bug-detect/manifest.yaml +84 -0
- package/sources/skills/mvt-check-context/manifest.yaml +63 -63
- package/sources/skills/mvt-config/manifest.yaml +96 -96
- package/sources/skills/mvt-create-skill/business.md +81 -74
- package/sources/skills/mvt-create-skill/manifest.yaml +91 -95
- package/sources/skills/mvt-design/manifest.yaml +96 -96
- package/sources/skills/mvt-fix/business.md +37 -8
- package/sources/skills/mvt-fix/manifest.yaml +85 -72
- package/sources/skills/mvt-help/manifest.yaml +67 -67
- package/sources/skills/mvt-implement/manifest.yaml +80 -80
- package/sources/skills/mvt-init/manifest.yaml +101 -101
- package/sources/skills/mvt-manage-context/business.md +175 -175
- package/sources/skills/mvt-manage-context/manifest.yaml +123 -123
- package/sources/skills/mvt-plan-dev/manifest.yaml +91 -91
- package/sources/skills/mvt-quick-dev/manifest.yaml +69 -69
- package/sources/skills/mvt-refactor/manifest.yaml +86 -86
- package/sources/skills/mvt-resume/manifest.yaml +71 -71
- package/sources/skills/mvt-review/manifest.yaml +87 -87
- package/sources/skills/mvt-status/manifest.yaml +66 -66
- package/sources/skills/mvt-sync-context/business.md +150 -150
- package/sources/skills/mvt-sync-context/manifest.yaml +96 -96
- package/sources/skills/mvt-template/manifest.yaml +63 -63
- package/sources/skills/mvt-test/manifest.yaml +102 -102
- package/sources/skills/mvt-update-plan/business.md +72 -72
- package/sources/skills/mvt-update-plan/manifest.yaml +132 -132
- package/sources/templates/analyze-output/body.md +15 -15
- package/sources/templates/design-output/body.md +17 -17
- package/sources/templates/implement-output/body.md +11 -11
- package/sources/templates/review-output/body.md +11 -11
- package/sources/templates/test-output/body.md +7 -7
- package/dist/fs/protection.d.ts +0 -15
- package/dist/fs/protection.d.ts.map +0 -1
- package/dist/fs/protection.js +0 -16
- package/dist/fs/protection.js.map +0 -1
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
name: mvt-design
|
|
2
|
-
output: .claude/skills/mvt-design/SKILL.md
|
|
3
|
-
|
|
4
|
-
frontmatter:
|
|
5
|
-
name: mvt-design
|
|
6
|
-
description: "Create architecture design based on analyzed requirements. This skill should be used when user wants to design system architecture, define module structure, or create technical blueprints for implementation."
|
|
7
|
-
|
|
8
|
-
sections:
|
|
9
|
-
- type: inline
|
|
10
|
-
content: |
|
|
11
|
-
# MVT Design
|
|
12
|
-
|
|
13
|
-
## Purpose
|
|
14
|
-
|
|
15
|
-
Design system architecture based on analyzed requirements. Create technical blueprints that guide implementation, respecting existing project structure and constraints.
|
|
16
|
-
|
|
17
|
-
- type: shared
|
|
18
|
-
source: sections/role-header.md
|
|
19
|
-
params:
|
|
20
|
-
role: Architect
|
|
21
|
-
role_desc: "a System Architecture Expert"
|
|
22
|
-
decision_rules:
|
|
23
|
-
- rule: "Multiple valid approaches exist -> Present top 2-3 options with pros/cons table, recommend one"
|
|
24
|
-
- rule: "Trade-off affects performance vs maintainability -> Document as ADR, state the trade-off"
|
|
25
|
-
- rule: "User asks for technology choice -> Evaluate against: requirements fit, team familiarity, maintenance cost"
|
|
26
|
-
- rule: "Design needs breaking change -> Highlight impact scope, list affected files, propose migration"
|
|
27
|
-
- rule: "Requirements are ambiguous -> Stop and ask clarification before designing"
|
|
28
|
-
- rule: "Layer constraint violation in design -> Flag and suggest alternative that respects existing boundaries"
|
|
29
|
-
boundaries:
|
|
30
|
-
- scope: "write implementation code"
|
|
31
|
-
skill: "/mvt-implement"
|
|
32
|
-
- scope: "re-analyze requirements"
|
|
33
|
-
skill: "/mvt-analyze"
|
|
34
|
-
- scope: "review code"
|
|
35
|
-
skill: "/mvt-review"
|
|
36
|
-
|
|
37
|
-
- type: inline
|
|
38
|
-
content: |
|
|
39
|
-
## Variants
|
|
40
|
-
|
|
41
|
-
| Variant | Description |
|
|
42
|
-
|---------|-------------|
|
|
43
|
-
| `/mvt-design` | Full architecture design |
|
|
44
|
-
| `/mvt-design --plan` | High-level implementation plan only |
|
|
45
|
-
|
|
46
|
-
- type: shared
|
|
47
|
-
source: sections/activation-load-context.md
|
|
48
|
-
params:
|
|
49
|
-
extended_context:
|
|
50
|
-
- ".ai-agents/workspace/artifacts/{active_change.id}/analysis.md -- Analysis from previous phase"
|
|
51
|
-
|
|
52
|
-
- type: shared
|
|
53
|
-
source: sections/activation-load-config.md
|
|
54
|
-
|
|
55
|
-
- type: shared
|
|
56
|
-
source: sections/output-language-constraint.md
|
|
57
|
-
|
|
58
|
-
- type: shared
|
|
59
|
-
source: sections/activation-preflight.md
|
|
60
|
-
params:
|
|
61
|
-
checks:
|
|
62
|
-
- order: "1"
|
|
63
|
-
field: "session.initialized_at"
|
|
64
|
-
level: "BLOCK"
|
|
65
|
-
message: "Session not initialized. Run `/mvt-init` first."
|
|
66
|
-
- order: "2"
|
|
67
|
-
field: "projects[] in project-context.yaml"
|
|
68
|
-
level: "BLOCK"
|
|
69
|
-
message: "Project not initialized. Run `/mvt-init` first."
|
|
70
|
-
- order: "3"
|
|
71
|
-
field: "project-context.md"
|
|
72
|
-
level: "WARN"
|
|
73
|
-
message: "No project-context.md found. Run `/mvt-analyze-code` for better design context. (allow user to proceed)"
|
|
74
|
-
- order: "4"
|
|
75
|
-
field: "requirements in project-context.md"
|
|
76
|
-
level: "WARN"
|
|
77
|
-
message: "No requirements found. Run `/mvt-analyze` first. (allow user to proceed)"
|
|
78
|
-
|
|
79
|
-
- type: file
|
|
80
|
-
source: ./business.md
|
|
81
|
-
|
|
82
|
-
- type: inline
|
|
83
|
-
content: |
|
|
84
|
-
## Artifact Structure
|
|
85
|
-
Read the document structure template from: `.ai-agents/skills/_templates/design-output.md`
|
|
86
|
-
If a custom version exists at `.ai-agents/skills/_templates/custom/design-output.md`, use the custom version instead.
|
|
87
|
-
The template defines section headings only. Generate content for each section based on design results.
|
|
88
|
-
Write the artifact to: `.ai-agents/workspace/artifacts/{change-id}/design.md`
|
|
89
|
-
|
|
90
|
-
- type: shared
|
|
91
|
-
source: sections/session-update.md
|
|
92
|
-
|
|
93
|
-
- type: shared
|
|
94
|
-
source: sections/footer-next-steps.md
|
|
95
|
-
params:
|
|
96
|
-
current_skill: mvt-design
|
|
1
|
+
name: mvt-design
|
|
2
|
+
output: .claude/skills/mvt-design/SKILL.md
|
|
3
|
+
|
|
4
|
+
frontmatter:
|
|
5
|
+
name: mvt-design
|
|
6
|
+
description: "Create architecture design based on analyzed requirements. This skill should be used when user wants to design system architecture, define module structure, or create technical blueprints for implementation."
|
|
7
|
+
|
|
8
|
+
sections:
|
|
9
|
+
- type: inline
|
|
10
|
+
content: |
|
|
11
|
+
# MVT Design
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Design system architecture based on analyzed requirements. Create technical blueprints that guide implementation, respecting existing project structure and constraints.
|
|
16
|
+
|
|
17
|
+
- type: shared
|
|
18
|
+
source: sections/role-header.md
|
|
19
|
+
params:
|
|
20
|
+
role: Architect
|
|
21
|
+
role_desc: "a System Architecture Expert"
|
|
22
|
+
decision_rules:
|
|
23
|
+
- rule: "Multiple valid approaches exist -> Present top 2-3 options with pros/cons table, recommend one"
|
|
24
|
+
- rule: "Trade-off affects performance vs maintainability -> Document as ADR, state the trade-off"
|
|
25
|
+
- rule: "User asks for technology choice -> Evaluate against: requirements fit, team familiarity, maintenance cost"
|
|
26
|
+
- rule: "Design needs breaking change -> Highlight impact scope, list affected files, propose migration"
|
|
27
|
+
- rule: "Requirements are ambiguous -> Stop and ask clarification before designing"
|
|
28
|
+
- rule: "Layer constraint violation in design -> Flag and suggest alternative that respects existing boundaries"
|
|
29
|
+
boundaries:
|
|
30
|
+
- scope: "write implementation code"
|
|
31
|
+
skill: "/mvt-implement"
|
|
32
|
+
- scope: "re-analyze requirements"
|
|
33
|
+
skill: "/mvt-analyze"
|
|
34
|
+
- scope: "review code"
|
|
35
|
+
skill: "/mvt-review"
|
|
36
|
+
|
|
37
|
+
- type: inline
|
|
38
|
+
content: |
|
|
39
|
+
## Variants
|
|
40
|
+
|
|
41
|
+
| Variant | Description |
|
|
42
|
+
|---------|-------------|
|
|
43
|
+
| `/mvt-design` | Full architecture design |
|
|
44
|
+
| `/mvt-design --plan` | High-level implementation plan only |
|
|
45
|
+
|
|
46
|
+
- type: shared
|
|
47
|
+
source: sections/activation-load-context.md
|
|
48
|
+
params:
|
|
49
|
+
extended_context:
|
|
50
|
+
- ".ai-agents/workspace/artifacts/{active_change.id}/analysis.md -- Analysis from previous phase"
|
|
51
|
+
|
|
52
|
+
- type: shared
|
|
53
|
+
source: sections/activation-load-config.md
|
|
54
|
+
|
|
55
|
+
- type: shared
|
|
56
|
+
source: sections/output-language-constraint.md
|
|
57
|
+
|
|
58
|
+
- type: shared
|
|
59
|
+
source: sections/activation-preflight.md
|
|
60
|
+
params:
|
|
61
|
+
checks:
|
|
62
|
+
- order: "1"
|
|
63
|
+
field: "session.initialized_at"
|
|
64
|
+
level: "BLOCK"
|
|
65
|
+
message: "Session not initialized. Run `/mvt-init` first."
|
|
66
|
+
- order: "2"
|
|
67
|
+
field: "projects[] in project-context.yaml"
|
|
68
|
+
level: "BLOCK"
|
|
69
|
+
message: "Project not initialized. Run `/mvt-init` first."
|
|
70
|
+
- order: "3"
|
|
71
|
+
field: "project-context.md"
|
|
72
|
+
level: "WARN"
|
|
73
|
+
message: "No project-context.md found. Run `/mvt-analyze-code` for better design context. (allow user to proceed)"
|
|
74
|
+
- order: "4"
|
|
75
|
+
field: "requirements in project-context.md"
|
|
76
|
+
level: "WARN"
|
|
77
|
+
message: "No requirements found. Run `/mvt-analyze` first. (allow user to proceed)"
|
|
78
|
+
|
|
79
|
+
- type: file
|
|
80
|
+
source: ./business.md
|
|
81
|
+
|
|
82
|
+
- type: inline
|
|
83
|
+
content: |
|
|
84
|
+
## Artifact Structure
|
|
85
|
+
Read the document structure template from: `.ai-agents/skills/_templates/design-output.md`
|
|
86
|
+
If a custom version exists at `.ai-agents/skills/_templates/custom/design-output.md`, use the custom version instead.
|
|
87
|
+
The template defines section headings only. Generate content for each section based on design results.
|
|
88
|
+
Write the artifact to: `.ai-agents/workspace/artifacts/{change-id}/design.md`
|
|
89
|
+
|
|
90
|
+
- type: shared
|
|
91
|
+
source: sections/session-update.md
|
|
92
|
+
|
|
93
|
+
- type: shared
|
|
94
|
+
source: sections/footer-next-steps.md
|
|
95
|
+
params:
|
|
96
|
+
current_skill: mvt-design
|
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
## Execution Flow
|
|
2
2
|
|
|
3
|
-
### Step 1:
|
|
4
|
-
-
|
|
5
|
-
|
|
3
|
+
### Step 1: Resolve Input Source
|
|
4
|
+
- Determine the diagnosis source by checking in priority order:
|
|
5
|
+
|
|
6
|
+
| Priority | Source | Condition | What to Load |
|
|
7
|
+
|----------|--------|-----------|--------------|
|
|
8
|
+
| 1 | Review artifact | `review.md` exists in active change artifacts | Critical + Warning findings as fix targets |
|
|
9
|
+
| 2 | Bug detection result | `/mvt-bug-detect` was executed in the current conversation | Root cause, affected files, severity, reproduction status from conversation history |
|
|
10
|
+
| 3 | Direct user input | User provided bug description in conversation | Bug description text |
|
|
11
|
+
|
|
12
|
+
- **1a. Review artifact (mvt-review output)**
|
|
13
|
+
- Read `.ai-agents/workspace/artifacts/{active_change.id}/review.md`
|
|
14
|
+
- Extract Critical + Warning findings as fix targets. For each finding: file, line range, observation, recommendation serve as pre-verified diagnosis.
|
|
15
|
+
- If multiple Critical findings exist, ask user which to address first.
|
|
16
|
+
- Skip Steps 2-4, proceed directly to Step 5.
|
|
17
|
+
|
|
18
|
+
- **1b. Bug detection result (mvt-bug-detect output)**
|
|
19
|
+
- Extract analysis results from the most recent `/mvt-bug-detect` execution in conversation history: Status, Root Cause, Severity, Affected files, Similar issues.
|
|
20
|
+
- If Status is `NotABug` or `Inconclusive` — STOP, report finding, do not proceed to fix.
|
|
21
|
+
- Skip Steps 2-4, proceed directly to Step 5 with extracted context.
|
|
22
|
+
|
|
23
|
+
- **1c. Direct user input (no upstream artifact)**
|
|
24
|
+
- Read bug description from user message.
|
|
25
|
+
- Execute Steps 2-4 for self-contained diagnosis.
|
|
26
|
+
|
|
27
|
+
- **Fallback**: If no source yields content, ask user to describe the bug or run `/mvt-bug-detect` first.
|
|
6
28
|
- **Recommended (read if available, do not block on absence)**:
|
|
7
29
|
- Recent git state: `git diff HEAD`, `git log -n 10 --oneline` -- to surface recent changes that may correlate with the regression.
|
|
8
|
-
- **Fallback**: if none of the above exists, proceed using the bug description alone and note "context-light fix" in the final fix notes.
|
|
9
30
|
|
|
10
|
-
### Step 2: Reproduce & Localize
|
|
31
|
+
### Step 2: Reproduce & Localize (only for source 1c)
|
|
32
|
+
**Skip this step if Step 1 resolved to source 1a (review artifact) or 1b (bug detection).**
|
|
11
33
|
- **What**: confirm the bug is reproducible (or, if not reproducible, mark it explicitly as "report-only") and identify the smallest set of files that contain the suspected fault.
|
|
12
34
|
- **How**:
|
|
13
35
|
1. Extract concrete signals from the bug description: error message text, stack trace frames, file paths, function/class names, input data.
|
|
@@ -22,7 +44,8 @@
|
|
|
22
44
|
| Not reproducible, signals are concrete (stack trace + paths) | Continue with static analysis only, mark "unverified repro" in fix notes |
|
|
23
45
|
| Not reproducible, signals are vague | STOP -- ask user for: minimal repro, exact error, environment, last-known-good version |
|
|
24
46
|
|
|
25
|
-
### Step 3: Generate Hypotheses
|
|
47
|
+
### Step 3: Generate Hypotheses (only for source 1c)
|
|
48
|
+
**Skip this step if Step 1 resolved to source 1a or 1b.**
|
|
26
49
|
- **What**: produce 1-5 candidate root causes, each with a falsifiable check.
|
|
27
50
|
- **How**: derive hypotheses from the dominant input signal using the table below. Combine sources when multiple are available.
|
|
28
51
|
|
|
@@ -35,7 +58,8 @@
|
|
|
35
58
|
|
|
36
59
|
- Each hypothesis must be written as: `<claim> -- evidence: <pointer> -- check: <how to verify>`.
|
|
37
60
|
|
|
38
|
-
### Step 4: Verify Root Cause
|
|
61
|
+
### Step 4: Verify Root Cause (only for source 1c)
|
|
62
|
+
**Skip this step if Step 1 resolved to source 1a or 1b.**
|
|
39
63
|
- **What**: reduce the hypothesis set to one confirmed root cause.
|
|
40
64
|
- **How**:
|
|
41
65
|
1. For each hypothesis, run its check (read code, add tracing, run a focused script). Cheapest check first.
|
|
@@ -52,6 +76,9 @@
|
|
|
52
76
|
### Step 5: Plan the Fix
|
|
53
77
|
- **What**: decide the change scope and minimum-risk patch shape.
|
|
54
78
|
- **How**: classify the fix using the table below. Choose the strategy that matches the smallest viable scope -- escalate only if the smaller scope cannot fully address the root cause.
|
|
79
|
+
- For source 1a (review.md): each Critical/Warning finding maps to a fix; classify individually.
|
|
80
|
+
- For source 1b (bug detection result): use the root cause and affected files from the diagnosis to determine fix class directly.
|
|
81
|
+
- For source 1c: classify based on self-contained diagnosis from Steps 2-4.
|
|
55
82
|
|
|
56
83
|
| Fix class | Indicator | Strategy |
|
|
57
84
|
|-----------|-----------|----------|
|
|
@@ -73,6 +100,7 @@
|
|
|
73
100
|
- **Confirmation prompt format**: present `Root cause: ...`, `Proposed change: <files + summary>`, `Risk: <regression scope>`, then ask `Apply? (y / n / show-diff)`.
|
|
74
101
|
|
|
75
102
|
### Step 7: Apply the Fix
|
|
103
|
+
- For source 1a (review.md): apply fixes per finding; re-run the review's relevant checks (not reproduction) to confirm each fix addresses its finding.
|
|
76
104
|
- Make the targeted code change.
|
|
77
105
|
- If no test covered the regression and the fix class is multi-module or above, add a minimal regression test alongside the fix.
|
|
78
106
|
- Re-run the original repro (if any) to confirm resolution.
|
|
@@ -82,8 +110,9 @@
|
|
|
82
110
|
- **Path**: `.ai-agents/workspace/artifacts/{change-id}/fix-notes.md` if an `active_change` exists; otherwise inline in the conversation only (no artifact -- shortcut operation).
|
|
83
111
|
- **Structure** (each section is a single paragraph or list):
|
|
84
112
|
- `Symptom` -- what the user saw / reported.
|
|
113
|
+
- `Input Source` -- "Review artifact" | "Bug detection result" | "Direct user input".
|
|
85
114
|
- `Reproduction` -- verified | unverified | not-applicable, with steps if verified.
|
|
86
|
-
- `Hypotheses considered` -- bulleted, one line each, marking the confirmed one.
|
|
115
|
+
- `Hypotheses considered` -- bulleted, one line each, marking the confirmed one. (Skip if source 1a or 1b provided a pre-verified root cause.)
|
|
87
116
|
- `Root cause` -- one paragraph.
|
|
88
117
|
- `Patch summary` -- files touched + one-line per file.
|
|
89
118
|
- `Regression risk` -- scope of behavior potentially affected, plus what tests guard it.
|
|
@@ -1,72 +1,85 @@
|
|
|
1
|
-
name: mvt-fix
|
|
2
|
-
output: .claude/skills/mvt-fix/SKILL.md
|
|
3
|
-
|
|
4
|
-
frontmatter:
|
|
5
|
-
name: mvt-fix
|
|
6
|
-
description: "Diagnose and fix bugs or issues in the codebase. This skill should be used when user reports a bug, encounters an error, or wants to diagnose and resolve an issue."
|
|
7
|
-
|
|
8
|
-
sections:
|
|
9
|
-
- type: inline
|
|
10
|
-
content: |
|
|
11
|
-
# MVT Fix
|
|
12
|
-
|
|
13
|
-
## Purpose
|
|
14
|
-
|
|
15
|
-
Diagnose bugs and issues, perform root cause analysis, and apply targeted fixes. This is a shortcut operation that can run at any time without requiring full workflow state.
|
|
16
|
-
|
|
17
|
-
- type: shared
|
|
18
|
-
source: sections/role-header.md
|
|
19
|
-
params:
|
|
20
|
-
role: Developer
|
|
21
|
-
role_desc: "an Implementation Specialist"
|
|
22
|
-
decision_rules:
|
|
23
|
-
- rule: "Bug description provided -> Analyze the issue, propose fix, apply after user confirms"
|
|
24
|
-
- rule: "Error message provided -> Trace to root cause, fix the source not the symptom"
|
|
25
|
-
- rule: "Multiple possible causes -> List hypotheses with evidence, verify each"
|
|
26
|
-
- rule: "Fix requires architecture change -> Stop and suggest `/mvt-design`"
|
|
27
|
-
- rule: "Fix affects other modules -> Document impact scope before applying"
|
|
28
|
-
boundaries:
|
|
29
|
-
- scope: "re-analyze requirements"
|
|
30
|
-
skill: "/mvt-analyze"
|
|
31
|
-
- scope: "evaluate architecture"
|
|
32
|
-
skill: "/mvt-design"
|
|
33
|
-
- scope: "review own fix"
|
|
34
|
-
skill: "/mvt-review"
|
|
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
|
-
|
|
1
|
+
name: mvt-fix
|
|
2
|
+
output: .claude/skills/mvt-fix/SKILL.md
|
|
3
|
+
|
|
4
|
+
frontmatter:
|
|
5
|
+
name: mvt-fix
|
|
6
|
+
description: "Diagnose and fix bugs or issues in the codebase. This skill should be used when user reports a bug, encounters an error, or wants to diagnose and resolve an issue."
|
|
7
|
+
|
|
8
|
+
sections:
|
|
9
|
+
- type: inline
|
|
10
|
+
content: |
|
|
11
|
+
# MVT Fix
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Diagnose bugs and issues, perform root cause analysis, and apply targeted fixes. This is a shortcut operation that can run at any time without requiring full workflow state.
|
|
16
|
+
|
|
17
|
+
- type: shared
|
|
18
|
+
source: sections/role-header.md
|
|
19
|
+
params:
|
|
20
|
+
role: Developer
|
|
21
|
+
role_desc: "an Implementation Specialist"
|
|
22
|
+
decision_rules:
|
|
23
|
+
- rule: "Bug description provided -> Analyze the issue, propose fix, apply after user confirms"
|
|
24
|
+
- rule: "Error message provided -> Trace to root cause, fix the source not the symptom"
|
|
25
|
+
- rule: "Multiple possible causes -> List hypotheses with evidence, verify each"
|
|
26
|
+
- rule: "Fix requires architecture change -> Stop and suggest `/mvt-design`"
|
|
27
|
+
- rule: "Fix affects other modules -> Document impact scope before applying"
|
|
28
|
+
boundaries:
|
|
29
|
+
- scope: "re-analyze requirements"
|
|
30
|
+
skill: "/mvt-analyze"
|
|
31
|
+
- scope: "evaluate architecture"
|
|
32
|
+
skill: "/mvt-design"
|
|
33
|
+
- scope: "review own fix"
|
|
34
|
+
skill: "/mvt-review"
|
|
35
|
+
- scope: "diagnose bugs without fixing"
|
|
36
|
+
skill: "/mvt-bug-detect"
|
|
37
|
+
|
|
38
|
+
- type: shared
|
|
39
|
+
source: sections/activation-load-context.md
|
|
40
|
+
params:
|
|
41
|
+
extended_context:
|
|
42
|
+
- "Related source files only (load based on bug description)"
|
|
43
|
+
|
|
44
|
+
- type: shared
|
|
45
|
+
source: sections/activation-load-config.md
|
|
46
|
+
|
|
47
|
+
- type: shared
|
|
48
|
+
source: sections/output-language-constraint.md
|
|
49
|
+
|
|
50
|
+
- type: shared
|
|
51
|
+
source: sections/activation-preflight.md
|
|
52
|
+
params:
|
|
53
|
+
checks:
|
|
54
|
+
- order: "1"
|
|
55
|
+
field: "session.initialized_at"
|
|
56
|
+
level: "WARN"
|
|
57
|
+
message: 'Session not initialized. Run `/mvt-init` first.'
|
|
58
|
+
|
|
59
|
+
- type: inline
|
|
60
|
+
content: |
|
|
61
|
+
### Shortcut Operation Rules
|
|
62
|
+
- Can execute at any time without checking workflow prerequisites
|
|
63
|
+
- Do NOT update `progress` (this is a shortcut operation, not a workflow phase)
|
|
64
|
+
|
|
65
|
+
- type: file
|
|
66
|
+
source: ./business.md
|
|
67
|
+
|
|
68
|
+
- type: shared
|
|
69
|
+
source: sections/session-update.md
|
|
70
|
+
|
|
71
|
+
- type: shared
|
|
72
|
+
source: sections/footer-next-steps.md
|
|
73
|
+
params:
|
|
74
|
+
current_skill: mvt-fix
|
|
75
|
+
conditional_suggestions:
|
|
76
|
+
conditions:
|
|
77
|
+
- condition: "fix applied, root cause had wide impact"
|
|
78
|
+
primary: "mvt-review"
|
|
79
|
+
primary_desc: "Review the fix for side effects"
|
|
80
|
+
- condition: "fix applied, needs test coverage"
|
|
81
|
+
primary: "mvt-test"
|
|
82
|
+
primary_desc: "Add regression tests"
|
|
83
|
+
- condition: "bug too complex for targeted fix"
|
|
84
|
+
primary: "mvt-design"
|
|
85
|
+
primary_desc: "Design architectural solution"
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
name: mvt-help
|
|
2
|
-
output: .claude/skills/mvt-help/SKILL.md
|
|
3
|
-
|
|
4
|
-
frontmatter:
|
|
5
|
-
name: mvt-help
|
|
6
|
-
description: "Show available skills, current project status, and workflow guidance. This skill should be used when user is new to MVTT, wants to discover available commands, or needs guidance on what to do next."
|
|
7
|
-
|
|
8
|
-
sections:
|
|
9
|
-
- type: inline
|
|
10
|
-
content: |
|
|
11
|
-
# MVT Help
|
|
12
|
-
|
|
13
|
-
## Purpose
|
|
14
|
-
|
|
15
|
-
Navigate the MVTT framework by showing available skills, current project status, and contextual guidance on what to do next. Entry point for new users and quick reference for experienced ones.
|
|
16
|
-
|
|
17
|
-
## Role
|
|
18
|
-
|
|
19
|
-
You are the **Conductor** -- a Workflow Coordinator.
|
|
20
|
-
|
|
21
|
-
- type: shared
|
|
22
|
-
source: sections/activation-load-context.md
|
|
23
|
-
|
|
24
|
-
- type: shared
|
|
25
|
-
source: sections/activation-load-config.md
|
|
26
|
-
|
|
27
|
-
- type: shared
|
|
28
|
-
source: sections/output-language-constraint.md
|
|
29
|
-
|
|
30
|
-
- type: inline
|
|
31
|
-
content: |
|
|
32
|
-
### Step 3: Pre-flight Checks
|
|
33
|
-
- No blocking checks required.
|
|
34
|
-
|
|
35
|
-
- type: file
|
|
36
|
-
source: ./business.md
|
|
37
|
-
|
|
38
|
-
- type: inline
|
|
39
|
-
content: |
|
|
40
|
-
## Output Format
|
|
41
|
-
|
|
42
|
-
Output is generated inline (no external template). Structure:
|
|
43
|
-
|
|
44
|
-
```markdown
|
|
45
|
-
## MVT Help
|
|
46
|
-
|
|
47
|
-
### Current Status
|
|
48
|
-
- **Project**: {name} ({initialized/not initialized})
|
|
49
|
-
- **Last Skill**: {last command from skill_history}
|
|
50
|
-
- **Recommended Next**: `/mvt-{next}` -- {description}
|
|
51
|
-
|
|
52
|
-
### Workflow
|
|
53
|
-
{Mermaid flowchart with current position highlighted}
|
|
54
|
-
|
|
55
|
-
### Available Skills
|
|
56
|
-
{Skills tables grouped by category, as defined in Step 3}
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
- type: shared
|
|
60
|
-
source: sections/session-update.md
|
|
61
|
-
params:
|
|
62
|
-
read_only: true
|
|
63
|
-
|
|
64
|
-
- type: shared
|
|
65
|
-
source: sections/footer-next-steps.md
|
|
66
|
-
params:
|
|
67
|
-
current_skill: mvt-help
|
|
1
|
+
name: mvt-help
|
|
2
|
+
output: .claude/skills/mvt-help/SKILL.md
|
|
3
|
+
|
|
4
|
+
frontmatter:
|
|
5
|
+
name: mvt-help
|
|
6
|
+
description: "Show available skills, current project status, and workflow guidance. This skill should be used when user is new to MVTT, wants to discover available commands, or needs guidance on what to do next."
|
|
7
|
+
|
|
8
|
+
sections:
|
|
9
|
+
- type: inline
|
|
10
|
+
content: |
|
|
11
|
+
# MVT Help
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Navigate the MVTT framework by showing available skills, current project status, and contextual guidance on what to do next. Entry point for new users and quick reference for experienced ones.
|
|
16
|
+
|
|
17
|
+
## Role
|
|
18
|
+
|
|
19
|
+
You are the **Conductor** -- a Workflow Coordinator.
|
|
20
|
+
|
|
21
|
+
- type: shared
|
|
22
|
+
source: sections/activation-load-context.md
|
|
23
|
+
|
|
24
|
+
- type: shared
|
|
25
|
+
source: sections/activation-load-config.md
|
|
26
|
+
|
|
27
|
+
- type: shared
|
|
28
|
+
source: sections/output-language-constraint.md
|
|
29
|
+
|
|
30
|
+
- type: inline
|
|
31
|
+
content: |
|
|
32
|
+
### Step 3: Pre-flight Checks
|
|
33
|
+
- No blocking checks required.
|
|
34
|
+
|
|
35
|
+
- type: file
|
|
36
|
+
source: ./business.md
|
|
37
|
+
|
|
38
|
+
- type: inline
|
|
39
|
+
content: |
|
|
40
|
+
## Output Format
|
|
41
|
+
|
|
42
|
+
Output is generated inline (no external template). Structure:
|
|
43
|
+
|
|
44
|
+
```markdown
|
|
45
|
+
## MVT Help
|
|
46
|
+
|
|
47
|
+
### Current Status
|
|
48
|
+
- **Project**: {name} ({initialized/not initialized})
|
|
49
|
+
- **Last Skill**: {last command from skill_history}
|
|
50
|
+
- **Recommended Next**: `/mvt-{next}` -- {description}
|
|
51
|
+
|
|
52
|
+
### Workflow
|
|
53
|
+
{Mermaid flowchart with current position highlighted}
|
|
54
|
+
|
|
55
|
+
### Available Skills
|
|
56
|
+
{Skills tables grouped by category, as defined in Step 3}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- type: shared
|
|
60
|
+
source: sections/session-update.md
|
|
61
|
+
params:
|
|
62
|
+
read_only: true
|
|
63
|
+
|
|
64
|
+
- type: shared
|
|
65
|
+
source: sections/footer-next-steps.md
|
|
66
|
+
params:
|
|
67
|
+
current_skill: mvt-help
|