write-action

Official

Build secure server actions with validated logic.

Authorcoeus-ventures
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The skill automates the creation of server actions that enforce authentication, input validation, and orchestration of model calls within the Epic three-layer architecture, reducing boilerplate and inconsistencies.

Core Features & Use Cases

  • Authentication-first actions: Enforce user authentication via getUser() on the server.
  • Validation with Zod: Validate inputs before invoking models.
  • Orchestrated backend: Coordinate with models for data operations without direct DB access.
  • Architecture consistency: Applies the Epic three-layer pattern across frontend actions, backend actions, and models.

Quick Start

Create a sample action that authenticates a user, validates input with Zod, and orchestrates a model call in the Epic backend pattern.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-action
Download link: https://github.com/coeus-ventures/epic-web/archive/main.zip#write-action

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.