context-retrospective by jwynia/agent-skills
npx skills add https://github.com/jwynia/agent-skills --skill context-retrospective分析智能体与用户交互的对话记录,以识别上下文网络的维护需求和指导改进。提取可操作的见解,以增强网络结构和智能体指令。
从每次交互中学习。 每份对话记录都揭示了上下文中的空白、导航问题以及可以系统修复的指导问题。
寻找:
问题:
输出: 缺失的信息节点和关系缺口
寻找:
问题:
输出: 边界违规和所需的指导改进
寻找:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
问题:
输出: 导航改进和缺失的连接
寻找:
问题:
输出: 抽象级别调整和重组需求
寻找:
问题:
输出: 缺失的关系和文档需求
寻找:
问题:
输出: 指导优化和规则澄清
上下文收集
基线
按时间顺序分析
关键事件
模式识别
信息架构
指导系统
优先级排序
## 缺口:[名称]
**发现背景:**[何时/如何揭示]
**任务影响:**[如何影响完成]
**信息类型:**[领域/流程/关系/决策标准]
**建议行动:**[要添加的特定节点或关系]
**优先级:**[关键/高/中/低]
**相关缺口:**[关联的缺口]
## 问题:[名称]
**问题模式:**[发生了什么困难]
**寻找的信息:**[智能体想要什么]
**当前路径:**[智能体实际如何找到它]
**最优路径:**[它应该如何被发现]
**建议改进:**[具体变更]
**受影响的任务:**[其他哪些任务会受益]
## 指导:[模式/规则领域]
**预期行为:**[指导应产生什么]
**实际行为:**[智能体做了什么]
**偏差分析:**[为何不同]
**指导清晰度:**[当前清晰度水平]
**建议变更:**[具体修改]
**测试场景:**[如何验证]
| 模式 | 解决方案 |
|---|---|
| 重复查找相同信息 | 创建中心文档,改进链接 |
| 对文件放置感到困惑 | 通过示例增强边界指导 |
| 任务上下文分散 | 创建任务特定的入口点 |
| 未咨询上下文即做决策 | 加强“行动前咨询”指导 |
| 信息抽象级别不当 | 采用渐进式披露的多层节点 |
阶段 1:关键基础设施
阶段 2:导航增强
阶段 3:指导优化
阶段 4:优化
模式: 将交互失败归因于智能体能力而非上下文缺口。“智能体应该知道...” 失败原因: 智能体基于上下文操作。如果上下文不完整,即使能力强的智能体也会失败。指责智能体会阻碍系统性改进。 修复: 首先假设是上下文缺口。在问“为什么智能体没弄明白?”之前,先问“什么信息本可以防止这种情况?”
模式: 相信上下文网络可以捕捉一切。添加越来越多的信息,希望防止所有失败。 失败原因: 上下文网络无限增长。导航变得不可能。信噪比下降。维护变得不可持续。 修复: 专注于高影响缺口。优先处理实际导致失败的问题。在添加新信息的同时,积极移除过时信息。
模式: 修复具体问题而不识别模式。添加缺失的事实而不问为什么缺失。 失败原因: 治标不治本。同一类缺口会在其他地方出现。打地鼠式的维护。 修复: 按类型对缺口进行分类。如果缺口是“缺少关系文档”,那么修复方法是改进关系捕获,而不是添加一个关系。
模式: 进行回顾但从不实施变更。分析瘫痪或行动回避。 失败原因: 没有行动的洞察不会产生改进。积累分析而不实施浪费了分析努力。 修复: 每次回顾必须产生至少一个可操作的变更。在完成回顾前安排实施。
模式: 每次失败后添加更多规则和限制。上下文网络变成约束列表。 失败原因: 过多的指导导致瘫痪。智能体变得不敢行动。出现指导冲突。没人阅读规则。 修复: 在添加指导前,考虑移除它。先简化再复杂化。测试更清晰的边界是否比更多规则更有效。
输入:
输出:
互补:
每周安装次数
136
仓库
GitHub 星标
37
首次出现
2026年1月20日
安全审计
安装于
opencode113
gemini-cli104
codex104
claude-code97
github-copilot97
cursor91
Analyze agent-user interaction transcripts to identify context network maintenance needs and guidance improvements. Extract actionable insights for enhancing both network structure and agent instructions.
Learn from every interaction. Each transcript reveals gaps in context, navigation issues, and guidance problems that can be systematically fixed.
Look For:
Questions:
Output: Missing information nodes and relationship gaps
Look For:
Questions:
Output: Boundary violations and guidance improvements needed
Look For:
Questions:
Output: Navigation improvements and missing connections
Look For:
Questions:
Output: Abstraction adjustments and reorganization needs
Look For:
Questions:
Output: Missing relationships and documentation needs
Look For:
Questions:
Output: Guidance refinements and rule clarifications
Context Gathering
Baseline
Chronological Analysis
Critical Incidents
Pattern Recognition
Information Architecture
Guidance System
Prioritization
## Gap: [Name]
**Discovery Context:** [When/how revealed]
**Task Impact:** [How it affected completion]
**Information Type:** [Domain/Process/Relationship/Decision criteria]
**Recommended Action:** [Specific node or relationship to add]
**Priority:** [Critical/High/Medium/Low]
**Related Gaps:** [Connected gaps]
## Issue: [Name]
**Problem Pattern:** [What difficulty occurred]
**Information Sought:** [What agent wanted]
**Current Path:** [How agent actually found it]
**Optimal Path:** [How it should be discoverable]
**Recommended Improvement:** [Specific changes]
**Affected Tasks:** [What else would benefit]
## Guidance: [Mode/Rule Area]
**Expected Behavior:** [What guidance should produce]
**Actual Behavior:** [What agent did]
**Deviation Analysis:** [Why different]
**Guidance Clarity:** [Current clarity level]
**Recommended Changes:** [Specific modifications]
**Test Scenarios:** [How to validate]
| Pattern | Solution |
|---|---|
| Repeatedly seeks same info | Create hub document, improve linking |
| Confusion about file placement | Enhance boundary guidance with examples |
| Task context scattered | Create task-specific entry points |
| Decisions without consulting context | Strengthen "consult before action" guidance |
| Info not at right abstraction | Multi-layered nodes with progressive disclosure |
Phase 1: Critical Infrastructure
Phase 2: Navigation Enhancement
Phase 3: Guidance Refinement
Phase 4: Optimization
Pattern: Attributing interaction failures to agent capability rather than context gaps. "The agent should have known..." Why it fails: Agents operate from context. If context is incomplete, even capable agents fail. Blaming agents prevents systemic improvement. Fix: Assume context gaps first. Ask "what information would have prevented this?" before "why didn't the agent figure it out?"
Pattern: Believing context networks can capture everything. Adding more and more information hoping to prevent all failures. Why it fails: Context networks grow without bound. Navigation becomes impossible. Signal-to-noise ratio degrades. Maintenance becomes unsustainable. Fix: Focus on high-impact gaps. Prioritize what actually caused failures. Remove outdated information as aggressively as you add new.
Pattern: Fixing the specific issue without identifying the pattern. Adding a fact that was missing without asking why it was missing. Why it fails: Treats symptoms, not causes. The same class of gap will appear elsewhere. Whack-a-mole maintenance. Fix: Classify gaps by type. If the gap is "missing relationship documentation," the fix is improving relationship capture, not adding one relationship.
Pattern: Running retrospectives but never implementing changes. Analysis paralysis or action avoidance. Why it fails: Insight without action produces no improvement. Accumulating analysis without implementation wastes the analysis effort. Fix: Every retrospective must produce at least one actionable change. Schedule implementation before finishing retrospective.
Pattern: Adding more rules and restrictions after every failure. Context networks become constraint lists. Why it fails: Excessive guidance produces paralysis. Agents become afraid to act. Guidance conflicts emerge. Nobody reads the rules. Fix: Before adding guidance, consider removing it. Simplify before complexifying. Test if clearer boundaries achieve more than more rules.
Inbound:
Outbound:
Complementary:
Weekly Installs
136
Repository
GitHub Stars
37
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode113
gemini-cli104
codex104
claude-code97
github-copilot97
cursor91
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
50,900 周安装