Skip to content
cccskills
FreePublished on GitHub

react-server-actions

Implement React Server Actions in Next.js 14+ for secure, progressively enhanced form handling and server mutations without API routes. Use when handling form submissions, performing server-side mutations, implementing progressive enhancement, creating actions that work without JavaScript, validating data on the server, revalidating cached data after mutations, handling file uploads server-side, implementing optimistic UI updates, or building forms that gracefully degrade without client-side JavaScript.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

React Server Actions - Form Handling

When to use this skill

  • Handling form submissions in Next.js 14+ applications
  • Performing server-side data mutations without API routes
  • Implementing progressive enhancement for forms
  • Creating actions that work without client-side JavaScript
  • Validating form data securely on the server
  • Revalidating Next.js cache after data mutations
  • Handling file uploads with server-side processing
  • Implementing optimistic UI updates with useOptimistic
  • Building accessible forms with server-first architecture
  • Integrating with database operations directly
  • Managing form state with useFormState hook
  • Creating secure mutations with server-only code

When to use this skill

  • Implementing forms, mutations in Next.js App Router.
  • When working on related tasks or features
  • During development that requires this expertise

Use when: Implementing forms, mutations in Next.js App Router.

Server Action

```typescript 'use server';

export async function createPost(formData: FormData) { const title = formData.get('title'); await db.post.create({ data: { title } }); revalidatePath('/posts'); } ```

Resources

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Build accessible web applications following WCAG 2.1/2.2 guidelines with proper semantic HTML, ARIA attributes, keyboard navigation, screen reader support, and inclusive design. Use when implementing ARIA labels and roles, ensuring keyboard navigation, supporting screen readers, providing text alternatives for images, managing focus, creating accessible forms, building inclusive UI components, testing with accessibility tools, meeting WCAG compliance levels, or designing for users with disabilities.

The English summary is being prepared. Showing the original description.

Fabric-Pro/fabric-oss3Updated Oct 16, 2026

Guide for adding new OAuth-based integrations to Fabric. Use when implementing OAuth providers like Microsoft Teams, GitHub, Google Drive, Slack, or similar services that need OAuth 2.0 authentication for user data access.

The English summary is being prepared. Showing the original description.

Fabric-Pro/fabric-oss3Updated Oct 16, 2026

Design clean, scalable, and maintainable REST and GraphQL APIs following industry best practices. Use when designing public or internal APIs, planning endpoint structures, defining request/response contracts, establishing versioning strategies, implementing authentication patterns, designing data models, creating API documentation, ensuring consistent error handling, optimizing for performance, or establishing service contracts between microservices.

The English summary is being prepared. Showing the original description.

Fabric-Pro/fabric-oss3Updated Oct 16, 2026

Create professional, dark-themed architecture diagrams as standalone HTML files with SVG graphics. Use when the user asks for system architecture diagrams, infrastructure diagrams, cloud architecture visualizations, security diagrams, network topology diagrams, or any technical diagram showing system components and their relationships.

The English summary is being prepared. Showing the original description.

Fabric-Pro/fabric-oss3Updated Oct 16, 2026

Create interactive, self-contained artifacts like mini-apps, visualizations, calculators, and tools that can be embedded or used standalone. Use when building interactive calculators, creating data visualizations, making mini web apps, building embeddable widgets, creating interactive demos, making tools for specific tasks, or generating standalone HTML/JS applications.

The English summary is being prepared. Showing the original description.

Fabric-Pro/fabric-oss3Updated Oct 16, 2026

Set up something that runs on a schedule (a weekly report, a daily digest) as a scheduled workflow, change, pause or debug one, and build interactive pages (project artifacts and workspaces) that read live Fabric data. Use when the user asks for a recurring job, a status page, a dashboard or a page with buttons, or asks why one did not run.

The English summary is being prepared. Showing the original description.

Fabric-Pro/fabric-oss3Updated Oct 16, 2026

See all skills by Fabric-Pro

Report a problem with this skill