> ## Documentation Index
> Fetch the complete documentation index at: https://docs.totalmod.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Your users ask for a feature. An AI builds it. You merge.

totalmod is a loop kit for Next.js SaaS apps. It turns your users' feature requests into working, reviewed changes, without giving an AI access to your production data.

## The loop

**1. A user asks**

They click **Request a feature** in your app and describe it in their own words.

**2. An AI interviews them**

Up to four questions, then a spec they confirm.

**3. Claude Code builds it**

A GitHub Action builds the spec on a branch and opens a draft PR.

**4. They try it on mock data**

A private preview only they can open. They can ask for fixes.

**5. You merge**

Only then does it run on real data, behind a flag that turns on for them first.

## Safety model

> [card] Mock data until release
>
> Previews have no production credentials and no path to your database.

> [card] Policy in code, not prompts
>
> Specs that touch auth, billing, migrations, secrets or CI are declined.

> [card] One human gate
>
> Nothing reaches production data until you merge.

The user's own words stay in your database. Only the confirmed spec reaches GitHub and the build agent.

## Next steps

> [card] [Get started](https://docs.totalmod.dev/quickstart.md)
>
> Add totalmod to your Next.js app, step by step.

> [card] [Source on GitHub](https://github.com/sumanprime/totalmod)
>
> Code, examples and the demo app.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.