A universal project template that works with the BaryoDev Skills Library to provide AI-assisted development for any project type.
gh repo create YourOrg/YourProject --template BaryoDev/template-project --public
cd YourProjectOpen your project in your IDE and prompt the AI:
This is a [PROJECT_TYPE] project. Update .cursorrules by fetching skills from https://github.com/BaryoDev/skills:
- [skill-name-1]
- [skill-name-2]
Then add [PROJECT_TYPE]-specific rules:
- [Rule 1]
- [Rule 2]
The AI now knows your project's rules and will assist accordingly!
This template includes a pre-configured VitePress documentation site.
npm install
npm run docs:devVisit http://localhost:5173 to see your docs.
To optimize token consumption, this template uses BaryoDev Skills Lite by default (~2.5k tokens vs 16.5k total).
- Lite Skills: Provide high-level rules in
.cursorrulesfor daily work. - Full Skills: When you need deep expertise (e.g., "Review my API for security vulnerabilities"), ask the AI:
"Load baryo-security skill" 3: Fetching: The AI will use
./scripts/get-skill.shto fetch the full documentation from the Skills Library.
As your project grows, your logs and mistakes can become too large for the AI to process effectively. This template includes a manual "Auto-Compact" feature.
- The Command:
npm run compact - What it does: Gathers all your historical logs and prompts the AI to distill them into a dense, high-utility
.baryo/CONTEXT.mdfile. - The Result: You preserve 100% of your project's "Core Intelligence" and architectural "Whys" while saving thousands of tokens per session.
- Home (
docs/index.md): Landing page with hero and features - Guide (
docs/guide/): Getting started, installation, quick start, features - Reference (
docs/reference/): Changelog, FAQ, migration guides
npm run docs:build
npm run docs:previewThe built site will be in docs/.vitepress/dist/.
flowchart TD
Start([π€ You: Start New Project]) --> Template[π¦ Use BaryoDev/template-project]
Template --> Clone[π½ gh repo create MyProject --template]
Clone --> BaseConfig[π Project has minimal .cursorrules<br/>- baryo-coding<br/>- baryo-testing<br/>- baryo-compliance]
BaseConfig --> Decide{What type of<br/>project?}
Decide -->|Android| PromptAndroid[π¬ Prompt AI:<br/>'Fetch skills for Android']
Decide -->|iOS| PromptIOS[π¬ Prompt AI:<br/>'Fetch skills for iOS']
Decide -->|Web App| PromptWeb[π¬ Prompt AI:<br/>'Fetch skills for Web']
Decide -->|Library| PromptLib[π¬ Prompt AI:<br/>'Already configured!']
PromptAndroid --> FetchAndroid[π AI fetches from<br/>github.com/BaryoDev/skills:<br/>- webapp-testing<br/>- frontend-design]
PromptIOS --> FetchIOS[π AI fetches from<br/>github.com/BaryoDev/skills:<br/>- webapp-testing]
PromptWeb --> FetchWeb[π AI fetches from<br/>github.com/BaryoDev/skills:<br/>- baryo-architecture<br/>- webapp-testing<br/>- frontend-design]
FetchAndroid --> CreateAndroid[β¨ AI creates:<br/>baryo-android skill<br/>- Kotlin<br/>- Jetpack Compose<br/>- Hilt DI]
FetchIOS --> CreateIOS[β¨ AI creates:<br/>baryo-ios skill<br/>- Swift<br/>- SwiftUI<br/>- Combine]
FetchWeb --> CreateWeb[β¨ AI creates:<br/>baryo-webapp skill<br/>- React/Vue<br/>- TypeScript<br/>- Vite]
CreateAndroid --> UpdateConfig[π AI updates .cursorrules<br/>with all fetched + new skills]
CreateIOS --> UpdateConfig
CreateWeb --> UpdateConfig
PromptLib --> UpdateConfig
UpdateConfig --> Ready[β
Project Ready!<br/>AI knows all rules]
Ready --> Code[π¨βπ» Start Coding]
Code --> AIHelp{Need AI help?}
AIHelp -->|Yes| Roles{Which role?}
AIHelp -->|No| Done([π Ship It!])
Roles -->|Code| DevRole[π§ Developer Role<br/>Uses: baryo-coding]
Roles -->|Test| QARole[π§ͺ QA Role<br/>Uses: baryo-testing]
Roles -->|Docs| WriterRole[π Writer Role<br/>Uses: docx, pdf]
Roles -->|Deploy| OpsRole[π DevOps Role<br/>Uses: baryo-packaging]
DevRole --> Code
QARole --> Code
WriterRole --> Code
OpsRole --> Code
style Start fill:#e1f5ff
style Template fill:#fff3cd
style BaseConfig fill:#d4edda
style Ready fill:#d1ecf1
style Done fill:#d4edda
classDef skillRepo fill:#f8d7da,stroke:#721c24
class FetchAndroid,FetchIOS,FetchWeb skillRepo
This is an Android project. Update .cursorrules by fetching these skills from https://github.com/BaryoDev/skills:
- webapp-testing (for UI automation)
- frontend-design (for Material Design)
Then add Android-specific rules:
- Use Kotlin (not Java)
- Jetpack Compose for UI
- Hilt for dependency injection
- MVVM architecture
- Coroutines for async operations
This is an iOS project. Update .cursorrules by fetching these skills from https://github.com/BaryoDev/skills:
- webapp-testing (for UI testing)
Then add iOS-specific rules:
- Use Swift (not Objective-C)
- SwiftUI for UI
- Combine for reactive programming
- MVVM architecture
- Async/await for concurrency
This is a web application. Update .cursorrules by fetching these skills from https://github.com/BaryoDev/skills:
- baryo-architecture (Vertical Slices)
- webapp-testing (Browser automation)
- frontend-design (UI components)
Then add web-specific rules:
- Use TypeScript
- React with Vite
- TailwindCSS for styling
- React Query for data fetching
This is a .NET library. Update .cursorrules by fetching these skills from https://github.com/BaryoDev/skills:
- baryo-packaging (Manual NuGet releases)
Then add library-specific rules:
- Target .NET Standard 2.0
- Zero external dependencies
- Provide both sync and async APIs
- Include XML documentation
This is a machine learning project. Update .cursorrules by fetching these skills from https://github.com/BaryoDev/skills:
- baryo-testing (for model validation)
Then add ML-specific rules:
- Use Python 3.11+
- PyTorch framework
- Type hints mandatory
- Reproducible experiments (seed everything)
- Document model architecture
Once configured, the AI can switch between roles based on your requests:
Trigger: "Add a new feature", "Refactor this code"
Uses: baryo-coding, baryo-architecture
Trigger: "Test this", "Write tests for..."
Uses: baryo-testing, webapp-testing
Trigger: "Document this", "Create a user guide"
Uses: docx, pdf, pptx
Trigger: "Prepare for release", "Set up CI/CD"
Uses: baryo-packaging, baryo-compliance
Browse all available skills in the BaryoDev Skills Library:
- baryo-coding - Performance-first coding standards
- baryo-architecture - Vertical Slice Architecture
- baryo-testing - Testing standards
- baryo-compliance - License & compliance
- baryo-packaging - Release management
- docx - Word document creation
- pdf - PDF manipulation
- pptx - PowerPoint generation
- xlsx - Excel spreadsheets
- mcp-builder - MCP server generation
- webapp-testing - Browser automation
- frontend-design - UI/UX design
- skill-creator - Create new skills
- theme-factory - Design systems
template-project/
βββ .cursorrules # AI behavior configuration
βββ .github/
β βββ workflows/ # CI/CD workflows (add as needed)
βββ src/ # Source code
βββ tests/ # Test files
βββ docs/ # Documentation
βββ LICENSE # MPL-2.0 License
βββ README.md # This file
Zero Automated Contributions. The BaryoDev ecosystem follows a strict "Safety First" policy. While the baryo-learning skill allows the AI to suggest improvements to the global skills library, no automated pull requests or pushes will ever be made to community repositories without your explicit, manual approval in the current session.
The process is always:
- AI identifies an improvement or fix.
- AI drafts the proposal locally in
.baryo/skill-proposals/. - AI presents the changes for your review.
- You provide the final "Go" signal before any PR is created.
To add a new skill to the library:
- Create the skill in your project
- Format it as a
SKILL.mdfile - Submit a PR to BaryoDev/skills
This template is licensed under the MPL-2.0 License.
Individual skills in the BaryoDev Skills Library may have different licenses (check each skill's directory).
- Skills Library: https://github.com/BaryoDev/skills
- Issues: https://github.com/BaryoDev/template-project/issues
- Discussions: https://github.com/BaryoDev/template-project/discussions