EX

extension-points

Provides standard practices for extending MSBuild project files and managing custom build logic.

Install

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

Installs to .claude/skills/extension-points

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.

Guide for MSBuild extensibility: CustomBefore/CustomAfter hooks, wildcard imports with alphabetic ordering, import gating with control properties, NuGet package build extension layout (build/buildTransitive), and the MicrosoftCommonPropsHasBeenImported guard. Only activate in MSBuild/.NET build context. USE FOR: diagnosing and fixing MSBuild import and hook patterns, reviewing and fixing extension point anti-patterns in Directory.Build files, fixing missing Exists() guards on imports that break fresh clones, fixing NuGet package hooks being silently dropped instead of appended, making build targets extensible for other projects, injecting custom logic into the build pipeline, creating NuGet packages that extend the build, conditionally disabling imports. DO NOT USE FOR: target authoring patterns (use target-authoring), props vs targets placement (use directory-build-organization), general anti-patterns (use msbuild-antipatterns), non-MSBuild build systems.
970 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • →Implement CustomBefore/CustomAfter hooks in MSBuild
  • →Use wildcard imports with alphabetic ordering
  • →Implement import gating with control properties
  • →Lay out NuGet package build extensions
  • →Diagnose and fix MSBuild import patterns
  • →Create custom extension points

How it works

The skill provides guidance on using CustomBefore/CustomAfter hooks, wildcard imports, and control properties for import gating. It also details the layout for NuGet package build extensions and how to create custom extension points.

Inputs & outputs

You give it
MSBuild/.NET build context or a request to modify MSBuild extensibility
You get back
Modified MSBuild project files with custom hooks, wildcard imports, or build extensions

When to use extension-points

  • →Creating CustomBefore/CustomAfter hooks
  • →Implementing NuGet build extension layouts
  • →Setting up import gating with control properties

About extension-points

Helps developers implement custom hooks and wildcard imports in MSBuild. It documents build extension patterns for NuGet packages and project gating.

Guide for MSBuild extensibility: CustomBefore/CustomAfter hooks, wildcard imports with alphabetic ordering, import gating with control properties, NuGet package build extension layout (build/buildTransitive), and the MicrosoftCommonPropsHasBeenImported guard. Only activate in MSBuild/.NET build cont

When not to use it

  • →When dealing with target authoring patterns
  • →When dealing with props vs targets placement
  • →When dealing with general MSBuild anti-patterns

Limitations

  • →The skill is only applicable in MSBuild/.NET build contexts
  • →It does not cover non-MSBuild build systems
  • →It does not cover target authoring patterns

How it compares

This skill offers specific patterns and rules for extending MSBuild, providing structured methods for injecting custom logic, unlike ad-hoc modifications.

Compared to similar skills

extension-points side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
extension-points (this skill)04moNo flagsAdvanced
openspec-onboard108moReviewBeginner
workflow-orchestration-patterns104moNo flagsAdvanced
meta-automation-architect710moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry