Agentic coding & agent engineering

Hooks as Guardrails in Agentic Coding

Instructions in a context file are requests. Hooks are enforcement. In half a day you learn to turn your most important rules into checks the coding agent cannot skip.

Format
Workshop
Duration
Half day
Mode
Live online or on-site
Group size
4–12 participants
Level
Advanced
  • Workshops & trainings since 2014
  • Taught by AI Code Engineers
  • German or English

Hooks workshop at a glance

Context files tell a coding agent what you want, but under pressure or in long sessions it can still edit a protected file, skip the tests or commit something that looks like a secret. For rules that must never be broken, instructions are not enough. After this half-day workshop your team can enforce them with hooks. You learn the hook events available in tools such as Claude Code, write protective hooks that block risky commands and file changes, add quality hooks that run formatters, linters and tests at the right moment, and combine everything into one rule set that is versioned and shared across the team.

Who the hooks workshop is for

Tech leads and platform engineers responsible for repositories where coding agents make changes, especially repositories with agent code, prompts and integration secrets.

What you'll walk away with

After the hooks workshop, you can:

  • Distinguish rules that need enforcement from guidance
  • Write pre- and post-tool hooks for coding agents
  • Block changes to protected paths and risky commands
  • Run formatting, linting and secret scanning automatically
  • Align agent hooks with pre-commit and CI checks

Use cases for the hooks workshop

  1. A coding agent edited a generated migration file by hand and broke deployments. A hook now blocks changes to that folder and explains which command to use instead.
  2. Agents occasionally committed test API keys. A pre-commit hook scans the diff and stops the commit with a clear message.
  3. Formatting debates filled code reviews. A hook runs the formatter after every edit, so reviews focus on logic.

Run it with your team

Pick dates in the request form. We reply within one business day with a confirmed date and an agenda proposal.

Request dates

What the hooks workshop covers

  1. Instructions versus enforcement

    Which rules can stay in context files and which need deterministic checks.

  2. Hook events

    Before and after tool use, on prompt submission and at the end of a task.

  3. Protective hooks

    Protected paths, forbidden commands and secret detection before execution.

  4. Quality hooks

    Automatic formatting, linting and test runs with feedback the agent can act on.

  5. One rule set

    Sharing checks between agent hooks, pre-commit and CI without duplication.

Prerequisites

  • Experience with Claude Code or a comparable coding agent
  • Basic shell scripting skills

Materials you keep

  • Hook configuration for your repository
  • Library of protective and quality hooks
  • Rule placement guide for hooks, pre-commit and CI

Related offers: Agentic coding workshops

Request this course

Pick one or more dates that suit you. We confirm within one business day and send an agenda tailored to your team. Non-binding.

Proposed dates (about two weeks from now, times in CET/CEST)

Non-bindingReply within one business day

Request dates

How it works

  1. Request

    Send the form with your preferred dates or a period that suits you.

  2. Short call

    We talk briefly about your goals, your team's prior knowledge and your systems.

  3. Tailored agenda

    You receive an agenda tailored to your team and a confirmed date.

  4. Workshop and materials

    We run the session live online or on-site, and you keep the materials and templates.

Why train with us

Experience

We have offered workshops and trainings since 2014. The topics have moved with the technology; today our focus is agentic coding, AI coding tools and prompt engineering for responsible AI agents.

Hands-on, not slides

You work on realistic examples from your domain, or on your own code, prompts and processes if your security rules allow it.

Your format, your language

Live online, on-site at your location or hybrid, in German or English.

Certified through jocapps GmbH

kalAIDoCreate is a venture of jocapps GmbH, which is ISO 27001 and ISO 9001 certified.

Questions about the hooks workshop

Can hooks slow the agent down?

Heavy checks on every edit can. We place fast checks in hooks and move slow suites to the end of a task or to CI.

Do other coding agents support hooks?

Support varies. Where hooks are not available, pre-commit and CI checks enforce the same rules, just later in the workflow.

Are hooks a security boundary?

They add a valuable layer, but they run in the same environment as the agent. For strong isolation combine them with sandboxing and limited credentials.

Can the course run online or on-site, and in which language?

Both. We deliver it live online or on-site at your location, in German or English. For distributed teams a hybrid setup is possible as well.

Can you tailor the content to our organisation?

Yes. Every course starts with a short call about goals and prior knowledge. We adapt examples, exercises and depth to your processes, systems, approved tools and security rules, and we work on your real use cases if your data protection rules allow it.

Free intro call

Tell us which task an AI agent should take responsibility for. We show how our platform, AI Code Engineers and operations plug into your stack.

  • 30 minutes, no obligation
  • Honest feasibility check
  • Concrete next step
Rather talk now? 24/7 call support in English and German+49 761 519 751 50