skill
ai
AI-native architecture kit for modern React — disciplined agent rules in one command.
Set up
Skills are installed by placing their folder where your agent loads skills.
Install instructions come from the README
README
synced Oct 14, 2026AI-native architecture kit for modern React — disciplined agent rules in one command.
See how it works →
Why ViraStack AI?
- Smart Framework Isolation: Automatically detects your framework (Next.js or TanStack Start) via
package.jsonto inject only the relevant rules and prevent cross-framework hallucinations. - Strict Feature Boundaries: Enforces feature-sliced design, blocking cross-feature imports and mandating Zod-first validation at the API edge.
- Multi-Agent Ready: Ships with unified
AGENTS.mdandCLAUDE.mdentry points, ensuring Cursor, Claude Code, and Windsurf all follow the exact same architecture. - Mandatory Patterns: Imposes non-negotiable coding standards like TanStack Query
queryOptionsfactories, Safe Return Patterns, and strict error normalization (ApiError).
Injected Rule Coverage
The initialization command safely injects .mdc files into your .cursor/rules directory, covering:
- Architecture: Core Principles, Feature Boundaries, React Best Practices
- Data & State: TanStack Query, Zustand, API & Error Normalization
- UI & Performance: UI Components, Tailwind, Forms, Core Web Vitals
- Quality: TypeScript Strictness, Testing
Quick Start
npx @virastack/ai init
The CLI reads your package.json, detects your stack, and writes AGENTS.md, CLAUDE.md, docs/, and .cursor/rules/*.mdc into your project root.
Starting a new project? ViraStack Start scaffolds Next.js or TanStack Start with these rules pre-installed.
Options
| Flag | Description |
|---|---|
--force, -f | Overwrite existing rule files without prompting. |
--framework | Explicitly set the framework (nextjs or tanstack). |
--tr | Run the CLI with Turkish prompts and success messages. |
Explore the ViraStack Ecosystem
Discover all ViraStack tools, libraries, and boilerplates at virastack.com.
License
Licensed under the MIT License.
Maintainer
A project by Ömer Gülçiçek