develop-logic

Implement full-stack application logic with Hub-and-Spoke bindings in Simple Platform.

1|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/simple-platform/simple-tools --skill develop-logic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-logic
Source: https://github.com/simple-platform/simple-tools/tree/main/tools/simple-cli/internal/scaffold/templates/agent/skills/develop-logic
Command: npx skills add https://github.com/simple-platform/simple-tools --skill develop-logic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach to implementing backend and frontend logic in Simple Platform applications, ensuring clear separation of concerns and adherence to best practices.

Core Features & Use Cases

  • Hub-and-Spoke Architecture: Understand how to decouple logic from execution triggers.
  • Server Actions: Implement server-side logic using TypeScript or Go.
  • Client Record Behaviors: Define client-side interactions and validations.
  • SCL Registration: Learn how to register logic, triggers, and bindings using Simple Configuration Language (SCL).
  • Use Case: Develop a new order processing system where a "process-order" logic is triggered by a new order creation event in the database.

Quick Start

Register a new server action named 'process-order' that is triggered by database inserts on the 'orders' table.

Frequently Asked Questions about develop-logic

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

FAQPage Schema
How do I decouple application logic from execution triggers in full-stack development?

To decouple application logic from execution triggers, implement a Hub-and-Spoke binding architecture. This pattern separates core server actions from the events that invoke them, ensuring clear separation of concerns and adherence to platform best practices.

How do I register server actions and database triggers using SCL?

You register server actions and database triggers using Simple Configuration Language (SCL). SCL registration connects your server-side logic, such as a process-order action, to specific execution triggers like database inserts on a designated table.

Can I implement server actions using both TypeScript and Go?

Yes, you can implement server actions using either TypeScript or Go. The platform supports both languages for writing backend logic, allowing you to define server-side processing behaviors within your preferred development environment.

How do I define client-side record behaviors and validations?

You define client-side record behaviors to manage frontend interactions and data validations. This ensures clear separation of concerns between client-side input handling and the backend server actions processing the core logic.

Why does my server action signature mismatch when binding triggers?

Server action signature mismatches occur when trigger bindings expect different parameters than the logic provides. Addressing these mismatches requires aligning the SCL registration definitions with the actual server action inputs to ensure correct execution.

What's the best way to handle data seeding when implementing new application logic?

Handling data seeding requires following specific best practices when implementing new application logic. Proper data seeding ensures your newly registered triggers and server actions have the necessary baseline records to execute correctly during testing and deployment.