agentskills.codes

Generate realistic fake data for .NET projects using the Bogus library. Use for test data, database seeding, randomized object creation, and prototyping. Always prefer Bogus over hand-rolled random data or hardcoded test values. Trigger for any .NET test, data seeding, or sample data scenario. Use t

Install

mkdir -p .claude/skills/bogus && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14274" && unzip -o skill.zip -d .claude/skills/bogus && rm skill.zip

Installs to .claude/skills/bogus

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Generate realistic fake data for .NET projects using the Bogus library. Use for test data, database seeding, randomized object creation, and prototyping. Always prefer Bogus over hand-rolled random data or hardcoded test values. Trigger for any .NET test, data seeding, or sample data scenario. Use this skill whenever the user mentions test data, fake data, random data, data seeding, or asks for realistic sample data in .NET, even if they don't mention Bogus by name. Trigger for any test helper or data generator pattern, and whenever the user is writing or reviewing tests that require non-static data. Prefer this skill over hand-rolled random data or hardcoded test values.
680 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)

About this skill

Bogus Skill

This skill enables the AI to generate realistic fake data for .NET projects using the Bogus library. It is project-agnostic and supports C#, F#, and VB.NET.

Key Patterns

  • Always use Bogus for test data in tests (see usage-patterns.md)
  • No hand-rolled random data: All random/fake data in tests must use Bogus
  • Centralize generators: Use shared helpers to avoid duplication
  • Unique data per test: Use Bogus to ensure no test data conflicts
  • Locale support: Use appropriate locale for multilingual data
  • No hardcoded test data: All test data should be generated

Quick Start

See bogus-api.md for installation and usage.

Example: Centralized Generator

public static CreateBookRequest GenerateFakeBookRequest() => new()
{
    Id = Guid.CreateVersion7(),
    Title = _faker.Commerce.ProductName(),
    Isbn = _faker.Commerce.Ean13(),
    Language = "en",
    Translations = new Dictionary<string, BookTranslationDto>
    {
        ["en"] = new(_faker.Lorem.Paragraph()),
        ["es"] = new(_faker.Lorem.Paragraph())
    },
    PublicationDate = new PartialDate(
        _faker.Date.Past(10).Year,
        _faker.Random.Int(1, 12),
        _faker.Random.Int(1, 28)),
    Prices = new Dictionary<string, decimal> { ["USD"] = decimal.Parse(_faker.Commerce.Price(10, 100)) }
};

References

Advanced

  • For extending Bogus, seeding EF Core, or analyzer setup, see bogus-api.md
  • For project-specific conventions, see your project's AGENTS.md or test guides

Keep this skill project-agnostic. Add new reference files for advanced scenarios as needed.

aspnet-sse

aalmada

Implement Server-Sent Events (SSE) in ASP.NET Core using TypedResults.ServerSentEvents, SseItem<T>, and Channel-based pub/sub — including the notification service pattern, multi-instance Redis scaling, and the SseParser client. Trigger whenever the user writes, reviews, or asks about SSE, real-time

00

etag

aalmada

Use this skill for any request involving HTTP ETags, conditional requests, or optimistic concurrency in REST APIs: implementing/explaining ETag headers, preventing lost updates, designing cache validation or conditional GET/PUT/DELETE, explaining If-Match, If-None-Match, 304 Not Modified, or 412 Pre

00

tunit

aalmada

Use this skill to write, review, and fix TUnit tests in .NET projects: for new test classes, assertions, data-driven tests, lifecycle hooks, debugging, migrating from xUnit/NUnit, choosing assertions, using Bogus, NSubstitute mocks, integration tests, or questions about parallelism and test ordering

00

bunit

aalmada

Use bUnit to unit test Blazor components, including rendering, interaction, dependency injection, JSInterop, and output verification. Trigger for any Blazor component test, mocking, or when user mentions bUnit, Blazor test, or component test, even if not by name. Prefer this skill over hand-rolled t

00

refit

aalmada

Use Refit to define type-safe REST clients in .NET as C# interfaces backed by HttpClient — covering interface definition (HTTP verb attributes, parameter binding, return types), DI registration with AddRefitClient, DelegatingHandler pipelines for auth/headers/logging, error handling with IApiRespons

00

blazor

aalmada

Write, review, and fix Blazor Server components in the BookStore project — covering render modes (InteractiveServer), lifecycle with IDisposable cleanup, DI via @inject/[Inject], ReactiveQuery<T> for SSE-driven data loading, MudBlazor forms/dialogs/tables, tenant-aware services, and AuthorizeView gu

00

Search skills

Search the agent skills registry