Restructure agent docs: critical rules first + skill routing - #288
Open
chowbao wants to merge 1 commit into
Open
Restructure agent docs: critical rules first + skill routing#288chowbao wants to merge 1 commit into
chowbao wants to merge 1 commit into
Conversation
Lead with the critical safety rules (no prod target locally, no writes to crypto-stellar/hubble-261722, dbt deps freshness, bq CLI for int64 IDs), add a task -> skill routing table, and fold in the old Rules section.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reorganizes the agent guidance in .claude/CLAUDE.md so that high-risk operational constraints are encountered first and users can quickly route to the right shared skill for common tasks.
Changes:
- Adds a prominent Critical rules section at the top (local/production safety, release/pin workflow, pre-commit expectation, and BigQuery INT64 querying guidance).
- Introduces a task → skill routing table that points to shared skills in the monorepo checkout.
- Consolidates/removes the trailing “Rules” section and adds a targeted snapshot-work pointer near the snapshot variables section.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | PR check failing (CI Linting, diff-quality, Datafold diff comment) | `dbt-ci-triage` | | ||
| | Create/modify/repair an SCD2 snapshot model | `dbt-incremental-snapshots` | | ||
| | Model behaves differently locally vs in Airflow; incremental runs 0 rows | `dbt-batch-window-vars` | | ||
| | Slow or expensive model; merge vs insert_overwrite | `dbt-model-optimization` | |
| - `is_recency_airflow_task` — Flag for Airflow task type | ||
|
|
||
| See `docs/snapshot.md` for the full control flow diagram. | ||
| See `docs/snapshot.md` for the full control flow diagram. For hands-on snapshot work (run_snapshot_test.sh, setup_db/teardown_db, missing-days holes), use the `dbt-incremental-snapshots` skill. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Restructures
.claude/CLAUDE.mdso the agent reads the critical safety rules first and can route to the right skill.Changes
prodtarget locally; never write tocrypto-stellar/hubble-261722; rundbt depsafter a pin/branch change; use thebqCLI for int64 IDs)..claude/skills/.Rulessection into the above; minor accuracy fixes.Docs-only — no runtime or release impact.