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
Mindx CLAUDE.md
by @DotNetAge
δΈδΈͺε―θͺδΈ»θΏεηζ°εεεθΊ«
Lerna CLAUDE.md
by @lerna
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
Transcriber CLAUDE.md
by @kossakovsky
Automated video-to-text transcription powered by ElevenLabs Scribe API with multi-language support and speaker diarization
Claude Codex Settings CLAUDE.md
by @fcakyon
My personal Claude Code and OpenAI Codex setup with battle-tested skills, plugins, hooks and agents that I use daily.
Teamcity Mcp CLAUDE.md
by @Daghis
Model Context Protocol (MCP) server for JetBrains TeamCity: control builds, tests, agents and configs from AI coding assistants.
Coolify Docs CLAUDE.md
by @coollabsio
Documentation for Coolify
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.
