Repository navigation
Closed
Labels
auto-readyCan be resolved via automated workflow
Description
Problem
When users update the sequant plugin, they encounter stale files and must manually run sync/cleanup commands. This creates friction compared to official marketplace plugins (like context7) which update seamlessly.
Current user experience:
- Plugin update is available
- User updates via
/plugin marketplace updateor reinstalls - Files are still stale
- User must run
npx sequant syncorrm -rfcache directories
Expected experience:
- Update plugin → files are current. No manual commands.
Research Findings
How Official Plugins Handle This
Official marketplace plugins (anthropics/claude-plugins-official) get:
- Auto-update enabled by default - Third-party marketplaces have it disabled
- Git commit SHA versioning - Changes detected automatically on any commit
- Full cache replacement - Old version deleted, new version copied atomically
The Gap
Sequant is distributed as a third-party marketplace, which means:
- Auto-update is opt-in (users must configure it)
- Users don't know to enable it
- Even with auto-update, the dual npm + plugin distribution can cause version drift
Proposed Solution
Phase 1: Submit to Official Marketplace
Submit sequant to anthropics/claude-plugins-official via the plugin directory submission form.
Benefits:
- Auto-update enabled by default for all users
- Single distribution channel (no npm vs plugin confusion)
- Higher visibility in
/plugin > Discover
Structure in official marketplace:
external_plugins/sequant/
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── skills/
│ └── (all skill files)
├── hooks/
│ └── hooks.json
├── agents/
│ └── (agent files)
└── README.md
Phase 2: Deprecate Standalone npm Sync
Once in official marketplace:
- Keep npm package for CLI tools (
sequant init,sequant doctor) - Remove file sync from npm - let plugin system handle it
- Update docs to recommend plugin installation as primary method
Phase 3: Documentation
Update installation docs:
## Recommended: Plugin Installation
/plugin install sequant@claude-plugins-official
## Alternative: npm (for CLI tools only)
npm install -g sequantAcceptance Criteria
- Submitted to official marketplace and approved
- Plugin structure validated in
external_plugins/format - Auto-update works without user configuration
- Documentation updated with new installation flow
- npm sync commands deprecated with migration notice
References
- Official marketplace README
- Plugin submission form
- Context7 as reference:
external_plugins/context7/in official marketplace
Metadata
Metadata
Assignees
Labels
auto-readyCan be resolved via automated workflow
Activity
admarble commentedon Feb 28, 2026
Spec Plan — #248: Improve plugin file sync for seamless updates
AC Checklist
external_plugins/formatImplementation Plan
Phase 1: Fix version drift & enrich plugin metadata
marketplace.jsonversion (1.13.0 → match package.json)marketplace.jsontoplugin-version-sync.tschecks so CI catches driftplugin.jsonwith official marketplace fields (homepage,repository,license,keywords) matching stripe/context7 patternsPhase 2: Create marketplace submission builder
scripts/prepare-marketplace.shthat buildsexternal_plugins/sequant/directory matching official format:npm run prepare:marketplacescript to package.jsonPhase 3: Add deprecation notices
sequant syncoutput — "Note: Once sequant is available in the official Claude Code plugin directory,sequant syncwill be deprecated. Use/plugin install sequant@claude-plugin-directoryinstead."sequant updateoutputPhase 4: Update documentation
docs/getting-started/installation.md— add plugin installation as recommended methoddocs/internal/plugin-updates.md— add official marketplace section, simplify third-party workaroundsdocs/internal/marketplace-submission.md— step-by-step submission guide with checklistNon-Goals
Recommended Workflow
Phases: exec → qa
Quality Loop: disabled
Reasoning: CLI/script changes with clear scope, no UI components
Scope Verdict
✅ SCOPE_OK — Single focused feature (marketplace preparation), 5 AC items, touches 3-4 directories
feat(#248): prepare plugin for official marketplace submission
docs: add changelog entry for #248 marketplace preparation
admarble commentedon Mar 1, 2026
/fullsolve Complete
Issue: #248
Status: NEEDS_VERIFICATION (AC-1, AC-3 require manual marketplace submission)
PR: #342
AC Coverage
npm run prepare:marketplacethen submit via formexternal_plugins/formatscripts/prepare-marketplace.shbuilds and validates structuredocs/getting-started/installation.md+docs/internal/marketplace-submission.mdsequant syncandsequant updateoutputCoverage: 3/5 met, 2/5 blocked (manual steps)
Quality Metrics
any)Key Changes
plugin-version-sync.ts)scripts/prepare-marketplace.sh+ npm scriptsIterations
Next Steps
npm run prepare:marketplaceto build submission packageadmarble commentedon Mar 11, 2026
QA Review for Issue #248
AC Coverage
external_plugins/formatprepare-marketplace.shbuilds and validates structure (15 skills, hooks, README)docs/getting-started/installation.mdupdated plugin-first;docs/internal/marketplace-submission.mdaddedsync.tsandupdate.tsoutputCoverage: 3/5 AC items met, 2/5 blocked (manual marketplace submission)
Derived ACs: None
CI Status
build (18.x)build (20.x)build (22.x)validate-pluginvalidate-skillstypecheckCI Summary: 6 passed, 0 pending, 0 failed
Quality Metrics
any)Cache Status
N/A - Fresh run
Build Verification
N/A - Build passed
Test Coverage Analysis
src/lib/plugin-version-sync.tssrc/lib/plugin-version-sync.test.tssrc/commands/sync.tssrc/commands/update.tsscripts/prepare-marketplace.shCoverage: 1/4 changed source files have unit tests
Critical paths without tests: None (changes to sync.ts/update.ts are deprecation notice additions only)
Code Review
Strengths:
Issues:
Suggestions:
Test Quality Review
Anti-Pattern Detection
Dependency Audit
N/A - No dependency changes (only npm scripts added)
Code Patterns
No anti-patterns detected (no
anytypes, no empty catches, no hardcoded secrets, no N+1 queries)Critical Issues: 0
Warnings: 0
Call-Site Review
N/A - No new exported functions
Execution Evidence
./scripts/prepare-marketplace.sh./scripts/prepare-marketplace.sh --validate-onlynpx vitest run src/lib/plugin-version-sync.test.tsnpm run buildEvidence status: Complete
Skill Command Verification
N/A - No skill files changed
Quality Plan Verification
N/A - No quality plan found in issue comments
Self-Evaluation
Verdict: NEEDS_VERIFICATION
All automatable AC items (AC-2, AC-4, AC-5) are MET. AC-1 and AC-3 are BLOCKED pending manual marketplace submission and approval — these cannot be verified through code review.
The implementation is complete and ready for merge. The blocked ACs represent external manual steps (form submission + Anthropic review) that will be resolved post-merge.
Documentation
installation.mdupdated with plugin-first approachmarketplace-submission.mdstep-by-step guide addedNext Steps
npm run prepare:marketplaceto build submission packagefeat(#248): prepare plugin for official marketplace submission
docs: add changelog entry for #248 marketplace preparation
feat(#248): improve plugin file sync for seamless updates (#342)