@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.
Files changed (46) hide show
  1. package/README.md +194 -193
  2. package/dist/commands/migrate.d.ts +0 -2
  3. package/dist/commands/migrate.d.ts.map +1 -1
  4. package/dist/commands/migrate.js +0 -45
  5. package/dist/commands/migrate.js.map +1 -1
  6. package/package.json +1 -1
  7. package/registry.yaml +6 -0
  8. package/sources/sections/output-language-constraint.md +11 -11
  9. package/sources/sections/session-update.md +47 -47
  10. package/sources/skills/mvt-analyze/business.md +7 -7
  11. package/sources/skills/mvt-analyze-code/manifest.yaml +96 -96
  12. package/sources/skills/mvt-bug-detect/business.md +101 -0
  13. package/sources/skills/mvt-bug-detect/manifest.yaml +84 -0
  14. package/sources/skills/mvt-check-context/manifest.yaml +63 -63
  15. package/sources/skills/mvt-config/manifest.yaml +96 -96
  16. package/sources/skills/mvt-create-skill/business.md +81 -74
  17. package/sources/skills/mvt-create-skill/manifest.yaml +91 -95
  18. package/sources/skills/mvt-design/manifest.yaml +96 -96
  19. package/sources/skills/mvt-fix/business.md +37 -8
  20. package/sources/skills/mvt-fix/manifest.yaml +85 -72
  21. package/sources/skills/mvt-help/manifest.yaml +67 -67
  22. package/sources/skills/mvt-implement/manifest.yaml +80 -80
  23. package/sources/skills/mvt-init/manifest.yaml +101 -101
  24. package/sources/skills/mvt-manage-context/business.md +175 -175
  25. package/sources/skills/mvt-manage-context/manifest.yaml +123 -123
  26. package/sources/skills/mvt-plan-dev/manifest.yaml +91 -91
  27. package/sources/skills/mvt-quick-dev/manifest.yaml +69 -69
  28. package/sources/skills/mvt-refactor/manifest.yaml +86 -86
  29. package/sources/skills/mvt-resume/manifest.yaml +71 -71
  30. package/sources/skills/mvt-review/manifest.yaml +87 -87
  31. package/sources/skills/mvt-status/manifest.yaml +66 -66
  32. package/sources/skills/mvt-sync-context/business.md +150 -150
  33. package/sources/skills/mvt-sync-context/manifest.yaml +96 -96
  34. package/sources/skills/mvt-template/manifest.yaml +63 -63
  35. package/sources/skills/mvt-test/manifest.yaml +102 -102
  36. package/sources/skills/mvt-update-plan/business.md +72 -72
  37. package/sources/skills/mvt-update-plan/manifest.yaml +132 -132
  38. package/sources/templates/analyze-output/body.md +15 -15
  39. package/sources/templates/design-output/body.md +17 -17
  40. package/sources/templates/implement-output/body.md +11 -11
  41. package/sources/templates/review-output/body.md +11 -11
  42. package/sources/templates/test-output/body.md +7 -7
  43. package/dist/fs/protection.d.ts +0 -15
  44. package/dist/fs/protection.d.ts.map +0 -1
  45. package/dist/fs/protection.js +0 -16
  46. package/dist/fs/protection.js.map +0 -1
@@ -1,80 +1,80 @@
1
- name: mvt-implement
2
- output: .claude/skills/mvt-implement/SKILL.md
3
-
4
- frontmatter:
5
- name: mvt-implement
6
- description: "Implement features based on architecture design. This skill should be used when user wants to implement a feature, write production code, or translate design blueprints into working code."
7
-
8
- sections:
9
- - type: inline
10
- content: |
11
- # MVT Implement
12
-
13
- ## Purpose
14
-
15
- Write production code based on architecture designs. Follow established module boundaries, layer constraints, and coding standards.
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: "Architecture design exists -> Follow the module boundaries, interfaces, and patterns defined in it"
24
- - rule: "Architecture missing -> Warn that `/mvt-design` is recommended, proceed if user confirms"
25
- - rule: "Code requires new module not in design -> Stop and flag for Architect via `/mvt-design`"
26
- - rule: "Multiple implementation approaches -> Pick the simplest that satisfies requirements; note alternatives"
27
- - rule: "Error handling needed -> Add for external boundaries (user input, APIs, I/O); trust internal code"
28
- - rule: "Existing tests cover changed code -> Mention which tests may need updating"
29
- boundaries:
30
- - scope: "re-analyze requirements"
31
- skill: "/mvt-analyze"
32
- - scope: "evaluate or change architecture"
33
- skill: "/mvt-design"
34
- - scope: "review own code"
35
- skill: "/mvt-review"
36
-
37
- - type: shared
38
- source: sections/activation-load-context.md
39
-
40
- - type: shared
41
- source: sections/activation-load-config.md
42
-
43
- - type: shared
44
- source: sections/output-language-constraint.md
45
-
46
- - type: shared
47
- source: sections/activation-preflight.md
48
- params:
49
- checks:
50
- - order: "1"
51
- field: "session.initialized_at"
52
- level: "BLOCK"
53
- message: "Session not initialized. Run `/mvt-init` first."
54
- - order: "2"
55
- field: "projects[] in project-context.yaml"
56
- level: "BLOCK"
57
- message: "Project not initialized. Run `/mvt-init` first."
58
- - order: "3"
59
- field: "modules in project-context.md"
60
- level: "WARN"
61
- message: "No architecture defined. Run `/mvt-design` first. (allow user to proceed)"
62
-
63
- - type: file
64
- source: ./business.md
65
-
66
- - type: inline
67
- content: |
68
- ## Artifact Structure
69
- Read the document structure template from: `.ai-agents/skills/_templates/implement-output.md`
70
- If a custom version exists at `.ai-agents/skills/_templates/custom/implement-output.md`, use the custom version instead.
71
- The template defines section headings only. Generate content for each section based on implementation results.
72
- Write the artifact to: `.ai-agents/workspace/artifacts/{change-id}/implementation.md`
73
-
74
- - type: shared
75
- source: sections/session-update.md
76
-
77
- - type: shared
78
- source: sections/footer-next-steps.md
79
- params:
80
- current_skill: mvt-implement
1
+ name: mvt-implement
2
+ output: .claude/skills/mvt-implement/SKILL.md
3
+
4
+ frontmatter:
5
+ name: mvt-implement
6
+ description: "Implement features based on architecture design. This skill should be used when user wants to implement a feature, write production code, or translate design blueprints into working code."
7
+
8
+ sections:
9
+ - type: inline
10
+ content: |
11
+ # MVT Implement
12
+
13
+ ## Purpose
14
+
15
+ Write production code based on architecture designs. Follow established module boundaries, layer constraints, and coding standards.
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: "Architecture design exists -> Follow the module boundaries, interfaces, and patterns defined in it"
24
+ - rule: "Architecture missing -> Warn that `/mvt-design` is recommended, proceed if user confirms"
25
+ - rule: "Code requires new module not in design -> Stop and flag for Architect via `/mvt-design`"
26
+ - rule: "Multiple implementation approaches -> Pick the simplest that satisfies requirements; note alternatives"
27
+ - rule: "Error handling needed -> Add for external boundaries (user input, APIs, I/O); trust internal code"
28
+ - rule: "Existing tests cover changed code -> Mention which tests may need updating"
29
+ boundaries:
30
+ - scope: "re-analyze requirements"
31
+ skill: "/mvt-analyze"
32
+ - scope: "evaluate or change architecture"
33
+ skill: "/mvt-design"
34
+ - scope: "review own code"
35
+ skill: "/mvt-review"
36
+
37
+ - type: shared
38
+ source: sections/activation-load-context.md
39
+
40
+ - type: shared
41
+ source: sections/activation-load-config.md
42
+
43
+ - type: shared
44
+ source: sections/output-language-constraint.md
45
+
46
+ - type: shared
47
+ source: sections/activation-preflight.md
48
+ params:
49
+ checks:
50
+ - order: "1"
51
+ field: "session.initialized_at"
52
+ level: "BLOCK"
53
+ message: "Session not initialized. Run `/mvt-init` first."
54
+ - order: "2"
55
+ field: "projects[] in project-context.yaml"
56
+ level: "BLOCK"
57
+ message: "Project not initialized. Run `/mvt-init` first."
58
+ - order: "3"
59
+ field: "modules in project-context.md"
60
+ level: "WARN"
61
+ message: "No architecture defined. Run `/mvt-design` first. (allow user to proceed)"
62
+
63
+ - type: file
64
+ source: ./business.md
65
+
66
+ - type: inline
67
+ content: |
68
+ ## Artifact Structure
69
+ Read the document structure template from: `.ai-agents/skills/_templates/implement-output.md`
70
+ If a custom version exists at `.ai-agents/skills/_templates/custom/implement-output.md`, use the custom version instead.
71
+ The template defines section headings only. Generate content for each section based on implementation results.
72
+ Write the artifact to: `.ai-agents/workspace/artifacts/{change-id}/implementation.md`
73
+
74
+ - type: shared
75
+ source: sections/session-update.md
76
+
77
+ - type: shared
78
+ source: sections/footer-next-steps.md
79
+ params:
80
+ current_skill: mvt-implement
@@ -1,101 +1,101 @@
1
- name: mvt-init
2
- output: .claude/skills/mvt-init/SKILL.md
3
-
4
- frontmatter:
5
- name: mvt-init
6
- description: "Initialize or refresh a project by scanning its structure, detecting tech stack, and inferring project type. This skill should be used when starting a new project, re-initializing after structural changes, or setting up the MVTT workspace."
7
-
8
- sections:
9
- - type: inline
10
- content: |
11
- # MVT Init
12
-
13
- ## Purpose
14
-
15
- Initialize a project by scanning its structure, detecting tech stack, inferring project type, and writing the lean project index. This is the entry point for the MVTT framework.
16
-
17
- - type: shared
18
- source: sections/role-header.md
19
- params:
20
- role: Conductor
21
- role_desc: "a Workflow Coordinator"
22
- decision_rules:
23
- - rule: "If user intent is unclear -> Ask a clarifying question before proceeding"
24
- - rule: "If `session.yaml` shows `initialized_at: \"\"` -> This is a fresh init"
25
- - rule: "If `session.yaml` shows existing data -> This is a refresh (preserve existing state)"
26
- - rule: "If no project files found -> Warn user this may be an empty project"
27
- - rule: "If multiple languages detected -> Flag as monorepo candidate, identify primary language"
28
- - rule: "If project type is ambiguous -> Prompt for confirmation between top candidates"
29
- - rule: "If existing workspace files found on refresh -> Show diff and confirm before overwrite"
30
- boundaries:
31
- - scope: "analyze requirements"
32
- skill: "/mvt-analyze"
33
- - scope: "analyze existing code"
34
- skill: "/mvt-analyze-code"
35
- - scope: "design architecture"
36
- skill: "/mvt-design"
37
- - scope: "write implementation code"
38
- skill: "/mvt-implement"
39
-
40
- - type: inline
41
- content: |
42
- ## Variants
43
-
44
- | Variant | Description |
45
- |---------|-------------|
46
- | `/mvt-init` | Standard initialization (scan + detect + write index) |
47
- | `/mvt-init --refresh` | Re-scan existing project -- preserve user state, update auto-detectable fields, show diff before writing |
48
-
49
- - type: shared
50
- source: sections/activation-load-context.md
51
- params:
52
- extended_context:
53
- - "Scan project root for config files (package.json, requirements.txt, pom.xml, etc.)"
54
- - "Scan project root for directory structure (src/, lib/, app/, tests/, etc.)"
55
-
56
- - type: shared
57
- source: sections/activation-load-config.md
58
-
59
- - type: shared
60
- source: sections/output-language-constraint.md
61
-
62
- - type: shared
63
- source: sections/activation-preflight.md
64
- params:
65
- checks:
66
- - order: "1"
67
- field: "session and project-context both empty"
68
- level: "INFO"
69
- message: "This is a first-time init, proceed normally."
70
-
71
- - type: file
72
- source: ./business.md
73
-
74
-
75
- - type: shared
76
- source: sections/session-update.md
77
- params:
78
- update_initialized_at: true
79
-
80
- - type: shared
81
- source: sections/footer-next-steps.md
82
- params:
83
- current_skill: mvt-init
84
- conditional_suggestions:
85
- conditions:
86
- - condition: "has_existing_code"
87
- primary: mvt-analyze-code
88
- primary_desc: "Reverse-analyze existing codebase to generate project-context.md"
89
- - condition: "empty_project"
90
- primary: mvt-manage-context
91
- primary_desc: "Manually add project context, requirements, or team conventions"
92
- - condition: "default"
93
- primary: mvt-analyze
94
- primary_desc: "Start analyzing requirements"
95
- alternatives:
96
- - skill: mvt-manage-context
97
- desc: "Manually add team conventions or domain knowledge"
98
- - skill: mvt-analyze
99
- desc: "Start from a requirements document"
100
- - skill: mvt-status
101
- desc: "Inspect current project status"
1
+ name: mvt-init
2
+ output: .claude/skills/mvt-init/SKILL.md
3
+
4
+ frontmatter:
5
+ name: mvt-init
6
+ description: "Initialize or refresh a project by scanning its structure, detecting tech stack, and inferring project type. This skill should be used when starting a new project, re-initializing after structural changes, or setting up the MVTT workspace."
7
+
8
+ sections:
9
+ - type: inline
10
+ content: |
11
+ # MVT Init
12
+
13
+ ## Purpose
14
+
15
+ Initialize a project by scanning its structure, detecting tech stack, inferring project type, and writing the lean project index. This is the entry point for the MVTT framework.
16
+
17
+ - type: shared
18
+ source: sections/role-header.md
19
+ params:
20
+ role: Conductor
21
+ role_desc: "a Workflow Coordinator"
22
+ decision_rules:
23
+ - rule: "If user intent is unclear -> Ask a clarifying question before proceeding"
24
+ - rule: "If `session.yaml` shows `initialized_at: \"\"` -> This is a fresh init"
25
+ - rule: "If `session.yaml` shows existing data -> This is a refresh (preserve existing state)"
26
+ - rule: "If no project files found -> Warn user this may be an empty project"
27
+ - rule: "If multiple languages detected -> Flag as monorepo candidate, identify primary language"
28
+ - rule: "If project type is ambiguous -> Prompt for confirmation between top candidates"
29
+ - rule: "If existing workspace files found on refresh -> Show diff and confirm before overwrite"
30
+ boundaries:
31
+ - scope: "analyze requirements"
32
+ skill: "/mvt-analyze"
33
+ - scope: "analyze existing code"
34
+ skill: "/mvt-analyze-code"
35
+ - scope: "design architecture"
36
+ skill: "/mvt-design"
37
+ - scope: "write implementation code"
38
+ skill: "/mvt-implement"
39
+
40
+ - type: inline
41
+ content: |
42
+ ## Variants
43
+
44
+ | Variant | Description |
45
+ |---------|-------------|
46
+ | `/mvt-init` | Standard initialization (scan + detect + write index) |
47
+ | `/mvt-init --refresh` | Re-scan existing project -- preserve user state, update auto-detectable fields, show diff before writing |
48
+
49
+ - type: shared
50
+ source: sections/activation-load-context.md
51
+ params:
52
+ extended_context:
53
+ - "Scan project root for config files (package.json, requirements.txt, pom.xml, etc.)"
54
+ - "Scan project root for directory structure (src/, lib/, app/, tests/, etc.)"
55
+
56
+ - type: shared
57
+ source: sections/activation-load-config.md
58
+
59
+ - type: shared
60
+ source: sections/output-language-constraint.md
61
+
62
+ - type: shared
63
+ source: sections/activation-preflight.md
64
+ params:
65
+ checks:
66
+ - order: "1"
67
+ field: "session and project-context both empty"
68
+ level: "INFO"
69
+ message: "This is a first-time init, proceed normally."
70
+
71
+ - type: file
72
+ source: ./business.md
73
+
74
+
75
+ - type: shared
76
+ source: sections/session-update.md
77
+ params:
78
+ update_initialized_at: true
79
+
80
+ - type: shared
81
+ source: sections/footer-next-steps.md
82
+ params:
83
+ current_skill: mvt-init
84
+ conditional_suggestions:
85
+ conditions:
86
+ - condition: "has_existing_code"
87
+ primary: mvt-analyze-code
88
+ primary_desc: "Reverse-analyze existing codebase to generate project-context.md"
89
+ - condition: "empty_project"
90
+ primary: mvt-manage-context
91
+ primary_desc: "Manually add project context, requirements, or team conventions"
92
+ - condition: "default"
93
+ primary: mvt-analyze
94
+ primary_desc: "Start analyzing requirements"
95
+ alternatives:
96
+ - skill: mvt-manage-context
97
+ desc: "Manually add team conventions or domain knowledge"
98
+ - skill: mvt-analyze
99
+ desc: "Start from a requirements document"
100
+ - skill: mvt-status
101
+ desc: "Inspect current project status"