Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
da63489
Update Mix CMS documentation and refactor services
nhathoang989 Jul 13, 2025
d6e45c6
Add LINQ support and update architecture documentation
nhathoang989 Jul 13, 2025
accc877
Enhance MQTT and knowledge management features
nhathoang989 Jul 14, 2025
c32a70b
refactor(mix): enhance service integration and configuration
eric4ps Jul 19, 2025
73b70c6
docs: enhance Mix CMS documentation and guidelines
eric4ps Jul 19, 2025
ad1bbc2
Add comprehensive documentation for Mix CMS, including instructions f…
eric4ps Jul 19, 2025
988b85e
refactor(tenancy): enhance InitApiController and InitCmsService
eric4ps Jul 19, 2025
b546ed2
refactor(cache): remove MixCacheDbContext from controllers
eric4ps Jul 19, 2025
90368e2
docs(mix-ai-agent): update instructions for data service injection an…
eric4ps Jul 19, 2025
cd8c390
docs: add comprehensive guides for Cline instructions, Mix CMS, and b…
eric4ps Jul 20, 2025
9d76214
docs: add mix-ai-agent and website-building-best-practices guides for…
eric4ps Jul 20, 2025
6bd1b79
feat(caching): enhance caching mechanism with MixCacheService
eric4ps Jul 20, 2025
86311fe
Refactor MCP tools to remove MixCacheService dependency and introduce…
eric4ps Jul 20, 2025
ab1e591
feat: integrate MixCacheService into various tools for improved cachi…
eric4ps Jul 20, 2025
0fae148
feat: update appsettings for PostgreSQL configuration and enhance doc…
eric4ps Jul 20, 2025
3f8941f
Add comprehensive guides for creating basic pages, dynamic data, and …
eric4ps Jul 20, 2025
ec40a83
feat: refactor service classes to include IConfiguration for improved…
eric4ps Jul 20, 2025
41e84d4
docs: update Mix CMS documentation for best practices
eric4ps Jul 21, 2025
0b16398
feat: Add comprehensive guide for working with MixDb data in Mix CMS
eric4ps Jul 22, 2025
9b3f6af
feat: Enhance documentation with new guides on managing database rela…
eric4ps Jul 22, 2025
0f707e6
Add comprehensive guides for widget templates and AI workflows in Mix…
eric4ps Jul 22, 2025
68807cd
Refactor widget templates documentation and update AI workflows
eric4ps Jul 23, 2025
7d6fbad
Add workflow for creating database relationships and update MQTT mess…
eric4ps Jul 23, 2025
034d6ae
feat: Update MixDb data rendering instructions and enhance error hand…
eric4ps Jul 23, 2025
f143e38
feat: Add MixcorePostService and enhance documentation for ViewModel …
eric4ps Jul 23, 2025
65abd02
feat: Enhance Mix AI Agent documentation and improve error handling i…
eric4ps Jul 24, 2025
7baa421
fix: Update HomeController to return NotFound instead of redirecting,…
eric4ps Jul 24, 2025
95b0d48
feat: Revise Mix AI Agent documentation for clarity, enhance master l…
eric4ps Jul 24, 2025
30a74aa
feat: Add comprehensive system overview and enhance documentation str…
eric4ps Jul 24, 2025
6091021
feat: Add critical content type review steps for creating pages, modu…
eric4ps Jul 24, 2025
7206a91
style: format code with dotnet-format
deepsource-autofix[bot] Jul 28, 2025
bf64e2a
refactor: Simplify initialization and configuration logic in InitCont…
eric4ps Jul 29, 2025
f0fbe66
feat: Enhance initialization logic to conditionally generate AesKey a…
eric4ps Jul 29, 2025
0a45f05
feat: Implement Step4Controller and Step4Services for theme import fu…
eric4ps Jul 29, 2025
80ce21d
style: format code with dotnet-format
deepsource-autofix[bot] Jul 30, 2025
5bffd4b
refactor: Remove obsolete API documentation and Postman collections f…
nhathoang989 Jul 30, 2025
fe22ddd
feat: Enhance dashboard with AI conversation feature and SignalR inte…
nhathoang989 Jul 30, 2025
64f5d52
feat: Integrate Qdrant for semantic search and enhance knowledge load…
nhathoang989 Jul 31, 2025
6cbd612
feat: Refactor knowledge loading and enhance document indexing in Sem…
nhathoang989 Jul 31, 2025
2dba4be
feat: Add AI getting started guide and integrate knowledge context in…
nhathoang989 Jul 31, 2025
d097951
Merge remote-tracking branch 'origin/feature/mcp-mvc-content' into fe…
nhathoang989 Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions .clinerules
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@

# Mix AI Agent: Senior .NET MVC Developer for Mixcore CMS

## 🚨 CRITICAL: YOU ARE A MIX AI AGENT

**Role & Guidelines:**
- Work exclusively with Mixcore CMS, which uses ASP.NET Core MVC framework.
- Act as a senior .NET MVC developer.
- Strictly follow MCP tool and Mixcore CMS conventions for all tasks and issue resolutions.
- Always reference the MCP tool and Mixcore CMS documentation and workflows when performing any action.
- Ensure all solutions and code changes are compatible with Mixcore CMS and leverage the MCP tool where applicable.

**Always operate as Mix AI Agent with these mandatory steps:**
1. **Check MCP Server Support First** - Before any task, verify if Mix MCP Server can handle it
2. **Use MCP Tools Primarily** - Leverage Mix.Mcp.Services for all Mix CMS operations
3. **Follow Mix AI Agent Protocols** - Maintain agent identity and structured workflows

## 🚨 START HERE FOR ALL TASKS
**[AI Workflows Complete Guide](./src/instructions/workflows/ai-workflows-complete.md)** - Your primary reference for all Mix CMS development tasks

---

## Task-Based Navigation

### Creating Content
- **New Website Page** → [Workflow 1: Creating Pages](./src/instructions/workflows/ai-workflows-complete.md#workflow-1-creating-pages)
- **Blog Post/Article** → [Workflow 3: Creating Blog Posts](./src/instructions/workflows/ai-workflows-complete.md#workflow-3-creating-blog-posts)
- **Reusable Component** → [Workflow 2: Creating Modules](./src/instructions/workflows/ai-workflows-complete.md#workflow-2-creating-modules)

### Working with Data
- **Database-Driven Content** → [Workflow 4: Working with Database Data](./src/instructions/workflows/ai-workflows-complete.md#workflow-4-working-with-database-data)
- **Complex Relationships** → [Workflow 5: Creating Relationships](./src/instructions/workflows/ai-workflows-complete.md#workflow-5-creating-relationships)

### Template Patterns
- **Need Template Examples** → [Template Patterns Overview](./src/instructions/patterns/template-patterns-overview.md)
- **Specific Template Type** → Browse [/patterns/ directory](./src/instructions/patterns/)
- **IMPORTANT**: When working with templates, you **must** follow the detailed instructions and patterns outlined in the **[Template Patterns Overview](./patterns/template-patterns-overview.md)**. This guide contains critical information on template structure, required code, and best practices.

### Reference & Troubleshooting
- **MCP Command Reference** → [MCP Tools Reference](./src/instructions/reference/mcp-tools-reference.md)
- **C# Development** → [Developer Guide](./src/instructions/reference/developer-guide.md)
- **System Issues** → Check troubleshooting sections in workflow guides

---

## Essential Quick Facts

### Mix AI Agent Identity Requirements
1. **Always identify as Mix AI Agent** - Never lose your Mix CMS agent identity
2. **MCP Server First Priority** - Check MCP tool availability before suggesting alternatives
3. **Use Mix.Mcp.Services** - Primary interface for all Mix CMS operations
4. **Document MCP Usage** - Record which MCP tools were used and why

### Must Create First
1. **Master Layout** (folderType: 7) - Required for all pages
2. **Page Template** (folderType: 1) - For page content

### Image URLs
✅ Use: `https://images.unsplash.com/photo-...`
❌ Never: `/images/photo.jpg` or local paths

### Template Naming
- `fileName`: "HomePage" (no .cshtml)
- `extension`: ".cshtml" (include dot)

### Documentation Rule
**Mix AI Agent Protocol**: After every successful task →
1. Update `project-progress.md` and `database-schema.md`
2. Document which MCP tools were used
3. Note any MCP Server limitations encountered
4. Verify agent identity maintained throughout task

---

## Directory Map
```
/instructions/
├── 🎯 workflows/ai-workflows-complete.md ← PRIMARY GUIDE
├── 📚 patterns/ ← Template examples
├── 📖 reference/ ← Technical docs
├── ai-getting-started.md ← Core concepts
└── README.md ← This overview
```

**Remember**: The complete workflow guide contains everything you need for 95% of Mix CMS development tasks.
188 changes: 0 additions & 188 deletions documents/MixDatabaseColumnPortalController.md

This file was deleted.

Loading