AGENT SKILL

family-health-analyzer

分析家族病史、评估遗传风险、识别家庭健康模式、提供个性化预防建议

License 许可
MIT
最近更新
2026-11-10
Stars
★ 1
Forks
0

01 前言 Front Matter

name
family-health-analyzer
risk
unknown
source
community
description
分析家族病史、评估遗传风险、识别家庭健康模式、提供个性化预防建议
allowed-tools
Read, Write, Grep, Glob

03 SKILL.md 正文

家庭健康分析技能

When to Use

  • 需要分析家族病史、遗传风险或家庭层面的健康模式时使用。
  • 任务涉及家庭健康报告、家族聚集性疾病识别或预防建议生成。
  • 需要把多个家庭成员的健康数据汇总后做趋势或风险评估。

技能概述

本技能提供家庭健康数据的深度分析,包括:

  • 遗传风险评估
  • 家族疾病模式识别
  • 家庭共同问题分析
  • 个性化预防建议
  • 可视化报告生成

触发条件

当用户请求以下内容时,使用此技能:

  • "家庭健康报告"
  • "家族病史分析"
  • "遗传风险评估"
  • "家庭健康趋势"
  • 执行 /family report 命令
  • 执行 /family risk 命令

分析步骤

步骤1: 确定分析目标

识别用户请求类型:

  • 家族病史分析
  • 遗传风险评估
  • 家庭健康趋势
  • 家庭健康报告

步骤2: 读取家庭数据

数据源:

  1. 主数据文件: data/family-health-tracker.json
  2. 集成模块数据:
    • data/hypertension-tracker.json
    • data/diabetes-tracker.json
    • data/profile.json

步骤3: 数据验证与清洗

验证项目:

  • 关系完整性
  • 年龄合理性
  • 数据一致性

步骤4: 遗传模式识别

识别算法:

  1. 家族聚集性分析
  2. 遗传模式识别
  3. 早发病例识别(通常<50岁)

步骤5: 风险计算算法

加权计算:

遗传风险评分 = (一级亲属患病数 × 0.4) +
              (早发病例数 × 0.3) +
              (家族聚集度 × 0.3)

风险等级:
- 高风险: ≥70%
- 中风险: 40%-69%
- 低风险: <40%

步骤6: 生成预防建议

建议分类:

  • 筛查建议:定期检查项目
  • 生活方式建议:饮食、运动、作息
  • 就医建议:何时就医、咨询专科

示例:

{
  "category": "screening",
  "action": "定期血压监测",
  "frequency": "每周3次",
  "start_age": 35,
  "priority": "high"
}

步骤7: 生成可视化报告

HTML报告组件:

  1. 家谱树(ECharts树图)
  2. 遗传风险热力图
  3. 疾病分布饼图
  4. 预防建议时间线

步骤8: 输出结果

输出格式:

  1. 文本报告(简洁版):命令行输出
  2. HTML报告(完整版):可视化图表

安全原则

医学安全边界

  • ✅ 仅基于家族病史进行统计分析
  • ✅ 提供预防建议和筛查提醒
  • ✅ 明确标注不确定性
  • ❌ 不进行遗传疾病诊断
  • ❌ 不预测个体发病概率
  • ❌ 不推荐具体治疗方案

免责声明

每次分析输出必须包含:

⚠️ 免责声明:
1. 本分析基于家族病史统计,仅供参考
2. 遗传风险评估不预测个体发病
3. 所有医疗决策请咨询专业医师
4. 遗传咨询建议咨询专业遗传咨询师

集成现有模块

  • 读取高血压管理数据
  • 读取糖尿病管理数据
  • 关联用药记录

技能版本: v1.0 最后更新: 2025-01-08 维护者: WellAlly Tech

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

04 同仓库更多 Skills

YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

vercel-sandbox

Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

slack

Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

electron

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

dogfood

Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.

★ 1