All skills

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.

Use this Skill: https://skilld.dev/gh/sailscastshq/boring-stack/inertia

This session only. Nothing lands on disk.

README.md

≈506 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Inertia.js Skills for Claude Code

Build full-stack Boring Stack apps with Inertia.js just by prompting Claude Code.

Installation

npx skills add sailscastshq/boring-stack/skills/inertia

Usage

After installing, Claude will automatically apply Inertia.js best practices when you work on Boring Stack projects:

"Create a settings page that lets users update their profile"

"Add a form that creates a new team with validation"

"Set up shared data so the logged-in user is available on every page"

"When should I use inertiaRedirect instead of redirect?"

Skills Included

  • getting-started - How Inertia works, the protocol, client/server setup
  • rendering-pages - Server-side rendering with sails.inertia.render(), page objects
  • actions-and-exits - Action2 patterns, exit response types, the four action patterns
  • redirects-and-responses - redirect vs inertiaRedirect vs location(), when to use each
  • shared-data-and-flash - share(), once(), refreshOnce(), flushShared(), flash()
  • forms-and-validation - useForm, form submission, validation errors, badRequest flow
  • props-system - AlwaysProp, DeferProp, MergeProp, OnceProp, OptionalProp, ScrollProp
  • client-side-components - Link, router, usePage, Head, layouts, createInertiaApp
  • error-handling - Server errors, the dev error modal, production error handling
  • advanced-features - History encryption, partial reloads, asset versioning, CSRF, SSR

What is Inertia.js?

Inertia.js is a protocol that lets you build modern single-page apps using classic server-side routing. In The Boring JavaScript Stack, the inertia-sails package connects Sails.js to React, Vue, or Svelte via Inertia.

Links

License

MIT

Source: SKILL.md on GitHub

3 warnings17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides comprehensive documentation and guidelines for integrating Inertia.js within The Boring JavaScript Stack (Sails.js). No security vulnerabilities or malicious patterns were detected.

  • Socket17d

    1 alert: gptAnomaly

  • Snyk17d

    Risk: MEDIUM · 1 issue

  • Runlayer7mo

    16/16 files flagged

Signed by skilld at fb2b7e0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 7 months ago
Other metadata
metadata
{
  "author": "sailscastshq",
  "version": "1.0.0",
  "tags": "inertia, sails, boring-stack, spa, forms, redirects, shared-data, props"
}

README badge

README badge for sailscastshq/boring-stack/inertia