Skip to content

chore: add Claude Code project configuration#408

Merged
filipdjokic merged 3 commits intocheqd:developfrom
ankurdotb:claude
Mar 27, 2026
Merged

chore: add Claude Code project configuration#408
filipdjokic merged 3 commits intocheqd:developfrom
ankurdotb:claude

Conversation

@ankurdotb
Copy link
Copy Markdown
Collaborator

@ankurdotb ankurdotb commented Mar 25, 2026

Summary

  • Add CLAUDE.md with project architecture documentation, commands, conventions, and data flow descriptions
  • Add .claude/settings.json with PostToolUse hook for auto-formatting via Prettier and PreToolUse hook to block edits to generated files (lock files, migrations)
  • Add .claude/skills/db-migrate/SKILL.md skill for guided Drizzle ORM migration workflow
  • Add .claude/agents/api-documenter.md subagent for generating REST API documentation from handler code

Test plan

  • Verify CLAUDE.md content accurately reflects current codebase architecture
  • Verify Prettier auto-format hook triggers on file edits in Claude Code
  • Verify PreToolUse hook blocks edits to package-lock.json and src/database/migrations/
  • Test /db-migrate skill invocation in Claude Code

🤖 Generated with Claude Code

ankurdotb and others added 3 commits March 25, 2026 23:41
…nd agents

Set up Claude Code project configuration including CLAUDE.md with architecture
docs, auto-format and file protection hooks, a db-migrate skill for Drizzle
workflow, and an api-documenter subagent.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…jq stdin parsing

The hooks were using an invalid flat command format and nonexistent
$CLAUDE_FILE_PATH env var. Fixed to use the required nested hooks array
structure and parse file_path from stdin JSON via jq.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@filipdjokic filipdjokic merged commit 604977e into cheqd:develop Mar 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants