- Home
- Skills
- Willoscar
- Research Units Pipeline Skills
- Concept Graph
concept-graph_skill
- Python
109
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill willoscar/research-units-pipeline-skills --skill concept-graph- SKILL.md1.8 KB
Overview
This skill builds a concept graph (nodes + prerequisite edges) from a tutorial spec and saves it as outline/concept_graph.yml. It produces a readable DAG that captures concepts implied by objectives and the running example. The output is focused on structure only, not long explanatory prose.
How this skill works
The skill reads output/TUTORIAL_SPEC.md, extracts and normalizes implied concepts into nodes with stable ids, and infers prerequisite edges. It verifies the graph is acyclic and writes outline/concept_graph.yml using a minimal YAML schema (nodes: id, title, summary; edges: from, to). It enforces node coverage of learning objectives and preferred node counts.
When to use it
- You have a completed output/TUTORIAL_SPEC.md and need to plan module order (C2 structure stage).
- Preparing to convert tutorial structure into prose and lesson modules.
- Designing assessment or example progression that depends on prerequisite ordering.
- Validating that learning objectives map to concrete teachable concepts.
Best practices
- Keep node count between ~10–30 for a medium tutorial to balance granularity and manageability.
- Choose stable, short ids (snake_case) and specific titles; avoid vague labels like “misc”.
- Model intermediate prerequisites explicitly to avoid overly linear chains.
- Run cycle detection after adding edges; split or refine concepts if cycles appear.
- Keep summaries concise (one-line) describing the concept scope and why it matters to the tutorial.
Example use cases
- Turn tutorial objectives and a running example into a prerequisite DAG for module ordering.
- Identify missing foundational concepts before writing lesson prose.
- Generate a concept-driven outline that maps to assessments and code examples.
- Refine curriculum structure by splitting coarse concepts into teachable subunits.
FAQ
Skip this skill; it requires the tutorial spec as input before constructing the graph.
How do I fix cycles in the graph?
Split concepts or redefine edges so dependencies flow one way; introduce intermediate prerequisites if needed to break loops.