Overview
The TailStack Core package is the flagship monorepo architecture template that combines the React frontend and Node.js backend into a unified, production-grade development environment. It implements the proven TailStack Architecture with industry-standard tooling, rigorous linting, and automated workflows.Key Benefits
- Complete full-stack monorepo architecture
- Pre-configured development tooling and automation
- Built-in security and performance optimizations
- Cross-platform automation scripts
- AI agent skills for enhanced development
Package Information
Project Structure
Features
Frontend Stack
Vite
Next-generation frontend tooling with lightning-fast HMR
React 19
Latest version of the world’s most popular UI library
Tailwind CSS 4
Utility-first CSS with the new high-performance engine
Shadcn UI
Reusable, accessible, and customizable components
Backend Stack
Express 5
Fast, unopinionated web framework for Node.js
TypeScript
Full type safety for reliable and maintainable code
Node Cluster
Multi-core system utilization for maximum performance
Security
Pre-configured CORS and security best practices
DevOps Tools
Git Hooks & Commit Standards
Git Hooks & Commit Standards
- Husky: Automated pre-commit hooks for code quality
- Commitlint: Enforces Conventional Commits specification
- Lint-staged: Runs linters on staged files only
- Gitleaks: Prevents secrets from being committed
Automation Scripts
Automation Scripts
TailStack Core includes advanced cross-platform scripts for high-velocity development:
- clean.ps1 / clean.sh: Two-phase parallel purge of
node_modulesand lock files - install.ps1 / install.sh: Intelligent parallel installer with CPU/RAM monitoring
Documentation
Documentation
Pre-configured community and contribution documentation:
CONTRIBUTING.md: Contribution guidelines and workflowsCODE_OF_CONDUCT.md: Community standardsSECURITY.md: Security policy and vulnerability reporting
Available Scripts
Dependencies
Production Dependencies
The Core package orchestrates the monorepo and does not have production dependencies itself. Dependencies are managed at the frontend and backend package levels.Development Dependencies
Agent Skills
TailStack comes with pre-configured AI agent skills that enhance development with AI-powered tools.
What are Agent Skills?
Skills are reusable capabilities for AI agents that provide procedural knowledge for specific tasks. They act as plugins that enable AI agents to write, refactor, and optimize code with domain-specific expertise. Learn more at skills.sh/docsPre-configured Skills
Vercel React Best Practices
Vercel React Best Practices
A comprehensive performance optimization guide for React applications maintained by Vercel.
- 57 rules across 8 categories
- Prioritized by impact
- Guides automated refactoring and code generation
Node.js Backend Patterns
Node.js Backend Patterns
Comprehensive guidance for building scalable, maintainable, and production-ready Node.js backend applications.
- Modern frameworks and architectural patterns
- Best practices for Express and Node.js
- Production deployment strategies
Tailwind v4 + shadcn/ui Production Stack
Tailwind v4 + shadcn/ui Production Stack
Enables AI agents to correctly generate and work with shadcn/ui components and Tailwind CSS v4.
- Understands nuances of both technologies
- Ensures idiomatic and production-quality results
- Component generation and modification
Supported AI Agents
- Gemini
- Claude
- Codex
- Cursor
- OpenCode
- Trae
Automation Scripts
Smart Clean Script
- High-velocity two-phase parallel purge
- Removes all
node_modulesandpnpm-lock.yamlfiles - Forcefully kills locking processes (Node, VS Code)
- 3-retry verification loop for stubborn files
Smart Install Script
- Parallel installation across all monorepo packages
- Intelligent CPU and RAM monitoring
- Automatic suspension if system load exceeds 90%
- Resumes when load drops below 75%
- Prevents system hangs during heavy dependency resolution
Environment Configuration
Node.js Version
TailStack Core is configured to use Node.js 24.13.0 as specified in
.nvmrcNode Version Manager Setup
Getting Started
Initial Setup
-
Clone the repository
-
Install dependencies
-
Initialize git hooks
-
Start development
Development Workflow
- Frontend: Access at
http://localhost:5173 - Backend API: Running on
http://localhost:5000 - Both servers support hot module replacement (HMR)
Git Workflow
Commit Standards
TailStack Core enforces Conventional Commits specification:Pre-commit Checks
Automated checks run on every commit:- Gitleaks: Scans for hardcoded secrets
- Lint-staged: Runs linters on staged files
Package Manager
TailStack Core uses pnpm 10.12.1 for efficient dependency management:- Faster than npm and yarn
- Disk space efficient with content-addressable storage
- Strict dependency resolution
- Built-in monorepo support
Next Steps
React Package
Explore the frontend architecture and components
Node Package
Learn about the backend API structure
Deployment
Deploy your TailStack application
GitHub Repository
Contribute to the TailStack project