Repository navigation
Description
Summary
Publish Sequant as an installable Claude Code plugin so the community can:
- Install with
/plugin marketplace add admarble/sequant && /plugin install sequant - Get bug reports and feedback from real-world usage
- Evolve the workflow system through community contributions
Background
Claude Code plugins require:
- A
plugin.jsonmanifest at repo root - A
.claude-plugin/marketplace.jsonfor marketplace discovery - Proper directory structure for skills, hooks, scripts, memory
Anthropic's official marketplace (claude-plugins-official) is curated - we cannot submit directly. The path is:
- Create our own marketplace (this repo)
- Users install from our marketplace
- Anthropic may later feature it in official list if it gains traction
Phase 0: Research Spike (BLOCKING)
Before implementation, validate assumptions about the plugin system. This is blocking - do not proceed to AC-1 until complete.
0.1 Schema Validation
- Fetch actual
plugin.jsonschema from Claude Code docs - Verify our assumed structure matches reality
- Identify required vs optional fields
- Check if
claude plugin validatecommand exists
0.2 Plugin Behavior Research
- How do plugins handle updates? Auto-update or manual reinstall?
- What's the skill/hook installation path? (
~/.claude/plugins/or project-local?) - How does Claude Code merge plugin settings with existing
.claude/settings.json? - Can plugins have post-install hooks for setup?
0.3 Scope Decision: Node.js Only?
- Decide: Is Sequant Node.js-only, or should it support other project types?
- If Node-only: Document clearly, add detection/warning for non-Node projects
- If multi-language: Audit skills for Node-specific assumptions (npm test, package.json)
0.4 Reference Implementation Review
- Clone
anthropics/claude-plugins-officialand study structure - Identify 2-3 similar plugins (workflow/automation focused) as references
- Note any patterns we should adopt
Exit criteria: All questions answered, schema validated, scope decided.
Acceptance Criteria
AC-1: Plugin Manifest
- Create
plugin.jsonat repo root following validated Claude Code plugin schema - Include all 17 skills with descriptions
- Declare hooks (pre-tool, post-tool)
- Declare scripts and memory
- Specify requirements (gh CLI, optional MCPs)
- Version synced with package.json
AC-2: Marketplace Configuration
- Create
.claude-plugin/marketplace.json - Define marketplace name, owner, description
- List sequant plugin with source reference
- Add marketplace metadata (categories, tags)
AC-3: Installation Testing
- Test
/plugin marketplace add admarble/sequant - Test
/plugin install sequant@admarble/sequant - Verify skills are available after install (
/fullsolve,/spec, etc.) - Verify hooks are registered
- Verify scripts are accessible
- Test on fresh project (no existing .claude directory)
- Test on project with existing .claude directory (merge behavior)
- Cross-platform: Test on macOS, Linux (Windows if feasible)
- Shell compatibility: Test with bash and zsh at minimum
AC-4: Documentation for Plugin Users
- Update README with plugin installation instructions
- Add "Quick Start" section for plugin users
- Document which MCPs are optional vs recommended
- Document gh CLI requirement
- Add troubleshooting section for common install issues
- Explain worktree workflow - this is unusual, users need context
- Clarify project type support (Node.js only vs multi-language)
AC-5: Plugin-Specific Considerations
- Audit skills for hardcoded paths that assume npm install
- Ensure scripts work when installed via plugin (not just npm)
- Handle case where user has both npm and plugin installed
- Consider settings merge strategy (plugin defaults vs user overrides)
- Audit MCP fallback behavior - ensure skills gracefully degrade when chrome-devtools, sequential-thinking, or context7 MCPs are unavailable
AC-6: Release & Update Process
- Define versioning strategy (sync with npm package)
- Create release checklist for plugin updates
- Set up CI to validate plugin.json on PRs
- Consider changelog automation for plugin releases
- Document upgrade path - how users get updates, breaking change policy
AC-7: Feedback Mechanisms
- Ensure GitHub issue templates are ready for plugin feedback
- Add
/improveor similar command that helps users report issues - Consider: opt-in usage telemetry? (decide yes/no, document reasoning)
- Add contributing guide for plugin-specific contributions
Technical Design Questions
-
Single repo or separate? Keep plugin in this repo or create
sequant-pluginrepo?- Recommendation: Same repo, simpler to maintain
-
Version sync? Should plugin version match npm package version?
- Recommendation: Yes, use same version
-
Templates vs direct? Use
templates/directory or restructure for direct plugin use?- Need to understand how Claude Code resolves plugin paths
-
CLI relationship? How does the
sequantCLI relate to the plugin?- Plugin provides skills/hooks, CLI provides
sequant initfor project setup - Both can coexist
- Plugin provides skills/hooks, CLI provides
-
Settings merge? What happens if user has existing
.claude/settings.json?- Need to understand Claude Code's merge behavior
-
Security posture? Should we do a security audit before public release?
- Plugins run with significant permissions
- Skills execute bash commands, read/write files
- Decision needed: audit now or post-release?
Gaps & Risks
| Gap | Risk | Mitigation |
|---|---|---|
| Schema assumptions untested | AC-1 could be wrong | Phase 0 research spike |
| MCP fallback behavior unclear | Skills may fail without MCPs | Audit in AC-5 |
| Node.js assumptions in skills | Non-Node users get errors | Scope decision in Phase 0 |
| Worktree model is unusual | User confusion, abandonment | Docs in AC-4 |
| No update mechanism defined | Users stuck on old versions | Define in AC-6 |
| Cross-platform untested | Linux/Windows users hit bugs | Expand AC-3 testing |
Out of Scope
- Submitting to Anthropic's official marketplace (future goal, not this issue)
- Creating a web landing page for the plugin
- Plugin analytics/telemetry beyond basic feedback mechanisms
- Supporting non-GitHub issue trackers (Jira, Linear, etc.)
Resources
Labels
enhancement, documentation, plugin
Activity
admarble commentedon Jan 26, 2026
Phase 0 Research Spike - Complete ✅
All Phase 0 blocking questions have been answered. Research documented in
docs/plugin-research-185.md.0.1 Schema Validation ✅
claude plugin validatecommand exists and worksplugin.jsononly requiresnamefield; version, description, author are optional.claude-plugin/$schemareference andstrict: falsefor inline definitions0.2 Plugin Behavior ✅
/plugin marketplace update~/.claude/plugins/cache/(copied, not in-place)enabledPluginskeySessionStarthook or setup skill as workaround0.3 Scope Decision ✅
Decision: Node.js focused
0.4 Reference Implementation ✅
Studied
commit-commands,feature-dev,code-reviewfrom official marketplace:plugin.jsonminimal (name, description, author only)${CLAUDE_PLUGIN_ROOT}environment variable in hook scriptsskills/<name>/SKILL.mddirectory structureCorrection: 15 Skills (not 17)
Found 15 skills in
templates/skills/:assess,clean,docs,exec,fullsolve,improve,loop,qa,reflect,security-review,solve,spec,test,testgen,verifyRequired Changes for Plugin Implementation
.claude-plugin/plugin.jsonmanifest.claude-plugin/marketplace.jsonfor self-hosted marketplace$CLAUDE_PROJECT_DIR→${CLAUDE_PLUGIN_ROOT}Exit criteria met. Ready to proceed to AC-1 (Plugin Manifest).
admarble commentedon Jan 26, 2026
Phase 0 Update: Empirical Testing Complete ✅
Tested
${CLAUDE_PLUGIN_ROOT}expansion behavior with a test plugin.Test Results
allowed-toolsfrontmatterKey Finding
${CLAUDE_PLUGIN_ROOT}is a compile-time substitution - Claude expands it when loading the skill, not when executing scripts. This is fine for Sequant because our worktree scripts usegit rev-parse --show-toplevelto find the project root from CWD.Confirmed: Plugin Architecture Will Work
The core plugin approach is validated. Required changes:
./scripts/dev/new-feature.sh→${CLAUDE_PLUGIN_ROOT}/scripts/new-feature.shBash(./scripts/dev/*.sh:*)→Bash(${CLAUDE_PLUGIN_ROOT}/scripts/*.sh:*)$CLAUDE_PROJECT_DIR/.claude/hooks/→${CLAUDE_PLUGIN_ROOT}/hooks//sequant:setupskill to copy constitution.md (plugins can't inject memory)Updated Research Doc
Full findings documented in
docs/plugin-research-185.mdPhase 0 exit criteria fully met. Ready for AC-1 implementation.
admarble commentedon Jan 26, 2026
📋 Implementation Plan for #185
Acceptance Criteria Checklist
claude plugin validate .passes/plugin marketplace addworksImplementation Phases
Phase 1: Core Infrastructure
.claude-plugin/plugin.jsonmanifest.claude-plugin/marketplace.jsoncataloghooks/hooks.jsonwith plugin-relative pathsPhase 2: Path Migrations
allowed-toolsto use${CLAUDE_PLUGIN_ROOT}/sequant:setupinitialization skillPhase 3: Documentation
Phase 4: Testing
Key Decisions
/sequant:setupskillOpen Questions
Estimated Files Changed
Phase 0 research complete. Ready for implementation.
feat(#185): publish Sequant as Claude Code plugin
admarble commentedon Jan 26, 2026
Implementation Progress Update
AC Coverage
Files Changed (38 files)
New Plugin Infrastructure:
.claude-plugin/plugin.json- Plugin manifest.claude-plugin/marketplace.json- Marketplace cataloghooks/hooks.json- Hook configuration with plugin pathshooks/pre-tool.sh,hooks/post-tool.sh- Hook scriptsscripts/new-feature.sh,scripts/cleanup-worktree.sh,scripts/list-worktrees.shmemory/constitution.md- Template for project contextSkills (16 total):
All skills from templates/ copied to plugin root with updated paths:
assess,clean,docs,exec,fullsolve,improve,loop,qa,reflect,security-review,setup,solve,spec,test,testgen,verifyDocumentation:
README.md- Added plugin installation section, worktree explanationKey Changes
Path migrations: Updated
./scripts/dev/*.sh→${CLAUDE_PLUGIN_ROOT}/scripts/*.shin:skills/exec/SKILL.md(allowed-tools + content)skills/fullsolve/SKILL.md(content)skills/testgen/SKILL.md(content)New
/sequant:setupskill: Initializes plugin for users (creates worktrees dir, copies constitution)Plugin structure: Components at repo root per Claude Code plugin spec
PR Created
PR: #186 - #186
Next Steps
admarble commentedon Jan 27, 2026
/fullsolve Complete
Issue: #185
Status: AC_MET_BUT_NOT_A_PLUS
Summary
Core plugin infrastructure implemented and ready for manual testing:
Key Deliverables
.claude-plugin/plugin.json- Plugin manifest with metadata.claude-plugin/marketplace.json- Self-hosted marketplace catalogskills/- 16 skills at plugin root with${CLAUDE_PLUGIN_ROOT}pathshooks/hooks.json- Hook configuration with plugin-relative pathsscripts/- Worktree management scriptsmemory/constitution.md- Template for project context/sequant:setupskill - Plugin initialization for usersQuality Metrics
Iterations
PR
#186 - #186
Recommended Follow-ups
Manual test plugin installation with Claude Code:
Follow-up issues needed:
Ready for manual testing and human review.
fix(#185): correct plugin manifest schemas for Claude Code validation
fix(#185): zsh compatibility for hook glob patterns
fix(#185): add missing git/gh commands to setup skill allowed-tools
fix(#185): update constitution template with all skills and generic n…
docs(#185): add plugin installation troubleshooting section
docs(#185): add worktree troubleshooting and project type support sec…
docs(#185): complete AC-5 plugin-specific considerations
docs(#185): add plugin verification script and complete MCP audit
docs(#185): complete AC-5 plugin-specific considerations (#190)
docs(#185): complete AC-6 release and update process
admarble commentedon Jan 27, 2026
AC-6 Complete: Release & Update Process
Summary
/releaseassistance)Key Changes
validate-pluginCI job validates plugin.json structure and version sync/releaseskill updated to automatically sync plugin.json versiondocs/plugin-updates.mddocuments upgrade path and versioning strategyPR
#191
🤖 Generated with Claude Code
docs(#185): complete AC-6 release and update process (#191)
docs(#185): complete AC-7 feedback mechanisms
admarble commentedon Jan 27, 2026
AC-7: Feedback Mechanisms - Complete
All AC-7 criteria have been implemented in commit ff875b0:
Changes Made
plugin-feedback.ymltemplate/improvefor issue reportingdocs/telemetry.md(decision: no telemetry)Files Changed
.github/ISSUE_TEMPLATE/plugin-feedback.yml- New template for plugin-specific feedback.github/ISSUE_TEMPLATE/config.yml- Added plugin docs linkdocs/telemetry.md- Telemetry policy documentationCONTRIBUTING.md- Plugin contribution guidelinesREADME.md- Added/improvecommand and Feedback sectionTelemetry Decision Summary
Decision: No telemetry. Reasoning:
See
docs/telemetry.mdfor full rationale.Issue #185 is now fully complete (AC-1 through AC-7).
docs: update CHANGELOG with plugin support and project-name detection