xiaohongshu
xiaohongshu
--- name: Epic Expert Learning description: Iterative learning system for Epic EMR domain expertise. USE WHEN user mentions learning Epic, capturing Epic solutions, reviewing Epic knowledge, or when user is actively working on Epic tasks and agent should ask questions to learn. ---
Full skill instructions
This skill enables systematic acquisition of Epic EMR domain expertise through:
Goal: Match Jeremy's expertise within ~1 month through iterative learning.
Activate when:
Trigger: Jeremy solves an Epic problem or completes a task
Process:
Manual trigger:
"Capture this Epic solution"
"Document what I just learned"
Script: scripts/capture_solution.py
NEW: Automatic learning from WorkOS task completions
Trigger: Jeremy closes a WorkOS task
Process:
Confidence factors:
Script: scripts/task_closure_monitor.py
Integration: Called automatically when WorkOS task status changes to "done"/"complete"
Trigger: User is actively working on Epic tasks
Process:
Constraints:
Script: scripts/ask_question.py
Primary Script: scripts/task_closure_monitor.py
Alternative: scripts/task_closure_hook.py
Trigger: WorkOS task state change (status → "done" or "complete")
Process:
Automatic Detection:
Confidence Patterns (Educated Guesses):
"Fix provider matching" → 90% confidence
→ "Fixed provider matching by using NPI instead of internal ID"
"Build orderset" → 80% confidence
→ "Built orderset with SmartGroups and appropriate defaults"
"Configure VersaCare interface" → 85% confidence
→ "Configured VersaCare telemonitoring data interface"
"Fix issue" → 50% confidence
→ Ask directly: "How'd you solve this?"
Manual trigger:
"Capture solution from task #123"
Scripts:
scripts/task_closure_monitor.py (primary - polling/webhook)scripts/task_closure_hook.py (alternative - one-off processing)Integration:
See MONITOR_INTEGRATION.md for complete setup.
Trigger: End of workday or manual request
Process:
📊 Epic Learning Summary - Feb 1, 2026
✅ Solutions captured: 3
- VersaCare interface debugging (Interfaces, complexity: 4)
- Orderset phantom defaults (Orderset Builds, complexity: 3)
💡 Concepts learned: 5
- OCC phantom default behavior
- Provider matching NPI vs internal ID logic
📈 Domain progress:
- Orderset Builds: Beginner → Intermediate (12 → 18 concepts)
- Interfaces: Novice → Beginner (3 → 8 concepts)
🎯 Knowledge gaps identified:
- Bridges configuration workflow
- HL7 segment ordering rules
💭 Suggested next learning:
Ask about Bridges when next interface task comes up
Manual trigger:
"Review Epic learning"
"Epic progress report"
"What have I learned today?"
Script: scripts/daily_review.py
Trigger: User asks about previously learned Epic knowledge
Process:
Examples:
"What have I learned about provider matching?"
"How do I configure redirector sections?"
"Show me VersaCare interface learnings"
See references/epic-domains.md for full taxonomy.
Top-level domains:
Strength levels:
from memory_v2 import store_fact, search_facts
# Store solution
store_fact(
content="SmartGroups nest within Sections within Order Sets",
tags=["epic", "orderset", "structure"],
source="solution_capture_20260201",
confidence=0.95
)
# Query
results = search_facts("How do order sets structure work?")
from graphiti import add_relationship, query_patterns
# Store decision pattern
add_relationship(
subject="Jeremy",
predicate="solved",
object="VersaCare interface issue",
context={
"problem": "Provider matching failed",
"solution": "Used NPI instead of internal ID",
"reasoning": "External system doesn't have Epic IDs",
"date": "2026-02-01"
}
)
# Query pattern
patterns = query_patterns("When does Jeremy use NPI for provider matching?")
from notebooklm import query_notebook
# Cross-reference learned concept
docs = query_notebook(
notebook="Epic Orders HOD",
query="phantom defaults in OCC"
)
# Compare Jeremy's explanation vs documentation
compare_understanding(jeremy_explanation, docs)
State tracked in references/learning-state.json:
{
"domains": {
"orderset_builds": {
"strength": "beginner",
"concepts_learned": 12,
"solutions_captured": 5,
"last_updated": "2026-02-01T20:00:00Z",
"knowledge_gaps": ["Preference list cascading logic"]
}
},
"recent_learnings": [
{
"date": "2026-02-01",
"concept": "Phantom defaults in OCC",
"source": "solution_capture",
"confidence": "high"
}
],
"global_knowledge_gaps": [
"Bridges configuration details",
"HL7 segment ordering rules"
],
"settings": {
"daily_review_time": "18:00",
"max_questions_per_session": 2,
"min_question_interval_minutes": 30
}
}
User: "Finally got that VersaCare interface working!"
Agent: "Can I capture how you solved this for learning?"
User: "Sure"
Agent runs capture_solution.py:
- What was the problem? → Provider matching failed
- How did you approach it? → Checked NPI vs internal ID mapping
- Why NPI over internal ID? → External system doesn't have Epic IDs
- Alternatives considered? → Custom identifier bridge
- Do differently? → Check NPI availability first next time
Agent: "✅ Captured! Tagged as Interfaces (complexity 4).
Your Interfaces domain is now Beginner (8 concepts learned)."
User: "Working on the KY orderset build today"
[30 mins later]
Agent: "Mind if I ask a quick question to learn?"
User: "Go ahead"
Agent: "When do you use redirector sections vs direct ordering in ordersets?"
User: [explains]
Agent: "Got it! Logged to Interfaces knowledge."
User: "Epic progress report"
Agent runs daily_review.py and generates summary (see format above)
SKILL.md — This filereferences/learning-state.json — Current learning progressreferences/epic-domains.md — Domain taxonomy and definitionsscripts/task_closure_monitor.py — PRIMARY: WorkOS task completion monitor (webhook/polling)scripts/capture_solution.py — Guided solution capture workflowscripts/ask_question.py — Context-aware questioning logicscripts/task_closure_hook.py — Alternative task closure processingscripts/daily_review.py — Synthesis and progress trackingscripts/test_monitor.sh — Test suite for monitorscripts/test_task_closure.sh — Test suite for hookAll scripts integrate with Memory V2, Graphiti, and NotebookLM.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience