Production-ready examples of .ai/ folder configurations for various project types. Clone, adapt, and use in your own repositories.
Every example is:
- β Validated against VERSA schemas
- π Documented with inline comments
- π§ͺ Tested with real AI tools
- π¨ Practical based on real-world projects
# Clone the examples
git clone https://github.com/dotAIslash/dotaislash-examples.git
# Copy an example to your project
cp -r dotaislash-examples/typescript-project/.ai your-project/
# Or use the CLI
versa initThe absolute basics. Perfect for learning VERSA.
.ai/
βββ context.json # Just the essentials
βββ rules/
βββ style.md # One simple rule
View context.json
{
"version": "1.0",
"rules": ["rules/style.md"],
"settings": {
"model": "claude-sonnet-4"
}
}A good starting point for most projects.
.ai/
βββ context.json
βββ profiles/
β βββ cursor.json
βββ rules/
β βββ style.md
β βββ security.md
βββ agents/
βββ code-reviewer.json
Full-featured TypeScript setup with linting, testing, and documentation agents.
Highlights:
- TypeScript-specific rules
- ESLint + Prettier integration
- Multiple agents (reviewer, documenter, tester)
- Cursor + Windsurf profiles
Python project with pytest, black, and mypy configuration.
Highlights:
- Python style guidelines (PEP 8)
- Type checking rules
- Testing best practices
- Virtual environment awareness
Next.js 15 application with React best practices.
Highlights:
- Server/client component rules
- Tailwind CSS guidelines
- API route conventions
- Performance optimization tips
Multi-package repository with shared and package-specific configs.
.ai/
βββ context.json # Global config
βββ packages/
β βββ frontend/
β β βββ .ai/ # Package-specific
β β βββ context.json
β βββ backend/
β βββ .ai/
β βββ context.json
βββ tools/
βββ shared-mcp.json
Highlights:
- Configuration inheritance
- Workspace-level rules
- Package-specific overrides
- Shared tooling
Distributed system with service-specific configurations.
Highlights:
- Service boundaries
- API contract enforcement
- Shared standards
- Service-specific agents
OSS project with contributor guidelines and issue templates.
Highlights:
- Contributing rules
- Code of conduct enforcement
- Issue/PR templates
- Documentation requirements
Data science project with Jupyter, pandas, and ML best practices.
Highlights:
- Notebook guidelines
- Data validation rules
- Model documentation
- Reproducibility checks
REST API with OpenAPI spec and security guidelines.
Highlights:
- API design patterns
- Security checklists
- Error handling standards
- Documentation requirements
React Native application with platform-specific rules.
Highlights:
- iOS/Android conventions
- Performance guidelines
- Accessibility rules
- Native module patterns
Enterprise-grade setup with compliance and security.
Highlights:
- SOC 2 compliance rules
- Security scanning
- Audit logging
- Access control policies
Each example includes:
example-name/
βββ README.md # Example overview
βββ .ai/
β βββ context.json # Base configuration
β βββ profiles/ # Tool-specific configs
β β βββ cursor.json
β β βββ windsurf.json
β β βββ claude.json
β βββ rules/ # Guidelines
β β βββ style.md
β β βββ security.md
β β βββ architecture.md
β βββ agents/ # Agent definitions
β β βββ code-reviewer.json
β β βββ documenter.json
β β βββ tester.json
β βββ tools/ # MCP servers
β βββ project-tools.json
βββ sample-project/ # Example project files
βββ (actual code)
Pick the example closest to your project type.
cp -r dotaislash-examples/typescript-project/.ai your-project/Edit files to match your needs:
// .ai/context.json
{
"version": "1.0",
"rules": [
"rules/style.md", // Keep
"rules/security.md", // Keep
"rules/your-custom.md" // Add your own
]
}cd your-project
versa lintAll examples are automatically tested:
# Run validation tests
pnpm test
# Test specific example
pnpm test typescript-project
# Generate test report
pnpm test:report| Example | Language | Framework | Complexity | Best For |
|---|---|---|---|---|
| minimal | Any | None | π’ Simple | Learning |
| quick-start | Any | None | π’ Simple | Most projects |
| typescript-project | TypeScript | Any | π‘ Medium | TS apps |
| python-project | Python | Any | π‘ Medium | Python apps |
| nextjs-app | TypeScript | Next.js | π‘ Medium | Web apps |
| monorepo | Multi | Multi | π΄ Complex | Large projects |
| microservices | Multi | Multi | π΄ Complex | Distributed |
| enterprise | Any | Any | π΄ Complex | Compliance |
- Start with minimal
- Explore quick-start
- Try typescript-project or python-project
- Study nextjs-app for framework integration
- Learn open-source best practices
- Explore api-server patterns
- Master monorepo configuration
- Understand microservices architecture
- Implement enterprise compliance
Help expand our examples!
- π Add Examples - Share your
.ai/configs - π Report Issues - Found a problem? Let us know
- π‘ Suggest Use Cases - What examples are missing?
- π§ͺ Improve Tests - Better validation
- π Write Guides - Help others learn
# 1. Fork the repository
git clone https://github.com/your-username/dotaislash-examples.git
# 2. Create new example
mkdir my-example
cd my-example
# 3. Add .ai/ folder and README
# 4. Test it
versa lint
# 5. Submit PR
git add .
git commit -m "feat: add my-example configuration"
git push origin mainSee CONTRIBUTING.md for guidelines.
MIT Β© dotAIslash
All examples are free to use and modify.
- π VERSA Spec - Read the specification
- π§ CLI Tool - Command-line interface
- π Schemas - JSON Schema definitions
- π Adapters - Tool integrations
Real examples from real projects
