Skip to main content
Version: 0.4.x

Design Principles​

A framework's behavior is shaped by the choices made when it was designed. Understanding the reasoning behind those choices helps developers grasp the framework's boundaries more accurately, work with it more naturally, and get more out of it.

LinaPro's design principles revolve around five core themes:

  • AI-Native Design: Treating AI as the primary engine of engineering productivity — not a supplementary tool. The AI-native design manifests in two independent dimensions: a spec-driven development workflow that lets AI participate deeply at every stage from requirements analysis to implementation and testing; and a built-in AI skill system covering the full development lifecycle, enabling AI to make framework-aware decisions in every specific work context — from backend development and frontend design to test coverage, performance audits, and version upgrades. Together, these two dimensions form LinaPro's core productivity engine.

  • Modular Design: Every capability in the framework exists as a decoupled module that interacts with others through stable interfaces. Developers assemble systems like connecting building blocks rather than building from scratch each time — a fundamentally better way to deliver reliably at speed.

  • AI Spec-Driven Development: Built on the principle that specs come before code, the spec-driven workflow captures every iteration's design decisions and implementation context as persistent documents, ensuring code, documentation, and tests are produced in the same iteration cycle — preventing architectural drift at the root. OpenSpec is the recommended tool for implementing this workflow.

  • AI Engineering Quality Assurance: A systematic look at the engineering management challenges that emerge when AI becomes part of software development, and how LinaPro builds a complete quality assurance system across four dimensions: the SDD spec-driven workflow, full project-level specifications, interface abstraction with anti-leakage contracts, and high-density test coverage, where test code accounts for 39% of the total codebase.

  • Framework and Plugin Capability Boundaries: Describes the division of responsibilities between the core framework and plugins — the core framework focuses on lightweight foundational capabilities and stable extension interfaces, while business capabilities are delivered through plugin extensions. Details how source plugins integrate through the pluginhost contract, dynamic plugins communicate through the pluginbridge sandbox, and the conventions governing route namespaces, public asset hosting, and admin workspace integration.

đŸ“„ī¸Modular Design

How the framework follows the "framework minimalism principle" — only placing core generic capabilities in the core, delegating what plugins can provide to plugins — through domain decoupling of built-in capabilities, plugins as independent module units, a stable extension interface system, and real-world examples like cloud storage and LDAP/OIDC, enabling developers to build systems like assembling building blocks, significantly reducing development costs and improving delivery quality and system maintainability.

đŸ“„ī¸Spec-Driven Development

The AI Specification-Driven Development (SDD) philosophy and OpenSpec workflow practice. OpenSpec is an optional but strongly recommended spec-driven workflow component, and LinaPro provides solid support for its directory structure, commands, and Agent Skills. This article covers the five-stage development loop (explore, propose, implement, review, archive), AI and human responsibilities at each stage, the OpenSpec directory structure and spec file formats, and how spec anchors and mandatory E2E tests prevent architectural drift.

đŸ“„ī¸AI Engineering Quality

The engineering management challenges that arise when AI is introduced into software development, and how LinaPro builds a complete AI engineering quality assurance system through five dimensions: the SDD spec-driven workflow, two layers of project specifications, interface abstraction and anti-leakage API contracts, high-density test coverage where test code accounts for 39% of the total codebase, and backend code quality static analysis. Also explains how business development teams using the framework directly inherit these quality capabilities without building them from scratch.