Skip to content

Improve CLAUDE.md with richer project context #1109

Description

@bmbouter

Problem

The current CLAUDE.md (169 lines) provides basic project structure and commands but is missing context that would make AI agents significantly more effective when working on this codebase.

Suggested Improvements

  • Key architecture decisions — why certain patterns were chosen (e.g., domain-based org isolation, X-RH-IDENTITY flow, content guard design)
  • Common pitfalls — things that trip up new contributors (e.g., migration ordering, test database setup, fixture requirements)
  • Code conventions — naming patterns, serializer/viewset patterns used consistently across the codebase
  • Testing guidance — how to run specific test subsets, what fixtures are available, how to set up test data
  • Deployment context — how the three-service architecture (api/content/worker) affects development decisions
  • Dependency relationships — how pulp-service relates to pulpcore, what's inherited vs. overridden
  • Recent major changes — any in-progress migrations or deprecations that agents should be aware of

The agent should read the existing CLAUDE.md, explore the codebase thoroughly (especially docs/ARCHITECTURE.md), and produce an improved version that gives AI agents the context they need to make good decisions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-planningTriggers AI implementation planning

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions