Claude Code CLAUDE.md
TypeScript types and type gen hooks for Claude Code: system tools, MCP tools, session transcripts, and hook events
> Sourced from [constellos/claude-code](https://github.com/constellos/claude-code) β [MIT](https://github.com/constellos/claude-code/blob/e4b9331620bf1daf164f8b594fd868c9ccfbf84b/CLAUDE.md).
# Claude Code Plugins
Plugin marketplace with shared TypeScript utilities for typed hooks.
## Plugins
| Plugin | Purpose |
|--------|---------|
| [github-orchestration](./plugins/github-orchestration/) | GitHub workflow orchestration, branch context, CI |
| [project-context](./plugins/project-context/) | CLAUDE.md discovery, validation |
| [nextjs-supabase-ai-sdk-dev](./plugins/nextjs-supabase-ai-sdk-dev/) | Vercel/Supabase, UI dev system |
## Hook Pattern
```typescript
import type { SessionStartInput, SessionStartHookOutput } from '../shared/types/types.js';
import { runHook } from '../shared/hooks/utils/io.js';
async function handler(input: SessionStartInput): Promise<SessionStartHookOutput> {
return {
hookSpecificOutput: {
hookEventName: 'SessionStart',
additionalContext: 'Hook executed',
},
};
}
export { handler };
runHook(handler);
```
**Important**: Imports use `../shared/` (plugin-local), NOT `../../../shared/` (repo root).
## hooks.json
```json
{
"hooks": {
"SessionStart": [{ "hooks": [{ "type": "command", "command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/my-hook.ts" }] }]
}
}
```
Variables: `${CLAUDE_PROJECT_DIR}`, `${CLAUDE_PLUGIN_ROOT}`
## Installation
```bash
claude plugin install plugin-name@constellos
```
## Troubleshooting
- **Hooks not firing**: Check `~/.claude/plugins/cache/`, reinstall plugin, restart session
- **Cache stale**: `rm -rf ~/.claude/plugins/cache/constellos && claude plugin install --scope project`
## Debug
```bash
DEBUG=hook-name claude
```
Logs: `.claude/logs/hook-events.json`
Add to your project
Paste into your project's CLAUDE.md or ~/.claude/CLAUDE.md for global rules.
More for Next.js
Next.js Expert
by @Claude Rules
Expert-level Next.js development with App Router, Server Components, and modern patterns.
Vue.js Composition API
by @Claude Rules
Modern Vue 3 development with Composition API, Pinia, and TypeScript.
Angular Enterprise
by @Claude Rules
Enterprise Angular development with RxJS, NgRx, standalone components, and best practices.
Mindx CLAUDE.md
by @DotNetAge
δΈδΈͺε―θͺδΈ»θΏεηζ°εεεθΊ«
Coolify Docs CLAUDE.md
by @coollabsio
Documentation for Coolify
TORCH Glare CLAUDE.md
by @TORCH-Corp
An open-source React UI library featuring accessible, elegant components β seamlessly styled with Tailwind CSS and fully extensible.
MCP servers for Next.js
netdata/netdata#Netdata
ποΈ π βοΈ π π πͺ π§ - Discovery, exploration, reporting and root cause analysis using all observability data, including metrics, logs, systems, containers, processes, and network connections
upstash/context7
π βοΈ - Up-to-date code documentation for LLMs and AI code editors.
microsoft/playwright-mcp
Official Microsoft Playwright MCP server, enabling LLMs to interact with web pages through structured accessibility snapshots
Browse by Tag
Get the Claude Code Starter Pack
Top CLAUDE.md rules for Next.js, TypeScript, Python, Go, and React β free.
