Skip to content

docs(claude): enhance CLAUDE.md with GitHub workflow guidance [skip buildkite] #7497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 6, 2025

Conversation

rfay
Copy link
Member

@rfay rfay commented Aug 1, 2025

The Issue

CLAUDE.md lacked comprehensive GitHub workflow guidance for Claude Code sessions, particularly around:

  • Branch creation best practices
  • GitHub issue template usage with ddev debug test output
  • PR template requirements and commit message integration
  • Testing requirements before commits
  • Pre-commit workflow combining testing and static analysis

How This PR Solves The Issue

Enhanced CLAUDE.md with detailed sections covering:

  1. Branch Naming & Creation: Added efficient strategy using git fetch upstream && git checkout -b <branch> upstream/main --no-track
  2. GitHub Issue Templates: Complete guidance on using issue template structure with proper ddev debug test output inclusion in collapsible sections
  3. PR Template Integration: Clear explanation that commit messages should include full PR template content for pre-population on GitHub
  4. Testing Requirements: Added comprehensive testing guidance with make test, make testpkg, make testcmd options and reference to official testing docs
  5. Pre-Commit Workflow: Complete checklist including both testing and static analysis requirements

Manual Testing Instructions

  1. Review CLAUDE.md sections for completeness and accuracy
  2. Verify markdown formatting passes make staticrequired
  3. Confirm all referenced documentation links are valid
  4. Test workflow guidance matches current DDEV development practices

Automated Testing Overview

Changes are documentation-only and pass:

  • markdownlint validation
  • mkdocs build verification
  • No functional code changes requiring additional tests

Release/Deployment Notes

This is documentation enhancement only with no deployment impact. Future Claude Code sessions will have improved workflow guidance for DDEV development.

🤖 Generated with Claude Code

@rfay rfay marked this pull request as ready for review August 1, 2025 14:41
@rfay rfay requested a review from a team as a code owner August 1, 2025 14:41
@rfay rfay requested a review from stasadev August 1, 2025 14:42
@rfay
Copy link
Member Author

rfay commented Aug 1, 2025

Moved to ready to review but will keep it open, we can add to it for a while maybe.

@rfay rfay force-pushed the 20250731_rfay_improve_claude_docs branch from 43aa8e6 to a71b8f2 Compare August 5, 2025 20:24
@rfay rfay requested a review from stasadev August 5, 2025 22:17
Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

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

Looks good to me.

rfay and others added 5 commits August 6, 2025 14:25
## The Issue

- No specific issue, but documentation improvements needed based on lessons learned

CLAUDE.md lacked comprehensive GitHub workflow guidance for Claude Code sessions, particularly around:
- Branch creation best practices
- GitHub issue template usage with ddev debug test output
- PR template requirements and commit message integration
- Testing requirements before commits
- Pre-commit workflow combining testing and static analysis

## How This PR Solves The Issue

Enhanced CLAUDE.md with detailed sections covering:

1. **Branch Naming & Creation**: Added efficient strategy using `git fetch upstream && git checkout -b <branch> upstream/main --no-track`
2. **GitHub Issue Templates**: Complete guidance on using issue template structure with proper `ddev debug test` output inclusion in collapsible sections
3. **PR Template Integration**: Clear explanation that commit messages should include full PR template content for pre-population on GitHub
4. **Testing Requirements**: Added comprehensive testing guidance with `make test`, `make testpkg`, `make testcmd` options and reference to official testing docs
5. **Pre-Commit Workflow**: Complete checklist including both testing and static analysis requirements

## Manual Testing Instructions

1. Review CLAUDE.md sections for completeness and accuracy
2. Verify markdown formatting passes `make staticrequired`
3. Confirm all referenced documentation links are valid
4. Test workflow guidance matches current DDEV development practices

## Automated Testing Overview

Changes are documentation-only and pass:
- markdownlint validation
- mkdocs build verification
- No functional code changes requiring additional tests

## Release/Deployment Notes

This is documentation enhancement only with no deployment impact. Future Claude Code sessions will have improved workflow guidance for DDEV development.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
@rfay rfay force-pushed the 20250731_rfay_improve_claude_docs branch from 59e8d9a to c138595 Compare August 6, 2025 20:25
@rfay rfay changed the title docs: enhance CLAUDE.md with GitHub workflow guidance docs(claude): enhance CLAUDE.md with GitHub workflow guidance Aug 6, 2025
@rfay rfay changed the title docs(claude): enhance CLAUDE.md with GitHub workflow guidance docs(claude): enhance CLAUDE.md with GitHub workflow guidance [skip buildkite] Aug 6, 2025
@rfay rfay merged commit 052d989 into ddev:main Aug 6, 2025
9 checks passed
@rfay rfay deleted the 20250731_rfay_improve_claude_docs branch August 6, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants