saga-feature

Generate Saga TTRPG feature code with database schemas, server functions, and UI components.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/SirPedr/saga --skill saga-feature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saga-feature
Source: https://github.com/SirPedr/saga/tree/main/.agents/skills/saga-feature
Command: npx skills add https://github.com/SirPedr/saga --skill saga-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the development of new features and extensions for the Saga TTRPG campaign planning tool, ensuring consistency with the project's architecture and patterns.

Core Features & Use Cases

  • Feature Scaffolding: Automatically generates the necessary files and boilerplate for new features (database schemas, server functions, Zod validators, UI components).
  • Code Integration: Seamlessly integrates new code into the existing project structure, adhering to established conventions.
  • Use Case: When a user requests to "add a new NPC form" or "implement the factions feature," this Skill will create all the required backend and frontend code, including database models, API endpoints, and form components, following the project's established patterns.

Quick Start

Use the saga-feature skill to add a new NPC form to the application.

Frequently Asked Questions about saga-feature

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

FAQPage Schema
How do I scaffold full-stack TTRPG features with Drizzle and TanStack Query?

Scaffolding full-stack features involves generating database schemas, server functions, Zod validators, UI components, and TanStack Query hooks. This approach integrates new code directly into the project's existing architecture to maintain consistency across data modeling and API layers.

What is the best way to generate boilerplate for a new NPC form in a TTRPG tool?

Generating boilerplate for NPC forms requires creating Zod validation schemas, database models, and UI components simultaneously. By adhering to established project conventions, the generated code seamlessly integrates backend endpoints with frontend form components.

How do I add new database schemas and server functions without breaking existing UI patterns?

Adding database schemas and server functions without breaking UI patterns requires aligning new code with established project architecture. By generating Zod validation schemas and TanStack Query hooks concurrently, backend data modeling integrates seamlessly with existing frontend workflows.

Can I use this code generation approach to implement factions and other campaign planning features?

Yes, you can use feature scaffolding to implement factions and other campaign planning features. It automatically generates the required backend and frontend code, including database models, API endpoints, and form components, following the project's established patterns.

Does feature scaffolding work with existing TanStack Query and Zod validation workflows?

Feature scaffolding works with existing TanStack Query and Zod workflows by generating compatible hooks and validation schemas. It ensures new domains integrate seamlessly with established project patterns for UI, data modeling, and AI workflows without requiring external dependencies.

Why does scaffolding new domains generate so many different files at once?

Scaffolding new domains generates multiple files simultaneously to ensure architectural consistency across the application. Creating database schemas, server functions, Zod validators, and UI components together guarantees that new features adhere to established project conventions and integrate seamlessly.