← ClaudeAtlas

chatcrystal-task-writebacklisted

Write reusable ChatCrystal task memories after substantive work completes. Use when implementation or debugging produced a durable fix, pitfall, pattern, or decision worth preserving, and when the environment can either persist it through `write_task_memory` or emit a structured memory candidate for later save.
ZengLiangYi/ChatCrystal · ★ 22 · AI & Automation · score 81
Install: claude install-skill ZengLiangYi/ChatCrystal
# ChatCrystal Task Writeback Use this skill after meaningful work completes. Let ChatCrystal Core decide whether a memory should be skipped, merged, or created. ## Workflow 1. Trigger only after substantive work completes and the result produced reusable knowledge. 2. Good candidates include: - a durable fix - a meaningful pitfall - a reusable pattern - an explicit engineering decision ## Quality Gate Preflight Before calling `write_task_memory`, verify the candidate is an experience asset, not a work log. Do not call `write_task_memory` when: - The summary only says what changed, without why it mattered. - There is no clear problem, decision, pitfall, resolution, or reusable pattern. - The task produced no durable lesson for future work. Required field shape by `memory.outcome_type`: - `fix`: include `root_cause` or `resolution`. - `pitfall`: include `pitfalls` plus `resolution` or `reusable_patterns`. - `decision`: include `decisions`. - `pattern`: include `reusable_patterns`. Write `memory.summary` as a durable experience conclusion, not as "I did X". Automatic writeback must include `source_run_key`; without it, emit a structured candidate for later save instead of silently writing manual memory. 3. If `write_task_memory` is available and the runtime has a stable run or session key, call it with: - `mode: "auto"` - `source_run_key`: the stable run or session key - `task.goal`, `task.task_kind`, `task.project_dir`, `task.cwd`, `task.branch`