sage-architecture

Community

Sage 架构设计指南,提升模块化与可维护性

Authormajiayu000
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Sage architecture guide provides a cohesive blueprint to structure large Sage projects, reducing fragmentation and enabling scalable collaboration across teams.

Core Features & Use Cases

  • Module boundary enforcement: Every module should be kept under 200 lines unless split into submodules for clarity.
  • Layered responsibilities: Define clear responsibilities for cli, sdk, core, and tools to reduce cross-cutting concerns.
  • Naming and governance: Enforce consistent naming, RFC-compliant module schemas, and documentation of design decisions to aid onboarding.
  • Use Case: When planning a major refactor, apply these guidelines to decompose the project into smaller, coherent modules with explicit interfaces.

Quick Start

Start by auditing modules for boundaries, then codify layer responsibilities and naming conventions in the repo docs. Use this guide during planning and reviews to keep Sage architecture coherent.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sage-architecture
Download link: https://github.com/majiayu000/sage/archive/main.zip#sage-architecture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.