Deterministic external-memory execution loop using rules/goal/plan/progress/notes/lessons with strict preflight,...
Deterministic external-memory execution loop using rules/goal/plan/progress/notes/lessons with strict preflight, one-step execution, and measurable lesson quality gates.
Run execution from external state files only.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: memory-driven-execution-loop
description: Deterministic external-memory execution loop using rules/goal/plan/progress/notes/lessons with strict preflight, one-step execution, and measurable lesson quality gates.
---
# Memory-Driven Execution Loop
Run execution from external state files only.
## Required Files
- `rules.md`
- `goal.md`
- `plan.md`
- `progress.md`
- `notes.md`
- `lessons.md`
## Strict Loop
1. Read `rules.md` first.
2. Read all other memory files.
3. Validate one clear next action.
4. Write reasoning in notes.
5. Execute one step only.
6. Update progress and notes.
7. Convert failures into lessons.
## Timed Task Rule
If user specifies duration (e.g., 30 minutes):
- satisfy wall-clock duration first
- never substitute with output count
- completion requires start/end/elapsed proof
## Lesson Quality Gate (Universal but actionable)
Every universal lesson must include:
- Trigger
- Action
- Metric/threshold
- Boundary conditions
- At least 2 cross-field examples
Missing fields => lesson invalid.
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。