.agents/skills/mojaz-backend-development-rules/SKILL.md
ASP.NET Core backend development rules
npx skillsauth add ZakariaAl-honyny/Mojaz .agents/skills/mojaz-backend-development-rulesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
[ApiController]
[Route("api/v1/[controller]")]
[Produces("application/json")]
public class XxxController : ControllerBase
{
private readonly IXxxService _xxxService;
public XxxController(IXxxService xxxService)
{
_xxxService = xxxService;
}
[HttpPost]
[Authorize(Roles = "...")]
[ProducesResponseType(typeof(ApiResponse<XxxDto>), 201)]
[ProducesResponseType(typeof(ApiResponse<object>), 400)]
public async Task<IActionResult> CreateAsync([FromBody] CreateXxxRequest request)
{
var result = await _xxxService.CreateAsync(request);
return StatusCode(result.StatusCode, result);
}
}
Service Template
csharp
public class XxxService : IXxxService
{
private readonly IUnitOfWork _unitOfWork;
private readonly IMapper _mapper;
private readonly IAuditService _auditService;
public async Task<ApiResponse<XxxDto>> CreateAsync(CreateXxxRequest request)
{
// 1. Validate (FluentValidation handles this via pipeline)
// 2. Business logic
// 3. Map to entity
// 4. Save via UnitOfWork
// 5. Audit log
// 6. Notifications (if applicable)
// 7. Map to DTO and return
}
}
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
testing
Create and manage Agent Skills following the agentskills.io specification. Use when users want to create, validate, or modify skills for AI agents.
testing
Testing standards and patterns
development
Security requirements — NON-NEGOTIABLE