new-action

Official

Scaffold a secure backend action.

Authortechdiary-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Scaffold a secure, boilerplate backend server action with built-in auth checks, input validation, repository interaction, and standardized error handling, dramatically reducing boilerplate and risk when adding new domain actions.

Core Features & Use Cases

  • Enforces a consistent action skeleton with "use server" at the top and Zod-based input validation.
  • Integrates with your persistence layer to perform domain operations and return typed results.
  • Provides a safe, reusable template for protected actions used in admin panels, internal APIs, and service workflows.

Quick Start

Use the template to generate a new action by specifying the domain name, action name, and domain model, then adapt the scaffold to your repository.

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: new-action
Download link: https://github.com/techdiary-dev/techdiary.dev/archive/main.zip#new-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 471,000+ vetted skills library on demand.