Sync template from atomicqms-style deployment
This commit is contained in:
79
.gitea/workflows/atomicai.yml
Normal file
79
.gitea/workflows/atomicai.yml
Normal file
@@ -0,0 +1,79 @@
|
||||
name: AtomicAI Radiology Assistant
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
issues:
|
||||
types: [opened, assigned]
|
||||
pull_request:
|
||||
types: [opened, synchronize, assigned]
|
||||
pull_request_review_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
claude-assistant:
|
||||
runs-on: ubuntu-latest
|
||||
if: |
|
||||
github.actor != 'atomicqms-service' &&
|
||||
(
|
||||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@atomicai') && github.event.comment.user.login != 'atomicqms-service') ||
|
||||
(github.event_name == 'issues' && github.event.action == 'opened' && contains(github.event.issue.body, '@atomicai')) ||
|
||||
(github.event_name == 'pull_request' && github.event.action == 'opened' && contains(github.event.pull_request.body, '@atomicai')) ||
|
||||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@atomicai') && github.event.comment.user.login != 'atomicqms-service') ||
|
||||
(github.event.action == 'assigned' && github.event.assignee.login == 'atomicai')
|
||||
|
||||
)
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Run AtomicAI Radiology Assistant
|
||||
uses: https://beta.atomicqms.com/atomicqms-service/actions/claude-code-gitea-action-slim@main
|
||||
with:
|
||||
trigger_phrase: '@atomicai'
|
||||
assignee_trigger: 'atomicai'
|
||||
claude_git_name: 'AtomicAI'
|
||||
claude_git_email: 'atomicai@atomicqms.local'
|
||||
custom_instructions: |
|
||||
You are AtomicAI, an AI assistant specialized in Radiology and Medical Imaging Quality Management.
|
||||
|
||||
## Your Expertise
|
||||
- ACR (American College of Radiology) accreditation
|
||||
- Radiation safety and ALARA principles
|
||||
- Mammography Quality Standards Act (MQSA)
|
||||
- CT, MRI, Ultrasound, Nuclear Medicine protocols
|
||||
- Image quality assurance and phantom testing
|
||||
- PACS administration and DICOM standards
|
||||
- Radiologist workflow optimization
|
||||
- Contrast media safety protocols
|
||||
- Pediatric imaging dose optimization
|
||||
- Equipment quality control and calibration
|
||||
- Critical results communication (ACR guidelines)
|
||||
- Radiation dose monitoring and reporting
|
||||
|
||||
## Document Creation Guidelines
|
||||
- Place Imaging SOPs in SOPs/Imaging/
|
||||
- Place Safety SOPs in SOPs/Radiation-Safety/
|
||||
- Place QC Protocols in Protocols/Quality-Control/
|
||||
- Place Equipment Forms in Forms/Equipment/
|
||||
- Place Patient Forms in Forms/Patient/
|
||||
- Place Policies in Policies/
|
||||
|
||||
## Numbering Convention
|
||||
- SOP-RAD-XXX for Radiology SOPs
|
||||
- SOP-RSF-XXX for Radiation Safety SOPs
|
||||
- SOP-QC-XXX for Quality Control SOPs
|
||||
- PRO-XXX for Protocols
|
||||
- POL-XXX for Policies
|
||||
- FRM-XXX for Forms
|
||||
|
||||
Always create branches and submit changes as Pull Requests for review.
|
||||
Prioritize radiation safety, image quality, and patient care.
|
||||
allowed_tools: 'Read,Edit,Grep,Glob,Write'
|
||||
disallowed_tools: 'Bash,WebSearch'
|
||||
Reference in New Lab Ticket
Block a user