DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to gate doc changes with Seiso in Claude Code hooks or CI

Run Seiso automatically when an agent or a commit changes project docs.

Short answer: Install Seiso and run seiso init at the repository root; then read the integrations guide for Claude Code hooks, pre-commit, and CI; add seiso check to the Claude Code hook or the CI job, following the integrations guide. All steps.

Who it is forA team using Claude Code or a CI pipeline that wants doc checks to run without someone remembering to run them.

The problemDoc drift and repeated AI mistakes reach the main branch because nothing checks the docs at the moment they change.

The outcomeDoc changes are checked by Seiso in the agent session or the pipeline, with stable rules as the gate.

What you need first

  • A repository with Markdown project docs
  • One install route: cargo, uv or pipx, or npm
  • A shell at the repository root

Steps

  1. Install Seiso and run seiso init at the repository root.
  2. Read the integrations guide for Claude Code hooks, pre-commit, and CI.
  3. Add seiso check to the Claude Code hook or the CI job, following the integrations guide.
  4. Keep preview rules out of the gate, since the README says they can report false positives.

Prompt for your agent

In the repository at <repo path>, configure a Claude Code hook that runs `seiso check` after doc edits, following the integrations guide. Report the hook configuration you added and the result of one test run. Verify that the gate runs only stable rules.

Caveat. The README names Claude Code hooks, pre-commit, and CI only as topics in the integrations guide, so the exact setup steps must be taken from that guide and not assumed from this card.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for scarletkc/seiso and "Gate doc changes with Seiso in Claude Code hooks or CI"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer