SiteForge — Autonomous Angular Web Factory Monorepo (Angular 19+, Signals, Zoneless, MCP)
Overview
(The Autonomous Angular Web Factory) builds modern, schema-driven Angular web applications deployed to Vercel. This repository contains the deliverables for : 1. (starter-workspace/): - Standalone components only (no NgModules). - Signals for reactive state (signal, computed, effect, input, output, model). - Zoneless change detection (provideZonelessChangeDetection()). - Modern @if and @for (item of items; track item.id) control flow. - Modular Layout Primitives (Header, Hero, ContentGrid, Card, Sidebar, Footer). - Flagship Reference Showcase: (Home Plants Care E-Learning Portal). - Compiles with zero warnings and passes all unit tests. 2. (scaffolding-engine/): - Programmatic TypeScript engine and CLI (siteforge-scaffold). - Design Token Compiler: compiles root Design.
README
SiteForge — Angular 19+ Scaffolding Engine & Angular CLI MCP Harness
SiteForge (The Autonomous Angular Web Factory) builds modern, schema-driven Angular web applications deployed to Vercel.
This repository contains the deliverables for [SF-03] Angular 19+ Scaffolding Engine & Angular CLI MCP Harness:
-
Modern Angular Architecture & Starter Workspace (
starter-workspace/):- Standalone components only (no NgModules).
- Signals for reactive state (
signal,computed,effect,input,output,model). - Zoneless change detection (
provideZonelessChangeDetection()). - Modern
@ifand@for (item of items; track item.id)control flow. - Modular Layout Primitives (
Header,Hero,ContentGrid,Card,Sidebar,Footer). - Flagship Reference Showcase: PlantCare Academy (Home Plants Care E-Learning Portal).
- Compiles with zero warnings and passes all unit tests.
-
Autonomous Scaffolding Engine (
scaffolding-engine/):- Programmatic TypeScript engine and CLI (
siteforge-scaffold). - Design Token Compiler: compiles root
Design.mdaesthetic presets (warm-organic/ Greenhouse Lab,neo-brutalist/ Signal Block,clean-editorial/ Gallery Press,modern-saas-dark/ Forge Night,corporate-enterprise/ Ledger) into CSS Custom Properties (:root[data-theme="..."]). - Full scaffolding support across all 6 archetypes:
learning_platformblognewsletterecommercesocial_medialanding_page
- Complete Vitest test suite covering token compilation and project generation.
- Programmatic TypeScript engine and CLI (
-
Angular CLI Model Context Protocol (MCP) Harness (
mcp-harness/):- Integrates the official Angular CLI MCP server (
npx -y @angular/cli mcp). - Typed client
AngularMcpClientimplementing JSON-RPC 2.0 communication over stdio. - Live capabilities:
search_documentation: Live queries against officialangular.devdocs.get_best_practices: Retrieval of official Angular coding standards and rules.list_projects: Workspace discovery and configuration introspection.onpush_zoneless_migration: Zoneless migration planning.run_target: Programmatic target execution (build,test,lint).
- CLI diagnostic runner (
bin/runner.js) and live integration test suite.
- Integrates the official Angular CLI MCP server (
Workspace Structure
.
├── starter-workspace/ # Modern Angular Starter Workspace & Flagship Showcase
│ ├── src/
│ │ ├── app/
│ │ │ ├── core/ # ThemeService, PayloadService, models
│ │ │ ├── layout/ # Header, Hero, ContentGrid, Card, Sidebar, Footer
│ │ │ └── showcase/ # PlantCare Academy showcase view
│ │ └── styles/ # design-tokens.css (all 5 Design.md presets)
│ └── dist/ # Production build artifacts
│
├── scaffolding-engine/ # Scaffolding Engine & Design Token Compiler
│ ├── src/
│ │ ├── compiler/ # TokenCompiler (Design.md -> CSS Variables)
│ │ ├── generator/ # ProjectGenerator
│ │ ├── presets/ # Design Presets registry
│ │ └── templates/ # Archetype & workspace templates
│ ├── bin/ # siteforge-scaffold CLI
│ └── tests/ # Unit test suite
│
├── mcp-harness/ # Angular CLI MCP Server Integration
│ ├── config/ # angular-cli-mcp.json MCP configuration
│ ├── src/ # AngularMcpClient (JSON-RPC 2.0 stdio client)
│ ├── bin/ # runner.js diagnostic CLI
│ └── tests/ # Live integration test suite
│
├── docs/ # Architecture, API contracts, presets, flagship specs
├── samples/ # Sample SiteForge JSON payloads
└── package.json # Monorepo workspaces definition
Live production (public)
| Surface | URL |
|---|---|
| SiteForge factory | https://siteforge-chi-nine.vercel.app |
| PlantCare Academy | https://plantcare-academy-web.vercel.app |
Owner setup for GitHub ↔ Vercel tokens, aliases, and Deployment Protection: docs/OWNER_GITHUB_VERCEL_CHECKLIST.md.
Node: ^22.22.3 || ^24.15.0 || >=26 (see root package.json engines).
Verification & Testing
1. Run All Tests
npm test # Builds library workspaces first, then runs all package tests
npm run test:engine # Runs scaffolding-engine unit tests
npm run test:starter # Runs starter-workspace Angular unit tests
npm run test:github # Runs github-engine unit tests
npm run test:vercel # Runs vercel-pipeline unit & orchestration tests
npm run test:mcp # Runs live Angular CLI MCP integration tests
npm run test:all # Alias for npm test
2. Build the Packages & Workspace
npm run build # Compiles all packages and starter workspace
npm run build:vercel # Compiles @siteforge/vercel-pipeline
3. Deploy to Vercel (Zero-Config Orchestrator)
# Dry run verification
npm run deploy:vercel -- --payload samples/plantcare-academy.payload.json --dry-run
# Production live deployment
npm run deploy:vercel -- --payload samples/plantcare-academy.payload.json
4. Test Scaffolding from JSON Payload
node scaffolding-engine/bin/siteforge-scaffold.js \
--payload samples/plantcare-academy.payload.json \
--output generated/plantcare-web
5. Query Angular CLI MCP Server
node mcp-harness/bin/runner.js tools
node mcp-harness/bin/runner.js standards
node mcp-harness/bin/runner.js docs "signals"
Install
This server does not publish a one-line install command.
Open the repository installation guide