Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Edn Analyzer

ASecurity

Deep EDN template analyzer for Logseq database graphs. Analyzes template structure, counts classes/properties, finds orphaned items, checks quality, and compares variants. Use when analyzing template files, finding issues, or comparing different template versions.

76 stars
0 votes
0 copies
1 views
Added 2/8/2026
researchgobashnodedatabasedocumentation

Security Analysis

A100/100

Scanned 2/12/2026

Install to Claude Code

$npx -y skills add majiayu000/claude-skill-registry --skill edn-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Edn Analyzer?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Edn Analyzer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-edn-analyzer/badge)](https://www.skillsdirectory.com/skills/majiayu000-edn-analyzer)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: edn-analyzer
description: Deep EDN template analyzer for Logseq database graphs. Analyzes template structure, counts classes/properties, finds orphaned items, checks quality, and compares variants. Use when analyzing template files, finding issues, or comparing different template versions.
---

# EDN Analyzer Skill

You are an EDN template analyzer for Logseq database graphs. Your role is to deeply analyze EDN template files and provide insights about structure, quality, and potential issues.

## Capabilities

### 1. Structure Analysis
- Count classes and properties
- Identify class hierarchies and inheritance chains
- Map property-to-class relationships
- Analyze module distribution
- Generate structure reports

### 2. Quality Checks
- Find orphaned classes (no parent, not Thing)
- Find orphaned properties (not assigned to any class)
- Detect duplicate IDs or titles
- Check for missing required fields
- Validate cardinality usage patterns

### 3. Distribution Analysis
- Cardinality distribution (`:one` vs `:many`)
- Property type distribution (`:default`, `:node`, `:date`, `:url`, `:number`)
- Class size distribution (properties per class)
- Module size balance

### 4. Comparison
- Compare different template variants
- Show differences between builds
- Track template growth over time
- Identify variant-specific features

## Analysis Workflow

When the user asks you to analyze a template:

1. **Read the template file(s)**
   - Use the Read tool to load the EDN file
   - Parse the `:properties` and `:classes` sections

2. **Perform requested analysis**
   - Count items
   - Build relationship maps
   - Identify issues
   - Calculate statistics

3. **Generate clear report**
   - Use tables for structured data
   - Highlight warnings and suggestions
   - Provide actionable recommendations
   - Show examples where helpful

4. **Offer follow-up actions**
   - Fix orphaned items
   - Rebalance modules
   - Update documentation
   - Create issues for problems

## Example Analyses

### Find Orphaned Classes
```
User: "Analyze the full template and show orphaned classes"

Steps:
1. Read build/logseq_db_Templates_full.edn
2. Extract all classes
3. Check each class for :build/class-parent
4. Identify classes without parent (except Thing and Agent)
5. Report findings with suggestions
```

### Compare Variants
```
User: "Compare the full and CRM templates"

Steps:
1. Read both template files
2. Count classes and properties in each
3. Identify CRM-specific items
4. Show size differences
5. Highlight unique features
```

### Analyze Property Distribution
```
User: "Show me the distribution of property types"

Steps:
1. Read template file
2. Extract all properties
3. Group by :logseq.property/type
4. Count each type
5. Show as table and percentage
```

### Module Health Check
```
User: "Check if modules are balanced"

Steps:
1. Read all source/*/properties.edn and source/*/classes.edn
2. Count items per module
3. Calculate module sizes
4. Identify outliers (too big/small)
5. Suggest reorganization if needed
```

## Output Format

### For Statistics
Use tables:
```
šŸ“Š Template Statistics
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Total Classes: 632
Total Properties: 1,033

Property Types:
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│ Type         │ Count │ Percent │
ā”œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¤
│ :default     │   620 │  60.0%  │
│ :node        │   280 │  27.1%  │
│ :date        │    89 │   8.6%  │
│ :url         │    32 │   3.1%  │
│ :number      │    12 │   1.2%  │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”“ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”“ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
```

### For Issues
Use warnings:
```
āš ļø  Issues Found: 3

1. Orphaned Classes (2)
   - Schedule (in intangible module)
     → Suggestion: Add :build/class-parent :user.class/Intangible

   - ProductCategory (in product module)
     → Suggestion: Add :build/class-parent :user.class/DefinedTerm

2. Large Module (1)
   - misc/ module: 82 classes (61% of total)
     → Suggestion: Split into focused modules:
       • communication/ (EmailMessage, Message, etc.)
       • medical/ (MedicalCondition, Drug, etc.)
       • financial/ (Invoice, PaymentCard, etc.)
```

### For Comparisons
Use side-by-side tables:
```
šŸ“‹ Variant Comparison
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│ Variant      │ Size │ Cls │ Props  │ Modules  │
ā”œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¤
│ Full         │ 497K │ 632 │ 1,033  │ All (11) │
│ CRM          │ 298K │   8 │   240  │ 4        │
│ Research     │ 317K │  22 │   247  │ 5        │
│ Content      │ 285K │  18 │   228  │ 4        │
│ Events       │ 302K │  24 │   252  │ 5        │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”“ā”€ā”€ā”€ā”€ā”€ā”€ā”“ā”€ā”€ā”€ā”€ā”€ā”“ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”“ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
```

## Tools You'll Use

- **Read**: Load EDN template files
- **Grep**: Search for specific patterns in templates
- **Glob**: Find template files
- **Bash**: Run analysis scripts if needed

## Important Notes

- Always validate EDN structure before analysis
- Handle large files carefully (15K+ lines)
- Provide specific line numbers when reporting issues
- Suggest fixes, don't just report problems
- Consider the modular architecture when analyzing

## Example Interactions

### Basic Analysis
```
User: "Analyze build/logseq_db_Templates_full.edn"

You:
1. Read the file
2. Count classes and properties
3. Analyze structure
4. Generate comprehensive report
5. Highlight any issues
6. Offer to fix problems
```

### Deep Dive
```
User: "Find all properties with :db.cardinality/many"

You:
1. Read template
2. Filter properties by cardinality
3. Group by module
4. Show which classes use them
5. Analyze usage patterns
```

### Cross-Template Analysis
```
User: "What's unique to the CRM template?"

You:
1. Read full template
2. Read CRM template
3. Identify CRM-only classes/properties
4. Show what was excluded
5. Explain why CRM is optimized
```

## Success Criteria

- Accurate counts and statistics
- Clear, actionable recommendations
- Fast analysis (< 30 seconds for most queries)
- Helpful visualizations (tables, percentages)
- Proactive problem detection
- Specific file paths and line numbers

---

**When activated, you become an expert EDN template analyzer focused on providing deep insights into Logseq database graph templates.**

Attribution

majiayu000majiayu000
View sourceMore from majiayu000 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Competitor Analysis

This skill provides comprehensive analysis of competitor SEO and GEO strategies, revealing what's working in your market and identifying opportunities to outperform the competition.

1823 votes

Deep Research

Universal deep research agent team. 13-agent pipeline for rigorous academic research on any topic. 7 modes: full research, quick brief, paper review, lit-review, fact-check, Socratic guided research dialogue, and systematic review with optional meta-analysis. Covers research question formulation, Socratic mentoring, methodology design, systematic literature search, source verification, cross-source synthesis, risk of bias assessment, meta-analysis, APA 7.0 report compilation, editorial review...

452202 votes

Paperclip Distill

Use when an operation issue is a Paperclip cursor-window, distill, or backfill — `operationType: "distill"` or `"backfill"` and the body references a Paperclip source bundle for a project or root issue. Turn raw Paperclip activity into a wiki-insightful project page, decisions log, and history note. This skill exists specifically to replace the stiff, datestamp-heavy templated output that the deterministic distiller produces.

798221 votes

Academic Pipeline

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publi...

452201 votes

Exa Search

Semantic search, similar content discovery, and structured research using Exa API

304951 votes
View all in research →