{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "scarletkc-seiso--gate-doc-changes-with-seiso-hooks",
 "repo": "scarletkc/seiso",
 "repo_url": "https://github.com/scarletkc/seiso",
 "repo_slug": "scarletkc-seiso",
 "title": "Gate doc changes with Seiso in Claude Code hooks or CI",
 "page_title": "How to gate doc changes with Seiso in Claude Code hooks or CI with Seiso",
 "summary": "Run Seiso automatically when an agent or a commit changes project docs.",
 "who": "A team using Claude Code or a CI pipeline that wants doc checks to run without someone remembering to run them.",
 "problem": "Doc drift and repeated AI mistakes reach the main branch because nothing checks the docs at the moment they change.",
 "outcome": "Doc changes are checked by Seiso in the agent session or the pipeline, with stable rules as the gate.",
 "steps": [
  "Install Seiso and run `seiso init` at the repository root.",
  "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.",
  "Keep preview rules out of the gate, since the README says they can report false positives."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "A repository with Markdown project docs",
  "One install route: cargo, uv or pipx, or npm",
  "A shell at the repository root"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/scarletkc-seiso/gate-doc-changes-with-seiso-hooks/",
 "md": "https://dedupedai.com/use-cases/scarletkc-seiso/gate-doc-changes-with-seiso-hooks/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/scarletkc-seiso--gate-doc-changes-with-seiso-hooks.json",
 "api_version": "v1"
}
