Skip to content
Development
Hook

Hooks

What code-forge runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

Install
$ npx -y skills add ggombee/code-forge --agent claude-code

Ships with code-forge. Installing the plugin gets these hooks.

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Runs session-init.sh.

PostToolUse

  • Runs lint-fix.sh.

PreToolUse

  • Runs guard.sh.

Stop

  • Runs quality-gate.sh.

Notification

  • Runs notify.sh.

SubagentStop

  • Runs subagent-stop.sh.

PreCompact

  • Runs pre-compact.sh.

PostCompact

  • Runs >&2.

PermissionRequest

  • Runs permission-guard.sh.

FileChanged

  • Runs package-changed.sh.

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • Runs auto-flow-trigger.sh.
Read hooks/hooks.json

Where it lives

Showing the source of 6 of 14 scripts. Every one is linked above.

Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.

Ships withcode-forge

설치하면 Claude Code가 더 잘 동작합니다. 전문 에이전트, 슬래시 스킬, 스택 모듈을 제공하는 Claude Code 플러그인. 검증된 사고모델(GROUND→APPLY→VERIFY→ADAPT)이 모든 작업의 품질을 일관되게 유지합니다. (에이전트/스킬 개수는 디스크가 진실 — ls agents/.md | wc -l, ls skills//SKILL.md | wc -l) 현재 상태: 개인 GitHub 운영 중 (마켓플레이스 배포 4.10.0).

Get the whole plugin, auto-invoked
Stats
12
Stars
0
Views
4
Forks
Maintained
Maintenance
Shell
Language
MIT
License
1mo ago
Last commit
5mo ago
Created

Repo: ggombee/code-forge