How to use Ketryx Assistant to analyze GitHub Pull Requests?
The Code Assistant is an AI-powered tool within Ketryx that analyzes your connected Git repositories to support regulatory compliance, code quality reviews, and automated pull request creation.
Setup
📢 The Code Assistant requires activation by Ketryx. Contact [email protected] or your Ketryx support representative to activate this feature for your organization.
Prerequisites
Before using the Code Assistant, ensure:
GitHub Connection: Your project must have an active GitHub connection configured
Repository Access: The connection must have read (and write, for PR creation) permissions to your repositories
Feature Enabled: Ketryx support has enabled the Code Assistant for your organization
When to Use the Code Assistant
Compliance Analysis
"Analyze our codebase for IEC 62304 compliance"
Pull Request Review
"Summarize our latest pull request"
Change Impact Analysis
"Analyze the last 5 commits and identify affected design controls"
Release Preparation
"It's release time—compare our repo against our project items for discrepancies"
Example Prompts
1. Change Impact Analysis
Review the commits in this release and identify which requirements
or specifications may need updatingReturns: List of commits, affected functionality, suggested design control updates

2. Pull Request Summary
Returns: PR description, files changed, potential compliance implications

3. Compliance Review
Returns: Identified gaps, recommendations, and specific file/line references

Best Practices
Be Specific: Include context about what you're looking for
✅ "Review error handling in the API layer for FDA compliance"
❌ "Check the code"
Large Tasks: If you request broad changes (e.g., "analyze these 10 PRs"), the assistant will propose a step-by-step plan for your approval before proceeding
Provide Context: Mention relevant item IDs, version numbers, or specific areas of concern
Limitations
Requires an active GitHub connection with appropriate permissions
Cannot access repositories not connected to your Ketryx project
PR creation requires write permissions on the repository
Analysis is limited to code—cannot directly modify Ketryx configuration items (but can suggest updates)
Need Help?
If you encounter issues or have questions about the Code Assistant:
📧 Email: [email protected]
💬 Contact your Ketryx support representative
Last updated
Was this helpful?