This repository has been archived on 2026-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
core-claude/README.md
Snider 0a89ac91d1 feat: initial Claude Code plugin for host-uk monorepo
- Skills for core CLI, PHP, and Go patterns
- PreToolUse hooks to block destructive commands and enforce core CLI
- PreCompact/SessionStart hooks for context preservation
- PostToolUse hooks for auto-formatting and debug warnings
- /core:remember command for manual context capture

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 02:36:33 +00:00

1 KiB

core-claude

Claude Code plugin for the Host UK federated monorepo.

Installation

/plugin marketplace add host-uk/core-claude
/plugin install core@core-claude

Features

Skills

  • core - Core CLI command reference for multi-repo management
  • core-php - PHP module patterns for Laravel packages
  • core-go - Go package patterns for the CLI

Commands

  • /core:remember <fact> - Save context facts that persist across compaction

Hooks

Safety hooks:

  • Blocks destructive commands (rm -rf, sed -i, mass operations)
  • Enforces core CLI over raw go/php commands
  • Prevents random .md file creation

Context preservation:

  • Saves state before auto-compact (prevents "amnesia")
  • Restores recent session context on startup
  • Extracts actionables from tool output

Auto-formatting:

  • PHP files via Pint after edits
  • Go files via gofmt after edits
  • Warns about debug statements

Dependencies