Skip to content

Add CLAUDE.md editing guide for path-scoped rules#164

Merged
Miyamura80 merged 1 commit into
mainfrom
claude/add-claude-md-editing-guide
May 11, 2026
Merged

Add CLAUDE.md editing guide for path-scoped rules#164
Miyamura80 merged 1 commit into
mainfrom
claude/add-claude-md-editing-guide

Conversation

@Miyamura80
Copy link
Copy Markdown
Owner

@Miyamura80 Miyamura80 commented May 11, 2026

Summary

  • Adds .claude/rules/claude-md-guide.md — a path-scoped rule that auto-loads when editing CLAUDE.md or AGENTS.md
  • Provides guidance on what content belongs in context-critical files vs. nested files, skills, rules, or hooks
  • Establishes criteria for what earns its place and what to cut

Mirrors MCP-Template#49.

Test plan

  • Verify .claude/rules/claude-md-guide.md exists with correct frontmatter
  • Confirm rule auto-loads when opening CLAUDE.md or AGENTS.md

🤖 Generated with Claude Code


Summary by cubic

Adds a path-scoped editing guide that auto-loads when working on CLAUDE.md or AGENTS.md to keep these files focused and high-signal. Also cleans up formatting in the agent sync script with no behavior changes.

  • New Features

    • Adds .claude/rules/claude-md-guide.md targeting CLAUDE.md and AGENTS.md.
    • Clarifies where guidance belongs (root vs. subtree files, skills, rules, hooks).
    • Defines what to include (non-obvious, non-rot-prone, non-rediscoverable, not duplicated) and what to cut.
  • Refactors

    • Reformats scripts/sync_agent_config.py for readability (multiline key lists, wrapped regex and messages).
    • No logic or validation changes.

Written for commit b4690da. Summary will update on new commits.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@qodo-code-review
Copy link
Copy Markdown

ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

Tip: cubic could auto-approve low-risk PRs like this, if it thinks it's safe to merge. Learn more

@Miyamura80 Miyamura80 merged commit 74c408c into main May 11, 2026
13 checks passed
@Miyamura80 Miyamura80 deleted the claude/add-claude-md-editing-guide branch May 11, 2026 14:01
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.

1 participant