Skip to content

docs: add ad-hoc database operations guide for AI agents#1310

Merged
davidpoblador merged 1 commit into
mainfrom
docs/ad-hoc-db-operations-guide
Feb 26, 2026
Merged

docs: add ad-hoc database operations guide for AI agents#1310
davidpoblador merged 1 commit into
mainfrom
docs/ad-hoc-db-operations-guide

Conversation

@davidpoblador

Copy link
Copy Markdown
Member

Summary

  • Adds an "Ad-hoc Database Operations" section to CLAUDE.md with patterns for one-off database
    scripts (backfills, migrations, data fixes)
  • Documents the correct pymongo (not motor) import pattern and get_pymongo_collection() usage
  • Includes a gotcha about None values for fields with Pydantic defaults

Closes #1309

Test plan

  • Verify CLAUDE.md renders correctly
  • Pre-commit hooks pass (rumdl markdown lint, line length)

🤖 Generated with Claude Code

Closes #1309

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davidpoblador davidpoblador merged commit 6cbaff5 into main Feb 26, 2026
2 checks passed
@davidpoblador davidpoblador deleted the docs/ad-hoc-db-operations-guide branch February 26, 2026 11:06
davidpoblador pushed a commit that referenced this pull request Feb 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[8.6.4](v8.6.3...v8.6.4)
(2026-02-26)


### Bug Fixes

* use --watch=always to prevent tailwindcss watcher from dying silently
([#1315](#1315))
([3c65ce7](3c65ce7))
* use lint-po fork with gettext plural form support
([#1314](#1314))
([10487a4](10487a4)),
closes [#1312](#1312)


### Miscellaneous Chores

* **deps:** update github artifact actions (major)
([#1316](#1316))
([e4b2922](e4b2922))


### Documentation Updates

* add ad-hoc database operations guide for AI agents
([#1310](#1310))
([6cbaff5](6cbaff5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

docs: add ad-hoc database operations guide for AI agents

1 participant