A Nuxt 3 web app that generates and visualizes personalized learning pathways using a local LLM (via LM Studio) and Vue Flow. Enter your current skills and target role, and the AI will return a directed graph of "owned", "next" and "future" skills. The graph is auto-laid out with Dagre and color-coded by status.
- AI-powered skill graph: Uses a local LLM (DeepSeek R1 Distill LLaMA-8B) to generate a skill roadmap tailored to your target role.
- Interactive diagram: Vue Flow displays nodes and curved, animated edges.
- Auto-layout: Dagre arranges nodes in a top-to-bottom flowchart.
- Status highlighting:
- Owned skills in green
- Next skill in amber
- Future skills in blue
- Modal form: Tailwind/TailwindCSS-styled modal to enter skills & role.
- Re-layout button: Re-run Dagre at any time.
- Local development: No external API keys—connects to your LM Studio endpoint.
- Nuxt 3 (Vue 3, Vite)
- Pinia for state management
- Vue Flow for graph rendering
- @dagrejs/dagre for automatic layout
- Tailwind CSS for styling
- LM Studio & local LLM for AI completions
-
Clone the repo
git clone https://github.com/ratul16/skill-pathway-builder cd skill-pathway-builder -
Install dependencies
pnpm install # or npm install / yarn install -
Configure LM Studio
- Launch LM Studio and load your model (e.g.
meta-llama-3.1-8b-instruct,deepseek-r1-distill-llama-8b). - Note the local API URL (defaults to
http://127.0.0.1:1234).
- Launch LM Studio and load your model (e.g.
-
Set environment variables (Optional)
Create a
.envat project root:LM_STUDIO_URL=http://127.0.0.1:1234
pnpm dev
# or npm run dev / yarn dev- Frontend on
http://localhost:3000 - API endpoints under
/server/api/skill-pathway.post.jsproxy to your LM Studio instance.
-
Prompt template:
server/api/skill-pathway.post.jscontains the LLM prompt—tweak the instructions to refine skill selection and graph structure. -
Node layout:
- The
applyDagreLayout()function inGraphViewer.vueruns a top-to-bottom layout (rankdir: 'TB'). - Change to
'LR'for left-to-right flows.
- The
- Click Open Skill Pathway Builder.
- Enter your comma-separated current skills and desired target role.
- Click Generate Pathway.
- Watch the AI-generated graph appear.
- Use Re-order to re-run auto-layout.
- Drag, zoom, and pan the diagram as needed.