Skip to content
galaxy-dawn avatar

Architecture Design

Standard ML project architecture with factory and registry patterns for registrable components.

CCM score
59 of 100
skills.sh installs
393
GitHub stars
6.1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the project layout for data, model, trainer, and analysis modules, plus Hydra config structure under run/conf/
  • Includes registration rules for @register_dataset and @register_model, with config-driven model constructors that accept only cfg
  • Enforces factory and registry wiring through module __init__.py files and auto-import of submodules
  • Designed for adding new dataset, model, augmentation, or metrics components, and is skipped for bug fixes and simple edits

Install

$ npx -y skills add galaxy-dawn/claude-scholar --skill architecture-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Architecture Design - ML Project Template

This skill defines the standard code architecture for machine learning projects based on the template structure. When modifying or extending code, follow these patterns to maintain consistency.

Overview

The project follows a modular, extensible architecture with clear separation of concerns. Each module (data, model, trainer, analysis) is independently organized using factory and registry patterns for maximum flexibility.

When to Use

Use this skill when:

  • Creating a new Dataset class that needs @register_dataset
  • Creating a new Model class that needs @register_model
  • Creating a new module directory with __init__.py factory wiring
  • Initializing a new ML project structure from scratch
  • Adding new component types such as Augmentation, CollateFunction, or Metrics

When Not to Use

Do not use this skill when:

  • Modifying existing functions or methods
  • Fixing bugs in existing code
  • Adding helper functions or utilities
  • Refactoring without adding new registrable components
  • Making simple code changes to a single file
  • Modifying configuration files
  • Reading or understanding existing code

Details

Repository
github.com/galaxy-dawn/claude-scholar
Categories
Data Science & Analytics, AI Agents & LLM Apps, Python
First seen
Jun 3, 2026

Questions

What does the architecture-design skill do?

The architecture-design skill defines the standard code architecture for ML projects built on a modular template. It shows how to create new registrable components such as Dataset and Model classes using Factory and Registry patterns with decorators like register_dataset and register_model.

When should I use the architecture-design skill?

Use it only when creating new registrable ML components that need a Factory or Registry pattern, such as a new Dataset class or a new module directory. It should be skipped for bug fixes, refactoring, helper functions, or config changes.

How do I install the architecture-design skill?

Run npx -y skills add galaxy-dawn/claude-scholar --skill architecture-design -y in your project. This installs the skill so the agent can follow the template's factory, registry and directory conventions when you add new ML components.

Where does architecture-design rank in its category?

It sits in the Data Science and Analytics category, where other skills such as azure-kusto, analyze-project and run-train are listed alongside it. It stands apart by focusing narrowly on the decorator-based registration and factory wiring of new ML components.

More from galaxy-dawn/claude-scholar

All 24

Similar to Architecture Design

More Data Science & Analytics