🎯

freeze-static

🎯Skill

from gravito-framework/gravito

VibeIndex|
What it does

Freezes and optimizes static assets during build time, ensuring consistent and performant asset delivery for web applications.

freeze-static

Installation

Install skill:
npx skills add https://github.com/gravito-framework/gravito --skill freeze-static
1
AddedJan 27, 2026

Skill Details

SKILL.md

Overview

# Gravito Framework 🌌

Gravito is a modular, high-performance TypeScript framework built for the modern web. It leverages the Galaxy Architectureβ€”a unique approach inspired by celestial mechanics to manage lifecycle, extensions (Orbits), and domain-specific plugins (Satellites).

> Version 1.0 is here! Build complex e-commerce systems by simply composing modules.

---

🌟 The Galaxy Architecture

Gravito is built on the principle of "Rigorous Core, Flexible Perimeter." It strictly enforces DDD (Domain-Driven Design) and Clean Architecture internally while providing a minimalist experience for developers.

  • Micro-Kernel (PlanetCore): A self-developed, ultra-lightweight engine that manages hooks and lifecycle events.
  • Orbits (Infrastructure): Strategic extensions (Database, Auth, Messaging) that "orbit" the core, providing essential resources.
  • Satellites (Domain Plugins): Self-contained business units (Catalog, Cart, Payment) that implement specific domains using Clean Architecture.

---

πŸš€ E-Commerce 1.0: Manifest-Driven Assembly

The 1.0 release introduces "MDD" (Manifest-Driven Development). You can now assemble a full-featured e-commerce site by simply declaring what you need.

The "Three-File" Rule

  1. package.json: Add your satellites.
  2. gravito.config.ts: Declare your features.
  3. entry-server.ts: One line to ignite the entire ecosystem.

Example Configuration

```typescript

// gravito.config.ts

export default {

name: 'Flagship Store',

modules: [

'catalog', // Products & Variants

'membership', // Auth & User Profiles

'analytics', // Data & Charts

'support', // Real-time Chat

'cms' // News & Announcements

]

};

```

---

πŸ“¦ Core Ecosystem

Gravito provides a rich set of official modules designed to work together seamlessly:

Foundation Layer

| Package | Module | Description |

|---|---|---|

| @gravito/core | PlanetCore | The micro-kernel with Hooks & IoC Container. |

| @gravito/photon | Photon | High-performance HTTP engine (Hono-based). |

| @gravito/atlas | Atlas | Advanced ORM with migrations & Active Record. |

| @gravito/signal | Signal | The central Event Bus for cross-module events. |

Domain Satellites (Business Logic)

| Package | Domain | Feature |

|---|---|---|

| @gravito/satellite-catalog | Catalog | Product management, categories, and inventory. |

| @gravito/satellite-membership| Membership| Multi-guard Auth, Roles, and CRM. |

| @gravito/satellite-commerce | Order | Order processing and lifecycle. |

| @gravito/satellite-analytics | Analytics | Pluggable dashboard widgets & data resolvers. |

| @gravito/satellite-support | Support | Real-time WebSocket customer service. |

Frontend & UI

| Package | Component | Description |

|---|---|---|

| @gravito/admin-shell-react | Admin Shell| A pluggable React dashboard that auto-mounts modules. |

| @gravito/support-chat-widget| Chat Widget | A drop-in client widget for customer support. |

| @gravito/prism | Prism | Edge-optimized View Engine & Image Optimization. |

---

πŸ› οΈ Getting Started

Installation

```bash

# In your monorepo or project

bun add @gravito/core @gravito/photon @gravito/monolith

```

Development

For a full-stack integrated example, check out:

  • [Commerce Fullstack Example](./examples/commerce-fullstack)
  • [1.0 Integration Guide](./docs/GUIDE_1.0_INTEGRATION.md)

---

🀝 Community & Support

  • Documentation: [docs/README.md](./docs/README.md)
  • Contributing: [CONTRIBUTING.md](./CONTRIBUTING.md)
  • License: MIT Β© Carl Lee

---

(繁體中文θͺͺζ˜Žε·²ζ•΄εˆθ‡³ε„ζ¨‘η΅„ζ–‡δ»Άθˆ‡ [ζ•΄εˆζŒ‡ε—](./docs/GUIDE_1.0_INTEGRATION.md))

More from this repository10

🎯
cms-engine🎯Skill

Manages content creation, storage, versioning, and rendering for dynamic web pages and blog-like sections within e-commerce websites using a modular, configuration-driven approach.

🎯
ts-jsdoc-expert🎯Skill

Generates comprehensive TypeScript JSDoc comments by analyzing code structure, providing intelligent type annotations, parameter descriptions, and documentation best practices.

🎯
commerce-blueprint🎯Skill

Generates a standardized, configurable e-commerce system architecture with predefined modules, configurations, and best practices for rapid marketplace development.

🎯
atlas-expert🎯Skill

atlas-expert skill from gravito-framework/gravito

🎯
quasar-queue🎯Skill

Manages distributed task queues with high-throughput processing and resilient message handling across microservices in the Gravito framework's event-driven architecture.

🎯
ddd-domain-expert🎯Skill

Helps developers model complex domain logic by generating DDD-compliant TypeScript code structures, aggregates, and bounded context definitions based on natural language descriptions.

🎯
ops-commander🎯Skill

Manages operational workflows, deployment configurations, and infrastructure orchestration for Gravito Framework projects through a centralized command-line interface.

🎯
clean-architect🎯Skill

clean-architect skill from gravito-framework/gravito

🎯
localization-linguist🎯Skill

Translates and adapts content across multiple languages and locales for Gravito Framework's e-commerce modules, ensuring linguistic consistency and cultural appropriateness.

🎯
migration-master🎯Skill

Manages database schema migrations, providing version control, automated schema updates, and rollback capabilities for Gravito's Atlas ORM.