Skip to content

chore(claude-code): use git subdir plugin source#253

Merged
wey-gu merged 2 commits into
nowledge-co:mainfrom
lovingfish:lovingfish/claude-marketplace-sparse-docs
May 20, 2026
Merged

chore(claude-code): use git subdir plugin source#253
wey-gu merged 2 commits into
nowledge-co:mainfrom
lovingfish:lovingfish/claude-marketplace-sparse-docs

Conversation

@lovingfish

@lovingfish lovingfish commented May 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • change the Claude Code marketplace entry to install nowledge-mem from the nowledge-mem-claude-code-plugin git subdirectory
  • keep the user-facing Claude Code install command unchanged
  • avoid requiring users to know sparse checkout flags for this plugin

Verification

  • parsed .claude-plugin/marketplace.json as JSON
  • checked the plugin source resolves to git-subdir with path nowledge-mem-claude-code-plugin
  • reviewed the focused git diff

Closes #252

@coderabbitai

coderabbitai Bot commented May 16, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@wey-gu has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 25 minutes and 59 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f4ab9fcb-0497-46e2-a1aa-b279ae9fe221

📥 Commits

Reviewing files that changed from the base of the PR and between 18bca6d and f0cb086.

📒 Files selected for processing (5)
  • .claude-plugin/marketplace.json
  • integrations.json
  • nowledge-mem-claude-code-plugin/.claude-plugin/plugin.json
  • nowledge-mem-claude-code-plugin/CHANGELOG.md
  • nowledge-mem-claude-code-plugin/README.md
📝 Walkthrough

Walkthrough

Documentation updates to Claude Code plugin installation instructions across the root README and plugin README to adopt sparse checkout, reducing the downloaded marketplace footprint to only the .claude-plugin directory instead of the entire monorepo.

Changes

Installation Documentation Sparse Checkout Update

Layer / File(s) Summary
Root integration table summary
README.md
Integrations table entry for Claude Code Plugin now specifies --sparse .claude-plugin in the marketplace add command.
Plugin installation and update documentation
nowledge-mem-claude-code-plugin/README.md
Install section updated to use sparse checkout pulling only .claude-plugin from nowledge-co/community; Update section removes the separate marketplace add step, leaving only marketplace and plugin updates.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A sparse path through the marketplace fair,
No need to fetch what's not there—
Just .claude-plugin, clean and lean,
The simplest install ever seen!
—Rabbit of Efficiency 🌿

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title mentions 'git subdir plugin source' which aligns with one of the suggested approaches in issue #252, but the actual changes implement sparse marketplace checkout instead. The title is partially related but not the main focus of the changeset. Clarify the title to reflect the actual implementation: consider 'chore(claude-code): use sparse checkout for marketplace' or 'docs(claude-code): use sparse marketplace checkout' to match the PR objectives.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The PR successfully implements approach #1 from issue #252: updating Claude Code installation docs to use sparse checkout (--sparse .claude-plugin nowledge-mem-claude-code-plugin) to prevent pulling the entire monorepo into the local cache.
Out of Scope Changes check ✅ Passed All changes are strictly documentation-related and directly address issue #252's primary objective of using sparse checkout to limit marketplace cache contents.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@lovingfish lovingfish force-pushed the lovingfish/claude-marketplace-sparse-docs branch from 18bca6d to b5e3309 Compare May 16, 2026 12:42
@lovingfish lovingfish changed the title docs(claude-code): use sparse marketplace checkout chore(claude-code): use git subdir plugin source May 16, 2026
@wey-gu wey-gu merged commit e34a76a into nowledge-co:main May 20, 2026
1 check passed
@wey-gu

wey-gu commented May 20, 2026

Copy link
Copy Markdown
Member

Thank you @lovingfish, this makes the Claude Code marketplace path much cleaner. Really appreciate the careful improvement to the install/update experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Claude Code 安装不应默认拉下整个多平台 community monorepo

2 participants