terraphim-hooks
Installation
SKILL.md
Terraphim Hooks
Use this skill when setting up or using Terraphim's knowledge graph-based text replacement capabilities through hooks.
Overview
Terraphim hooks intercept text at key points (CLI commands, commit messages) and apply transformations using Aho-Corasick automata built from knowledge graph definitions.
Key Components:
terraphim-agent replace- CLI command for text replacement- PreToolUse hooks - Intercept Claude Code tool calls before execution
- Git hooks - Transform commit messages using prepare-commit-msg
Architecture
┌─────────────────────────────────────────────────────────────────┐
│ Knowledge Graph (docs/src/kg/) │
│ ┌──────────────┐ ┌──────────────────┐ ┌──────────────────┐ │
Related skills
More from terraphim/opencode-skills
requirements-traceability
|
6md-book
|
4disciplined-implementation
|
4testing
|
4quality-gate
|
4gpui-components
Generates Rust code for GPUI desktop UI components following Zed editor patterns. Use when building desktop applications with gpui crate, creating themed UI components, implementing autocomplete/completions, building command palettes, or working with the gpui-component library. Covers RenderOnce components, Entity state management, theming with ActiveTheme, and Zed-style UI patterns.
4