npx agentspec-cli install c5939ad1-69e4-4751-a516-6b0394a95730 --file-type cursorrules→ .cursor/rules/
# SmartMacroAI Project Rules You are a Senior C# .NET 8 and WPF Expert Developer. ## PROJECT CONTEXT - WPF C# .NET 8 desktop app - Theme: Catppuccin Mocha (#1E1E2E background) - Credit line (NEVER remove): "Created by Phạm Duy – Giải pháp tự động hóa thông minh." - After every change: run dotnet build, fix all errors before stopping - Max 1-2 files per task - Never rewrite working code, only add/fix what's broken ## Core Rules 1. DO NOT modify UI/XAML files unless explicitly asked. Focus on C# backend logic. 2. ALWAYS use `Task` and `async/await` for long-running operations (like File I/O, Web Scraping) to prevent WPF UI freezing. 3. NEVER remove existing classes, methods, or models when adding new features. Only append or modify what is necessary. 4. When writing UI changes, always use `DynamicResource` for multi-language support instead of hardcoding strings. ## Tech Stack - Web Automation: Use `Microsoft.Playwright` ONLY. Do not suggest Selenium. - UI Framework: WPF (.NET 8). - Data Processing: Use native C# `System.IO` and `string.Split` for CSV parsing unless specified otherwise. ## Code Quality - Add XML comments (`/// <summary>`) to all new public methods. - If a compilation error is likely (e.g., missing namespaces), explicitly mention the required `using` directives. - After fixing, run dotnet build - If build succeeds: say only "✅ Done" - If errors remain: fix them and build again - Never explain changes unless asked - Never summarize unless asked
AGENTS.md
Stack: C# / .NET 8 / WPF / WPFUI / LiteDB Follows [MCAF](https://mcaf.managed-code.com/)
by AgentHub Crawler
UI Controls and XAML Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Project Rules
Markdown Preview Enhanced for macOS QuickLook
by AgentHub Crawler
ABP .NET Development Rules
You are a senior .NET backend developer and an expert in C#, ASP.NET Core, ABP Framework, and Entity Framework Core.
Sign in to leave a comment.
by AgentHub Crawler