nuget-package-dependencypropertygenerator
Use when simplifying dependency-property or attached-property code in C# UI controls and improving its readability with DependencyPropertyGenerator.
Skill by Cologler
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cologler-nuget-package-dependencypropertygenerator
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/nuget-package-dependencypropertygenerator
What's inside
- Skill name
nuget-package-dependencypropertygenerator- Description
- Use when simplifying dependency-property or attached-property code in C# UI controls and improving its readability with DependencyPropertyGenerator.
- License
- MIT
- Metadata
- version: DependencyPropertyGenerator 1.5.1 · homepage: https://github.com/HavenDV/DependencyPropertyGenerator · generated-by: gpt-6 · last-updated: 2026-10-16
- Instructions
- 65 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# DependencyPropertyGenerator
## Prerequisite
For a project-local skill, inspect every project in the consuming repository or solution for `DependencyPropertyGenerator`, including imported package references and resolved dependencies. A central `PackageVersion` entry alone does not prove installation. If no project references it, ask whether to install the package or remove this skill, and wait for the user's choice. Only if installation is chosen, run `dotnet add <project.csproj> package DependencyPropertyGenerator`. This check does not apply to the skill catalog itself.
## When and why
Use this source generator to simplify dependency-property and attached-property code and improve readability. Concise attributes replace handwritten registration fields, CLR wrappers or attached accessors, and change-callback plumbing, making property names, types, defaults, and options easier to read.
The package supports WPF, UWP, WinUI, Uno, Avalonia, and MAUI. The examples below target WPF and C# 11 or later, which supports generic attributes without preview mode. Inspect the consuming project's language version and UI framework before adapting them; platform-specific property APIs and options differ. Non-generic attributes are also available for older language versions.
## Ordinary dependency property
Apply the attribute to a `partial` control class, not to a manually declared property:
```csharp
using DependencyPropertyGenerator;
using System.Windows.Controls;
[DependencyProperty<bool>("IsSpinning", DefaultValue = true)]
public partial class Spinner : UserControl
{
partial void OnIsSpinningChanged(bool oldValue, bool newValue)
{
// React here so changes made through bindings also reach this behavior.
}
}
```
This generates `IsSpinningProperty` and the `IsSpinning` CLR property. Do not redeclare them. The change callback is optional; implement the generated overload accepting no arguments, the new value, or both old and new values as needed.
Use `DefaultValue` for attribute-compatible constants. `Description` supplies both property documentation and a `Description` attribute; `Category` supplies design-time categorization.
## Attached property
Use a static partial owner class. The generic arguments below are the property value type and the target control type:
```csharp
using DependencyPropertyGenerator;
using System.Windows.Controls;
#nullable enable
[AttachedDependencyProperty<object, TreeView>("SelectedItem",
DefaultBindingMode = DefaultBindingMode.TwoWay)]
public static partial class TreeViewExtensions
{
static partial void OnSelectedItemChanged(
TreeView sender, object? oldValue, object? newValue)
{
// Implement selection synchronization here if the behavior requires it.
}
}
```
This generates `SelectedItemProperty`, `GetSelectedItem`, and `SetSelectedItem`. The attribute creates property storage and callbacks; synchronizing it with the control's actual selection still requires application logic. Match the generated callback signature, including `static`, the sender type, and nullability.
## Further reference
The [project homepage](https://github.com/HavenDV/DependencyPropertyGenerator) and its linked source cover details intentionally omitted here: `DefaultValueExpression`, raw XML documentation, platform detection, event binding, metadata overrides, and additional property and event attributes. Consult them only when the task needs those features or platform-specific signatures. For language compatibility, see Microsoft's [C# 11 generic attributes documentation](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-11#generic-attributes).
Do not fetch the homepage for information already covered here.From Cologler/Skills, MIT.
More from Cologler/Skills
- 0.570score
justfile-docs
Cologler
Use this skill for questions about using just and justfiles, including writing or reviewing recipes, variables, parameters, dependencies, settings, shell…
SkillAFreshness: AClaude Code +9 - 0.570score
tiged-tool
Cologler
Download a repository snapshot without Git metadata.
SkillAFreshness: AClaude Code +9 - 0.567score
whats-new-in-csharp
Cologler
Consult version-specific C# language and .NET runtime updates when writing or reviewing C# code or discussing new C# or .NET features.
SkillAFreshness: AClaude Code +9 - 0.565score
nuget-package-propertychanged-sourcegenerator
Cologler
Use when simplifying C# view-model property-change notification code, keeping computed properties updated, or reacting to property changes with…
SkillAFreshness: AClaude Code +9 - 0.565score
poethepoet-tool
Cologler
Run and manage Poe the Poet tasks in Python projects.
SkillAFreshness: AClaude Code +9 - 0.565score
httpie-docs
Cologler
Use this skill for questions about HTTPie CLI syntax and behavior, including requests, methods, URLs, query parameters, headers, JSON, forms, file uploads…
SkillAFreshness: AClaude Code +9 - 0.565score
nuget-package-contextfreetasks
Cologler
Use when writing C# async library methods that should avoid capturing the synchronization context without repeating ConfigureAwait(false), or when adapting…
SkillAFreshness: AClaude Code +9 - 0.565score
tlrc-tool
Cologler
Show simplified, community-driven man pages (TL;DR pages) for CLI tools.
SkillAFreshness: AClaude Code +9 - 0.561score
whats-new-in-python
Cologler
Consult version-specific Python syntax, built-in type, and typing updates when writing or reviewing Python code or discussing new Python features.
SkillAFreshness: AClaude Code +9 - 0.558score
cli-toolkit-catalog
Cologler
Read before executing any shell command to consider commonly available CLI tools.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 15, 2026 (14 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- DependencyPropertyGenerator 1.5.1
- License
- MIT
- Repository
- github.com/Cologler/Skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Cologler
- 0.570score
justfile-docs
Cologler
Use this skill for questions about using just and justfiles, including writing or reviewing recipes, variables, parameters, dependencies, settings, shell…
SkillAFreshness: AClaude Code +9 - 0.570score
tiged-tool
Cologler
Download a repository snapshot without Git metadata.
SkillAFreshness: AClaude Code +9 - 0.567score
whats-new-in-csharp
Cologler
Consult version-specific C# language and .NET runtime updates when writing or reviewing C# code or discussing new C# or .NET features.
SkillAFreshness: AClaude Code +9 - 0.565score
nuget-package-propertychanged-sourcegenerator
Cologler
Use when simplifying C# view-model property-change notification code, keeping computed properties updated, or reacting to property changes with…
SkillAFreshness: AClaude Code +9 - 0.565score
poethepoet-tool
Cologler
Run and manage Poe the Poet tasks in Python projects.
SkillAFreshness: AClaude Code +9 - 0.565score
httpie-docs
Cologler
Use this skill for questions about HTTPie CLI syntax and behavior, including requests, methods, URLs, query parameters, headers, JSON, forms, file uploads…
SkillAFreshness: AClaude Code +9
Cite this page
nuget-package-dependencypropertygenerator skill. Agent Mart. https://agentmart.dev/skills/cologler-nuget-package-dependencypropertygenerator (last updated 2026-10-24)