powershell-windows
π―Skillfrom violabg/dev-recruit
Generates PowerShell-based technical assessment questions and coding challenges specifically for Windows system administration and scripting roles.
Part of
violabg/dev-recruit(4 items)
Installation
git clone https://github.com/your-org/dev-recruit.gitpnpm installpnpm devSkill Details
Overview
# DevRecruit AI
A modern, AI-powered technical recruitment platform built with Next.js 16 that streamlines the candidate assessment process through intelligent quiz generation, automated evaluations, and comprehensive candidate management.




π Features
Core Functionality
- π Position Management - Create and manage job positions with detailed skill requirements and AI-generated descriptions
- π₯ Candidate Tracking - Track candidates through the recruitment pipeline with status management, resume storage, and multi-position assignment (candidates can be associated with multiple positions with primary designation)
- π AI-Powered Quiz Generation - Generate technical assessments tailored to specific positions using advanced LLMs
- π― Interview System - Send quiz invitations to candidates via unique tokens for remote technical assessments. Features time-limited quizzes with user confirmation dialogs for completion when time expires.
- π AI Evaluation - Dual evaluation system:
- Interview Evaluations - Automated quiz answer evaluation with detailed feedback and scoring
- Candidate Evaluations - Resume-based assessment against position requirements with fit scoring
- π Reusable Question Library - Create, manage, and favorite questions for reuse across multiple quizzes
- βοΈ Generation Presets - Configurable templates for question generation with type-specific parameters
AI Capabilities
- Multi-Model Support - Flexible LLM selection (Groq-powered models including LLaMA, Gemma, DeepSeek, Kimi)
- Three Question Types:
- Multiple Choice - Auto-validated with intelligent distractors
- Open Questions - Free-form responses with sample answers
- Code Snippets - Code analysis, bug fixing, and improvement tasks
- Smart Prompting - Type-specific prompt engineering for optimal question quality
- Retry & Fallback - Robust error handling with automatic model fallbacks
- Streaming Responses - Real-time position description generation with streaming AI responses
- Voice Transcription - Audio-to-text transcription for candidate answers using Whisper models
- Consistent Evaluations - Temperature-controlled AI responses for reproducible assessment scores
Technical Features
- Server Components - Next.js 16 App Router with Cache Components (
"use cache") - Real-time Streaming - Position description generation with streaming responses
- Zod Validation - End-to-end type safety with comprehensive schemas (Zod v4)
- Better Auth - Modern authentication with session management
- Neon PostgreSQL - Serverless database with Prisma ORM
- Cloudflare R2 Storage - S3-compatible object storage for resume/file uploads
- PDF Parsing - Serverless PDF text extraction using unpdf for resume analysis
- Polymorphic Evaluations - Unified evaluation entity supporting both interview and candidate assessments
π Project Structure
```text
dev-recruit/
βββ app/ # Next.js App Router
β βββ dashboard/ # Protected dashboard routes
β β βββ candidates/ # Candidate management & evaluations
β β βββ interviews/ # Interview tracking & evaluations
β β βββ positions/ # Job position management
β β βββ quizzes/ # Quiz creation & editing with reusable questions
β β βββ presets/ # Question generation presets management
β β βββ profile/ # User profile & settings
β βββ recruting/ # Public interview pages (candidate-facing)
β βββ auth/ # Authentication pages (login, signup, etc.)
β βββ api/ # API routes (streaming, uploads)
βββ components/ # React components
β βββ ui/ # Base UI primitives (shadcn/ui)
β β βββ rhf-inputs/ # React Hook Form input components
β βββ dashboard/ # Dashboard-specific components
β βββ quiz/ # Quiz editing components (AI dialogs, question management)
β βββ candidates/ # Candidate management components
β βββ interviews/ # Interview tracking components
β βββ presets/ # Preset management components
β βββ recruting/ # Interview taking components
βββ lib/ # Core business logic
β βββ actions/ # Server actions (quizzes, candidates, evaluations, etc.)
β βββ data/ # Data fetching layer (cached queries)
β βββ schemas/ # Zod validation schemas
β βββ services/ # AI services (quiz generation, evaluation, transcription)
β βββ utils/ # Utility functions
β βββ prisma/ # Generated Prisma client
βββ hooks/ # React hooks (AI generation, forms, etc.)
βββ prisma/ # Database schema & migrations
βββ docs/ # Documentation
```
π οΈ Technology Stack
| Category | Technology |
| ------------------ | ----------------------------- |
| Framework | Next.js 16 (App Router) |
| Language | TypeScript 5.9 |
| Database | PostgreSQL (Neon) + Prisma 7 |
| AI/LLM | Groq API (Vercel AI SDK) |
| Styling | Tailwind CSS 4 + OKLCH colors |
| UI Components | Radix UI + shadcn/ui |
| Forms | React Hook Form + Zod v4 |
| Authentication | Better Auth |
π Prerequisites
Before you begin, ensure you have:
- Node.js 20.x or later
- pnpm 8.x or later (recommended)
- PostgreSQL database (Neon recommended)
- Groq API Key for AI features
π Quick Start
1. Clone the repository
```bash
git clone https://github.com/your-org/dev-recruit.git
cd dev-recruit
```
2. Install dependencies
```bash
pnpm install
```
3. Configure environment variables
Create a .env file in the project root:
```env
# Database
DATABASE_URL="postgresql://user:password@host:5432/database?sslmode=require"
# Authentication (Better Auth)
BETTER_AUTH_SECRET="your-secret-key-min-32-chars"
BETTER_AUTH_URL="http://localhost:3000"
# AI (Groq)
GROQ_API_KEY="your-groq-api-key"
# Cloudflare R2 (Resume Storage)
R2_ACCOUNT_ID="your-r2-account-id"
R2_ACCESS_KEY_ID="your-r2-access-key-id"
R2_SECRET_ACCESS_KEY="your-r2-secret"
R2_BUCKET_NAME="your-r2-bucket-name"
# Optional: if using a custom/public domain for files
R2_PUBLIC_URL="https://files.yourdomain.com"
```
4. Set up the database
```bash
# Generate Prisma client
pnpm db:generate
# Push schema to database (development)
pnpm db:push
# Optional: Seed with sample data
pnpm db:seed
```
5. Start the development server
```bash
pnpm dev
```
Open [http://localhost:3000](http://localhost:3000) to access the application.
π Documentation
For detailed documentation on specific features:
- [AI Quiz Generation System](./docs/AI_QUIZ_GENERATION.md) - Deep dive into the AI-powered quiz generation
- [Cache Implementation](./docs/CACHE_IMPLEMENTATION.md) - Server-side caching patterns
- [Question Schema Reference](./docs/QUESTION_SCHEMAS.md) - Zod schemas for question validation
π§ Available Scripts
| Command | Description |
| ------------------ | ------------------------------ |
| pnpm dev | Start development server |
| pnpm build | Build for production |
| pnpm start | Start production server |
| pnpm lint | Run ESLint |
| pnpm db:generate | Generate Prisma client |
| pnpm db:push | Pus
More from this repository3
Generates reusable Tailwind CSS component patterns and utility classes for rapid, consistent UI development.
Demonstrates and implements best practices for building scalable, performant Next.js applications with clean architecture and modern web development techniques.
Generates Next.js 16 project boilerplate with pre-configured TypeScript, Prisma, Tailwind CSS, and AI-powered recruitment platform components.