Agent skill · operations · aiskillstore

flow-attention-refresh

注意力刷新协议。在关键时刻强制读取核心文档,防止目标遗忘。被 flow-dev, flow-ralph 等命令引用。

Why this skill is useful

Adds structured protocols for attention refresh that guide users through critical decision-making moments, enhancing focus and reducing errors.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Flow Attention Refresh - 注意力刷新协议 Overview 解决 "Lost in the Middle" 效应:当上下文过长时,原始目标被"推出"注意力窗口。 The Iron Law Refresh Protocols Protocol 1: Flow Entry (每个 flow- 命令开始) 触发点: 任何 /flow- 命令的 Entry Gate 动作: 实现: 已由现有 Brainstorm Alignment Check 覆盖 --- Protocol 2: Task Start (flow-dev 每个任务开始) 触发点: flow-dev TDD 循环中,每个任务执行前 动作: 实现位置: flow-dev.md 阶段 3 TDD 循环 代码片段: --- Protocol 3: Ralph Iteration (Ralph 循环每次迭代) 触发点: /flow-ralph 每次迭代开始 动作: 实现位置: flow-ralph.md Ralph Loop 开始处 代码片段: --- Protocol 4: Error Recovery (遇到错误后) 触发点: 测试失败、构建错误、运行时异常后 动作: 实现位置: flow-tdd skill 错误处理部分 代码片段: --- Integration Map Rationalization Prevention Excuse Reality -------- --------- "我记得目标是什么" 上下文 50+ 工具调用后,你真的不记得了 "读文件浪费时间" 读文件 < 1秒,返工 > 10分钟 "这个任务很简单" 简单任务也会偏离目标 "刚刚读过了" 每次迭代都要读,这是协议 Red Flags - STOP 如果你发现自己: 开始任务前没有读取 TASKS.md 遇到错误后没有先记录 ERRORLOG.md Ralph 循环中忘记读取上次错误 做决策时没有参考 BRAINSTORM.md STOP。执行对应的 Protocol。 --- [PROTOCOL]: 变更时更新此头部,然后检查 CLAUDE.md

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/flow-attention-refresh

View the source on GitHub

Browse the @skills marketplace