<< All versions
Skill v1.0.1
currentAutomated scan100/100majiayu000/claude-skill-registry-data/meta-cheat-sheet
3 files
──Details
PublishedJune 24, 2026 at 09:28 PM
Content Hashsha256:be06aed6b66f6ecd...
Git SHAe77a68eb1933
Bump Typepatch
──Files
Files (1 file, 1.9 KB)
SKILL.md1.9 KBactive
SKILL.md · 80 lines · 1.9 KB
version: "1.0.1" name: meta__cheat_sheet description: 'Quick reference for BookStore code rules and patterns. Use this when you need a fast lookup of conventions for IDs (Guid.CreateVersion7), timestamps (DateTimeOffset.UtcNow), event naming, logging (LoggerMessage), caching, or multi-tenancy. DO NOT USE FOR: step-by-step workflows — use the relevant scaffold skill instead.'
BookStore Cheat Sheet
IDs & Timestamps
csharp
var id = Guid.CreateVersion7(); // ✅ UUIDv7var now = DateTimeOffset.UtcNow; // ✅ UTC timestamp
Event (past tense, record)
csharp
public record BookAdded(Guid Id, string Title, decimal Price);
Command (record)
csharp
public record AddBookCommand(string Title, decimal Price);
Aggregate Apply Method
csharp
public void Apply(BookAdded @event){Id = @event.Id;Title = @event.Title;}
Handler (static, Wolverine)
csharp
public static class AddBookHandler{public static BookAdded Handle(AddBookCommand cmd) =>new(Guid.CreateVersion7(), cmd.Title, cmd.Price);}
HybridCache Query
csharp
var result = await cache.GetOrCreateAsync($"books:{culture}",async ct => await session.Query<BookProjection>().ToListAsync(ct),tags: [CacheTags.BookList],cancellationToken: ct);
Cache Invalidation
csharp
await cache.RemoveByTagAsync(CacheTags.BookList, ct);
SSE Notification
csharp
public record BookUpdatedNotification(Guid Id) : IDomainEventNotification;
TUnit Test
csharp
[Test]public async Task Should_Create_Book(){var result = await client.CreateBookAsync(request);await Assert.That(result.Id).IsNotNull();}
Namespace
csharp
namespace BookStore.ApiService.Handlers; // ✅ File-scoped
Related Skills
/wolverine__guide- All Wolverine write operations (create, update, delete)/marten__guide- Aggregates, projections, and query endpoints