-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
github-actions[bot] edited this page Apr 8, 2026
·
10 revisions
Bluetemberg has two main components: the init wizard and the sync engine.
bluetemberg init bluetemberg sync
│ │
▼ ▼
┌──────────┐ ┌──────────────┐
│ Prompts │ │ Load config │
│ (inquirer)│ │ from root │
└────┬─────┘ └──────┬───────┘
│ │
▼ ▼
┌──────────┐ ┌──────────────┐
│ Scaffold │───creates───▶ │ Read llm/ │
│ files │ │ sources │
└────┬─────┘ └──────┬───────┘
│ │
▼ ▼
┌──────────┐ ┌──────────────┐
│ Run sync │ │ Transform │
│ engine │ │ frontmatter │
└──────────┘ └──────┬───────┘
│
▼
┌──────────────┐
│ Write target │
│ files │
└──────────────┘
llm/
├── rules/ # Markdown with YAML frontmatter
│ ├── coding-standards.md
│ └── no-console-log.md
├── agents/ # Verbatim markdown (no transform)
│ └── frontend-specialist.md
└── skills/ # Directory per skill, each with SKILL.md
└── patterns/
└── SKILL.md
The core of the sync engine. Rules get platform-specific frontmatter; agents and skills are copied as-is.
| Source field | Cursor output | Claude output | Copilot output |
|---|---|---|---|
description |
description |
description |
description |
scope: '**' |
alwaysApply: true |
paths: ['**'] |
applyTo: '**' |
scope: 'src/**' |
globs: ['src/**'] |
paths: ['src/**'] |
applyTo: 'src/**' |
| Source | Cursor | Claude | Copilot |
|---|---|---|---|
rule.md |
rule.mdc |
rule.md |
rule.instructions.md |
agent.md |
— | agent.md |
agent.agent.md |
SKILL.md |
— | SKILL.md |
SKILL.md |
- Look for
bluetemberg.config.jsonin the project root - If found, use its
platforms,source, andtargets - If not found, use defaults (all platforms,
llm/source, standard paths)
AGENTS.md at the repo root is copied to .github/copilot-instructions.md — this is how GitHub Copilot reads project-level context.
bluetemberg sync --check performs a dry run: reads all sources, generates expected output in memory, compares against existing files. If any differ, it reports them and exits with code 1. No files are written.