diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 00000000..7858d77c --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://code.claude.com/schemas/marketplace.json", + "name": "pawelgerr", + "description": "Claude Code plugins for Pawel Gerr's open-source libraries.", + "version": "1.0.0", + "owner": { + "name": "Pawel Gerr", + "url": "https://github.com/PawelGerr" + }, + "plugins": [ + { + "name": "thinktecture-runtime-extensions", + "displayName": "Thinktecture Runtime Extensions", + "description": "Design and implement Smart Enums, Value Objects, and Discriminated Unions with Thinktecture.Runtime.Extensions.", + "source": "./", + "version": "1.0.0" + } + ] +} diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 00000000..f936c48d --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,15 @@ +{ + "name": "thinktecture-runtime-extensions", + "displayName": "Thinktecture Runtime Extensions", + "description": "Agent Skill for designing and implementing Smart Enums, Value Objects, and Discriminated Unions with Thinktecture.Runtime.Extensions.", + "version": "1.0.0", + "author": { + "name": "Pawel Gerr", + "url": "https://github.com/PawelGerr" + }, + "homepage": "https://github.com/PawelGerr/Thinktecture.Runtime.Extensions", + "repository": "https://github.com/PawelGerr/Thinktecture.Runtime.Extensions", + "license": "BSD-3-Clause", + "keywords": ["smart-enums", "value-objects", "discriminated-unions", "source-generator", "dotnet"], + "skills": ["./skills/"] +} diff --git a/README.md b/README.md index 514088e8..aeafd5f7 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,13 @@ npx skills@latest add PawelGerr/Thinktecture.Runtime.Extensions This copies the skill into `.claude/skills/` (or the equivalent folder for your agent). Add `-g` to install it globally for all your projects. +**Claude Code plugin** -- Claude Code users can instead install the same skill as a plugin, which keeps it up to date without re-running a copy command: + +``` +/plugin marketplace add PawelGerr/Thinktecture.Runtime.Extensions +/plugin install thinktecture-runtime-extensions@pawelgerr +``` + **Context7 (MCP)** -- this library's documentation is indexed by [Context7](https://context7.com/pawelgerr/thinktecture.runtime.extensions). Agents with the Context7 MCP server configured can pull current docs on demand; reference the library ID `/pawelgerr/thinktecture.runtime.extensions` (or add `use context7` to your prompt). [Full documentation](https://github.com/PawelGerr/Thinktecture.Runtime.Extensions/wiki/AI-Coding-Assistants) -- what the skill covers, install scopes, agent targeting, and Context7 usage.