Analyzing Starters

After scraping templates, you can use Slot's analysis tools to evaluate their quality, identify features, and generate comprehensive reports. This guide shows you how to run and customize template analysis.

Note: The CLI tools are optional. You only need them if you want to customize your template index. The MCP server works out of the box with our pre-analyzed template collection.

Basic Usage

Analyze Templates

Run analysis on all templates in your index:

slot analyze

Force Reanalysis

Force reanalysis of all templates, ignoring cached results:

slot analyze --force

Analysis Process

The analysis process uses OpenAI's LLM to evaluate templates across multiple dimensions:

Features Analysis

  • Technology stack identification
  • Project structure evaluation
  • Development tooling detection
  • Feature set assessment

Quality Assessment

  • Code quality evaluation
  • Documentation completeness
  • Maintenance status
  • Best practices adherence

Analysis Options

OptionDescriptionExample
--featuresFeatures to analyze--features auth,testing
--metricsQuality metrics to evaluate--metrics docs,maintenance
--depthAnalysis depth level--depth full
--cacheUse cached results--cache false

Analysis Categories

Features

  • authentication
  • testing
  • deployment
  • ci
  • styling
  • state
  • api
  • database

Metrics

  • documentation
  • maintenance
  • code-quality
  • testing
  • security
  • performance

Custom Analysis Rules

You can define custom analysis rules in a configuration file:

# analysis.yml
rules:
  features:
    auth:
      files: ["auth/**", "**/auth.*"]
      imports: ["next-auth", "auth0", "firebase/auth"]
    testing:
      files: ["**/*.test.*", "**/*.spec.*"]
      imports: ["jest", "vitest", "cypress"]
  
  metrics:
    documentation:
      weight: 0.3
      criteria:
        - readme-length
        - setup-instructions
        - api-docs
    maintenance:
      weight: 0.4
      criteria:
        - commit-frequency
        - issue-response-time
        - dependency-freshness

# Run analysis with custom rules
slot analyze --config analysis.yml

Next Steps

After analyzing templates, learn how to search through them using the CLI tools.