This is the v1.3 documentation. The current version is v2.2. Upgrade guide
ViraStack AI v1
Install command, options, rules and files of ViraStack AI 1.3.2.
ViraStack AI 1.3.2 writes .mdc rules into .cursor/rules/, plus AGENTS.md, CLAUDE.md and an architecture guide in docs/. It detects Next.js or TanStack Start from package.json and writes only that framework’s rules.
Install
$ pnpm dlx @virastack/ai@1 init@1 pins the last 1.x release. Without it, npm installs v2.
Options
| Flag | Description |
|---|---|
--force, -f | Overwrite existing rule files without prompting. |
--framework <name> | Set the framework explicitly (nextjs or tanstack). |
--tr | Turkish prompts and success messages. |
Rules
Rules for the detected framework, written to .cursor/rules/. nextjs.mdc is for Next.js, tanstack-start.mdc for TanStack Start:
api.mdccore-principles.mdcforms.mdci18n.mdcnextjs.mdcperformance.mdcreact-best-practices.mdcstate-management.mdctanstack-query.mdctanstack-start.mdctesting.mdctypescript.mdcui-components.mdc
Files
AGENTS.md
CLAUDE.md # @AGENTS.md
.cursor/rules/*.mdc
docs/architecture-guide.md
docs/MEMORIES.mdAGENTS.md is written for the detected framework; with Next.js it starts with the Next.js agent block. Existing files are overwritten only after you confirm or with --force.