viepilot 2.4.0 → 2.15.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 +206 -0
- package/README.md +16 -13
- package/docs/brainstorm/session-2026-04-11.md +194 -0
- package/docs/skills-reference.md +58 -0
- package/docs/user/features/interactive-prompts.md +83 -0
- package/docs/user/features/proposal.md +196 -0
- package/lib/google-slides-exporter.cjs +80 -0
- package/lib/proposal-generator.cjs +249 -0
- package/lib/screenshot-artifact.cjs +142 -0
- package/lib/viepilot-config.cjs +32 -1
- package/package.json +8 -1
- package/skills/vp-audit/SKILL.md +11 -0
- package/skills/vp-brainstorm/SKILL.md +21 -0
- package/skills/vp-crystallize/SKILL.md +64 -0
- package/skills/vp-docs/SKILL.md +16 -6
- package/skills/vp-proposal/SKILL.md +175 -0
- package/skills/vp-request/SKILL.md +22 -0
- package/templates/proposal/docx/project-detail.docx +0 -0
- package/templates/proposal/pptx/general.pptx +0 -0
- package/templates/proposal/pptx/product-pitch.pptx +0 -0
- package/templates/proposal/pptx/project-proposal-creative.pptx +0 -0
- package/templates/proposal/pptx/project-proposal-enterprise.pptx +0 -0
- package/templates/proposal/pptx/project-proposal-modern-tech.pptx +0 -0
- package/templates/proposal/pptx/project-proposal.pptx +0 -0
- package/templates/proposal/pptx/tech-architecture.pptx +0 -0
- package/workflows/brainstorm.md +26 -0
- package/workflows/crystallize.md +700 -1
- package/workflows/documentation.md +26 -11
- package/workflows/evolve.md +36 -0
- package/workflows/proposal.md +807 -0
- package/workflows/request.md +35 -0
|
@@ -17,20 +17,35 @@ Generate comprehensive documentation from code and artifacts.
|
|
|
17
17
|
Before generating any file, collect actual project context from the environment:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
# Get
|
|
20
|
+
# Get Git remote URL (supports any forge: GitHub, GitLab, Bitbucket, Azure DevOps, Gitea, self-hosted)
|
|
21
21
|
REMOTE_URL=$(git remote get-url origin 2>/dev/null || echo "")
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
# Forge-agnostic remote URL parser
|
|
24
|
+
# Handles SSH : git@<host>:owner/repo.git
|
|
25
|
+
# Handles HTTPS: https://<host>/owner/repo.git
|
|
26
|
+
# Handles Azure DevOps: https://dev.azure.com/org/project/_git/repo
|
|
27
|
+
if echo "$REMOTE_URL" | grep -q 'dev\.azure\.com'; then
|
|
28
|
+
# Azure DevOps: https://dev.azure.com/ORG/PROJECT/_git/REPO
|
|
29
|
+
GIT_HOST="dev.azure.com"
|
|
30
|
+
GIT_OWNER=$(echo "$REMOTE_URL" | sed 's|.*dev\.azure\.com/||; s|/.*||')
|
|
31
|
+
GIT_REPO=$(echo "$REMOTE_URL" | sed 's|.*/_git/||; s|\.git$||; s|/$||')
|
|
32
|
+
elif echo "$REMOTE_URL" | grep -q '^git@'; then
|
|
33
|
+
# SSH format: git@host:owner/repo.git
|
|
34
|
+
GIT_HOST=$(echo "$REMOTE_URL" | sed 's|^git@||; s|:.*||')
|
|
35
|
+
GIT_OWNER=$(echo "$REMOTE_URL" | sed 's|^git@[^:]*:||; s|/.*||')
|
|
36
|
+
GIT_REPO=$(echo "$REMOTE_URL" | sed 's|^git@[^:]*:[^/]*/||; s|\.git$||')
|
|
37
|
+
else
|
|
38
|
+
# HTTPS format: https://host/owner/repo.git
|
|
39
|
+
GIT_HOST=$(echo "$REMOTE_URL" | sed 's|^https\?://||; s|/.*||')
|
|
40
|
+
GIT_OWNER=$(echo "$REMOTE_URL" | sed 's|^https\?://[^/]*/||; s|/.*||')
|
|
41
|
+
GIT_REPO=$(echo "$REMOTE_URL" | sed 's|^https\?://[^/]*/[^/]*/||; s|\.git$||; s|/$||')
|
|
42
|
+
fi
|
|
29
43
|
|
|
30
44
|
# Fallback if no remote
|
|
31
|
-
if [ -z "$
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
if [ -z "$GIT_OWNER" ]; then
|
|
46
|
+
GIT_HOST="{GIT_HOST}"
|
|
47
|
+
GIT_OWNER="{GIT_OWNER}"
|
|
48
|
+
GIT_REPO="{GIT_REPO}"
|
|
34
49
|
fi
|
|
35
50
|
|
|
36
51
|
# Get project name from package.json or directory name
|
|
@@ -54,7 +69,7 @@ if [ -d "skills" ] && ls skills/vp-*/SKILL.md 2>/dev/null | head -1 > /dev/null;
|
|
|
54
69
|
fi
|
|
55
70
|
```
|
|
56
71
|
|
|
57
|
-
Use `$
|
|
72
|
+
Use `$GIT_HOST`, `$GIT_OWNER`, `$GIT_REPO` throughout all generated files.
|
|
58
73
|
For viepilot framework repos, also use `$ACTUAL_SKILLS`, `$ACTUAL_WORKFLOWS`.
|
|
59
74
|
**Never hardcode** `your-org`, `YOUR_USERNAME`, `YOUR_ORG`, or static skill/workflow counts.
|
|
60
75
|
|
package/workflows/evolve.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
Upgrade or expand the project: add features, start a new milestone, or refactor.
|
|
3
3
|
</purpose>
|
|
4
4
|
|
|
5
|
+
## Adapter Compatibility
|
|
6
|
+
|
|
7
|
+
| Feature | Claude Code (terminal) | Cursor (Agent/Skills) | Codex CLI | Antigravity (native) |
|
|
8
|
+
|---------|----------------------|-----------------------|-----------|----------------------|
|
|
9
|
+
| Interactive prompts | ✅ `AskUserQuestion` tool | ❌ text fallback | ❌ text fallback | ❌ text fallback |
|
|
10
|
+
|
|
11
|
+
When `AskUserQuestion` is not available, each prompt block falls back to the plain-text numbered list shown below it — no configuration needed.
|
|
12
|
+
|
|
5
13
|
## ViePilot Skill Scope Policy (BUG-004)
|
|
6
14
|
|
|
7
15
|
- Default behavior: only use and suggest skills under `vp-*`.
|
|
@@ -44,7 +52,17 @@ Determine:
|
|
|
44
52
|
Version: {version}
|
|
45
53
|
|
|
46
54
|
How would you like to evolve the project?
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
> **Adapter-aware prompt:**
|
|
58
|
+
> - **Claude Code (terminal):** use `AskUserQuestion` tool — spec:
|
|
59
|
+
> - question: "How would you like to evolve the project?"
|
|
60
|
+
> - header: "Evolve mode"
|
|
61
|
+
> - options: [{ label: "Add Feature", description: "Add a new capability to the current milestone" }, { label: "New Milestone", description: "Archive current milestone and start a new scope" }, { label: "Refactor", description: "Improve existing code without adding new features" }]
|
|
62
|
+
> - multiSelect: false
|
|
63
|
+
> - **Cursor / Codex / Antigravity / other:** use text menu below
|
|
47
64
|
|
|
65
|
+
```
|
|
48
66
|
1. Add Feature - Add new feature to current milestone
|
|
49
67
|
2. New Milestone - Start a new milestone (archive current)
|
|
50
68
|
3. Refactor - Improve existing code without new features
|
|
@@ -62,7 +80,25 @@ Describe the new feature:
|
|
|
62
80
|
2. What does it do? (1-2 sentences)
|
|
63
81
|
3. Which services/modules affected?
|
|
64
82
|
4. Dependencies on existing code?
|
|
83
|
+
|
|
84
|
+
> **Adapter-aware prompt (question 5 — complexity):**
|
|
85
|
+
> - **Claude Code (terminal):** use `AskUserQuestion` tool — spec:
|
|
86
|
+
> - question: "Estimated implementation complexity?"
|
|
87
|
+
> - header: "Complexity"
|
|
88
|
+
> - options: [{ label: "S — Small", description: "Few hours — isolated change, 1 file" }, { label: "M — Medium", description: "1–2 days — 1–2 files, some integration" }, { label: "L — Large", description: "3–5 days — multiple modules affected" }, { label: "XL — Extra Large", description: "1+ week — architectural change or major feature" }]
|
|
89
|
+
> - multiSelect: false
|
|
90
|
+
> - **Cursor / Codex / Antigravity / other:** use text below
|
|
91
|
+
|
|
65
92
|
5. Estimated complexity? (S/M/L/XL)
|
|
93
|
+
|
|
94
|
+
> **Adapter-aware prompt (question 6 — brainstorm routing):**
|
|
95
|
+
> - **Claude Code (terminal):** use `AskUserQuestion` tool — spec:
|
|
96
|
+
> - question: "Does this feature need a brainstorm session first?"
|
|
97
|
+
> - header: "Brainstorm?"
|
|
98
|
+
> - options: [{ label: "Yes — go to /vp-brainstorm", description: "Research-heavy, UX-driven, or landing page feature — brainstorm first" }, { label: "No — plan directly", description: "Scope is clear — proceed to phase/task planning now" }]
|
|
99
|
+
> - multiSelect: false
|
|
100
|
+
> - **Cursor / Codex / Antigravity / other:** use text below
|
|
101
|
+
|
|
66
102
|
6. Need deep brainstorm? (landing page / UX / growth ideas / research-heavy)
|
|
67
103
|
```
|
|
68
104
|
|