backend-actions

Define Drumr backend action contracts for read and write operations.

Updated Sep 16, 2025
One-click install
npx skills add https://github.com/slingr-stack/qa-test-drumr --skill backend-actions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-actions
Source: https://github.com/slingr-stack/qa-test-drumr/tree/main/project-management-app/.agents/skills/backend-actions
Command: npx skills add https://github.com/slingr-stack/qa-test-drumr --skill backend-actions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps teams design and implement Drumr backend actions as clear execution contracts, keeping request handling, validation, permissions, and persistence logic in the right layer.

Core Features & Use Cases

  • Chooses the correct action type for global, model-level, or object-level work.
  • Defines in-file parameter models with validation, GraphQL exposure, and default values.
  • Covers transactional writes, bulk execution, scheduled background jobs, and permission registration.
  • Use it when creating endpoints, mutations, queries, or scheduled workflows that must behave consistently across backend and frontend boundaries.

Quick Start

Ask for a Drumr backend action implementation plan that includes the action type, params model, canExecute guard, execute logic, transaction choice, and permissions.

Frequently Asked Questions about backend-actions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Drumr backend actions for global, model-level, and object-level operations?

Drumr backend actions require clear execution contracts that separate request handling, validation, and persistence logic into the correct layers. You must choose the correct action type for GlobalAction, ModelAction, or ObjectAction work, define in-file parameter models, and apply the correct canExecute guard signatures.

What is the correct way to define parameters and validation for a backend action?

To define backend action parameters correctly, you should use in-file parameter models that include validation rules, GraphQL exposure settings, and default values. This approach ensures action contracts remain consistent across frontend and backend ownership boundaries.

How do I handle transactions and permissions when implementing backend actions?

Handling transactions and permissions requires selecting the appropriate transaction choice for your write or bulk execution operations and registering the necessary permissions. Your backend actions must implement correct canExecute signatures to enforce these permission boundaries securely.

Can I use backend actions for scheduled workflows and background jobs?

Yes, backend actions can be used for scheduled workflow actions and background jobs. The execution contracts cover transactional writes, bulk execution, and scheduled background jobs, ensuring consistent behavior across all backend and frontend boundaries.

What's the difference between GlobalAction, ModelAction, and ObjectAction in backend logic?

GlobalAction, ModelAction, and ObjectAction distinguish the scope of your backend execution contracts. GlobalAction handles application-wide work, ModelAction targets all records of a specific type, and ObjectAction operates on a single specific record, each requiring distinct canExecute signatures and permission registrations.