Eventual
Build scalable and durable micro-services with APIs, Messaging and Workflows
Install / Use
/learn @sam-goodwin/EventualREADME
Eventual is a TypeScript framework for building event-driven applications on AWS using Commands, Events, Subscribers, Workflows and Streams.
Your application exports APIs, Workflows, etc. that are then imported to synthesize an AWS CDK or SST v2 stack that is then deployed to AWS.
import { event, task, workflow, api, HttpResponse } from "@eventual/core";
api.post("/work", async (request) => {
const items: string[] = await request.json();
const { executionId } = await myWorkflow.startExecution({
input: items,
});
return new HttpResponse(JSON.stringify({ executionId }), {
status: 200,
});
});
export const myWorkflow = workflow("myWorkflow", async (items: string[]) => {
const results = await Promise.all(items.map(doWork));
await workDone.emit({
outputs: results,
});
return results;
});
export const doWork = task("work", async (work: string) => {
console.log("Doing Work", work);
return work.length;
});
export interface WorkDoneEvent {
outputs: number[];
}
export const workDone = event<WorkDoneEvent>("WorkDone");
Related Skills
tmux
339.5kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
Writing Hookify Rules
83.9kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
99.4kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
