Claude Code hook
PRD Driven Context Engineering
PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks.
Install
/plugin marketplace add mattgierhart/PRD-driven-context-engineeringFound in the project README. Check it for setup steps after installing.
git clone https://github.com/mattgierhart/PRD-driven-context-engineering.gitFrom the README
PRD-Led Context Engineering Memory as Infrastructure — an operating system for building products with AI agents *Your AI partner is brilliant in one session and amnesiac by the next. This repository is the fix: a fork-ready methodology that turns documentation into a knowledge graph humans and AI navigate together — so the 50th session is smarter than the 1st.* Quick Start · The Idea · The Lifecycle · The Skills · Live Demo Views ⭐ If this changes how you build with AI, star the repo — stars put this method in front of the next team drowning in context drift. The Problem: AI forgets. Teams drift. Every era of software solved memory its own way — and broke it its own way: - Waterfall had Static Memory. Write everything down upfront: certainty, at the cost of change. - Agile moved fast and created Fragmented Memory. Knowledge scattered across tickets, wikis, and chats; shared understanding evaporated. - AI-assisted building adds a third failure: Amnesiac Memory. The model that architected your system yesterday has never heard of it today. The common mistake is treating these as tooling problems. They are *memory* problems. PRD-Led Context Engineering builds Shared Memory: it treats AI as a team member, not a tool, and keeps documentation synchronized with code so humans and AI navigate the same truth. The Idea: Memory as Infrastructure This methodology comes from two converging experiences. Leading human teams — alignment always followed the same pattern: rally around a single Source-of-Truth artifact and the team moves as one. Without it, even great talent drifts. Partnering with AI — sometimes the model performs at a senior level, sometimes it hallucinates. The variable was never the model's intelligence. It was the Context Density provided: rich,…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- mattgierhart/PRD-driven-context-engineering
- Type
- Hooks
- Website
- www.gearheartai.org
- Language
- HTML
- License
- MIT
- Last updated
- 31 August 2026
- Topics
- agent-skillsagentic-codingai-agentsai-assistedclaudeclaude-codeclaude-code-skillscontext-engineeringdeveloper-toolsprdproduct-developmentproduct-management
FAQ
What is PRD Driven Context Engineering?
PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks. It is a hook for Claude Code, from mattgierhart/PRD-driven-context-engineering on GitHub.
How do I install PRD Driven Context Engineering?
Run /plugin marketplace add mattgierhart/PRD-driven-context-engineering inside Claude Code, then follow the setup in the README.
Is PRD Driven Context Engineering popular?
mattgierhart/PRD-driven-context-engineering has 181 GitHub stars and 11 forks. It was last updated on 31 August 2026.
More hooks
Claude Hooks Manager
74webdevtodayjason/claude-hooks
CLI for listing, adding and managing hooks in Claude Code settings.
Next16 Claude Starter
145textura-agency/next16-claude-starter
AI-first Next.js 16 starter for animation-heavy sites, wired with an Obsidian vault & Claude Code hooks
Claude Heartbeat
184Siigari/claude-heartbeat
Keep Claude Code alive and autonomous without -p. Heartbeat hook + inbox/outbox pattern.
claude-hooks
75decider/claude-hooks
Set of hooks that enforce clean-code practices and automate routine checks during Claude Code sessions.
Pitchcraft
201moshuying/pitchcraft
汇报.skill · pitchcraft — Structured persuasion for tech leads, PMs, and founders: kickoff, status, wrap-up, pitch, and solution selling on one 5-part framework (Hook→Context→Proposal→Evidence→Ask), with AI material intake and a pre-submit checklist. Works with Claude Code, Cursor, Codex, and more.
Interlinked CLI
183QuentinCody/interlinked-cli
The harness for your harness. Local hooks, taste enforcement, and developer observability for AI coding agents (Claude Code, Codex, Cursor, Copilot CLI).
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.