module-health

Assess Logseq template module health and generate refactoring recommendations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

As a Logseq template grows, maintaining a clean, balanced, and cohesive modular architecture becomes challenging. This skill automates the assessment of module health, identifying bloat, imbalance, and dependencies, and provides actionable reorganization plans.

Core Features & Use Cases

  • Health Score Calculation: Assesses modules based on size, property distribution, documentation, and organization, providing a clear health score.
  • Reorganization Planning: Suggests strategies for splitting bloated modules, merging small ones, and improving overall architectural clarity.
  • Use Case: Run a health check on your template to identify if the misc/ module is becoming too large, and get a detailed plan for splitting it into more focused domains like medical/ or financial/.

Quick Start

Check the overall health of the Logseq template's modular architecture and identify any modules that need attention.

Frequently Asked Questions about module-health

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

FAQPage Schema
How do I assess the health of my Logseq template's modular architecture?

Module health assessment evaluates your template's module structure by calculating scores based on size, property distribution, documentation, and organization. Run the health check on code organized under source/MODULE with classes.edn and properties.edn files to identify bloated, orphaned, or imbalanced modules and receive actionable refactoring recommendations.

What does a module health score measure?

A module health score measures balance, cohesion, dependencies, and completeness across your template's modules. The score reflects module size distribution, property coverage, documentation quality, and architectural clarity, helping you spot maintenance issues before they compound.

Can I use this to detect and split bloated modules in my Logseq template?

Yes. Module health detection identifies oversized or poorly organized modules like misc/ and generates reorganization plans. The output suggests how to split bloated modules into focused domains—such as medical/ or financial/—with specific refactoring steps.

What template structure do I need before running a module health check?

Your Logseq template must be organized with a source/MODULE directory structure containing classes.edn and properties.edn files in each module. This structure enables the health assessment to calculate per-module scoring, detect imbalance, and provide remediation guidance.

What output does a module health report include?

A module health report provides per-module health scores, size balance ratios, documentation completeness metrics, and a structured breakdown of findings. It delivers actionable remediation guidance identifying which modules need splitting, merging, or reorganization.

How does module health assessment improve maintainability?

By exposing imbalanced dependencies, undocumented modules, and architectural bloat, module health assessment enables proactive refactoring. Fixing identified issues—splitting large modules and improving cohesion—reduces maintenance friction and keeps your template scalable as it grows.