
Architecture Design
This is a highly opinionated architectural guide for ML projects that use factory and registry patterns. It's built around a specific template structure with Hydra configs, and it's very explicit about when to invoke it: only when you're creating new registrable components with decorators like @register_model or @register_dataset. The skill includes concrete patterns for auto-importing modules, config-driven model initialization (models take only a cfg parameter, never individual args), and a standardized directory layout separating data_module, model_module, and trainer_module. It's useful if you're working in this exact architectural style, but it's narrow by design. The "when not to use" section is longer than most skills, which tells you everything about its intended scope.
- skills.sh installs
- 387
- GitHub stars
- 6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add galaxy-dawn/claude-scholar --skill architecture-design --agent claude-codeInstalls into .claude/skills of the current project.
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__.pyfactory 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
Sponsors
Details
- Repository
- github.com/galaxy-dawn/claude-scholar
- Categories
- Code Review & Quality, Data Science & ML, Design & UI/UX
- First seen
- Jun 3, 2026
More from galaxy-dawn/claude-scholar
All 28- Uv Package Manager383
- Git Workflow382
- Web Design Reviewer378
- Doc Coauthoring377
- Daily Coding376
- Code Review Excellence375
- Verification Loop375
- Webapp Testing375
- Frontend Design373
- Citation Verification1.5K
- Writing Anti Ai782
- Paper Self Review700
- Review Response568
- Results Analysis553
- Research Ideation548
- Ui Ux Pro Max514
- Results Report502
- Zotero Obsidian Bridge487
- Ml Paper Writing469
- Skill Quality Reviewer467
- Kaggle Learner446
- Daily Paper Generator421
- Obsidian Literature Workflow418
- Bug Detective412