@uoyo/mvtt 2.0.0-beta.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/LICENSE +21 -0
- package/README.md +209 -0
- package/dist/build/assembler.d.ts +6 -0
- package/dist/build/assembler.d.ts.map +1 -0
- package/dist/build/assembler.js +32 -0
- package/dist/build/assembler.js.map +1 -0
- package/dist/build/section-loader.d.ts +4 -0
- package/dist/build/section-loader.d.ts.map +1 -0
- package/dist/build/section-loader.js +55 -0
- package/dist/build/section-loader.js.map +1 -0
- package/dist/build/validator.d.ts +6 -0
- package/dist/build/validator.d.ts.map +1 -0
- package/dist/build/validator.js +77 -0
- package/dist/build/validator.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +49 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/build.d.ts +5 -0
- package/dist/commands/build.d.ts.map +1 -0
- package/dist/commands/build.js +46 -0
- package/dist/commands/build.js.map +1 -0
- package/dist/commands/doctor.d.ts +2 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +79 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/install.d.ts +5 -0
- package/dist/commands/install.d.ts.map +1 -0
- package/dist/commands/install.js +63 -0
- package/dist/commands/install.js.map +1 -0
- package/dist/commands/shared.d.ts +2 -0
- package/dist/commands/shared.d.ts.map +1 -0
- package/dist/commands/shared.js +2 -0
- package/dist/commands/shared.js.map +1 -0
- package/dist/commands/uninstall.d.ts +2 -0
- package/dist/commands/uninstall.d.ts.map +1 -0
- package/dist/commands/uninstall.js +56 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.d.ts +5 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +59 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/fs/hash.d.ts +3 -0
- package/dist/fs/hash.d.ts.map +1 -0
- package/dist/fs/hash.js +10 -0
- package/dist/fs/hash.js.map +1 -0
- package/dist/fs/install-manifest.d.ts +16 -0
- package/dist/fs/install-manifest.d.ts.map +1 -0
- package/dist/fs/install-manifest.js +29 -0
- package/dist/fs/install-manifest.js.map +1 -0
- package/dist/fs/materialize.d.ts +14 -0
- package/dist/fs/materialize.d.ts.map +1 -0
- package/dist/fs/materialize.js +116 -0
- package/dist/fs/materialize.js.map +1 -0
- package/dist/fs/protection.d.ts +15 -0
- package/dist/fs/protection.d.ts.map +1 -0
- package/dist/fs/protection.js +16 -0
- package/dist/fs/protection.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/types/manifest.d.ts +21 -0
- package/dist/types/manifest.d.ts.map +1 -0
- package/dist/types/manifest.js +2 -0
- package/dist/types/manifest.js.map +1 -0
- package/dist/types/registry.d.ts +25 -0
- package/dist/types/registry.d.ts.map +1 -0
- package/dist/types/registry.js +2 -0
- package/dist/types/registry.js.map +1 -0
- package/dist/util/color.d.ts +9 -0
- package/dist/util/color.d.ts.map +1 -0
- package/dist/util/color.js +13 -0
- package/dist/util/color.js.map +1 -0
- package/dist/util/package.d.ts +3 -0
- package/dist/util/package.d.ts.map +1 -0
- package/dist/util/package.js +13 -0
- package/dist/util/package.js.map +1 -0
- package/install-manifest.yaml +27 -0
- package/package.json +57 -0
- package/registry.yaml +209 -0
- package/sources/defaults/config.yaml +30 -0
- package/sources/defaults/project-context.yaml +26 -0
- package/sources/defaults/session.yaml +23 -0
- package/sources/knowledge/core/manifest.yaml +47 -0
- package/sources/knowledge/core/review-principles.md +51 -0
- package/sources/knowledge/patterns/clean-architecture/manifest.yaml +66 -0
- package/sources/knowledge/patterns/clean-architecture/review-checklist.md +230 -0
- package/sources/knowledge/patterns/ddd/manifest.yaml +83 -0
- package/sources/knowledge/patterns/ddd/review-checklist.md +226 -0
- package/sources/knowledge/patterns/ddd/tactical-patterns.md +12 -0
- package/sources/knowledge/patterns/frontend-react/manifest.yaml +44 -0
- package/sources/knowledge/patterns/frontend-react/review-checklist.md +78 -0
- package/sources/knowledge/patterns/manifest.yaml +113 -0
- package/sources/sections/activation-load-config.md +5 -0
- package/sources/sections/activation-load-context.md +11 -0
- package/sources/sections/activation-preflight.md +4 -0
- package/sources/sections/footer-next-steps.md +9 -0
- package/sources/sections/role-header.md +13 -0
- package/sources/skills/mvt-add-context/business.md +47 -0
- package/sources/skills/mvt-add-context/manifest.yaml +83 -0
- package/sources/skills/mvt-analyze/business.md +33 -0
- package/sources/skills/mvt-analyze/manifest.yaml +89 -0
- package/sources/skills/mvt-analyze-code/business.md +35 -0
- package/sources/skills/mvt-analyze-code/manifest.yaml +88 -0
- package/sources/skills/mvt-check-context/business.md +42 -0
- package/sources/skills/mvt-check-context/manifest.yaml +74 -0
- package/sources/skills/mvt-cleanup/business.md +31 -0
- package/sources/skills/mvt-cleanup/manifest.yaml +93 -0
- package/sources/skills/mvt-config/business.md +26 -0
- package/sources/skills/mvt-config/manifest.yaml +108 -0
- package/sources/skills/mvt-create-skill/business.md +111 -0
- package/sources/skills/mvt-create-skill/manifest.yaml +79 -0
- package/sources/skills/mvt-design/business.md +34 -0
- package/sources/skills/mvt-design/manifest.yaml +105 -0
- package/sources/skills/mvt-fix/business.md +28 -0
- package/sources/skills/mvt-fix/manifest.yaml +86 -0
- package/sources/skills/mvt-help/business.md +70 -0
- package/sources/skills/mvt-help/manifest.yaml +61 -0
- package/sources/skills/mvt-implement/business.md +32 -0
- package/sources/skills/mvt-implement/manifest.yaml +96 -0
- package/sources/skills/mvt-init/business.md +49 -0
- package/sources/skills/mvt-init/manifest.yaml +93 -0
- package/sources/skills/mvt-refactor/business.md +33 -0
- package/sources/skills/mvt-refactor/manifest.yaml +101 -0
- package/sources/skills/mvt-review/business.md +49 -0
- package/sources/skills/mvt-review/manifest.yaml +106 -0
- package/sources/skills/mvt-status/business.md +24 -0
- package/sources/skills/mvt-status/manifest.yaml +74 -0
- package/sources/skills/mvt-sync-context/business.md +25 -0
- package/sources/skills/mvt-sync-context/manifest.yaml +84 -0
- package/sources/skills/mvt-template/business.md +49 -0
- package/sources/skills/mvt-template/manifest.yaml +71 -0
- package/sources/skills/mvt-test/business.md +36 -0
- package/sources/skills/mvt-test/manifest.yaml +111 -0
- package/sources/templates/analyze-code-output/body.md +44 -0
- package/sources/templates/analyze-code-output/manifest.yaml +11 -0
- package/sources/templates/analyze-output/body.md +38 -0
- package/sources/templates/analyze-output/manifest.yaml +11 -0
- package/sources/templates/cleanup-output/body.md +9 -0
- package/sources/templates/cleanup-output/manifest.yaml +11 -0
- package/sources/templates/config-output/body.md +11 -0
- package/sources/templates/config-output/manifest.yaml +11 -0
- package/sources/templates/context-check-output/body.md +32 -0
- package/sources/templates/context-check-output/manifest.yaml +11 -0
- package/sources/templates/design-output/body.md +50 -0
- package/sources/templates/design-output/manifest.yaml +11 -0
- package/sources/templates/fix-output/body.md +30 -0
- package/sources/templates/fix-output/manifest.yaml +11 -0
- package/sources/templates/implement-output/body.md +32 -0
- package/sources/templates/implement-output/manifest.yaml +11 -0
- package/sources/templates/init-output/body.md +34 -0
- package/sources/templates/init-output/manifest.yaml +11 -0
- package/sources/templates/refactor-output/body.md +32 -0
- package/sources/templates/refactor-output/manifest.yaml +11 -0
- package/sources/templates/review-output/body.md +45 -0
- package/sources/templates/review-output/manifest.yaml +11 -0
- package/sources/templates/status-output/body.md +36 -0
- package/sources/templates/status-output/manifest.yaml +11 -0
- package/sources/templates/sync-context-output/body.md +16 -0
- package/sources/templates/sync-context-output/manifest.yaml +11 -0
- package/sources/templates/test-output/body.md +31 -0
- package/sources/templates/test-output/manifest.yaml +11 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
## Requirements Analysis: {Feature Name}
|
|
2
|
+
|
|
3
|
+
### Feature Overview
|
|
4
|
+
{1-2 paragraph summary of the feature}
|
|
5
|
+
|
|
6
|
+
### Actors
|
|
7
|
+
| Actor | Type | Description |
|
|
8
|
+
|-------|------|-------------|
|
|
9
|
+
| {actor} | {primary/secondary/system} | {description} |
|
|
10
|
+
|
|
11
|
+
### Requirements
|
|
12
|
+
| ID | Requirement | Priority | Category |
|
|
13
|
+
|----|-------------|----------|----------|
|
|
14
|
+
| REQ-001 | {requirement} | {P0/P1/P2} | {functional/non-functional} |
|
|
15
|
+
|
|
16
|
+
### Domain Concepts
|
|
17
|
+
| Concept | Type | Description |
|
|
18
|
+
|---------|------|-------------|
|
|
19
|
+
| {concept} | {Entity/Value Object/Service} | {description} |
|
|
20
|
+
|
|
21
|
+
### Business Rules
|
|
22
|
+
| ID | Rule | Condition | Action |
|
|
23
|
+
|----|------|-----------|--------|
|
|
24
|
+
| BR-001 | {rule_name} | {when} | {then} |
|
|
25
|
+
|
|
26
|
+
### Ambiguities & Questions
|
|
27
|
+
| # | Question | Impact | Blocking? |
|
|
28
|
+
|---|----------|--------|-----------|
|
|
29
|
+
| Q1 | {question} | {what_it_affects} | {Yes/No} |
|
|
30
|
+
|
|
31
|
+
### Change Tracking
|
|
32
|
+
- **Change ID**: {YYYYMMDD-slug}
|
|
33
|
+
- **Artifact**: `.ai-agents/workspace/artifacts/{change-id}/analysis.md`
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
**Suggested Next Steps**:
|
|
37
|
+
- `/mvt-design` to create architecture based on this analysis
|
|
38
|
+
- Address blocking questions before proceeding
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
## Workspace Cleanup
|
|
2
|
+
|
|
3
|
+
### Cleanup Candidates
|
|
4
|
+
| Item | Current Size | Action | Result |
|
|
5
|
+
|------|-------------|--------|--------|
|
|
6
|
+
| {artifact} | ~{tokens} tokens | {Summarize/Remove} | ~{reduced} tokens |
|
|
7
|
+
| **Total** | **~{total} tokens** | | **~{new_total} tokens ({savings} saved)** |
|
|
8
|
+
|
|
9
|
+
Proceed with cleanup? [Y/n]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
## Configuration Manager
|
|
2
|
+
|
|
3
|
+
| # | Category | Current Settings |
|
|
4
|
+
|---|----------|------------------|
|
|
5
|
+
| 1 | System | Language: {lang}, Mode: {mode} |
|
|
6
|
+
| 2 | Output | Format: {format}, Emojis: {on/off} |
|
|
7
|
+
| 3 | Pattern | Active: {pattern} |
|
|
8
|
+
| 4 | Wizard | Start guided setup |
|
|
9
|
+
| 5 | Reset | Reset to defaults |
|
|
10
|
+
|
|
11
|
+
**Select (1-5):**
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## Context Load Analysis Report
|
|
2
|
+
|
|
3
|
+
### Overall Assessment
|
|
4
|
+
- **Total Context Size**: ~{total_tokens} tokens
|
|
5
|
+
- **Health Status**: {Good / Moderate / High / Overloaded}
|
|
6
|
+
|
|
7
|
+
### Breakdown by Category
|
|
8
|
+
| Category | Files | Est. Tokens | Percentage |
|
|
9
|
+
|----------|-------|-------------|------------|
|
|
10
|
+
| Core (session + context) | {n} | {tokens} | {pct}% |
|
|
11
|
+
| Knowledge | {n} | {tokens} | {pct}% |
|
|
12
|
+
| Artifacts | {n} | {tokens} | {pct}% |
|
|
13
|
+
| Skills | {n} | {tokens} | {pct}% |
|
|
14
|
+
| **Total** | **{n}** | **{tokens}** | **100%** |
|
|
15
|
+
|
|
16
|
+
### Top 5 Largest Files
|
|
17
|
+
| Rank | File | Est. Tokens | Suggestion |
|
|
18
|
+
|------|------|-------------|------------|
|
|
19
|
+
| 1 | {file} | {tokens} | {suggestion} |
|
|
20
|
+
| 2 | {file} | {tokens} | {suggestion} |
|
|
21
|
+
| 3 | {file} | {tokens} | {suggestion} |
|
|
22
|
+
| 4 | {file} | {tokens} | {suggestion} |
|
|
23
|
+
| 5 | {file} | {tokens} | {suggestion} |
|
|
24
|
+
|
|
25
|
+
### Optimization Recommendations
|
|
26
|
+
1. {recommendation_1}
|
|
27
|
+
2. {recommendation_2}
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
**Suggested Next Steps**:
|
|
31
|
+
- `/mvt-cleanup` - Clean up old artifacts to reduce context size
|
|
32
|
+
- `/mvt-context-add` - Update project context if information is outdated
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
## Architecture Design: {Feature Name}
|
|
2
|
+
|
|
3
|
+
### Overview
|
|
4
|
+
{1-2 paragraph summary of the architecture}
|
|
5
|
+
|
|
6
|
+
### Architecture Decision Records
|
|
7
|
+
| ID | Decision | Rationale | Alternatives Considered |
|
|
8
|
+
|----|----------|-----------|------------------------|
|
|
9
|
+
| ADR-001 | {decision} | {rationale} | {alternatives} |
|
|
10
|
+
|
|
11
|
+
### Module Design
|
|
12
|
+
| Module | Responsibility | Layer | Dependencies |
|
|
13
|
+
|--------|---------------|-------|--------------|
|
|
14
|
+
| {module} | {responsibility} | {Domain/Application/Infrastructure/Interface} | {deps} |
|
|
15
|
+
|
|
16
|
+
### Key Interfaces
|
|
17
|
+
```{language}
|
|
18
|
+
// {InterfaceName}
|
|
19
|
+
{interface_definition}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Data Flow
|
|
23
|
+
```mermaid
|
|
24
|
+
sequenceDiagram
|
|
25
|
+
participant C as Client
|
|
26
|
+
participant S as Service
|
|
27
|
+
participant R as Repository
|
|
28
|
+
C->>S: request
|
|
29
|
+
S->>R: query
|
|
30
|
+
R-->>S: result
|
|
31
|
+
S-->>C: response
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### File Structure
|
|
35
|
+
| File | Action | Description |
|
|
36
|
+
|------|--------|-------------|
|
|
37
|
+
| `{path}` | {Create/Modify} | {description} |
|
|
38
|
+
|
|
39
|
+
### Implementation Guidelines
|
|
40
|
+
- {guideline_1}
|
|
41
|
+
- {guideline_2}
|
|
42
|
+
|
|
43
|
+
### Change Tracking
|
|
44
|
+
- **Change ID**: {change-id}
|
|
45
|
+
- **Artifact**: `.ai-agents/workspace/artifacts/{change-id}/design.md`
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
**Suggested Next Steps**:
|
|
49
|
+
- `/mvt-implement` to start implementing this design
|
|
50
|
+
- Refine specific modules if needed
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
## Bug Fix: {Issue Description}
|
|
2
|
+
|
|
3
|
+
### Issue Analysis
|
|
4
|
+
- **Symptom**: {what_user_observes}
|
|
5
|
+
- **Root Cause**: {why_it_happens}
|
|
6
|
+
- **Impact**: {what_is_affected}
|
|
7
|
+
|
|
8
|
+
### Root Cause Analysis
|
|
9
|
+
| # | Hypothesis | Evidence | Result |
|
|
10
|
+
|---|-----------|----------|--------|
|
|
11
|
+
| 1 | {hypothesis} | {evidence} | {confirmed/rejected} |
|
|
12
|
+
|
|
13
|
+
### Fix Applied
|
|
14
|
+
| File | Line | Before | After |
|
|
15
|
+
|------|------|--------|-------|
|
|
16
|
+
| `{file}` | {line} | {old_code} | {new_code} |
|
|
17
|
+
|
|
18
|
+
### Implementation
|
|
19
|
+
```{language}
|
|
20
|
+
{fix_code}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Verification
|
|
24
|
+
- {how_to_verify_fix}
|
|
25
|
+
- {test_command_if_applicable}
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
**Suggested Next Steps**:
|
|
29
|
+
- `/mvt-review` to verify the fix
|
|
30
|
+
- `/mvt-test` to add regression tests
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## Implementation: {Feature Name}
|
|
2
|
+
|
|
3
|
+
### Implementation Plan
|
|
4
|
+
| # | Step | Files | Status |
|
|
5
|
+
|---|------|-------|--------|
|
|
6
|
+
| 1 | {step} | `{files}` | {pending/done} |
|
|
7
|
+
|
|
8
|
+
### Changes
|
|
9
|
+
| File | Action | Description |
|
|
10
|
+
|------|--------|-------------|
|
|
11
|
+
| `{path}` | {Create/Modify/Delete} | {description} |
|
|
12
|
+
|
|
13
|
+
### Implementation Code
|
|
14
|
+
|
|
15
|
+
#### {file_path}
|
|
16
|
+
```{language}
|
|
17
|
+
{code}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Design Compliance
|
|
21
|
+
| Design Requirement | Status | Notes |
|
|
22
|
+
|-------------------|--------|-------|
|
|
23
|
+
| {requirement} | {Compliant/Deviation} | {notes} |
|
|
24
|
+
|
|
25
|
+
### Change Tracking
|
|
26
|
+
- **Change ID**: {change-id}
|
|
27
|
+
- **Artifact**: `.ai-agents/workspace/artifacts/{change-id}/implementation.md`
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
**Suggested Next Steps**:
|
|
31
|
+
- `/mvt-review` to review the implementation
|
|
32
|
+
- `/mvt-test` to write tests
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
## Project Initialization Complete
|
|
2
|
+
|
|
3
|
+
### Project: {name}
|
|
4
|
+
- **Type**: {type}
|
|
5
|
+
- **Pattern**: {pattern}
|
|
6
|
+
- **Tech Stack**: {language} / {framework}
|
|
7
|
+
|
|
8
|
+
### Architecture Pattern Selection
|
|
9
|
+
|
|
10
|
+
| Detected Pattern | Confidence |
|
|
11
|
+
|------------------|------------|
|
|
12
|
+
| {pattern_name} | {high/medium/low} |
|
|
13
|
+
|
|
14
|
+
**Available Patterns**:
|
|
15
|
+
1. `ddd` - Domain-Driven Design
|
|
16
|
+
2. `clean-architecture` - Layer separation with dependency inversion
|
|
17
|
+
3. `frontend-react` - React/Next.js frontend
|
|
18
|
+
4. `generic` - Simple projects without specific architecture
|
|
19
|
+
|
|
20
|
+
**Recommended**: `{suggested_pattern}`
|
|
21
|
+
|
|
22
|
+
- Reply `yes` to accept
|
|
23
|
+
- Reply with pattern name to select different
|
|
24
|
+
- Reply `analyze` to create a custom pattern from project analysis
|
|
25
|
+
- Reply `none` to proceed without a pattern
|
|
26
|
+
|
|
27
|
+
### Workspace Updated
|
|
28
|
+
- [x] project-context.yaml
|
|
29
|
+
- [x] session.yaml
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
**Suggested Next Steps**:
|
|
33
|
+
- `/mvt-analyze {requirements}` - Start analyzing requirements
|
|
34
|
+
- `/mvt-status` - View project status
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## Refactoring: {Target}
|
|
2
|
+
|
|
3
|
+
### Refactoring Type
|
|
4
|
+
{type from: Extract Method/Class, Rename, Move, Decompose Conditional, Replace Inheritance with Composition, Change Interface/API}
|
|
5
|
+
|
|
6
|
+
### Goals
|
|
7
|
+
- {goal_1}
|
|
8
|
+
- {goal_2}
|
|
9
|
+
|
|
10
|
+
### Risk Assessment
|
|
11
|
+
- **Risk Level**: {Low | Medium | High}
|
|
12
|
+
- **Impact Scope**: {number} files in {number} modules
|
|
13
|
+
- **Test Coverage**: {Covered | Partial | None}
|
|
14
|
+
|
|
15
|
+
### Changes
|
|
16
|
+
| File | Action | Before | After |
|
|
17
|
+
|------|--------|--------|-------|
|
|
18
|
+
| `{file}` | {Create/Modify/Delete} | {description} | {description} |
|
|
19
|
+
|
|
20
|
+
### Implementation
|
|
21
|
+
```{language}
|
|
22
|
+
{refactored_code}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Behavior Verification
|
|
26
|
+
- {how_behavior_is_preserved}
|
|
27
|
+
- {test_commands_or_manual_verification_steps}
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
**Suggested Next Steps**:
|
|
31
|
+
- `/mvt-review` to verify changes
|
|
32
|
+
- `/mvt-test` to run tests
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
## Code Review Report
|
|
2
|
+
|
|
3
|
+
### Summary
|
|
4
|
+
- **Overall Assessment**: {Good / Needs Work / Critical Issues}
|
|
5
|
+
- **Files Reviewed**: {count}
|
|
6
|
+
- **Critical Issues**: {count}
|
|
7
|
+
- **Warnings**: {count}
|
|
8
|
+
- **Suggestions**: {count}
|
|
9
|
+
|
|
10
|
+
### Critical Issues
|
|
11
|
+
|
|
12
|
+
#### C{N}: {Issue Title}
|
|
13
|
+
**File**: `{file}:{line}`
|
|
14
|
+
**Issue**: {description}
|
|
15
|
+
**Suggestion**: {fix_suggestion}
|
|
16
|
+
|
|
17
|
+
```{language}
|
|
18
|
+
// Current code
|
|
19
|
+
{problematic_code}
|
|
20
|
+
|
|
21
|
+
// Suggested fix
|
|
22
|
+
{suggested_code}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Warnings
|
|
26
|
+
|
|
27
|
+
#### W{N}: {Issue Title}
|
|
28
|
+
**File**: `{file}:{line}`
|
|
29
|
+
**Issue**: {description}
|
|
30
|
+
**Suggestion**: {fix_suggestion}
|
|
31
|
+
|
|
32
|
+
### Suggestions
|
|
33
|
+
|
|
34
|
+
#### S{N}: {Suggestion Title}
|
|
35
|
+
**File**: `{file}`
|
|
36
|
+
**Suggestion**: {improvement}
|
|
37
|
+
|
|
38
|
+
### Highlights
|
|
39
|
+
- {positive_finding_1}
|
|
40
|
+
- {positive_finding_2}
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
**Suggested Next Steps**:
|
|
44
|
+
- `/mvt-fix` to address critical issues
|
|
45
|
+
- `/mvt-test` to add missing tests
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
## Project Status
|
|
2
|
+
|
|
3
|
+
### Current: {phase} Phase ({agent})
|
|
4
|
+
|
|
5
|
+
```mermaid
|
|
6
|
+
flowchart LR
|
|
7
|
+
A[analyze] ===> B[design] ---> C[implement] ---> D[review] ---> E[test]
|
|
8
|
+
style A fill:#90EE90
|
|
9
|
+
style B fill:#FFD700
|
|
10
|
+
style C fill:#E0E0E0
|
|
11
|
+
style D fill:#E0E0E0
|
|
12
|
+
style E fill:#E0E0E0
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Project: {name}
|
|
16
|
+
- **Type**: {type}
|
|
17
|
+
- **Initialized**: {date}
|
|
18
|
+
- **Tech Stack**: {language} / {framework}
|
|
19
|
+
|
|
20
|
+
### Progress This Session
|
|
21
|
+
| Phase | Status | Completed |
|
|
22
|
+
|-------|--------|-----------|
|
|
23
|
+
| Analyze | {status} | {time} |
|
|
24
|
+
| Design | {status} | {time} |
|
|
25
|
+
| Implement | {status} | {time} |
|
|
26
|
+
| Review | {status} | {time} |
|
|
27
|
+
| Test | {status} | {time} |
|
|
28
|
+
|
|
29
|
+
### Active Change
|
|
30
|
+
- **Change ID**: {change_id}
|
|
31
|
+
- **Title**: {title}
|
|
32
|
+
- **Started**: {date}
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
**Suggested Next Steps**:
|
|
36
|
+
- {relevant_next_step}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## Context Sync Complete
|
|
2
|
+
|
|
3
|
+
### Files Analyzed
|
|
4
|
+
| File | Change Type | Entities | Services |
|
|
5
|
+
|------|-------------|----------|----------|
|
|
6
|
+
| {file_path} | {Modified/Added/Deleted} | {entities} | {services} |
|
|
7
|
+
|
|
8
|
+
### Index Updates
|
|
9
|
+
- **Topics added**: {count}
|
|
10
|
+
- **Entities added**: {count}
|
|
11
|
+
- **Keywords added**: {count}
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
**Suggested Next Steps**:
|
|
15
|
+
- Continue with your current task
|
|
16
|
+
- `/mvt-status` to verify context state
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
## Test Design: {Feature Name}
|
|
2
|
+
|
|
3
|
+
### Test Cases
|
|
4
|
+
| ID | Scenario | Input | Expected Output | Type |
|
|
5
|
+
|----|----------|-------|-----------------|------|
|
|
6
|
+
| T1 | {scenario} | {input} | {expected} | {Happy Path / Edge Case / Negative / Security} |
|
|
7
|
+
|
|
8
|
+
### Test Code
|
|
9
|
+
|
|
10
|
+
#### {test_file}
|
|
11
|
+
```{language}
|
|
12
|
+
{test_code}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Coverage Analysis
|
|
16
|
+
| Requirement | Test Coverage | Status |
|
|
17
|
+
|-------------|---------------|--------|
|
|
18
|
+
| REQ-001 | T1, T2 | {Covered / Missing} |
|
|
19
|
+
|
|
20
|
+
### Coverage by Type
|
|
21
|
+
| Type | Count | Coverage |
|
|
22
|
+
|------|-------|----------|
|
|
23
|
+
| Happy Path | {n} | {pct}% |
|
|
24
|
+
| Edge Case | {n} | {pct}% |
|
|
25
|
+
| Negative | {n} | {pct}% |
|
|
26
|
+
| Security | {n} | {pct}% |
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
**Suggested Next Steps**:
|
|
30
|
+
- Run tests
|
|
31
|
+
- `/mvt-fix` if tests fail
|