add-api-endpoint
Add a new minimal API endpoint to NovaTune with service, models, and tests
npx skills add majiayu000/claude-skill-registry --skill add-api-endpoint-tassadar2499-novatune-5 --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.
# Add API Endpoint Skill Add a new minimal API endpoint to NovaTune. ## Steps ### 1. Create/Update Request and Response Models Location: `src/NovaTuneApp/NovaTuneApp.ApiService/Models/` ```csharp // Models/Requests/CreateTrackRequest.cs public record CreateTrackRequest( string Title, string? Description); // Models/Responses/TrackResponse.cs public record TrackResponse( Guid Id, string Title, string? Description, DateTimeOffset CreatedAt); ``` ### 2. Create/Update Service Location: `src/NovaTuneApp/NovaTuneApp.ApiService/Services/` ```csharp public interface ITrackService { Task<Track> CreateAsync(CreateTrackRequest request, CancellationToken ct); } public class TrackService : ITrackService { private readonly IDocumentSession _session; public TrackService(IDocumentSession session) { _session = session; } public async Task<Track> CreateAsync(CreateTrackRequest request, CancellationToken ct) { var track = new Track { Title = request.Title, Description = request.Description, CreatedAt = DateTimeOffset.UtcNow }; await _session.StoreAsync(track, ct); await _session.SaveChangesAsync(ct); return track; } } ``` ### 3. Create Endpoint Group Location: `src/NovaTuneApp/NovaTuneApp.ApiService/
- Steps
- 1. Create/Update Request and Response Models
- 2. Create/Update Service
- 3. Create Endpoint Group
- 4. Register in Program.cs
- 5. Add Tests
- Conventions
- Response Status Codes
- API Documentation
What does the add-api-endpoint skill do?
Add a new minimal API endpoint to NovaTune with service, models, and tests
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill add-api-endpoint-tassadar2499-novatune-5 --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 majiayu000/claude-skill-registry, a repository with 534 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.
