neo-dotnet-mvc

Solid

Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core MVC apps with Razor views, controllers, ViewModels, validation, Tag Helpers, View Components, layouts, or server-rendered workflows.

AI & Automation 7 stars 2 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# .NET MVC Expert Skill ## Trigger On - The user requests to create, debug, refactor, or review ASP.NET Core MVC applications. - The project contains `Views` and `Controllers` directories and inherits from `Controller` (not `ControllerBase`). - The target framework is .NET 6.0 (LTS) and above. - There is a need to optimize Server-Side Rendering (SSR) performance or improve view organizational structure. ## Workflow 1. **Perceive (Architecture Awareness):** - Check `.csproj` to identify `TargetFramework`. - Analyze `Views/Shared` to confirm existing configurations for layouts and partial views. - Identify whether Tag Helpers and static resource versioning are enabled. 2. **Reason (Planning Phase):** - Evaluate whether complex Partial Views need to be migrated to View Components. - Determine whether custom Tag Helpers are needed to simplify UI logic. - Choose an appropriate ViewModel organization method based on project scale. 3. **Act (Execution Phase):** - Write high-quality controllers and strongly-typed views. - Implement data validation (Data Annotations) and integrate them into ViewModels. - Configure and use Tag Helpers to ensure the semantic correctness of forms and links. 4. **Validate (Standard Validation):** - Validate whether page rendering conforms to the expected HTML structure. - Check whether model validation correctly operates on both the frontend and backend. - Ensure Antiforgery tokens are correctly applied to all state-m...

Details

Author
Benknightdark
Repository
Benknightdark/neo-skills
Created
6 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category