Skip to content

feat: make Claude Code hooks and rules actually load - #3

Merged
HosseinNejatiJavaremi merged 1 commit into
mainfrom
feat/claude-code-hook-parity
Aug 24, 2026
Merged

feat: make Claude Code hooks and rules actually load#3
HosseinNejatiJavaremi merged 1 commit into
mainfrom
feat/claude-code-hook-parity

Conversation

@HosseinNejatiJavaremi

Copy link
Copy Markdown
Member

Summary

  • Cursor kept using hooks/hooks.json; Claude Code requires PascalCase nested hook schema — added hooks/claude-hooks.json and pointed the Claude manifest at it.
  • Claude Code does not load .mdc rules; SessionStart/PostToolUse now inject matching rule bodies.
  • Repo description, topics, and 0.8.0 manifests now say Cursor and Claude Code.

Test plan

  • python3 scripts/check_catalog.py
  • python3 -m unittest discover -s tests -v
  • Cursor: symlink plugin, reload, confirm rules still apply
  • Claude Code: /plugin marketplace add SyntaxArc/archipy-plugin then /plugin install archipy@archipy (after merge) and confirm SessionStart context includes architecture-for-apps

Made with Cursor

Cursor and Claude Code use different hook JSON schemas; Claude also ignores .mdc rules. Ship a Claude-specific hooks file and inject matching rule bodies so both IDEs get the same architecture guidance.

Co-authored-by: Cursor <cursoragent@cursor.com>
@HosseinNejatiJavaremi
HosseinNejatiJavaremi merged commit b3ce0cd into main Aug 24, 2026
3 checks passed
@HosseinNejatiJavaremi
HosseinNejatiJavaremi deleted the feat/claude-code-hook-parity branch August 24, 2026 14:07
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