From learn-anything
This skill should be used when the learning plan has been created (initial generation) or after each training session (update), or when the user asks to see their progress or dashboard. Generates and updates a React dashboard artifact that visualizes the learner's knowledge graph, curriculum progress, and key metrics. The dashboard is the learner's visual home base within the Claude Project, rendering an interactive knowledge graph with mastery overlay, curriculum roadmap, progress metrics, session history, and upcoming agenda.
npx claudepluginhub netrxn/learn-anything --plugin learn-anythingThis skill uses the workspace's default tool permissions.
Generate a React dynamic artifact (.jsx) that serves as the learner's visual home base. It displays the knowledge graph with mastery overlay, curriculum position, key metrics, and upcoming agenda. It must stay synced with the input state (i.e., not static).
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Generate a React dynamic artifact (.jsx) that serves as the learner's visual home base. It displays the knowledge graph with mastery overlay, curriculum position, key metrics, and upcoming agenda. It must stay synced with the input state (i.e., not static).
All state files live in learn-anything/<skill-slug>/. Read learn-anything/active-skill.json to find the active skill slug.
Read these files to populate the dashboard:
learn-anything/<skill-slug>/knowledge-graph.json — The dependency graph with learner mastery overlaylearn-anything/<skill-slug>/learning-plan.json — Curriculum structure, schedule, milestoneslearn-anything/<skill-slug>/progress.json — Session history, mastery transitions, current stateBefore proceeding, verify all required upstream state files exist and contain expected fields:
knowledge-graph.json exists and contains graph.verticeslearning-plan.json exists and contains curriculum.task_classesprogress.json may or may not existactive-skill.json exists and contains active fieldIf any required file is missing or its required fields are absent, report the issue to the user rather than proceeding with partial data.
Generate a single React component artifact with these sections:
Render the skill dependency graph with mastery-state coloring:
Node colors by mastery_category:
mastered -> green (#22c55e)proficient -> blue (#3b82f6)familiar -> yellow (#eab308)attempted -> orange (#f97316)not_started -> gray (#d1d5db)Node content: Component name + mastery percentage (from mastery_probability). Show a small progress bar inside each node.
Edges: Prerequisite edges as directional arrows. Use solid lines for hard prerequisites, dashed for soft.
Grouping: If the knowledge graph has cluster_ids, group nodes into labeled sections.
Implementation approach: Use a force-directed or hierarchical layout. For simple graphs (15 or fewer nodes), a hierarchical top-down layout works well. For larger graphs, use a force-directed layout with cluster grouping. Consider using D3 or Recharts for the visualization.
If the graph is large (>20 nodes), provide a module-level summary view with expandable clusters.
Show the task class progression:
Dual timeline: Show both the short-term plan and extended roadmap as a visual timeline.
Display metrics that reflect ACTUAL LEARNING, not just effort:
Show:
Do NOT show as primary metrics:
These can appear in a secondary "activity" tab but should never be the primary metrics.
Recent sessions listed chronologically:
The dashboard is regenerated (not updated in-place) after significant state changes:
Each regeneration reads the current state of all JSON files and produces a fresh artifact.
If a full interactive React visualization is too complex for the current context, fall back to a Mermaid diagram for the knowledge graph plus a simpler Markdown progress summary. The Mermaid graph should still use color coding and progress indicators:
flowchart TD
A["Variables (95%)"]:::mastered --> B["Data Types (60%)"]:::developing
B --> C["Control Flow"]:::not_started
classDef mastered fill:#22c55e,color:white
classDef developing fill:#eab308,color:black
classDef not_started fill:#d1d5db,color:black
After generating the React artifact, the system is ready for training sessions. No downstream skill consumes the dashboard — it is a terminal output for the learner's reference. The orchestrator routes subsequent requests to the Training Conductor.