You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If checked, a documentation PR must be created and merged in the website repository.
Related Documentation PR (if applicable)
PR Type
Documentation
Description
Add comprehensive CLAUDE.md documentation file
Document project overview, architecture, and core components
Include repository structure, key technologies, and development patterns
Provide testing, CI/CD, and integration guidelines for developers
Diagram Walkthrough
flowchart LR
A["CLAUDE.md<br/>Documentation"] --> B["Project Overview<br/>& Purpose"]
A --> C["Repository<br/>Structure"]
A --> D["Core Components<br/>& Architecture"]
A --> E["Development<br/>Patterns"]
A --> F["Testing &<br/>CI/CD"]
A --> G["Integration<br/>Guidelines"]
Loading
File Walkthrough
Relevant files
Documentation
CLAUDE.md
Comprehensive project documentation and developer guide
CLAUDE.md
New comprehensive documentation file for krkn-lib project
Documents project overview, purpose, and repository structure with directory tree
Details core components including KrknKubernetes, KrknOpenshift, Pod Monitor, Telemetry, Models, Elasticsearch, and Utilities
Includes development patterns, API architecture, error handling, resource templates, and safe logging practices
Covers testing structure, CI/CD pipeline, documentation standards, version management, dependencies, and code style guidelines
Provides integration examples and notes for AI assistants on Python 3.11+ requirements and project conventions
The CLAUDE.md file manually duplicates information like dependencies and repository structure, creating a high maintenance burden. A better approach is to enhance existing documentation and link to sources of truth rather than copying their content.
// CLAUDE.md
# krkn-lib Documentation## Repository Structure
src/krkn_lib/
├── k8s/
│ ├── krkn_kubernetes.py
... (manual file tree)
## Key Technologies-**Python 3.11+**-**Kubernetes Python Client 34.1.0**
... (manual dependency versions)
## CI/CD Pipeline- isort (black profile)
- black (79 character line length)
... (manual summary of CI steps)
After:
// This file (`CLAUDE.md`) would not be added.
// Instead, existing files like README.md or a new CONTRIBUTING.md would be enhanced.
// e.g., in README.md
# krkn-lib## Architecture
High-level overview of stable components like `KrknKubernetes`, `Pod Monitor`, etc.
## Development
For details on dependencies, see `pyproject.toml`.
For CI/CD process, see `.github/workflows/build.yaml`.
Our code style is enforced by `black` and `isort`.
// Note: Volatile information is referenced, not duplicated.
Suggestion importance[1-10]: 9
__
Why: The suggestion correctly identifies a critical maintenance issue with the PR's approach, as the new CLAUDE.md file manually duplicates volatile information, making it prone to becoming outdated.
High
General
Correct the repository structure diagram
Correct the repository structure diagram in the documentation to show the tests/ and aws_tests/ directories at the project root, outside the src/krkn_lib/ directory.
Why: The suggestion correctly identifies and fixes an error in the repository structure diagram, aligning it with standard Python project layouts and improving documentation accuracy.
Low
Clarify Kubernetes client version note
Clarify that the version 34.1.0 refers to the Kubernetes Python client, not the Kubernetes cluster version, to avoid ambiguity.
-- **Kubernetes versions**: Client version 34.1.0 - check compatibility+- **Kubernetes client version**: 34.1.0 - check compatibility with the target Kubernetes cluster version
Apply / Chat
Suggestion importance[1-10]: 4
__
Why: The suggestion improves the clarity of the documentation by specifying that the version number refers to the Kubernetes Python client, not the cluster, which prevents potential confusion.
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
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.
User description
Description
Claude.md file
Documentation
If checked, a documentation PR must be created and merged in the website repository.
Related Documentation PR (if applicable)
PR Type
Documentation
Description
Add comprehensive CLAUDE.md documentation file
Document project overview, architecture, and core components
Include repository structure, key technologies, and development patterns
Provide testing, CI/CD, and integration guidelines for developers
Diagram Walkthrough
File Walkthrough
CLAUDE.md
Comprehensive project documentation and developer guideCLAUDE.md
directory tree
Monitor, Telemetry, Models, Elasticsearch, and Utilities
resource templates, and safe logging practices
version management, dependencies, and code style guidelines
3.11+ requirements and project conventions