Skip to content

Restructure agent docs: critical rules first + skill routing - #446

Open
chowbao wants to merge 3 commits into
masterfrom
patch/claude-docs-update
Open

Restructure agent docs: critical rules first + skill routing#446
chowbao wants to merge 3 commits into
masterfrom
patch/claude-docs-update

Conversation

@chowbao

@chowbao chowbao commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What

Restructures .claude/CLAUDE.md so the agent reads the critical safety rules first and can route to the right skill.

Changes

  • Lead with a Critical rules section (never run the prod target locally; never write to crypto-stellar/hubble-261722; run dbt deps after a pin/branch change; use the bq CLI for int64 IDs).
  • Add a task → skill routing table pointing at the shared .claude/skills/.
  • Fold the trailing Rules section into the above; minor accuracy fixes.

Docs-only — no runtime or release impact.

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.
Copilot AI review requested due to automatic review settings July 3, 2026 18:26
@chowbao
chowbao requested a review from a team as a code owner July 3, 2026 18:26
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread .claude/CLAUDE.md
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.**
Comment thread .claude/CLAUDE.md
|---|---|
| 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` |
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