architecture-design
Use only when creating new registrable ML components that require Factory or Registry patterns.
Skill by Galaxy-Dawn
Chalk Labs
Need help deploying architecture-design?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/galaxy-dawn-architecture-design
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/architecture-design
What's inside
- Skill name
architecture-design- Description
- Use only when creating new registrable ML components that require Factory or Registry patterns.
- License
- MIT
- Instructions
- 270 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (11)
- SKILL.md
- augmentation_example.py · examples/
- config_example.yaml · examples/
- custom_dataset.py · examples/
- custom_model.py · examples/
- pipeline_example.sh · examples/
- auto_import.md · references/
- code_style.md · references/
- factory_pattern.md · references/
- registry_pattern.md · references/
- structure.md · references/
SKILL.md (first lines)
# 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
Key indicator: if the task does not require a `@register_*` decorator or a Factory pattern, skip this skill.
## Core Design Patterns
### Factory Pattern
Each module uses a factory to create instances dynamically:
```python
# Example from data_module/dataset/__init__.py
DATASET_FACTORY: Dict = {}
def DatasetFactory(data_name: str):
dataset = DATASET_FACTORY.get(data_name, None)
if dataset is None:
print(f"{data_name} dataset is not implementation, use simple dataset")
dataset = DATASET_FACTORY.get('simple')
return dataset
```
For detailed guidance, refer to `references/factory_pattern.md`.
### Registry Pattern
Components register themselves via decorators:
```python
# Example from data_module/dataset/simple_dataset.py
@register_dataset("simple")
class SimpleDataset(Dataset):
def __init__(self, data):
self.data = data
```
For detailed guidance, refer to `references/registry_pattern.md`.
### Auto-Import Pattern
Modules automatically discover and import submodules:
```python
# Example from data_module/dataset/__init__.py
models_dir = os.path.dirname(__file__)
import_modules(models_dir, "src.data_module.dataset")
```
For detailed guidance, refer to `references/auto_import.md`.
## Directory Structure
```
project/
├── run/
│ ├── pipeline/ # Main workflow scripts
│ │ ├── training/ # Training pipelines
│ │ ├── prepare_data/ # Data preparation pipelines
│ │ └── analysis/ # Analysis pipelines
│ └── conf/ # Hydra configuration files
│ ├── training/ # Training configs
│ ├── dataset/ # Dataset configs
│ ├── model/ # Model configs
│ ├── prepare_data/ # Data prep configs
│ └── analysis/ # Analysis configs
│
├── src/
│ ├── data_module/ # Data processing module
│ │ ├── dataset/ # Dataset implementations
│ │ ├── augmentation/ # Data augmentation
│ │ ├── collate_fn/ # Collate functions
│ │ ├── compute_metrics/ # Metrics computation
│ │ ├── prepare_data/ # Data preparation logic
│ │ ├── data_func/ # Data utility functions
│ │ └── utils.py # Module-specific utilities
│ │
│ ├── model_module/ # Model implementations
│ │ ├── brain_decoder/ # Brain decoder models
│ │ └── model/ # Alternative model location
│ │
│ ├── trainer_module/ # Training logic
│ ├── analysis_module/ # Analysis and evaluation
│ ├── llm/ # LLM-related code
│ └── utils/ # Shared utilities
│
├── data/
│ ├── raw/ # Original, immutable data
│ ├── processed/ # Cleaned, transformed data
│ └── external/ # Third-party data
│
├── outputs/
│ ├── logs/ # Training and evaluation logs
│ ├── checkpoints/ # Model checkpointsFrom Galaxy-Dawn/claude-scholar, MIT.
More from Galaxy-Dawn/claude-scholar
- 0.806score
nature-writing
Galaxy-Dawn
Draft, restructure, or plan Nature-style manuscript sections from author-provided claims, results, figures, notes, or Chinese drafts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-response
Galaxy-Dawn
Draft, audit, or revise point-by-point reviewer response letters for Nature-family manuscript revisions.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-polishing
Galaxy-Dawn
Polish, restructure, or translate academic prose into Nature-leaning English using writing-strategy principles, curated Nature/Nature Communications article…
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-data
Galaxy-Dawn
Prepare, audit, or revise Nature-ready Data Availability statements, data repository plans, dataset citations, and FAIR metadata checklists for manuscripts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.796score
ml-paper-writing
Galaxy-Dawn
Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.749score
publication-chart-skill
Galaxy-Dawn
This skill should be used when the user asks for a publication-quality scientific figure or table, wants help choosing the right chart for results, needs a…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
obsidian-literature-workflow
Galaxy-Dawn
Use this skill for project-scoped literature review built on Sources/Papers, with synthesis landing in Knowledge, writing handoff in Writing, and the default…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
citation-verification
Galaxy-Dawn
This skill provides reference guidance for citation verification in academic writing.
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
review-response
Galaxy-Dawn
Systematic review response workflow from comment analysis to professional rebuttal writing.
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
expression-skill
Galaxy-Dawn
This skill should be used when the user asks for efficient communication, task reports, file-operation summaries, research discussion, study-note synthesis…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
zotero-obsidian-bridge
Galaxy-Dawn
Use this skill when Zotero is the literature source of truth and the project KB should receive source notes under Sources/Papers plus project-linked synthesis…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
obsidian-kb-artifacts
Galaxy-Dawn
Use this skill for Obsidian-native formatting and derived artifacts such as Markdown formatting, wikilinks, registry tables, canvas files, optional Bases, CLI…
SkillCFreshness: C★ 5.9KClaude Code +9
Signals
- Stars
- 5,894
- Forks
- 461
- Open issues
- 1
- Last commit (this folder)
- Mar 24, 2026 (7 months ago)
- Last release
- Feb 25, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Galaxy-Dawn/claude-scholar
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Galaxy-Dawn
- 0.806score
nature-response
Galaxy-Dawn
Draft, audit, or revise point-by-point reviewer response letters for Nature-family manuscript revisions.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-writing
Galaxy-Dawn
Draft, restructure, or plan Nature-style manuscript sections from author-provided claims, results, figures, notes, or Chinese drafts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-data
Galaxy-Dawn
Prepare, audit, or revise Nature-ready Data Availability statements, data repository plans, dataset citations, and FAIR metadata checklists for manuscripts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-polishing
Galaxy-Dawn
Polish, restructure, or translate academic prose into Nature-leaning English using writing-strategy principles, curated Nature/Nature Communications article…
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.796score
ml-paper-writing
Galaxy-Dawn
Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.749score
obsidian-literature-workflow
Galaxy-Dawn
Use this skill for project-scoped literature review built on Sources/Papers, with synthesis landing in Knowledge, writing handoff in Writing, and the default…
SkillCFreshness: C★ 5.9KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get architecture-design running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
architecture-design skill. Agent Mart. https://agentmart.dev/skills/galaxy-dawn-architecture-design (last updated 2026-10-24)