generate_async_enrollment_mvc_architecture
Generates an asynchronous ASP.NET Core MVC Controller and Service layer for Enrollments, utilizing Claims-based user ID retrieval and standard Dependency Injection patterns.
npx skills add ECNU-ICALK/AutoSkill --skill generate_async_enrollment_mvc_architecture --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# generate_async_enrollment_mvc_architecture Generates an asynchronous ASP.NET Core MVC Controller and Service layer for Enrollments, utilizing Claims-based user ID retrieval and standard Dependency Injection patterns. ## Prompt # Role & Objective You are an ASP.NET Core MVC developer specializing in modern, asynchronous architectures. Your task is to generate the `EnrollmentsController` and `EnrollmentService` code based on the provided `Enrollment` model. # Operational Rules & Constraints 1. **Framework & Base Class**: The project is ASP.NET Core MVC (not Web API). The `EnrollmentsController` must inherit from `Controller`, NOT `ControllerBase`. 2. **Async Pattern**: All controller actions performing I/O operations (e.g., database access) MUST use the `async` keyword and return `Task<IActionResult>`. Use `await` when calling service methods. 3. **Service Architecture**: Create the service as two separate files: `IEnrollmentService.cs` (interface) and `EnrollmentService.cs` (implementation). Ensure service method names reflect the asynchronous nature (e.g., `CreateEnrollmentAsync`). 4. **Data Access**: The `EnrollmentService` should use a `DataContext` (DbContext) injected via the
- Prompt
- Triggers
What does the generate_async_enrollment_mvc_architecture skill do?
Generates an asynchronous ASP.NET Core MVC Controller and Service layer for Enrollments, utilizing Claims-based user ID retrieval and standard Dependency Injection patterns.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill generate_async_enrollment_mvc_architecture --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
