[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XB8AZ6NXAPJ74CFBF8AH6":3,"skill-same:01M79XB8AZ6NXAPJ74CFBF8AH6":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79XB8AZ6NXAPJ74CFBF8AH6","deniz-dotnet-general.directory-build-organization",null,"USE ONLY for (1) two or more projects with repeated MSBuild policy, targets, or package versions, or (2) an existing Directory.Build.props\u002Ftargets\u002Frsp hierarchy with an import, placement, or layering defect. A one-project repo without an existing Directory.Build file is outside scope; do not load this skill. Covers centralizing shared policy and targets, Directory.Packages.props across projects, parent hierarchy\u002Fimport structure, props-versus-targets placement, and folder\u002Fproject exceptions. An existing hierarchy defect remains in scope when only one project is affected. For property value or condition semantics use property-patterns. Exclude legacy-to-SDK migration and non-MSBuild systems.","Blind-Striker\u002Fagent-skills-and-plugins","Blind-Striker","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1965259?v=4","01M79WFXTE5PH0C1VB7B54ANMN","Deniz İrgin","01M79WFXV5KZ5GST1K8G035DM5",1,"MIT","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fopencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.directory-build-organization\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deniz-dotnet-general.directory-build-organization\ndescription: USE ONLY for (1) two or more projects with repeated MSBuild policy,\n  targets, or package versions, or (2) an existing\n  Directory.Build.props\u002Ftargets\u002Frsp hierarchy with an import, placement, or\n  layering defect. A one-project repo without an existing Directory.Build file\n  is outside scope; do not load this skill. Covers centralizing shared policy\n  and targets, Directory.Packages.props across projects, parent hierarchy\u002Fimport\n  structure, props-versus-targets placement, and folder\u002Fproject exceptions. An\n  existing hierarchy defect remains in scope when only one project is affected.\n  For property value or condition semantics use property-patterns. Exclude\n  legacy-to-SDK migration and non-MSBuild systems.\n---\n\n# Organizing Build Infrastructure with Directory.Build Files\n\n## Intent control\n\n- For \"should we\", \"how should we organize\", \"recommend\", \"advise\", or review\n  requests, inspect the actual project files and return a proposed layout only.\n  Do not create or edit files unless the user explicitly asks to apply, move,\n  centralize, or clean up the configuration.\n- Before summarizing, verify which project retains each project-specific\n  property, item, or target. Name the actual file; do not infer it from sibling\n  names.\n- Recommend a verification command only after discovering a real `.sln`,\n  `.slnx`, `.proj`, or project file at that path. If no repo-root entry point\n  exists, give commands for the discovered projects or state that the entry\n  point was not found.\n- Every advice response must explain that `Microsoft.Common.props` searches\n  upward from each project and automatically imports the nearest\n  `Directory.Build.props` early; project values can then override shared\n  defaults. Explain the equivalent late `Microsoft.Common.targets` import when\n  recommending `Directory.Build.targets`.\n\n## Directory.Build.props vs Directory.Build.targets\n\nUnderstanding which file to use is critical. They differ in **when** they are imported during evaluation:\n\n**Evaluation order:**\n\n```\nMicrosoft.Common.props imports Directory.Build.props early\n→ project body and package\u002Fproject imports evaluate\n→ Microsoft.Common.targets imports Directory.Build.targets late\n```\n\n| Use `.props` for | Use `.targets` for |\n|---|---|\n| Setting property defaults | Custom build targets |\n| Common item definitions | Late-bound property overrides |\n| Properties projects can override | Post-build steps |\n| Assembly\u002Fpackage metadata | Conditional logic on final values |\n| Analyzer PackageReferences | Targets that depend on SDK-defined properties |\n\n**Rule of thumb:** Properties and items go in `.props`. Custom targets and late-bound logic go in `.targets`.\n\nBecause `.props` is imported before the project file, the project can override any value set there. Because `.targets` is imported after everything, it gets the final say—but projects cannot override `.targets` values.\n\n### ⚠️ Critical: TargetFramework Availability in .props vs .targets\n\n**Property conditions on `$(TargetFramework)` in `.props` files silently fail for single-targeting projects** — the property is empty during `.props` evaluation. Move TFM-conditional properties to `.targets` instead. ItemGroup and Target conditions are not affected.\n\nSee [targetframework-props-pitfall.md](references\u002Ftargetframework-props-pitfall.md) for the full explanation.\n\n## Directory.Build.props\n\nGood candidates: language settings, assembly\u002Fpackage metadata, build warnings, code analysis, common analyzers.\n\n```xml\n\u003CProject>\n  \u003CPropertyGroup>\n    \u003CNullable>enable\u003C\u002FNullable>\n    \u003CImplicitUsings>enable\u003C\u002FImplicitUsings>\n    \u003CTreatWarningsAsErrors>true\u003C\u002FTreatWarningsAsErrors>\n    \u003CEnforceCodeStyleInBuild>true\u003C\u002FEnforceCodeStyleInBuild>\n    \u003CCompany>Contoso\u003C\u002FCompany>\n    \u003CAuthors>Contoso Engineering\u003C\u002FAuthors>\n  \u003C\u002FPropertyGroup>\n\u003C\u002FProject>\n```\n\n**Do NOT put here:** project-specific TFMs, project-specific PackageReferences, targets\u002Fbuild logic, or properties depending on SDK-defined values (not available during `.props` evaluation).\n\n## Directory.Build.targets\n\nGood candidates: custom build targets, late-bound property overrides (values depending on SDK properties), post-build validation.\n\n```xml\n\u003CProject>\n  \u003CTarget Name=\"ValidateProjectSettings\" BeforeTargets=\"Build\">\n    \u003CError Text=\"All libraries must target netstandard2.0 or higher\"\n           Condition=\"'$(OutputType)' == 'Library' AND '$(TargetFramework)' == 'net472'\" \u002F>\n  \u003C\u002FTarget>\n\n  \u003CPropertyGroup>\n    \u003C!-- DocumentationFile depends on OutputPath, which is set by the SDK -->\n    \u003CDocumentationFile Condition=\"'$(IsPackable)' == 'true'\">$(OutputPath)$(AssemblyName).xml\u003C\u002FDocumentationFile>\n  \u003C\u002FPropertyGroup>\n\u003C\u002FProject>\n```\n\n## Directory.Packages.props (Central Package Management)\n\nCentral Package Management (CPM) provides a single source of truth for all NuGet package versions. See [https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fconsume-packages\u002Fcentral-package-management](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fconsume-packages\u002Fcentral-package-management) for details.\n\n**The shape of a `Directory.Packages.props` at the repo root:**\n\n```xml\n\u003CProject>\n  \u003CPropertyGroup>\n    \u003CManagePackageVersionsCentrally>true\u003C\u002FManagePackageVersionsCentrally>\n  \u003C\u002FPropertyGroup>\n\n  \u003CItemGroup>\n    \u003CPackageVersion Include=\"Microsoft.Extensions.Logging\" Version=\"8.0.0\" \u002F>\n    \u003CPackageVersion Include=\"Newtonsoft.Json\" Version=\"13.0.3\" \u002F>\n    \u003CPackageVersion Include=\"xunit\" Version=\"2.9.0\" \u002F>\n    \u003CPackageVersion Include=\"xunit.runner.visualstudio\" Version=\"2.8.2\" \u002F>\n  \u003C\u002FItemGroup>\n\n  \u003CItemGroup>\n    \u003C!-- GlobalPackageReference applies to ALL projects — great for analyzers -->\n    \u003CGlobalPackageReference Include=\"StyleCop.Analyzers\" Version=\"1.2.0-beta.556\" \u002F>\n    \u003CGlobalPackageReference Include=\"Microsoft.CodeAnalysis.NetAnalyzers\" Version=\"8.0.0\" \u002F>\n  \u003C\u002FItemGroup>\n\u003C\u002FProject>\n```\n\n## Directory.Build.rsp\n\nContains default MSBuild CLI arguments applied to all builds under the directory tree.\n\n**Example `Directory.Build.rsp`:**\n\n```\n\u002Fmaxcpucount\n\u002FnodeReuse:false\n\u002FconsoleLoggerParameters:Summary;ForceNoAlign\n\u002FwarnAsMessage:MSB3277\n```\n\n- Works with both `msbuild` and `dotnet` CLI in modern .NET versions\n- Great for enforcing consistent CI and local build flags\n- Each argument goes on its own line\n\n## Multi-level Directory.Build Files\n\nMSBuild only auto-imports the **first** `Directory.Build.props` (or `.targets`) it finds walking up from the project directory. To chain multiple levels, explicitly import the parent at the **top** of the inner file. See [multi-level-examples](references\u002Fmulti-level-examples.md) for full file examples.\n\n```xml\n\u003CProject>\n  \u003CImport Project=\"$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)..\u002F'))\"\n         Condition=\"Exists('$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)..\u002F'))')\" \u002F>\n\n  \u003C!-- Inner-level overrides go here -->\n\u003C\u002FProject>\n```\n\n**Example layout:**\n\n```\nrepo\u002F\n  Directory.Build.props          ← repo-wide (lang version, company info, analyzers)\n  Directory.Build.targets        ← repo-wide targets\n  Directory.Packages.props       ← central package versions\n  src\u002F\n    Directory.Build.props        ← src-specific (imports repo-level, sets IsPackable=true)\n  test\u002F\n    Directory.Build.props        ← test-specific (imports repo-level, sets IsPackable=false, adds test packages)\n```\n\n## Artifact Output Layout (.NET 8+)\n\nSet `\u003CArtifactsPath>$(MSBuildThisFileDirectory)artifacts\u003C\u002FArtifactsPath>` in `Directory.Build.props` to automatically produce project-name-separated `bin\u002F`, `obj\u002F`, and `publish\u002F` directories under a single `artifacts\u002F` folder, avoiding bin\u002Fobj clashes by default. See [common-patterns](references\u002Fcommon-patterns.md) for the directory layout and additional patterns (conditional settings by project type, post-pack validation).\n\n## Workflow: Organizing Build Infrastructure\n\n1. **Audit all `.csproj` files** — Catalog every `\u003CPropertyGroup>`, `\u003CItemGroup>`, and custom `\u003CTarget>` across the solution. Note which settings repeat and which are project-specific.\n2. **Create root `Directory.Build.props`** — Move shared property defaults (LangVersion, Nullable, TreatWarningsAsErrors, metadata) here. These are imported before the project file so projects can override them.\n3. **Create root `Directory.Build.targets`** — Move custom build targets, post-build validation, and any properties that depend on SDK-defined values (e.g., `OutputPath`, `TargetFramework` for single-targeting projects) here. These are imported after the SDK so all properties are available.\n4. **Leave package versions to the CPM ceremony** — Do not convert the repository to Central Package Management here. That conversion is the manual `@deniz-dotnet-general.convert-to-cpm` ceremony: tell the user to invoke it, and continue with the other steps. An existing `Directory.Packages.props` stays in scope for its placement and layering.\n5. **Set up multi-level hierarchy** — Create inner `Directory.Build.props` files for `src\u002F` and `test\u002F` folders with distinct settings. Use `GetPathOfFileAbove` to chain to the parent.\n6. **Simplify `.csproj` files** — Remove all centralized properties and duplicated targets. Leave `Version=` attributes to the CPM ceremony. Each project should only contain what is unique to it.\n7. **Validate** — Run restore\u002Fbuild against the discovered `.sln`, `.slnx`,\n   `.proj`, or project path, for example\n   `dotnet restore \u003Centrypoint> && dotnet build \u003Centrypoint>`. If no root\n   entrypoint exists, validate each discovered project explicitly instead of\n   claiming a repo-root build. Use\n   `dotnet msbuild \u003Cproject> -pp:output.xml` to inspect the final merged view.\n\n## Troubleshooting\n\n| Problem | Cause | Fix |\n|---|---|---|\n| `Directory.Build.props` isn't picked up | File name casing wrong (exact match required on Linux\u002FmacOS) | Verify exact casing: `Directory.Build.props` (capital D, B) |\n| Properties from `.props` are ignored by projects | Project sets the same property after the import | Move the property to `Directory.Build.targets` to set it after the project |\n| Multi-level import doesn't work | Missing `GetPathOfFileAbove` import in inner file | Add the `\u003CImport>` element at the top of the inner file (see Multi-level section) |\n| Properties using SDK values are empty in `.props` | SDK properties aren't defined yet during `.props` evaluation | Move to `.targets` which is imported after the SDK |\n| `Directory.Packages.props` not found | File not at repo root or not named exactly | Must be named `Directory.Packages.props` and at or above the project directory |\n| Property condition on `$(TargetFramework)` doesn't match in `.props` | `TargetFramework` isn't set yet for single-targeting projects during `.props` evaluation | Move property to `.targets`, or use ItemGroup\u002FTarget conditions instead (which evaluate late) |\n\n**Diagnosis:** Use the preprocessed project output to see all imports and final property values:\n\n```bash\ndotnet msbuild -pp:output.xml MyProject.csproj\n```\n\nThis expands all imports inline so you can see exactly where each property is set and what the final evaluated value is.\n","# Organizing Build Infrastructure with Directory.Build Files\n\n## Intent control\n\n- For \"should we\", \"how should we organize\", \"recommend\", \"advise\", or review\n  requests, inspect the actual project files and return a proposed layout only.\n  Do not create or edit files unless the user explicitly asks to apply, move,\n  centralize, or clean up the configuration.\n- Before summarizing, verify which project retains each project-specific\n  property, item, or target. Name the actual file; do not infer it from sibling\n  names.\n- Recommend a verification command only after discovering a real `.sln`,\n  `.slnx`, `.proj`, or project file at that path. If no repo-root entry point\n  exists, give commands for the discovered projects or state that the entry\n  point was not found.\n- Every advice response must explain that `Microsoft.Common.props` searches\n  upward from each project and automatically imports the nearest\n  `Directory.Build.props` early; project values can then override shared\n  defaults. Explain the equivalent late `Microsoft.Common.targets` import when\n  recommending `Directory.Build.targets`.\n\n## Directory.Build.props vs Directory.Build.targets\n\nUnderstanding which file to use is critical. They differ in **when** they are imported during evaluation:\n\n**Evaluation order:**\n\n```\nMicrosoft.Common.props imports Directory.Build.props early\n→ project body and package\u002Fproject imports evaluate\n→ Microsoft.Common.targets imports Directory.Build.targets late\n```\n\n| Use `.props` for | Use `.targets` for |\n|---|---|\n| Setting property defaults | Custom build targets |\n| Common item definitions | Late-bound property overrides |\n| Properties projects can override | Post-build steps |\n| Assembly\u002Fpackage metadata | Conditional logic on final values |\n| Analyzer PackageReferences | Targets that depend on SDK-defined properties |\n\n**Rule of thumb:** Properties and items go in `.props`. Custom targets and late-bound logic go in `.targets`.\n\nBecause `.props` is imported before the project file, the project can override any value set there. Because `.targets` is imported after everything, it gets the final say—but projects cannot override `.targets` values.\n\n### ⚠️ Critical: TargetFramework Availability in .props vs .targets\n\n**Property conditions on `$(TargetFramework)` in `.props` files silently fail for single-targeting projects** — the property is empty during `.props` evaluation. Move TFM-conditional properties to `.targets` instead. ItemGroup and Target conditions are not affected.\n\nSee [targetframework-props-pitfall.md](references\u002Ftargetframework-props-pitfall.md) for the full explanation.\n\n## Directory.Build.props\n\nGood candidates: language settings, assembly\u002Fpackage metadata, build warnings, code analysis, common analyzers.\n\n```xml\n\u003CProject>\n  \u003CPropertyGroup>\n    \u003CNullable>enable\u003C\u002FNullable>\n    \u003CImplicitUsings>enable\u003C\u002FImplicitUsings>\n    \u003CTreatWarningsAsErrors>true\u003C\u002FTreatWarningsAsErrors>\n    \u003CEnforceCodeStyleInBuild>true\u003C\u002FEnforceCodeStyleInBuild>\n    \u003CCompany>Contoso\u003C\u002FCompany>\n    \u003CAuthors>Contoso Engineering\u003C\u002FAuthors>\n  \u003C\u002FPropertyGroup>\n\u003C\u002FProject>\n```\n\n**Do NOT put here:** project-specific TFMs, project-specific PackageReferences, targets\u002Fbuild logic, or properties depending on SDK-defined values (not available during `.props` evaluation).\n\n## Directory.Build.targets\n\nGood candidates: custom build targets, late-bound property overrides (values depending on SDK properties), post-build validation.\n\n```xml\n\u003CProject>\n  \u003CTarget Name=\"ValidateProjectSettings\" BeforeTargets=\"Build\">\n    \u003CError Text=\"All libraries must target netstandard2.0 or higher\"\n           Condition=\"'$(OutputType)' == 'Library' AND '$(TargetFramework)' == 'net472'\" \u002F>\n  \u003C\u002FTarget>\n\n  \u003CPropertyGroup>\n    \u003C!-- DocumentationFile depends on OutputPath, which is set by the SDK -->\n    \u003CDocumentationFile Condition=\"'$(IsPackable)' == 'true'\">$(OutputPath)$(AssemblyName).xml\u003C\u002FDocumentationFile>\n  \u003C\u002FPropertyGroup>\n\u003C\u002FProject>\n```\n\n## Directory.Packages.props (Central Package Management)\n\nCentral Package Management (CPM) provides a single source of truth for all NuGet package versions. See [https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fconsume-packages\u002Fcentral-package-management](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fnuget\u002Fconsume-packages\u002Fcentral-package-management) for details.\n\n**The shape of a `Directory.Packages.props` at the repo root:**\n\n```xml\n\u003CProject>\n  \u003CPropertyGroup>\n    \u003CManagePackageVersionsCentrally>true\u003C\u002FManagePackageVersionsCentrally>\n  \u003C\u002FPropertyGroup>\n\n  \u003CItemGroup>\n    \u003CPackageVersion Include=\"Microsoft.Extensions.Logging\" Version=\"8.0.0\" \u002F>\n    \u003CPackageVersion Include=\"Newtonsoft.Json\" Version=\"13.0.3\" \u002F>\n    \u003CPackageVersion Include=\"xunit\" Version=\"2.9.0\" \u002F>\n    \u003CPackageVersion Include=\"xunit.runner.visualstudio\" Version=\"2.8.2\" \u002F>\n  \u003C\u002FItemGroup>\n\n  \u003CItemGroup>\n    \u003C!-- GlobalPackageReference applies to ALL projects — great for analyzers -->\n    \u003CGlobalPackageReference Include=\"StyleCop.Analyzers\" Version=\"1.2.0-beta.556\" \u002F>\n    \u003CGlobalPackageReference Include=\"Microsoft.CodeAnalysis.NetAnalyzers\" Version=\"8.0.0\" \u002F>\n  \u003C\u002FItemGroup>\n\u003C\u002FProject>\n```\n\n## Directory.Build.rsp\n\nContains default MSBuild CLI arguments applied to all builds under the directory tree.\n\n**Example `Directory.Build.rsp`:**\n\n```\n\u002Fmaxcpucount\n\u002FnodeReuse:false\n\u002FconsoleLoggerParameters:Summary;ForceNoAlign\n\u002FwarnAsMessage:MSB3277\n```\n\n- Works with both `msbuild` and `dotnet` CLI in modern .NET versions\n- Great for enforcing consistent CI and local build flags\n- Each argument goes on its own line\n\n## Multi-level Directory.Build Files\n\nMSBuild only auto-imports the **first** `Directory.Build.props` (or `.targets`) it finds walking up from the project directory. To chain multiple levels, explicitly import the parent at the **top** of the inner file. See [multi-level-examples](references\u002Fmulti-level-examples.md) for full file examples.\n\n```xml\n\u003CProject>\n  \u003CImport Project=\"$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)..\u002F'))\"\n         Condition=\"Exists('$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)..\u002F'))')\" \u002F>\n\n  \u003C!-- Inner-level overrides go here -->\n\u003C\u002FProject>\n```\n\n**Example layout:**\n\n```\nrepo\u002F\n  Directory.Build.props          ← repo-wide (lang version, company info, analyzers)\n  Directory.Build.targets        ← repo-wide targets\n  Directory.Packages.props       ← central package versions\n  src\u002F\n    Directory.Build.props        ← src-specific (imports repo-level, sets IsPackable=true)\n  test\u002F\n    Directory.Build.props        ← test-specific (imports repo-level, sets IsPackable=false, adds test packages)\n```\n\n## Artifact Output Layout (.NET 8+)\n\nSet `\u003CArtifactsPath>$(MSBuildThisFileDirectory)artifacts\u003C\u002FArtifactsPath>` in `Directory.Build.props` to automatically produce project-name-separated `bin\u002F`, `obj\u002F`, and `publish\u002F` directories under a single `artifacts\u002F` folder, avoiding bin\u002Fobj clashes by default. See [common-patterns](references\u002Fcommon-patterns.md) for the directory layout and additional patterns (conditional settings by project type, post-pack validation).\n\n## Workflow: Organizing Build Infrastructure\n\n1. **Audit all `.csproj` files** — Catalog every `\u003CPropertyGroup>`, `\u003CItemGroup>`, and custom `\u003CTarget>` across the solution. Note which settings repeat and which are project-specific.\n2. **Create root `Directory.Build.props`** — Move shared property defaults (LangVersion, Nullable, TreatWarningsAsErrors, metadata) here. These are imported before the project file so projects can override them.\n3. **Create root `Directory.Build.targets`** — Move custom build targets, post-build validation, and any properties that depend on SDK-defined values (e.g., `OutputPath`, `TargetFramework` for single-targeting projects) here. These are imported after the SDK so all properties are available.\n4. **Leave package versions to the CPM ceremony** — Do not convert the repository to Central Package Management here. That conversion is the manual `@deniz-dotnet-general.convert-to-cpm` ceremony: tell the user to invoke it, and continue with the other steps. An existing `Directory.Packages.props` stays in scope for its placement and layering.\n5. **Set up multi-level hierarchy** — Create inner `Directory.Build.props` files for `src\u002F` and `test\u002F` folders with distinct settings. Use `GetPathOfFileAbove` to chain to the parent.\n6. **Simplify `.csproj` files** — Remove all centralized properties and duplicated targets. Leave `Version=` attributes to the CPM ceremony. Each project should only contain what is unique to it.\n7. **Validate** — Run restore\u002Fbuild against the discovered `.sln`, `.slnx`,\n   `.proj`, or project path, for example\n   `dotnet restore \u003Centrypoint> && dotnet build \u003Centrypoint>`. If no root\n   entrypoint exists, validate each discovered project explicitly instead of\n   claiming a repo-root build. Use\n   `dotnet msbuild \u003Cproject> -pp:output.xml` to inspect the final merged view.\n\n## Troubleshooting\n\n| Problem | Cause | Fix |\n|---|---|---|\n| `Directory.Build.props` isn't picked up | File name casing wrong (exact match required on Linux\u002FmacOS) | Verify exact casing: `Directory.Build.props` (capital D, B) |\n| Properties from `.props` are ignored by projects | Project sets the same property after the import | Move the property to `Directory.Build.targets` to set it after the project |\n| Multi-level import doesn't work | Missing `GetPathOfFileAbove` import in inner file | Add the `\u003CImport>` element at the top of the inner file (see Multi-level section) |\n| Properties using SDK values are empty in `.props` | SDK properties aren't defined yet during `.props` evaluation | Move to `.targets` which is imported after the SDK |\n| `Directory.Packages.props` not found | File not at repo root or not named exactly | Must be named `Directory.Packages.props` and at or above the project directory |\n| Property condition on `$(TargetFramework)` doesn't match in `.props` | `TargetFramework` isn't set yet for single-targeting projects during `.props` evaluation | Move property to `.targets`, or use ItemGroup\u002FTarget conditions instead (which evaluate late) |\n\n**Diagnosis:** Use the preprocessed project output to see all imports and final property values:\n\n```bash\ndotnet msbuild -pp:output.xml MyProject.csproj\n```\n\nThis expands all imports inline so you can see exactly where each property is set and what the final evaluated value is.\n",{"name":5,"description":7},"master","b30b1c1908dbc56a8184128f18803053d762ccb5","opencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.directory-build-organization",0,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins","https:\u002F\u002Fgithub.com\u002FBlind-Striker","denizirgin.com","VP of Engineering - \r\n@armutcom @homeruntech @prontopro\r\n |  Speaker \r\n@CodeFiction\r\n, http:\u002F\u002Fcodefiction.tech | Developer, gamer, blogger, maiden iron fan","2026-11-13 00:23:18",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill deniz-dotnet-general.directory-build-organization",{"tool":39,"command":40},"bunx","bunx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill deniz-dotnet-general.directory-build-organization",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill deniz-dotnet-general.directory-build-organization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fopencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.directory-build-organization\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fcommon-patterns.md","REFERENCE","参考文档",1411,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fopencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.directory-build-organization\u002Freferences\u002Fcommon-patterns.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fmulti-level-examples.md",4360,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fopencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.directory-build-organization\u002Freferences\u002Fmulti-level-examples.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ftargetframework-props-pitfall.md",3427,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fopencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.directory-build-organization\u002Freferences\u002Ftargetframework-props-pitfall.md",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79YGWBJ52PHMSTKJ3RJ3AWR","writing-tunit-tests","Write tests in TUnit — the attributes, the async assertion model, data-driven cases, lifecycle hooks, and the parallelism rules. USE FOR writing or fixing a test in a TUnit project, translating a test idea into TUnit syntax, or reviewing TUnit test code for API mistakes. DO NOT USE FOR deciding what to test, judging whether a test is any good, or running tests.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fwriting-tunit-tests\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79YGR3Y9RCRS6TD71D0KKP8","dotnet-walls","Walls for a .NET change in a repository without its own quality gates — pinned, ephemeral analyzer, format, clone and scanner commands for the verify step, their identity ratchet, and the build traps. Use during a walls preflight, or when a worker's verify step needs .NET quality gates.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fdotnet-walls\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79YGFNJBST7D803NQW3SBYM","csharp-15","Write, review and modernize C# 15 (.NET 11) code correctly. Covers every C# 15 feature - collection expression arguments (`[with(...), ...]`), union types (`union`, `[Union]`, `IUnion`, custom unions), closed class hierarchies (`closed`), extension indexers, labeled `break`\u002F`continue`, non-virtual static interface members on runtimes without default interface methods, and the preview memory-safety model (`unsafe(expr)`, `safe`, requires-unsafe members). Use when code targets net11.0 or LangVersion 15\u002Fpreview, when the user mentions any of these features, when replacing marker interfaces, OneOf-style results, `goto`\u002Fflag loop exits or capacity\u002Fcomparer boilerplate, or when the build reports CS8121, CS8509, CS8655, CS8510, CS0121\u002FCS0411 on a `with(...)` element, CS9370, CS9380 or CS9363.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fcsharp-15\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79YGAV031473HSX6FN87ENH","verified-waves","Run one task as verified multi-agent waves. Plans the fan-out, sends findings to fresh skeptics, keeps a ledger, and reports N of M done; small tasks stay solo.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fverified-waves\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M79YG6QXNND4WRPP3GATSY8J","harness","The bundled dispatch harness, which runs a task file on worker models through OpenCode or Codex, fences their writes, escalates their asks to the operator, settles each result from git and its verify commands, and records every step in a ledger. Its commands, task file, modes and write fence, configuration, runs and their recovery, ledger and exit codes.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fharness\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M79YG2P5S91SDTA5912XJ4FV","delegating-to-worker-models","Use when you hand off implementation, a plan, research a decision will rely on, or a review, and you brief the worker and check what comes back. A subagent that searches, reads in parallel, or keeps your context small is ordinary tool use. Covers what stays with you, the mechanism, assigning work by strength, the walls preflight, prompts without contradictions, the worker contract and model profiles, evidence from your own run, review, and the fix-up loop.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fdelegating-to-worker-models\u002FSKILL.md",[],[]]