eval
Capture task quality signals and log them to agent memory to build a feedback loop. Use at the end of each implemented task or merged PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capture task quality signals and log them to agent memory to build a feedback loop. Use at the end of each implemented task or merged PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Update CHANGELOG.md and package.json via compiled release_bump harness, then commit/push only when the user asks. Use for /release, changelog updates, or shipping gallery versions.
Works in image-scoring-gallery on electron/db.ts contract, IPC, apiService, React/Vite, and alignment with sibling image-scoring-backend schema. Use for desktop app bugs, database.engine modes, API URL/port from webui.lock, or TypeScript changes under electron/ or src/. Triggers include Electron gallery, db.ts, IPC, apiService, config.api, PostgreSQL vs api engine, and Vite renderer.
React component patterns, CSS Modules styling, design tokens, virtualization, and UX constitution for the Driftara Gallery renderer. Use for src/ UI work, styling, FilterPanel/GalleryGrid/ImageViewer, or design:check—not electron/db unless coordinated with gallery-electron-ts.
Verify implementation against spec AC-n criteria via compiled harness. Use after /implement or /test-and-fix, before /pr-ready. Parses ACs and emits the report; LLM assigns Verified/Failed/Unknown when evidence is not a clean command exit.
Use before claiming work is complete, fixed, passing, ready to commit, or ready for PR. Runs scripts/agent_skills/verification_before_completion.py for the claim→proof catalog; LLM interprets output. Never upgrade incomplete verification.
Driftara Gallery MCP — is-ui-* router-first; backend triage via sibling is-be-mcp search+dispatch.
| name | eval |
| description | Capture task quality signals and log them to agent memory to build a feedback loop. Use at the end of each implemented task or merged PR. |
Eval design — building feedback loops with verifiable signals — is a core agentic skill. Run this at the end of each implemented task or merged PR so that what worked (and what didn't) becomes durable, queryable agent memory instead of being lost between sessions.
/implement finishes and tests are green.Collect these verifiable signals for the task you just finished:
| Signal | Values | How to measure |
|---|---|---|
test_pass_rate | yes / partial / no | Did the test suite (or the task's failing stubs) end fully green? partial = some still red/skipped. |
first_try_success | yes / no | Did the implementation pass its tests on the first run, with no rework cycle? |
iteration_count | integer (≥ 1) | Number of implement→test→fix cycles before done. |
Use the signals to decide what to remember and how confident to be:
| Outcome | Memory candidate type | Confidence |
|---|---|---|
| First-try success, all tests green | successful_pattern | high |
| More than 2 iterations to finish | recurring_issue | medium |
| Tests were missing (no stubs existed before implementation) | working_rule | high |
Write the candidate as a concise, factual statement (active voice), e.g.:
successful_pattern: "IPC handlers in electron/main.ts are fastest to land when the
failing stub is written in electron/__tests__ first."recurring_issue: "database.engine: api changes repeatedly break because the SQL
shape isn't validated against the backend contract before coding."working_rule: "Always author a failing test stub for new db.ts query helpers
before implementing — tasks that skipped this needed 3+ iterations."Persist the candidate so future sessions can retrieve it. Example logging call:
/log-session --candidate \
--type successful_pattern \
--confidence high \
--signals "test_pass_rate=yes,first_try_success=yes,iteration_count=1" \
--note "IPC handler tasks land first-try when the failing stub is written first."
In this repo the durable store is the Memory MCP knowledge graph (see the
memory-mcp skill). If /log-session is not wired up, equivalently call the Memory
MCP directly: search_nodes first to avoid duplicates, then add_observations
(existing entity) or create_entities (new), tagging the candidate type and
confidence and including the three signals as observations.
memory-mcp skill — the durable agent-memory store this feedback loop writes to./log-session — session/candidate logging entry point (when configured)./implement — tests-first execution that produces the signals captured here.