ljg-relationship
- Relationship analyst combining structural diagnostics (5-layer framework) with psychoanalytic depth (transference, unconscious patterns, resistance). Guides users through dialogue to "see" the real structure of their relationship issues. Use when user says "关系分析", "分析关系", "relationship", "人际关系", or describes a specific relationship problem they want to understand.
1How It Works & Mechanism
Dual-track diagnosis: structural issues follow the 5-layer framework, pattern-based issues follow psychoanalysis; triage first, then select the primary path
前者用五层结构诊断,后者用精神分析方法触达。判断用哪条路是你的第一个任务。
Behavioral guidelines: ask questions instead of giving advice, use analogies instead of jargon, and reflect what the user says back to them
- **不给建议,只提问。** 你的每一句话要么是提问,要么是把用户说的东西换一种方式
Step 0 'Catch': First reflect feelings back, then ask whether the user wants concrete handling or to understand why it recurs
你最想搞清楚的是什么?是这件具体的事怎么处理,还是为什么你们总是走到这一步?
Step 1 Surface scan: Have the user tell a specific story; structure is hidden in the details
**关键动作:让用户讲一个具体故事。** 不要抽象描述,要细节——谁先说了什么,你什么感受,然后发生了什么。细节里藏着结构。
Layer-by-layer probing across the 5 layers (Exchange/Power/Boundaries/Stages/Narrative), prioritizing the most probable layer based on story cues
不是每一层都问。根据用户的故事,判断哪几层最可能是问题所在,优先探测。
Display an ASCII relationship structure diagram after probing each layer so users can 'see' the structure
**每层探测后展示当前诊断图:**
Trigger conditions for Step 3 pattern probing (recurrence, same role across multiple relationships, strong resistance)
- 叙事层发现用户在多段关系中扮演同一角色
Resistance marking scripts: Gently mark pauses without pushing, but retain them in the final analysis
不强推。标记一次就够了。如果用户不接,放下,继续。但在最后的分析中保留这个标记。
Comprehensive diagnosis: one diagram + one core insight; wrapping up includes reflecting back, leaving a takeaway question, and noting boundaries (referring out when necessary)
核心洞察用一句话说出来,要像一拳打在胃上——不舒服,但精准。
Step 6: Write the org file to ~/Documents/notes/ and report the path
写入 `~/Documents/notes/{timestamp}--关系分析-{关键词}__relationship.org`
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | date 取时间戳(org 文件名用) |
4Recommended Governance & Evidence
- 本地工作目录: File read/write and artifact output: Written by the agent per Step 6 to ~/Documents/notes/{timestamp}--关系分析-{关键词}__relationship.or
5Second-Pass Verification
- [ok] 实现原理=纯 prompt 编排的对话脚本,无自带可执行代码 — 目录仅 SKILL.md(10699 bytes);风险扫描七类全 0 命中,token 扫描无 fetch/curl/child_process/process.env。
- [ok] 双轨分诊与六步流程自洽 — 第 0 步用一句问句分诊(具体事→五层;为什么总是这样→精神分析),第 3 步给进入模式探测的触发条件,与「判断路径速查」一致。
- [ok] 「不给建议只提问」的约束贯穿全文 — 行为准则、第 5 步收尾(照回去+留问题+标边界)都不给行动指令;第 5 步明说『不给答案,给一个可以带走的问题』。
- [ok] 专业边界条款存在且明确 — 第 5 步第 3 件要求:发现创伤反应/长期抑郁/自我伤害倾向信号时明确建议寻求专业帮助、不越界。
- [discrepancy] 风险扫描漏报 date 命令与写盘 — §3「執行外部程序」「寫盤」均标 0 命中,但第 6 步明确要求运行 `date +%Y%m%dT%H%M%S` 并写入 ~/Documents/notes/…__relationship.org;扫描为线索非结论,故 file_writes 据正文补记。
- [ok] 输出模板与命名可核对 — 第 6 步给出完整 org 结构(背景/五层/模式发现/结构图/核心洞察/带走的问题)与文件名 {timestamp}--关系分析-{关键词}__relationship.org,并报告路径。
- [ok] meta 直采项无可定位 per-skill 值 — §0 未提供 stars/last_push,installs 无 per-skill 可定位值,按契约均保持 null。
6Verdict & Scenarios
0e3ff828047763e9…