sails

Installation
SKILL.md

Sails.js

Sails.js is the MVC backend framework in The Boring JavaScript Stack. It provides convention-over-configuration server-side architecture with actions, helpers, models, policies, hooks, and a powerful routing system. The Boring Stack defaults to the actions2 format for all controllers and helpers.

Sails is built on Express and uses the Waterline ORM for database access. It pairs with Inertia.js to render React, Vue, or Svelte frontends without building a separate API.

Rules

Getting Started

  • getting-started - App anatomy, project structure, file conventions, .sailsrc, globals, bootstrap

Core Concepts

  • actions - Actions2 format, inputs, exits, response types, and action patterns
  • helpers - Reusable helpers with inputs, exits, sync/async, error handling
  • routes - Route configuration, dynamic parameters, wildcards, route targets
  • policies - Request guards, policy configuration, authentication patterns
  • hooks - App-level hooks, lifecycle, shared data, custom hook patterns
Installs
17
GitHub Stars
499
First Seen
Feb 12, 2026
sails — sailscastshq/boring-stack