AGENT SKILL

loop-me

在本工作区内对我进行拷问,打磨出我想构建的工作流的规格。

License 许可
MIT
所属仓库
luestr/skills
最近更新
2026-11-14
Stars
★ 94
Forks
1

01 前言 Front Matter

name
loop-me
metadata
{ "language": "zh-CN", "argument-hint": "要设计的工作流;没有就去找一个", "disable-model-invocation": true }
description
在本工作区内对我进行拷问,打磨出我想构建的工作流的规格。

02 资源文件 1

03 SKILL.md 正文

运行一场有状态的 /grilling 会话,唯一产出是工作流规格。运用拷问纪律(不留情面、一次一轮问题、每个问题都附上推荐答案),对准下面的词汇与目标。拷问每敲定一件事,就相应地创建、编辑、删除规格。

循环的视角

一个循环是用户生活中反复出现的模式:职业生涯、一周、一个早晨、某项重复进行的活动。把生活想象成循环之中套着循环,就能看清其中的活动实际上有多可预测,而这正是它们值得委派的原因。用这个视角找出值得写规格的循环,并提出用户自己还没注意到的循环。

一个工作流是一个循环的规格,化为现实。你让工作流运行在一个循环上:循环就是它运行中的实例。工作流存放在 workflows/*.md,是事实来源。

词汇

一套共享语言,只在工作流需要时才取用:绝不是核对清单。不要强加任何结构性要求:除非拷问表明需要,否则一个工作流不需要 AI、不需要检查点、也不需要日程。

  • 触发器:每次运行的起因,可以是一个事件(新邮件、新 issue),也可以是一个日程(每天早上)。事件触发通常更高效。
  • 检查点:一个需要人在回路(human-in-the-loop)的节点,请用户核实或决策。有些工作流没有检查点,完全自主运行;有些则根本不用 AI。
  • 向右推(push right):把检查点往后推到极限。在让人类介入之前做尽可能多的工作,这样只需在最晚的时候问他们一次,而一切都已备好。
  • 简报:检查点呈现的内容,一份紧凑、可直接用于决策的摘要(产出了什么、为什么,以及指向产物本身的链接),绝不是原始输出。用户读的是简报,不是草稿。评审速度至关重要。

完成判据(Definition of done)

当一个实现者 Agent 能够不提出任何问题就把它构建出来时,一个工作流规格才算完成。在那之前一直拷问;只要还有一个问题悬而未决,就什么都没完成。

工作区

  • workflows/*.md:每个工作流一份规格。
  • NOTES.md:关于用户所处世界、他们使用的工具、他们处理的渠道,以及他们对这两者的自有叫法的原始笔记。当它为空或内容单薄时,先就他们的世界做访谈,再写任何规格。模糊的说法一出现,就把它们打磨成规范术语,并记录在这里。

04 同仓库更多 Skills

luestr
luestr/skills

write-ublock-origin-filters

完整的 uBlock Origin (uBO) 静态过滤语法参考。编写 uBlock Origin 自定义过滤规则时使用此技能,涵盖广告拦截、隐私保护或内容过滤。包含基础网络过滤模式(||、*、^、|)、所有网络过滤选项($domain、$third-party、$important、$redirect、$removeparam、$csp、$replace、$header、$method、$denyallow、$badfilter、$all 等)、内容类型选项($script、$image、$stylesheet、$font、$media、$xhr、$popup、$document、$frame 等)、元素隐藏规则(## 选择器、实体匹配、主机名正则)、过程式元素隐藏过滤器(:has、:has-text、:matches-css、:upward、:xpath、:matches-path、:watch-attr 等)、动作操作符(:remove、:style、:remove-attr、:remove-class)、HTML 过滤器(##^)、响应头过滤(##^responseheader)、脚本注入(##+js())以及预处理指令(!#include、!#if)。当用户提到 uBlock Origin 过滤规则、uBO 语法、广告拦截规则、元素隐藏规则、过程式选择器、脚本注入或希望编写/调试任何 uBO 兼容过滤列表时触发。即使用户只是在编写或调试 uBlock Origin 过滤规则、创建自定义过滤列表或从 AdBlock Plus/AdGuard 迁移过滤规则到 uBO,也应使用此技能。

★ 94
luestr
luestr/skills

write-ublock-origin-filters

Complete uBlock Origin (uBO) static filter reference. Use this skill when writing or debugging uBO custom filters or filter lists for ad blocking, privacy or content filtering, or when migrating filters from AdBlock Plus/AdGuard. Covers network patterns (||, *, ^, |) and options ($domain, $third-party, $important, $redirect, $removeparam, $csp, $replace, $header, $method, $badfilter, $all), content-type options ($script, $image, $stylesheet, $font, $media, $xhr, $popup, $document, $frame), cosmetic filters (##, CSS selectors, entity matching), procedural filters (:has, :has-text, :matches-css, :upward, :xpath, :matches-path, :watch-attr), action operators (:remove, :style, :remove-attr), HTML filters (##^), response-header filtering (##^responseheader), scriptlet injection (##+js()), and pre-parsing directives (!#include, !#if). Trigger whenever the user mentions uBO syntax, ad blocking rules, element hiding, procedural selectors, scriptlet injection, or a uBO-compatible filter list.

★ 94
luestr
luestr/skills

write-tampermonkey-scripts

引导 AI 代理规划、编写、调试、测试和维护 Tampermonkey 用户脚本。当用户请求用户脚本、浏览器页面自动化、DOM 增强、Tampermonkey 元数据、GM_* API、@match、@grant、@run-at、@connect、跨源请求、SPA 页面集成或脚本注入任务时使用此技能,即使用户没有明确提及 Tampermonkey。

★ 94
luestr
luestr/skills

write-tampermonkey-scripts

Guide an AI agent through planning, writing, debugging, testing, and maintaining Tampermonkey userscripts. Use this skill whenever a user asks for a userscript, browser-page automation, DOM enhancement, Tampermonkey metadata, GM_* API, @match, @grant, @run-at, @connect, cross-origin request, SPA page integration, or script injection task, even when Tampermonkey is not named explicitly.

★ 94
luestr
luestr/skills

write-adguard-filters

编写 AdGuard 自定义过滤规则时使用此技能。涵盖基本规则语法、所有修饰符($domain/$third-party/$important/$redirect/$replace/$removeparam/$cookie/$csp 等)、外观规则(元素隐藏/CSS/Extended CSS 选择器)、HTML 过滤、JavaScript/脚本片段规则、非基本规则修饰符、预处理器指令和调试技巧。当用户提及 AdGuard 过滤规则、广告拦截规则语法、过滤器列表编写、ABP 语法兼容、元素隐藏规则、Extended CSS 选择器(:has/:contains/:matches-css 等)时触发。即使用户只是在编写或调试任何类型的广告过滤规则,也应使用此技能。

★ 94
luestr
luestr/skills

write-adguard-filters

Complete AdGuard filtering rules syntax reference. Use this skill when writing AdGuard custom filters. Covers basic rule syntax, all modifiers ($domain/$third-party/$important/$redirect/$replace/$removeparam/$cookie/$csp etc.), cosmetic rules (element hiding/CSS/Extended CSS selectors), HTML filtering, JavaScript/scriptlet rules, non-basic rule modifiers, preprocessor directives, and debugging. Trigger when user mentions AdGuard filtering rules, ad blocking rule syntax, filter list authoring, ABP syntax compatibility, element hiding rules, Extended CSS selectors (:has/:contains/:matches-css etc.). Use this skill even when the user is just writing or debugging any type of ad filtering rules.

★ 94