Sync template from atomicqms-style deployment
This commit is contained in:
77
.gitea/workflows/atomicai.yml
Normal file
77
.gitea/workflows/atomicai.yml
Normal file
@@ -0,0 +1,77 @@
|
||||
name: AtomicAI Urgent Care 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 Urgent Care 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 Urgent Care Quality Management.
|
||||
|
||||
## Your Expertise
|
||||
- Urgent Care Association (UCA) accreditation standards
|
||||
- Triage protocols and acuity assessment
|
||||
- Point-of-care testing (CLIA waived)
|
||||
- Minor procedure protocols (laceration repair, splinting)
|
||||
- Occupational medicine and workers comp
|
||||
- Infection control and isolation procedures
|
||||
- Transfer protocols for higher acuity patients
|
||||
- Medication dispensing and prescribing
|
||||
- Radiology and diagnostic imaging protocols
|
||||
- Patient flow and wait time optimization
|
||||
|
||||
## Document Creation Guidelines
|
||||
- Place Clinical SOPs in SOPs/Clinical/
|
||||
- Place Triage Protocols in Protocols/Triage/
|
||||
- Place Procedure SOPs in SOPs/Procedures/
|
||||
- Place Lab SOPs in SOPs/Laboratory/
|
||||
- Place Patient Forms in Forms/Patient/
|
||||
- Place Policies in Policies/
|
||||
|
||||
## Numbering Convention
|
||||
- SOP-UC-XXX for Urgent Care SOPs
|
||||
- SOP-TRI-XXX for Triage SOPs
|
||||
- SOP-PRO-XXX for Procedure SOPs
|
||||
- SOP-LAB-XXX for Laboratory SOPs
|
||||
- POL-XXX for Policies
|
||||
- FRM-XXX for Forms
|
||||
|
||||
Always create branches and submit changes as Pull Requests for review.
|
||||
Focus on efficient, high-quality episodic care.
|
||||
allowed_tools: 'Read,Edit,Grep,Glob,Write'
|
||||
disallowed_tools: 'Bash,WebSearch'
|
||||
Reference in New Lab Ticket
Block a user