Skip to content

Add Claude Code stop hook for quality checks#21

Closed
graffhyrum wants to merge 3 commits into
pytexas:mainfrom
graffhyrum:add-claude-stop-hook
Closed

Add Claude Code stop hook for quality checks#21
graffhyrum wants to merge 3 commits into
pytexas:mainfrom
graffhyrum:add-claude-stop-hook

Conversation

@graffhyrum

Copy link
Copy Markdown
Contributor

Summary

  • Adds a project-level .claude/settings.json with a non-blocking Stop hook
  • Runs just check (build + link check) after each Claude Code response
  • No dev server required — operates on static build output

Test plan

  • Verified just check runs successfully standalone (build + 848 links, 0 errors)
  • Validated JSON is well-formed
  • Confirm hook fires after a Claude Code response (visible in --verbose mode)

🤖 Generated with Claude Code

graffhyrum and others added 3 commits March 18, 2026 14:02
Non-blocking hook fires `just check` (build + link check) after each
Claude Code response, catching regressions without slowing interaction.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Non-blocking hook fires `just check` (build + link check) after each
Claude Code response, catching regressions without slowing interaction.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ude-stop-hook

# Conflicts:
#	.claude/settings.json
@graffhyrum

Copy link
Copy Markdown
Contributor Author

This was more of an idea, feel free to dump if you don't want project-level Claude hooks.

@MasonEgger

Copy link
Copy Markdown
Member

This is a bit heavy and will nom nom tokens. Gonna pass on it but thanks for the suggestion!

@MasonEgger MasonEgger closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants