Tools Directory

This directory contains development utilities for the Varlyn D&D site.

Available Tools

Validation & Testing

Content Management

Supporting Files

Usage

All tools are callable from the Makefile:

make lint-md             # Run markdown linter
make test-structure      # Run structure validation
make validate-profiles   # Validate class profile schemas
make test                # Run all validation tools
make test-verbose        # Run validation with detailed output
make extract             # Extract searchable content, archetypes, and folk

Direct Tool Usage

# Validation (Node.js)
node tools/validate-class-profiles.js   # Validate class profile schemas
node tools/lint-markdown.js             # Lint markdown files
node tools/test-structure.js            # Test Varlyn structure patterns

# Content Management (Ruby)
ruby tools/extract-searchable.rb        # Extract searchable content for site search
ruby tools/extract-archetypes.rb        # Extract archetypes from class files
ruby tools/extract-folk.rb             # Extract folk and subtypes

Development

Tools are written in Node.js and Ruby and should follow these conventions:

Tool Categories

All tools are designed to work within the Docker-based development environment defined in the Makefile.