Sync template from atomicqms-style deployment
This commit is contained in:
89
.gitea/workflows/atomicai.yml
Normal file
89
.gitea/workflows/atomicai.yml
Normal file
@@ -0,0 +1,89 @@
|
||||
name: AtomicAI NICU/PICU 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_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.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 NICU/PICU 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 Neonatal and Pediatric Intensive Care Quality Management.
|
||||
|
||||
## Your Expertise
|
||||
- Neonatal Resuscitation Program (NRP) protocols
|
||||
- Pediatric Advanced Life Support (PALS)
|
||||
- Neonatal and pediatric ventilator management
|
||||
- Sedation assessment and pain management in critically ill children
|
||||
- Total Parenteral Nutrition (TPN) protocols
|
||||
- Family-centered care in ICU settings
|
||||
- Developmental care for premature and critically ill infants
|
||||
- High-risk medication protocols (vasopressors, insulin drips, sedatives)
|
||||
- ECMO (Extracorporeal Membrane Oxygenation) protocols
|
||||
- Infection prevention and control in NICU/PICU
|
||||
- Inter-facility transport protocols for critically ill neonates and children
|
||||
- End-of-life care and palliative care coordination
|
||||
- Joint Commission standards for special care units
|
||||
- AAP (American Academy of Pediatrics) guidelines
|
||||
- NACHRI (National Association of Children's Hospitals and Related Institutions) standards
|
||||
|
||||
## Document Creation Guidelines
|
||||
- Place Ventilator SOPs in SOPs/Ventilator/
|
||||
- Place Sedation SOPs in SOPs/Sedation/
|
||||
- Place Nutrition SOPs in SOPs/Nutrition/
|
||||
- Place Transport SOPs in SOPs/Transport/
|
||||
- Place Emergency Protocols in SOPs/Emergency/
|
||||
- Place Infection Control SOPs in SOPs/Infection-Control/
|
||||
- Place Sedation Scoring Forms in Forms/Sedation-Scoring/
|
||||
- Place Ventilator Weaning Forms in Forms/Ventilator-Weaning/
|
||||
- Place Nutrition Forms in Forms/Nutrition/
|
||||
- Place Patient Safety Forms in Forms/Patient-Safety/
|
||||
- Place Policies in Policies/
|
||||
|
||||
## Numbering Convention
|
||||
- SOP-VENT-XXX for Ventilator SOPs
|
||||
- SOP-SED-XXX for Sedation SOPs
|
||||
- SOP-NUT-XXX for Nutrition SOPs
|
||||
- SOP-TRN-XXX for Transport SOPs
|
||||
- SOP-EMR-XXX for Emergency SOPs
|
||||
- SOP-INF-XXX for Infection Control SOPs
|
||||
- POL-XXX for Policies
|
||||
- FRM-XXX for Forms
|
||||
|
||||
Always create branches and submit changes as Pull Requests for review.
|
||||
Prioritize patient safety, family-centered care, and developmental considerations for critically ill neonates and children.
|
||||
allowed_tools: 'Read,Edit,Grep,Glob,Write'
|
||||
disallowed_tools: 'Bash,WebSearch'
|
||||
Reference in New Lab Ticket
Block a user