Index of every page on this site: llms.txt
All skills
dmccreary avatar

/learning-graph-generator

@b3826a7
by Dan McCrearydmccreary/ibook-skills108 stars
21
Run it yourself

Generates a comprehensive learning graph from a course description, including 300-600 concepts with dependencies, taxonomy categorization, and quality validation reports. Use this when the user wants to create a structured knowledge graph for educational content.

Use this Skill: https://skilld.dev/gh/dmccreary/ibook-skills/learning-graph-generator

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈667 tokens on demand. Your agent reads this file only when SKILL.md points to it.

JSON Schema for Learning Graph

The file learning-graph-schema.json contains a JSON schema for validating a learning graph.

Unix Shell Script

We have provided a UNIX shell script for running a validator on any learning graph. Just pass the file name as the first parameter to the validate-learning-graph.sh file.

./validate-learning-graph.sh ../../docs/vis/combined-viewer/learning-graph.json 

Sample Response:

Validating learning graph...
Input file: ../../docs/vis/combined-viewer/learning-graph.json
Schema file: $HOME/Documents/ws/learning-graphs/src/schema/learning-graph-schema.json

✓ Validation successful!

Summary:
  Title: Graph Theory Learning Graph
  Creator: Dan McCreary
  Version: 1.0
  Groups: 10
  Nodes: 25
  Edges: 24
  Orphaned nodes: 0

✓ Learning graph is valid!

Schema Overview

The schema validates learning graphs using JSON Schema Draft 2020-12 and includes:

Metadata Section (required)

  • Required fields:
    • title: The learning graph title
    • description: Detailed description
  • Optional fields:
    • dcreator: Author/organization
    • ddate: Creation date (YYYY-MM-DD format)
    • dversion: Version number (e.g., "1.0")
    • dformat: Format specification
    • dschema: URL to this schema
    • dlicense: License information

Groups Section (required)

Taxonomy groups with styling properties:

  • Required: color (CSS color value)
  • Optional:
    • font (with color and size properties)
    • shape (default shape for group)

Nodes Section (required)

Array of concept nodes with:

  • Required: id, label, group
  • Optional: shape, color, font, x, y, fixed, hidden
  • All styling can override group defaults

Edges Section (required)

Array of dependency edges with:

  • Required: from, to (node IDs)
  • Optional: id, label, arrows, color, width, dashes

Validation Features

  • ✓ Validates data types (string, integer, number, boolean, array, object)
  • ✓ Enforces required fields
  • ✓ Validates CSS color patterns (#hex, named colors, rgb/rgba)
  • ✓ Validates date format (YYYY-MM-DD)
  • ✓ Validates version format (semantic versioning)
  • ✓ Validates URI format for schema URL
  • ✓ Validates shape enums (box, circle, star, etc.)
  • ✓ Enforces minimum values (IDs >= 1, sizes >= 1, etc.)
  • ✓ Prevents additional properties where appropriate

Sample Verification

✓ Schema is valid JSON ✓ All required keys present in learning-graph.json ✓ Metadata fields: 8 properties ✓ Groups count: 10 ✓ Nodes count: 25 ✓ Edges count: 24

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The 'learning-graph-generator' skill provides a workflow and set of Python utilities for generating structured educational knowledge graphs. It processes course descriptions into concepts and dependencies, utilizing a vendor-owned GitHub repository for project templates. The skill exhibits a standard low-severity attack surface for indirect prompt injection through the ingestion of user-controlled course description files.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at b3826a7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 months ago
metadata
{
  "ibook.version": "1.07"
}

README badge

README badge for dmccreary/ibook-skills/learning-graph-generator