Skip to content
snowdreamtechPublic

About

An enterprise-grade, foundational template designed for multi-AI IDE collaboration. This repository serves as a Single Source of Truth for AI agent rules, workflows, and project configurations, supporting over 50 different AI-assisted IDEs with massive multi-language support.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowdream Tech AI IDE Template

CI Pipeline CD Pipeline GitHub Pages CodeQL Multi-OS Verified Security Audit UniRTM Quality Guard SBOM Available License: MIT Release Dependabot Enabled GitHub Stars GitHub Issues Code Size

English | 简体中文

An enterprise-grade, foundational template designed for multi-AI IDE collaboration, powered by UniRTM. This repository employs a Zero-Footprint Architecture for AI agents, providing standard Model Context Protocol (MCP) services, deterministic toolchains, and multi-level quality guardrails across Linux, macOS, and Windows.


🌟 Key Features

  • Zero-Footprint AI Integration: Connects any AI IDE or agent (Cursor, Windsurf, Claude Code, GitHub Copilot, Roo Code, Trae, Zed) via standard Model Context Protocol (unirtm mcp) without polluting the repository with 50+ proprietary dot-directories (.cursor/, .cline/, etc.).
  • UniRTM Deterministic Toolchain: Pins and cryptographically verifies all compiler runtimes (Node.js) and development tools across platforms via unirtm.lock.
  • Native Quality Guardrails: Built-in Conventional Commits validation (builtin:commit-msg), code formatting, and linting rules enforced locally and remotely with zero external overhead.
  • Enterprise-Grade Security Pipeline: Deep secret scanning via Gitleaks, GitHub Actions security scanning with Zizmor, and multi-layer dependency vulnerability scanning via OSV-Scanner and Trivy.
  • Reproducible DevContainers: Standardized .devcontainer configuration ensuring 100% development parity between cloud IDEs and local workstations.
  • Bilingual Documentation Site: Modern VitePress documentation automatically built and deployed to GitHub Pages.

🏗️ Architecture

graph TD
    subgraph "AI IDEs & Agents"
        IDE["Cursor / Windsurf / Claude Code / Copilot / Trae / Zed"]
    end

    subgraph "UniRTM Platform"
        MCP["UniRTM MCP Server<br/>(unirtm mcp)"]
        CLI["UniRTM Task Runner<br/>(unirtm run ...)"]
        Guard["Quality Guard<br/>(builtin:commit-msg, formatters, linters)"]
        Lock["Deterministic Toolchain<br/>(.unirtm.toml / unirtm.lock)"]
    end

    subgraph "CI / CD Pipeline"
        GH["GitHub Actions<br/>(Ubuntu / macOS / Windows)"]
        Sec["Security Audit<br/>(Zizmor, Gitleaks, Trivy, OSV)"]
        Pages["Docs Deployment<br/>(GitHub Pages)"]
    end

    IDE <-->|Model Context Protocol via stdio| MCP
    MCP -->|Dynamic Rules & Workflows| Lock
    CLI --> Guard
    CLI --> Lock
    GH --> Guard
    GH --> Sec
    GH --> Pages
Loading

Core Architecture Pillars

  1. Zero Repository Pollution: AI agent instructions, rules, and workflows are provided dynamically over stdio MCP (unirtm://config, unirtm://conventions) rather than static configuration files committed to the repository root.
  2. Single Source of Truth (SSoT): All project dependencies, task workflows, and quality policies are centrally declared in .unirtm.toml and pinned in unirtm.lock.
  3. Triple Guarantee Quality Gate: Clean code quality is enforced at three checkpoints: IDE real-time formatting, local Git pre-commit hooks, and multi-OS GitHub Actions CI matrix.

📖 Quick Start

Prerequisites

  • UniRTM: Global universal runtime and task manager.
  • Git: Configured with user email and signing key (recommended).

Bootstrap Workflow

# 1. Clone repository
git clone https://github.com/snowdreamtech/template.git
cd template

# 2. Trust the repository configuration
unirtm trust

# 3. Setup toolchains and install local hooks
unirtm run setup

# 4. Verify environment and execute full workspace quality check
unirtm run verify

🛠️ Task Reference

All workflows are standardized through UniRTM tasks defined in .unirtm.toml:

Command Purpose Description
unirtm run setup Toolchain Bootstrap Installs pinned compilers, tools, and hooks
unirtm run verify Full Quality Check Runs all formatters, linters, and security scanners
unirtm run audit Security Audit Runs Gitleaks, Zizmor, Trivy, and OSV-Scanner
unirtm run fix Auto-Fix Issues Automatically corrects formatting and fixable lint errors
unirtm run docs:dev Local Docs Server Starts VitePress documentation server with hot reload
unirtm run docs:build Build Docs Builds production-ready static documentation
unirtm mcp AI Agent Server Starts standard Model Context Protocol server

📂 Project Structure

project-root/
├── .devcontainer/        # 🐳 Standardized reproducible DevContainer environment
├── .github/              # 🐙 GitHub integration and automation
│   └── workflows/        # 🚀 Multi-OS verified CI/CD workflows (CI, CD, Pages, CodeQL)
├── .vscode/              # 💻 Recommended editor configurations and task definitions
├── docs/                 # 📖 VitePress comprehensive bilingual documentation site
│   ├── guide/            # Architectural principles, CI, and pre-commit guides
│   ├── reference/        # Configuration, toolchain, and API specifications
│   ├── security/         # Supply chain security analysis and mitigation
│   └── workflows/        # SpecKit workflow documentation
├── schemas/              # 📐 JSON schemas for UniRTM toolchain and manifests
├── .editorconfig         # 📝 Cross-editor formatting specifications
├── .unirtm.toml          # 🔧 Repository toolchain, guard rules, and task definitions
├── unirtm.lock           # 🔒 Cryptographically pinned tool versions and cross-platform hashes
├── CHANGELOG.md          # 📜 Release history (automated via Release-Please)
├── CONTRIBUTING.md       # 🤝 Contributor guidelines and standards
├── LICENSE               # ⚖️ MIT License
└── VERSION               # 🏷️ Semantic project version

🔒 Security Model

  • Secret Detection: Hardcoded credential protection enforced via Gitleaks on staged files and historical commits.
  • Actions Hardening: Workflow permissions and syntax audited via Zizmor and Actionlint.
  • Dependency Auditing: Automated dependency vulnerability scanning with OSV-Scanner and Trivy.
  • Reproducible Builds: All downloaded tools and artifacts are verified against cryptographic SHA-256 checksums in unirtm.lock.

❓ Troubleshooting

  • Configuration not trusted warning:
    • Diagnosis: Tasks in .unirtm.toml are ignored because the configuration file is not trusted.
    • Solution: Run unirtm trust in the workspace root.
  • Windows PowerShell Execution Policy:
    • Diagnosis: unirtm run ... blocked by script execution policies on Windows.
    • Solution: Run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass in your terminal.
  • Gitleaks false positives:
    • Diagnosis: Gitleaks flags non-sensitive test tokens or mocks.
    • Solution: Add the specific commit hash or rule fingerprint to .gitleaksignore.
  • Missing platforms during lock generation:
    • Diagnosis: unirtm lock reports missing target platform assets.
    • Solution: Run unirtm lock --allow-incomplete to maintain pinned binaries for supported platforms.

📄 License

This project is licensed under the MIT License. Copyright (c) 2026-present SnowdreamTech Inc. See the LICENSE file for details.

🌟 Star History

Star History Chart

About

An enterprise-grade, foundational template designed for multi-AI IDE collaboration. This repository serves as a Single Source of Truth for AI agent rules, workflows, and project configurations, supporting over 50 different AI-assisted IDEs with massive multi-language support.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages