Skip to content

AX-1849 Moving from session start hook to skills (skills sync in from jfrog-skills)#36

Open
MatanEden1 wants to merge 1 commit into
mainfrom
AX-1849-move-to-skills
Open

AX-1849 Moving from session start hook to skills (skills sync in from jfrog-skills)#36
MatanEden1 wants to merge 1 commit into
mainfrom
AX-1849-move-to-skills

Conversation

@MatanEden1

Copy link
Copy Markdown
Collaborator

Summary

Retires the legacy SessionStart hook that force-injected a ~480-line MCP-management template into every session. JFrog MCP management now lives in discoverable skills that are vendored in via sync from jfrog/jfrog-skills rather than driven by a hand-maintained hook + template — so this branch removes the hook machinery to avoid a second source of truth.

Mirrors the equivalent change in jfrog/claude-plugin #33.

Net change vs main (pure removal)

  • plugin/hooks/hooks.json — the SessionStart hook definition
  • plugin/scripts/inject-instructions.mjs — the injector that force-fed the template
  • plugin/templates/jfrog-mcp-management.md — the always-on template
  • scripts/validate-hook-injector.mjs — its validator
  • .github/workflows/validate-inject-instructions.yml — CI for the injector
  • plugin/.claude-plugin/plugin.json — dropped the now-unused "hooks" key
  • README.md — removed dangling hook references (the Agent Guard is now delivered through the synced skills); Node bumped to ≥ 18

Where the skills live now

The JFrog MCP skills + their shared references arrive in this plugin through the vendored sync from jfrog/jfrog-skills, not by hand-committing them here.

Test plan

  • Confirm no residual references to the retired hook files remain in the repo or CI.
  • Verify MCP install/list/remove still work end-to-end via the synced skills.

🤖 Generated with Claude Code

… jfrog-skills)

Retires the legacy SessionStart hook that force-injected the ~480-line
MCP-management template into every session. JFrog MCP management now lives
in discoverable skills that sync in from jfrog/jfrog-skills, so this removes
the hook machinery and the hand-maintained template to avoid a second source
of truth.

Removed:
- plugin/hooks/hooks.json — the SessionStart hook definition
- plugin/scripts/inject-instructions.mjs — the injector
- plugin/templates/jfrog-mcp-management.md — the always-on template
- scripts/validate-hook-injector.mjs — the injector validator
- .github/workflows/validate-inject-instructions.yml — CI for the injector

Also dropped the now-unused "hooks" key from the plugin manifest and cleaned
up the residual hook references in the README (Agent Guard is now delivered
through the synced skills).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant