learn-rule
仓库创建 2026年2月2日最近提交 6 天前SkillHot 收录 20 天前
▸ 精选理由
便于将经验转为长期记忆,提升后续交互一致性与自动化纪律。
▸ 风险提示
会将敏感会话内容写入永久存储,存在隐私风险。
这个 Skill 做什么
将当前会话中的纠错与教训保存为持久化的学习规则并分类检索。
把对话中的纠错或教训记录成持久化的学习规则,包含错误类型、正确做法和分类标签,便于下次会话自动参考。适合在识别到错误或用户要求“记住/不要再犯”时使用,会把零散的改进点结构化保存并支持检索。特点是让系统逐步记住团队偏好和常见错误,减少重复失误并提升长期一致性。
▸ 展开 SKILL.md 英文原文
Capture a correction or lesson as a persistent learning rule with category, mistake, and correction. Stores, categorises, and retrieves rules for future sessions. Use after mistakes or when the user says "remember this", "don't forget", "note this", or "learn from this".
2.7k
Stars
257
Forks
40
仓库内 Skill
+55
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/learn-rule/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/learn-rule/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Learn Rule Capture a lesson from the current session into permanent memory. ## Trigger Use when the user says "remember this", "add to rules", "don't do that again", or after a mistake is identified. ## Workflow 1. Identify the lesson — what mistake was made? What should happen instead? 2. Format the rule with full context. 3. Propose the addition and wait for user approval. 4. After approval, persist to LEARNED section or project memory. ## Format ``` [LEARN] Category: One-line rule Mistake: What went wrong Correction: How it was fixed ``` ### Wiki-scoped rules Append `Wiki: <slug>` to bind the rule to a single pro-workflow wiki. The rule loads only when that wiki is in scope, av
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有