Restructure agent docs: critical rules first + skill routing - #446
Open
chowbao wants to merge 3 commits into
Open
Restructure agent docs: critical rules first + skill routing#446chowbao wants to merge 3 commits into
chowbao wants to merge 3 commits 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. |
There was a problem hiding this comment.
Pull request overview
This PR reorganizes .claude/CLAUDE.md so operationally important guidance is presented first and adds a task→skill routing table intended to help an agent load the right shared skill before starting work.
Changes:
- Adds a new “Critical rules — read these first” section at the top of the doc.
- Introduces a “Skills” section with a task→skill routing table pointing at shared skills under
.claude/skills/. - Removes the older trailing “Rules” section and folds selected items into the new structure.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+3
to
+6
| ## Critical rules — read these first | ||
|
|
||
| - **Run lint, unit tests, and integration tests before considering a task complete**: `golangci-lint run`, `go test -v -cover ./internal/transform`, `make int-test`. | ||
| - **Run pre-commit before committing or creating a PR.** |
| |---|---| | ||
| | Build, test, or debug a failing test in this repo | `stellar-etl-build-and-test` | | ||
| | Add or change an export command / output field | `stellar-etl-export-change` | | ||
| | Propagate a field across etl → BQ schema → dbt → airflow | `etl-schema-change` | |
…config, not a shared repo directive
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.