wrj-warehouse-self-evolution-skill

AI self-evolution engine. Monitors the user's workflow and proactively asks at key points whether an experience was gained; if confirmed, it summarizes the workflow into structured experience, analyzes and classifies it, and stores it into the corresponding sub-Skill memory, forming a continuous self-improvement loop. This Skill automatically activates for pre-development decision tasks such as brainstorming and feasibility analysis.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "wrj-warehouse-self-evolution-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3870de160fd16623b0b403ab8ba4a9425d9328b2072688862408d7fc75111d92. Verify the upstream source and version against https://skillhub.cn/skills/user_7d1579ca/wrj-warehouse-self-evolution-skill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

AI self-evolution engine. Monitors the user's workflow and proactively asks at key points whether an experience was gained; if confirmed, it summarizes the workflow into structured experience, analyzes and classifies it, and stores it into the corresponding sub-Skill memory, forming a continuous self-improvement loop. This Skill automatically activates for pre-development decision tasks such as brainstorming and feasibility analysis.

0 Downloads

Introduction source: third_party · user_7d1579ca · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: self-evolution
description: "AI自我进化引擎。监控用户工作过程,在关键节点主动询问是否有经验收益,若用户确认有收益则将工作过程总结为结构化经验,分析经验类别后分类存储到对应的子Skill记忆库中,形成持续进化的闭环系统。此Skill在用户进行软件开发前置决策(脑力风暴、可行性论证)等任务时自动激活。"
agent_created: true

Self-Evolution Engine

Overview

自我进化引擎是一个闭环系统,使AI能够从用户的工作过程中持续积累经验,并将经验分类存储为可复用的知识库。核心循环为:监控工作 → 判断收益 → 总结经验 → 分类存储 → 检索复用 → 持续进化。

当前聚焦于软件开发的第一阶段——项目前置决策(脑力风暴 → 可行性论证),因为这是软件项目成败的最关键环节。

Core Loop

Phase 1: Monitor (监控工作)

激活后进入被动监控状态,观察用户当前的工作内容和任务上下文。不主动打扰用户,但持续记录:

  • 当前任务类型(脑力风暴 / 可行性论证 / 需求设计 / 编码 / ...)
  • 任务输入(项目需求描述、问题陈述)
  • AI参与的工作内容(方案生成、风险评估、技术选型等)
  • 关键决策点(用户选择了什么方案、放弃了什么方案)
  • 工作产出(报告、文档、代码等)

Phase 2: Check Gain (判断收益)

在以下时机主动插入提问,询问用户是否有经验收益:

  • 一个任务阶段完成时(如脑力风暴结束、可行性报告产出)
  • 用户主动表示完成了某个里程碑
  • 每日工作结束时

提问格式:

刚才这段工作有没有给你带来经验上的收益?比如学到了新方法、发现了坑、验证了某个判断等。如果有,简单说说是什么。

分支逻辑:

  • 用户表示有收益 → 进入 Phase 3
  • 用户表示无收益 → 回到 Phase 1 继续监控
  • 用户分享经验内容 → 直接进入 Phase 3,跳过总结步骤

Phase 3: Summarize (总结经验)

将本次工作过程提炼为结构化经验。经验条目格式如下:

experience_id: <自动生成,格式 exp_YYYYMMDD_NNN>
date: <日期>
task_type: <脑力风暴 | 可行性论证 | 需求设计 | 详细设计 | 编码 | 其他>
project_context: <项目简述>
scene: <什么场景下遇到的>
problem: <具体什么问题或挑战>
solution: <怎么解决的 / 什么方案>
outcome: <结果如何,成功/失败/部分有效>
applicable_conditions: <什么情况下可以复用这条经验>
source: <来源:用户分享 | AI观察总结>

总结原则:

  • 提取的是"经验教训",不是"工作流水账"
  • 一段工作可能产生多条经验,分别独立存储
  • 如果用户已分享经验内容,在此基础上结构化补充,不要丢失用户原意

Phase 4: Classify & Store (分类存储)

分析经验条目的 task_type 和内容特征,将其分类存储到对应的子Skill记忆库中。

当前的经验类别(对应子Skill):

经验类别 子Skill 存储路径 说明
方案模式 exp-pattern-library ~/.workbuddy/skills/exp-pattern-library/ 什么类型的项目适合什么方案
风险预判 exp-risk-library ~/.workbuddy/skills/exp-risk-library/ 哪些风险后来真实发生
决策校准 exp-calibration-library ~/.workbuddy/skills/exp-calibration-library/ 当初判断 vs 实际结果的偏差
通用经验 exp-general-library ~/.workbuddy/skills/exp-general-library/ 不属于上述类别的其他经验

分类规则:

  1. 读取经验条目的 task_type、scene、problem、solution 字段
  2. 按以下优先级判断类别:
    • 涉及"方案选择/技术选型/架构决策" → exp-pattern-library
    • 涉及"风险/坑/失败/踩坑/问题" → exp-risk-library
    • 涉及"判断偏差/预估不准/结果出乎意料" → exp-calibration-library
    • 以上都不匹配 → exp-general-library
  3. 将经验条目追加到对应子Skill的 references/experiences.md 文件中
  4. 更新子Skill的 references/index.md 索引,记录经验条目的id、摘要和关键词,便于检索

Phase 5: Retrieve & Reuse (检索复用)

在下次执行同类任务时,主动检索经验库:

  1. 识别当前任务类型和场景
  2. 到对应的子Skill中搜索相关经验(通过 references/index.md 匹配关键词)
  3. 将匹配的经验作为上下文注入当前任务,指导方案生成和风险预判
  4. 在产出中体现"基于过往经验"的决策,标注引用了哪些经验条目

Phase 6: Evolution Log (进化日志)

本阶段是自我进化实验的核心数据采集环节。每次因经验积累导致Skill修复时,必须记录完整的变更过程,形成可追溯的进化轨迹。

触发条件: 当 Phase 3-4 的经验总结直接导致了对某个Skill的修改(新增内容、修改逻辑、修复问题)时,自动进入 Phase 6。

日志记录格式:

evolution_id: <自动生成,格式 evo_YYYYMMDD_NNN>
date: <日期>
skill_name: <被修改的Skill名称>
trigger_experience_ids: <触发本次修改的经验ID列表>
trigger_context: <什么场景下触发的,一句话>

problem_before: |
  修改前的问题描述 — 具体哪里不行,用户反馈了什么

change_detail: |
  具体改了什么:
  - 修改的文件路径
  - 新增/修改/删除了什么内容
  - 修改前 vs 修改后的对比

verification: |
  修改后的验证结果:
  - quick_validate是否通过
  - 预期效果是什么

before_score: <修改前的用户评分,如有>
after_score: <修改后的用户评分,待下次验证时填入,初始为null>
status: <pending_verification | verified | failed>

日志存储位置: ~/.workbuddy/skills/self-evolution/evolution-log/ 目录下,按Skill名分文件:

文件 说明
evolution-log/brainstorm.md brainstorm Skill的进化日志
evolution-log/self-evolution.md self-evolution Skill自身的进化日志
evolution-log/index.md 所有Skill进化日志的索引,记录每次进化的ID、日期、摘要

日志记录原则:

  1. 只记录"因经验触发的修改",不记录常规的内容润色
  2. problem_before 和 change_detail 必须具体到可回溯的程度
  3. after_score 初始为null,等下次用修改后的Skill执行任务并得到用户评分时回填
  4. status 流转:pending_verification →(下次验证后)→ verified 或 failed
  5. 如果验证结果为 failed,说明修复没生效,需要回到 Phase 3 重新总结经验

进化轨迹可视化:

进化日志的最终目的是形成一条可追溯的进化轨迹:

v0(初始版本) → 问题发现(评分20) → 经验沉淀 → Skill修复(v1) → 再验证(评分?) → ...

这条轨迹就是论文的核心实验数据——证明AI确实在进化,且每次进化都有据可查。

Workflow

[Skill激活]
    │
    ▼
[Phase 1: 监控工作] ◄────────────────────┐
    │                                     │
    ▼                                     │
[Phase 2: 询问收益]                       │
    │                                     │
    ├─ 无收益 ────────────────────────────┘
    │
    ├─ 有收益
    │     │
    │     ▼
    │  [Phase 3: 总结经验]
    │     │
    │     ▼
    │  [Phase 4: 分类存储到子Skill]
    │     │
    │     ▼
    │  [Phase 5: 下次任务时检索复用]
    │     │
    │     ├─ 经验未触发Skill修改 ─────────┘
    │     │
    │     ├─ 经验触发了Skill修改
    │     │     │
    │     │     ▼
    │     │  [Phase 6: 记录进化日志]
    │     │     │
    │     │     ▼
    │     │  [下次任务验证修改效果]
    │     │     │
    │     │     ├─ 验证通过 → verified ──┐
    │     │     │                         │
    │     │     └─ 验证失败 → 回Phase 3   │
    │     │                               │
    │     └───────────────────────────────┘
    │
    └─── 循环进化

Current Focus: Software Pre-Decision Stage

当前实验聚焦于软件开发的第一阶段(项目前置决策),包含:

  1. 脑力风暴 — 方案发散、技术路线探索
  2. 可行性论证 — 风险评估、方案收敛、Go/No-Go决策

选择此阶段的原因:

  • 99.99%的软件项目失败源于前期决策错误,第一步错了后面步步错
  • 此阶段的经验(方案选择、风险预判)具有高复用价值
  • 此阶段的经验质量可事后验证(项目结果证明判断是否正确)

Sub-Skills

本Skill作为总控调度器,依赖以下子Skill存储经验:

  • exp-pattern-library — 方案模式经验库
  • exp-risk-library — 风险预判经验库
  • exp-calibration-library — 决策校准经验库
  • exp-general-library — 通用经验库

子Skill的创建和管理由本Skill在首次存储经验时自动触发。

References

references/experience-format.md

经验条目的详细格式说明和示例。

references/classification-rules.md

经验分类规则的详细说明和边界case处理。

Notes

  • 本Skill是自我进化实验的核心组件,实验数据将用于论文撰写
  • 实验设计:对比"有经验积累的AI" vs "无经验积累的AI"在脑力风暴和可行性论证任务中的表现差异
  • 评估维度:方案合理性、风险覆盖度、决策准确度

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 聚焦软件开发前置决策这一高价值场景,直击项目成败关键痛点
  • 设计完整的自我进化闭环:监控→判断→总结→存储→复用→验证
  • 经验分类体系清晰,支持多维度知识沉淀与检索复用
Trigger Precision88/100

Highlights

  • 触发场景明确限定于'软件开发前置决策(脑力风暴、可行性论证)'
  • description 位置正确且内容完整,无截断或错位
Structure and Standards94/100

Highlights

  • 六阶段核心循环设计清晰,Phase 划分合理且有出口条件
  • 包含完整的工作流图示、子Skill说明和 References 引用
  • frontmatter 完整,文档结构规范,易于理解与执行
Execution Reliability76/100

Areas to improve

  • 子Skill目录自动创建机制缺失 Reported severity: Minor

    文档提到'子Skill的创建和管理由本Skill在首次存储经验时自动触发',但未说明具体如何实现目录创建,存在首次运行失败风险

    Recommendation: 在 Phase 4 中补充子Skill目录不存在时的自动创建逻辑,确保经验存储路径可写

  • 文件操作异常处理未覆盖 Reported severity: Minor

    经验存储和进化日志写入操作未提及异常处理机制(如磁盘满、权限不足、文件锁等)

    Recommendation: 在 Phase 4 和 Phase 6 中增加文件写入失败的兜底处理,如重试机制或用户提示

Highlights

  • 经验条目格式标准化(YAML),便于结构化存储与解析
  • 进化日志设计完整,支持可追溯的变更记录与验证状态流转
  • 分类规则优先级明确,覆盖主要经验类型
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.