skills/inertia/SKILL.md
Inertia.js server-side rendering, redirects, shared data, forms, validation, and client-side patterns for The Boring JavaScript Stack. Use this skill when building pages, handling form submissions, managing redirects, sharing data, or working with any Inertia.js feature in a Sails.js application.
npx skillsauth add sailscastshq/boring-stack inertiaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Inertia.js is the bridge between Sails.js and your frontend framework (React, Vue, or Svelte) in The Boring JavaScript Stack. It lets you build modern single-page apps using classic server-side routing and controllers -- no API required. The inertia-sails package implements the full Inertia.js v2 protocol as a Sails hook.
Use this skill when:
responseType: 'inertia')sails.inertia.local(), return { locals })responseType: 'redirect' vs 'inertiaRedirect')sails.inertia.share(), once(), refreshOnce())sails.inertia.flash())responseType: 'badRequest', form.errors)useForm, usePage, Link, Head, routercreateInertiaApp and persistent layoutsRead individual rule files for detailed explanations and code examples:
inertia response typedevelopment
Waterline ORM query language, model definitions, associations, and data access patterns for Sails.js. Use this skill when writing, reviewing, or debugging Waterline queries, model attributes, associations, lifecycle callbacks, validations, or any database interaction in a Sails.js application.
development
Cost-aware architecture skill inspired by The Frugal Architect and adapted for The Boring JavaScript Stack. Treat cost as a first-class non-functional requirement, align system shape to the business model, make trade-offs explicit, observe cost and waste, add cost controls, optimize incrementally, and challenge stale assumptions. Use this skill when shaping infrastructure, architecture, scaling, observability, performance, background jobs, caching, or product-engineering trade-offs.
tools
Product-building operating system inspired by Elon Musk's five-step "The Algorithm" — question every requirement, delete nonessential work, simplify what remains, accelerate feedback loops, and automate last. Use this skill when shaping offers, features, onboarding, pricing, architecture, workflow, launch, or automation decisions. Tailored for founders, designers, operators, product engineers, and AI coding agents building real products.
development
Sounding-first testing patterns for The Boring JavaScript Stack — one test() API, a Sails-centered trial context, worlds under tests/, JSON and Inertia request testing, mail capture, and browser-capable trials only when the browser truly matters. Use this skill when writing, configuring, or debugging tests in a Sails.js + Inertia.js application.