From 3c217fc73205bc22943896d8679657891f388a3f Mon Sep 17 00:00:00 2001 From: Victor Irzak Date: Thu, 27 Aug 2026 01:21:36 -0400 Subject: [PATCH] Install the marketplace with a sparse checkout The install command as published does not work on Windows. Adding a marketplace clones the whole repository, and the verified snapshot file names run to 199 characters before the clone root is counted, which puts them past the 260 character path limit. The clone succeeds, the checkout fails, and the marketplace never registers. `--sparse .claude-plugin plugins` checks out only what the marketplace reads. That sidesteps the limit and is worth passing on every platform anyway, the alternative being a full clone of the test corpus to obtain four small files. The repository itself still needs core.longpaths to clone on Windows. That is a separate problem and this does not fix it. Generated with Claude Code --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8063fad..7b85164 100644 --- a/README.md +++ b/README.md @@ -214,10 +214,12 @@ dotnet add package Zomp.SyncMethodGenerator This repository is also a [Claude Code](https://claude.com/claude-code) marketplace. Installing the plugin teaches the agent to reach for this generator when it finds itself writing or maintaining both halves of a sync/async pair, rather than duplicating the method by hand. ```sh -claude plugin marketplace add zompinc/sync-method-generator +claude plugin marketplace add zompinc/sync-method-generator --sparse .claude-plugin plugins claude plugin install sync-method-generator@zomp ``` +`--sparse` checks out only the two directories the marketplace needs. It is worth passing everywhere for the smaller clone, and is required on Windows, where the snapshot file names under `tests/Generator.Tests/Snapshots` carry a full checkout past the 260 character path limit. + The plugin ships a single skill covering setup, the attribute options, the transformation table, and how to verify that a generated method is the hand-written one it replaces. ## Development