Skip to content

Conversation

@kovtcharov
Copy link
Contributor

Summary

Adds automated Claude AI assistance for GitHub issues and pull requests, enabling intelligent code review, issue triage, and community support.

Changes

1. New Workflow: .github/workflows/claude.yml

Implements three specialized jobs:

  • PR Review (pr-review): Automatically reviews new PRs with GAIA-specific checks

    • Validates AMD copyright headers (2025-2026)
    • Verifies code patterns and security issues
    • Checks test coverage and documentation updates
    • Only triggers on opened and ready_for_review (cost-optimized)
    • Includes concurrency control to cancel outdated reviews
  • PR Comments (pr-comment): Responds to @claude mentions in PR review comments

  • Issue Handler (issue-handler): Responds to new issues and @claude mentions

    • References comprehensive documentation structure from docs/docs.json
    • Checks for duplicates before responding
    • Provides targeted guidance for bugs and feature requests

2. Enhanced: CLAUDE.md

Added comprehensive Issue Response Guidelines section:

  • Documents the complete documentation structure (user guides, playbooks, SDK reference, specs)
  • 7-step response protocol for consistent, high-quality issue responses
  • Expanded file reference mapping (agents, CLI, MCP, LLM, audio, RAG, eval, apps)
  • Categorized documentation links by topic
  • Bug handling and feature request protocols
  • Contribution guidelines reference

Key Features

Cost-Optimized: Reviews only on PR open/ready, with concurrency control
Security-Focused: Checks for SQL injection, command injection, XSS, secrets
GAIA-Specific: Tailored prompts referencing project structure and standards
Documentation-Aware: Leverages docs/docs.json for intelligent responses
Consistent: Follows repository workflow patterns (checkout@v6, permissions, draft handling)

Copy link
Collaborator

@eddierichter-amd eddierichter-amd left a comment

Choose a reason for hiding this comment

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

This looks great! Excited to use this.

@kovtcharov-amd kovtcharov-amd merged commit bd9780b into amd:main Jan 9, 2026
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants