CommunityCodierung & Entwicklunggithub.com

marketplace-publishing

Workflow zur Veröffentlichung von Skills und Agents im dotnet-skills Claude Code Marktplatz. Deckt das Hinzufügen neuer Inhalte, Aktualisierung von plugin.json, Validierung und Release-Tagging ab.

Was ist marketplace-publishing?

Diese Skill beschreibt den vollständigen Workflow zur Veröffentlichung von Skills und Agents im dotnet-skills Claude Code Marktplatz. Sie ist besonders nützlich für Entwickler, die eigene C#- oder .NET-bezogene Fähigkeiten und spezialisierte Agents erstellen und im Team oder der Community teilen möchten. Der Workflow umfasst das Erstellen von Skill-Ordnern mit SKILL.md-Dateien, das Registrieren in plugin.json, die Validierung über ein Skript, sowie das Taggen und Veröffentlichen von Releases. Die Skill zeigt auch, wie man Agents definiert, das Repository strukturiert und das Plugin aus Benutzersicht installiert. Sie unterstützt die Plattformen Claude Code und GitHub Actions und nutzt die dotnet-skills Repository-Struktur.

Funktioniert mit✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Aaronontheweb/dotnet-skills/tree/main/skills/marketplace-publishing

Installed? Explore more Codierung & Entwicklung skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Marktplatz-Veröffentlichungs-Workflow

Diese Skill dokumentiert, wie Skills und Agents im dotnet-skills Claude Code Marktplatz veröffentlicht werden.

Repository-Struktur

dotnet-skills/
├── .claude-plugin/
│   ├── marketplace.json      # Marktplatzkatalog
│   └── plugin.json           # Plugin-Metadaten + Skill/Agent-Registry
├── .github/workflows/
│   └── release.yml           # Release-Automatisierung
├── skills/
│   ├── akka/                 # Akka.NET Skills
│   │   ├── best-practices/SKILL.md
│   │   ├── testing-patterns/SKILL.md
│   │   └── ...
│   ├── aspire/               # .NET Aspire Skills
│   ├── csharp/               # C#-Sprach-Skills
│   ├── testing/              # Test-Framework-Skills
│   └── meta/                 # Meta-Skills
├── agents/
│   └── *.md                  # Agent-Definitionen
└── scripts/
    └── validate-marketplace.sh

Hinzufügen eines neuen Skills

Schritt 1: Kategorie wählen

Skills sind nach Domänen organisiert:

KategorieZweck
akka/Akka.NET-Actor-Patterns, Testen, Clustering
aspire/.NET Aspire-Orchestrierung, Testen, Konfiguration
csharp/C#-Sprachfeatures, Codierungsstandards
testing/Test-Frameworks (xUnit, Playwright, Testcontainers)
meta/Meta-Skills über diesen Marktplatz

Erstelle einen neuen Kategorieordner, falls keiner passt.

Schritt 2: Skill-Ordner erstellen

Erstelle einen Ordner mit SKILL.md darin:

skills/<kategorie>/<skill-name>/SKILL.md

Beispiel: skills/akka/cluster-sharding/SKILL.md

Schritt 3: SKILL.md schreiben

---
name: my-new-skill
description: Kurze Beschreibung, was dieser Skill tut und wann er verwendet werden soll.
---

# Mein neuer Skill

## Wann dieser Skill verwendet werden soll

Verwende diesen Skill, wenn:
- [Spezifische Szenarien auflisten]

---

## Inhalt

[Umfassender Leitfaden mit Beispielen, Patterns und Anti-Patterns]

Anforderungen:

  • name muss kleingeschrieben sein und Bindestriche verwenden (z. B. cluster-sharding)
  • description sollte 1-2 Sätze umfassen und erklären, wann Claude diesen Skill verwenden soll
  • Der Inhalt sollte 10-40 KB umfassen und das Thema umfassend abdecken
  • Konkrete Codebeispiele mit modernen C#-Patterns einfügen

Schritt 4: In plugin.json registrieren

Füge den Skill-Pfad in .claude-plugin/plugin.json im skills-Array hinzu:

{
  "skills": [
    "./skills/akka/best-practices",
    "./skills/akka/cluster-sharding"  // Neuen Skill hier hinzufügen
  ]
}

Schritt 5: Validieren

Führe das Validierungsskript aus:

./scripts/validate-marketplace.sh

Schritt 6: Zusammen committen

git add skills/akka/cluster-sharding/ .claude-plugin/plugin.json
git commit -m "Füge Skill für Akka.NET Cluster-Sharding-Patterns hinzu"

Hinzufügen eines neuen Agents

Schritt 1: Agent-Datei erstellen

Erstelle eine Markdown-Datei in /agents/:

---
name: my-agent-name
description: Experte in [Domäne]. Spezialisiert auf [spezifische Bereiche]. Verwende für [Szenarien].
model: sonnet
color: blue
---

Du bist ein [Domänen]-Spezialist mit tiefer Expertise in [Bereichen].

**Referenzmaterialien:**
- [Offizielle Dokumentation und Ressourcen]

**Kernkompetenzbereiche:**
[Liste der Kompetenzbereiche]

**Diagnostischer Ansatz:**
[Wie der Agent Probleme analysiert]

Anforderungen:

  • name muss kleingeschrieben sein und Bindestriche verwenden
  • model muss einer der folgenden sein: haiku, sonnet, opus
  • color ist optional (wird für die UI-Anzeige verwendet)

Schritt 2: In plugin.json registrieren

Füge zum agents-Array hinzu:

{
  "agents": [
    "./agents/akka-net-specialist",
    "./agents/my-agent-name"  // Neuen Agent hier hinzufügen
  ]
}

Schritt 3: Zusammen committen

git add agents/my-agent-name.md .claude-plugin/plugin.json
git commit -m "Füge Agent my-agent-name für [Domänen]-Expertise hinzu"

Veröffentlichen eines Releases

Versionierung

Aktualisiere die Version in .claude-plugin/plugin.json:

{
  "version": "1.1.0"
}

Verwende semantische Versionierung (MAJOR.MINOR.PATCH):

  • MAJOR: Bahnbrechende Änderungen (umbenannte/entfernte Skills)
  • MINOR: Neue Skills oder Agents hinzugefügt
  • PATCH: Korrekturen oder Verbesserungen an bestehenden Inhalten

Release-Prozess

  1. Version in plugin.json aktualisieren

  2. Validieren

    ./scripts/validate-marketplace.sh
    
  3. Versionierungs-Commit erstellen

    git add .claude-plugin/plugin.json
    git commit -m "Erhöhe Version auf 1.1.0"
    
  4. Tag erstellen und pushen

    git tag v1.1.0
    git push origin master --tags
    
  5. GitHub Actions wird automatisch:

    • Die Marktplatz-Struktur validieren
    • Ein GitHub-Release mit automatisch generierten Notizen erstellen

Benutzerinstallation

Benutzer installieren das gesamte Plugin (alle Skills und Agents):

# Marktplatz hinzufügen (einmalig)
/plugin marketplace add Aaronontheweb/dotnet-skills

# Plugin installieren (holt alles)
/plugin install dotnet-skills

# Auf die neueste Version aktualisieren
/plugin marketplace update

Validierungs-Checkliste

Vor dem Committen:

  • SKILL.md hat gültiges YAML-Frontmatter mit name und description
  • Skill-Ordner befindet sich in der passenden Kategorie
  • Pfad zum plugin.json-Skills-Array hinzugefügt
  • Für Agents: model ist angegeben (haiku/sonnet/opus)
  • ./scripts/validate-marketplace.sh läuft erfolgreich durch

Fehlerbehebung

Skill erscheint nach Installation nicht

  • Überprüfe, ob der Pfad in plugin.json der Ordnerstruktur entspricht
  • Stelle sicher, dass SKILL.md im Ordner existiert
  • Versuche eine Neuinstallation: /plugin uninstall dotnet-skills && /plugin install dotnet-skills

Validierungsfehler

  • Stelle sicher, dass JSON gültig ist: jq . .claude-plugin/plugin.json
  • Überprüfe auf nachstehende Kommas in Arrays
  • Verifiziere, dass alle referenzierten Ordner SKILL.md enthalten

Release wurde nicht erstellt

  • Stelle sicher, dass der Tag dem Semver-Format folgt (v1.0.0)
  • Überprüfe die GitHub Actions-Logs auf Fehler
  • Verifiziere, dass die plugin.json-Version mit dem Tag übereinstimmt

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

akka-hosting-actor-patterns

Patterns for building entity actors with Akka.Hosting - GenericChildPerEntityParent, message extractors, cluster sharding abstraction, akka-reminders, and ITimeProvider. Supports both local testing and clustered production modes.

akka-net-aspire-configuration

Configure Akka.NET with .NET Aspire for local development and production deployments. Covers actor system setup, clustering, persistence, Akka.Management integration, and Aspire orchestration patterns.

akka-net-best-practices

Critical Akka.NET best practices including EventStream vs DistributedPubSub, supervision strategies, error handling, Props vs DependencyResolver, work distribution patterns, and cluster/local mode abstractions for testability.

akka-net-management

Akka.Management for cluster bootstrapping, service discovery (Kubernetes, Azure, Config), health checks, and dynamic cluster formation without static seed nodes.

akka-net-testing-patterns

Write unit and integration tests for Akka.NET actors using modern Akka.Hosting.TestKit patterns. Covers dependency injection, TestProbes, persistence testing, and actor interaction verification. Includes guidance on when to use traditional TestKit.

api-design

Design stable, compatible public APIs using extend-only design principles. Manage API compatibility, wire compatibility, and versioning for NuGet packages and distributed systems.

aspire-configuration

Configure Aspire AppHost to emit explicit app config via environment variables; keep app code free of Aspire clients and service discovery.

aspire-integration-testing

Write integration tests using .NET Aspire

aspire-service-defaults

Create a shared ServiceDefaults project for Aspire applications. Centralizes OpenTelemetry, health checks, resilience, and service discovery configuration across all services.

crap-analysis

Analyze code coverage and CRAP (Change Risk Anti-Patterns) scores to identify high-risk code. Use OpenCover format with ReportGenerator for Risk Hotspots showing cyclomatic complexity and untested code paths.

csharp-concurrency-patterns

Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary.

database-performance

Database access patterns for performance. Separate read/write models, avoid N+1 queries, use AsNoTracking, apply row limits, and never do application-side joins. Works with EF Core and Dapper.

dependency-injection-patterns

Organize DI registrations using IServiceCollection extension methods. Group related services into composable Add* methods for clean Program.cs and reusable configuration in tests.

dotnet-devcert-trust

Diagnose and fix .NET HTTPS dev certificate trust issues on Linux. Covers the full certificate lifecycle from generation to system CA bundle inclusion, with distro-specific guidance for Ubuntu, Fedora, Arch, and WSL2.

dotnet-local-tools

Managing local .NET tools with dotnet-tools.json for consistent tooling across development environments and CI/CD pipelines.

dotnet-project-structure

Modern .NET project structure including .slnx solution format, Directory.Build.props, central package management, SourceLink, version management with RELEASE_NOTES.md, and SDK pinning with global.json.

dotnet-slopwatch

Use Slopwatch to detect LLM reward hacking in .NET code changes. Run after every code modification to catch disabled tests, suppressed warnings, empty catch blocks, and other shortcuts that mask real problems.

efcore-patterns

Entity Framework Core best practices including NoTracking by default, query splitting for navigation collections, migration management, dedicated migration services, and common pitfalls to avoid.

ilspy-decompile

Understand implementation details of .NET code by decompiling assemblies. Use when you want to see how a .NET API works internally, inspect NuGet package source, view framework implementation, or understand compiled .NET binaries.

mailpit-integration

Test email sending locally using Mailpit with .NET Aspire. Captures all outgoing emails without sending them. View rendered HTML, inspect headers, and verify delivery in integration tests.

Verwandte Skills