feat: improve examples and migration guide with GitHub context#505
feat: improve examples and migration guide with GitHub context#505km-anthropic merged 4 commits intomainfrom
Conversation
- Add comprehensive solutions.md with 9 complete use case examples - Fix migration guide examples to include required GitHub context - Update examples missing GitHub context (workflow-dispatch-agent, claude-modes) - Enhance README with prominent Solutions & Use Cases section - Document tracking comment behavior change in automation mode - All PR review examples now include REPO and PR NUMBER context Fixes issues reported in discussions #490 and #491 where: - Migration examples were dysfunctional without GitHub context - Users lost PR review capability after v0.x migration - Missing explanation of tracking comment removal in agent mode 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@claude run bun format pls to fix the ci and commit your changes |
|
Claude finished @km-anthropic's task —— View job Running formatter to fix CI
Status UpdateI cannot run the formatting commands ( The git working tree is currently clean, which suggests the formatting issues may be in the CI environment or the formatter needs to be run to fix them. Next Steps:
Alternatively, if you have the appropriate tool permissions configured, you can re-trigger this action with expanded |
|
Claude finished @km-anthropic's task —— View job Tasks
✅ Done! I've successfully formatted the code with prettier and pushed the changes to fix the CI. The formatter fixed formatting issues in 6 files:
The changes have been committed and pushed to the PR branch. |
Co-authored-by: kashyap murali <km-anthropic@users.noreply.github.com>
examples/claude-modes.yml
Outdated
There was a problem hiding this comment.
Let's rename this to something clearer? Modes aren't part of the public interface.
There was a problem hiding this comment.
Also, I can't comment on line 26 but we should update it to @v1
- Remove 5 redundant examples (57% reduction: 12→7 files)
- Deleted: claude.yml, claude-auto-review.yml, claude-modes.yml,
claude-args-example.yml, auto-fix-ci-signed/
- Rename examples for clarity
- pr-review-with-tracking.yml → pr-review-comprehensive.yml
- claude-pr-path-specific.yml → pr-review-filtered-paths.yml
- claude-review-from-author.yml → pr-review-filtered-authors.yml
- workflow-dispatch-agent.yml → manual-code-analysis.yml
- auto-fix-ci/auto-fix-ci.yml → ci-failure-auto-fix.yml
- Update all examples from @V1-Dev to @v1
- Remove implementation details (agent mode references) from docs
- Delete obsolete DIY Progress Tracking section
- Add track_progress documentation and examples
Addresses PR feedback about exposing internal implementation details
and consolidates redundant examples into focused, clear use cases.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
@claude run bun format pls |
|
Claude finished @km-anthropic's task —— View job Running bun format to fix CI
Status UpdateI cannot run the formatting commands ( The git working tree is currently clean, which suggests the formatting issues may be in the CI environment or need to be resolved by running the formatter. Next Steps:
If running locally: bun run format
git add .
git commit -m "fix: apply prettier formatting to resolve CI issues
Co-authored-by: kashyap murali <km-anthropic@users.noreply.github.com>"
git push |
|
Claude finished @km-anthropic's task —— View job ✅ Formatter completed successfully
Summary: Successfully ran
The changes have been committed and pushed to the PR branch to fix the CI formatting issues. |
|
@ashwin-ant cleared out some older .ymls instead, and updated the remaining ones. |
Applied prettier formatting to 3 files to resolve CI formatting issues. Co-authored-by: kashyap murali <km-anthropic@users.noreply.github.com>
PR #505 removed claude.yml as part of simplifying examples, but this left a gap - there was no longer a generic tag mode example showing how to respond to @claude mentions. This file serves as the primary starting point for users wanting to use tag mode to have Claude respond to mentions in: - Issue comments - Pull request review comments - Issues (when opened or assigned) - Pull request reviews The example includes all required permissions and shows optional configurations commented out. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
PR #505 removed claude.yml as part of simplifying examples, but this left a gap - there was no longer a generic tag mode example showing how to respond to @claude mentions. This file serves as the primary starting point for users wanting to use tag mode to have Claude respond to mentions in: - Issue comments - Pull request review comments - Issues (when opened or assigned) - Pull request reviews The example includes all required permissions and shows optional configurations commented out. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
* restore: bring back generic tag mode example (claude.yml) PR #505 removed claude.yml as part of simplifying examples, but this left a gap - there was no longer a generic tag mode example showing how to respond to @claude mentions. This file serves as the primary starting point for users wanting to use tag mode to have Claude respond to mentions in: - Issue comments - Pull request review comments - Issues (when opened or assigned) - Pull request reviews The example includes all required permissions and shows optional configurations commented out. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * format: add missing newline at end of claude.yml Co-authored-by: kashyap murali <km-anthropic@users.noreply.github.com> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: kashyap murali <km-anthropic@users.noreply.github.com>
Fixes issues reported in discussions #490 and #491.
Changes
All PR review examples now include proper GitHub context to prevent reviews of wrong repositories.