This skill converts unstructured Product Manager thoughts into a structured Excalidraw visualization.
temp_visual_data.json) with this structure:```json
{
"title": "Feature Name",
"why": ["Reason 1", "Reason 2"],
"what": ["Feature 1", "Feature 2"],
"how": ["Tech 1", "Tech 2"],
"journey": ["Step 1", "Step 2", "Step 3"]
}
```
.excalidraw file.```bash
python3 skills/pm-visualizer/scripts/layout_diagram.py temp_visual_data.json ~/Downloads/Documents/PM_Visuals/Output_Name.excalidraw
```
Ensure the output directory exists first.
User: "Visualize a new 'Login with Google' feature. Why? Reduce friction. What? Google button on login page. How? OAuth2. Journey: User clicks button -> Google Popup -> Redirect to Dashboard."
Codex Action:
login_spec.json:```json
{
"title": "Login with Google",
"why": ["Reduce friction", "Increase conversion"],
"what": ["Google Sign-in Button", "Profile Sync"],
"how": ["OAuth 2.0 Flow", "Google Identity SDK"],
"journey": ["User clicks 'Sign in with Google'", "Google permissions popup appears", "User approves access", "System verifies token", "User redirected to Dashboard"]
}
```
mkdir -p ~/Downloads/Documents/PM_Visualspython3 skills/pm-visualizer/scripts/layout_diagram.py login_spec.json ~/Downloads/Documents/PM_Visuals/Login_Spec.excalidraw共 1 个版本