# @skipsetup/generate@latest - AI-Powered Project Context Generator
Generate comprehensive `.kiro/` directories that make your projects AI-agent ready with specialized tooling.
[](https://www.npmjs.com/package/ @skipsetup/generate@latest)
[](https://opensource.org/licenses/MIT)
## Quick Start
```bash
# 1. Get a free Groq API key
# Visit: https://console.groq.com/keys
# 2. Set the API key as environment variable
export GROQ_API_KEY=your_api_key_here
# 3. Generate .kiro/ for any project
npx @skipsetup/generate@latest generate /path/to/project
# Example: Generate for a Next.js project
npx @skipsetup/generate@latest generate ~/projects/my-nextjs-appAfter running the generator, your project gets a complete .kiro/ directory:
.kiro/
├── agents/ # Specialized AI agents (auth, database, fullstack)
├── specs/ # Project specifications
├── steering/ # Architecture documentation
├── mcp/ # Model Context Protocol configs
└── hooks/ # Development automation
- Groq API Key (free from https://console.groq.com)
- Node.js 18+
- Project with package.json
# 1. Visit https://console.groq.com
# 2. Sign up or log in
# 3. Navigate to "API Keys"
# 4. Click "Create API Key"
# 5. Copy your key# Set as environment variable (Linux/Mac)
export GROQ_API_KEY=your_api_key_here
# Or set it temporarily for one command
GROQ_API_KEY=your_key_here npx @skipsetup/generate@latest generate .
# On Windows (Command Prompt)
set GROQ_API_KEY=your_api_key_here
# On Windows (PowerShell)
$env:GROQ_API_KEY="your_api_key_here"# Generate for current directory
npx @skipsetup/generate@latest generate .
# Generate for specific project
npx @skipsetup/generate@latest generate ~/projects/your-project
# Generate for sibling directory
npx @skipsetup/generate@latest generate ../project-name/$ npx @skipsetup/generate@latest generate ~/projects/gifttigray/
Discovery complete in 4790ms
AI analysis complete
Patterns Found: 22
Relationships: 15
Recommendations: 13
Confidence: 95%
Specialized Agents Created:
• auth-expert - Authentication & Authorization specialist
• database-architect - Database schema & query specialist
• fullstack-specialist - Complete fullstack development
Generated .kiro/ directory with AI-ready context!
- auth-expert - Authentication and authorization specialist
- database-architect - Database schema and query expert
- fullstack-specialist - Complete fullstack development assistant
- API specifications and endpoints
- Component specifications and props
- Database schema and relationships
- Master project index
- Architecture documentation
- Development workflows
- Plugin intelligence
- Project blueprint
- Model Context Protocol resources
- Tools for AI integration
- Prompts for AI assistants
- Pre-commit validation
- Post-generation tasks
- Pre-deploy checks
- Schema validation
- Framework Detection: Next.js, React, Node.js, etc.
- Authentication Patterns: Auth providers, flows, security
- Database Schema: Models, relationships, migrations
- API Structure: Endpoints, middleware, patterns
- Components: React components, props, dependencies
- State Management: Patterns and libraries used
- Dependencies: Auth, database, UI, state, API libraries
# 1. Set API key
export GROQ_API_KEY=gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# 2. Generate context
npx @skipsetup/generate@latest generate projects/gifttigray/
# Output shows:
# - 417 files scanned
# - 241 files parsed
# - 22 patterns detected
# - 15 relationships found
# - 13 recommendations
# - 95% confidence score
# - 3 specialized agents created
# 3. Review generated context
cd projects/gifttigray/.kiro
ls -la
# You'll see:
# agents/ specs/ steering/ mcp/ hooks/# Solution: Set your Groq API key
export GROQ_API_KEY=your_actual_key_here# Solution: Get a new key from https://console.groq.com
# Make sure you copy the entire key# Solution: Use full path or correct relative path
npx @skipsetup/generate@latest generate ./project
npx @skipsetup/generate@latest generate /home/user/projects/my-app- Fast scanning: ~5 seconds for 400+ files
- Accurate parsing: Real code analysis, not just file names
- AI-powered: Uses Groq AI for pattern recognition
- Comprehensive: Generates complete AI-ready context
The generated .kiro/ directory works with:
- Claude Desktop (via MCP)
- Cursor AI
- Any MCP-compatible AI tool
- Never commit API keys to version control
- Use environment variables as shown above
- Rotate keys regularly from Groq console
- Set usage limits in Groq dashboard if needed
| Command | Description |
|---|---|
generate [path] |
Generate .kiro/ directory for project |
scan [path] |
Analyze project without generating .kiro/ |
# Generate with temporary API key
GROQ_API_KEY=your_key npx @skipsetup/generate@latest generate .
# Generate for multiple projects
export GROQ_API_KEY=your_key
npx @skipsetup/generate@latest generate ~/projects/app1
npx @skipsetup/generate@latest generate ~/projects/app2
npx @skipsetup/generate@latest generate ~/projects/app3
# Scan to preview what would be generated
npx @skipsetup/generate@latest scan .- Discovery Phase: Scans project structure and parses code files
- AI Analysis: Uses Groq AI to identify patterns and relationships
- Context Generation: Creates specialized agents and documentation
- Directory Creation: Builds complete
.kiro/structure
# Clone the repository
git clone https://github.com/Noble-TS/skipsetup-ai-context.git
cd skipsetup-ai-context
# Install dependencies
npm install
# Build the project
npm run build
# Test locally (requires GROQ_API_KEY)
export GROQ_API_KEY=your_test_key
npm run generate .- Issues: https://github.com/Noble-TS/skipsetup-ai-context/issues
- npm: https://www.npmjs.com/package/ @skipsetup/generate@latest
- Groq API: https://console.groq.com
MIT © SkipSetup Team
Ready to make your project AI-ready?
# Get your free API key: https://console.groq.com
# Then run:
export GROQ_API_KEY=your_key
npx @skipsetup/generate@latest generate .Your AI development workflow starts here!