edn-analyzer

Analyze EDN template files to identify structure, quality issues, and anomalies.

8|1|Updated Mar 30, 2025
One-click install
npx skills add https://github.com/C0ntr0lledCha0s/logseq-template-graph --skill edn-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: edn-analyzer
Source: https://github.com/C0ntr0lledCha0s/logseq-template-graph/tree/main/.claude/skills/edn-analyzer
Command: npx skills add https://github.com/C0ntr0lledCha0s/logseq-template-graph --skill edn-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually inspecting large Logseq EDN template files for structural issues, inconsistencies, or quality problems is tedious and error-prone. This skill automates deep analysis, ensuring your knowledge graph's foundation is robust.

Core Features & Use Cases

  • Structure & Quality Checks: Count classes/properties, identify orphaned items, detect duplicates, and validate cardinality usage.
  • Comparison & Distribution Analysis: Compare different template variants, track growth, and analyze property type distribution.
  • Use Case: Run a full analysis on your logseq_db_Templates_full.edn to identify any orphaned classes or properties, ensuring your template is clean and efficient.

Quick Start

Analyze the build/logseq_db_Templates_full.edn file to get a summary of classes, properties, and any structural issues.

Frequently Asked Questions about edn-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Logseq EDN template files for structural issues?

EDN analyzer inspects template files to identify structure problems, orphaned items, duplicates, and cardinality violations. Run it on your `logseq_db_Templates_full.edn` to get a complete quality report with actionable fixes for your knowledge graph foundation.

Can I compare different Logseq template variants to track changes?

Yes. The analyzer compares template variants side-by-side, counting classes and properties across each version to track growth and structural drift. You get distribution analysis and cross-template insights in a structured report.

What structural problems can EDN analysis detect in knowledge graphs?

EDN analysis detects orphaned classes or properties, duplicate definitions, invalid cardinality usage, and property type mismatches. These quality checks ensure your template is clean, consistent, and efficient before scaling your Logseq graph.

How do I validate property types and cardinality in my EDN templates?

The analyzer validates cardinality constraints and property types automatically, flagging violations in your template. It generates guidance-ready reports that highlight exactly which properties need correction and why.

Can I analyze large EDN files without manual inspection?

Yes. The analyzer handles large `logseq_db_Templates_full.edn` files automatically, counting all classes and properties, detecting anomalies, and producing structured reports. No manual template review needed.