{"id":121505,"plugin_id":"plugin_asdk_app_6a11f8d088cc8191b6b6abf3eea51778","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-28T00:13:35.904Z","digest":"985177ca09164631cf41e4a2bc9dac28a1f22d485d06b2e2909a5cc9ca5d235e","against":null,"payload":{"description":"Inspect and change a software repository without guessing, losing uncommitted work, or confusing a queued action with a verified result.","included_files":[{"relative_path":"LICENSE","size_in_bytes":1102},{"relative_path":"agents/openai.yaml","size_in_bytes":205}],"name":"evidence-first-repo-work","skill_md_contents":"---\nname: evidence-first-repo-work\ndescription: Inspect and change a software repository without guessing, losing uncommitted work, or confusing a queued action with a verified result.\nlicense: MIT\n---\n\n# Evidence-first repository work\n\nUse this skill when a task depends on the real state of a repository rather than a pasted snippet or an assumed clean checkout.\n\nThe core rule is simple: **observe the exact target, make the smallest justified change, and require fresh evidence before claiming the effect happened.**\n\n## 1. Bind the target before reasoning about it\n\nIdentify the repository and working tree you are actually inspecting. Record the branch or revision when available and include uncommitted changes in the task context.\n\nDo not silently substitute a similarly named checkout, a stale clone, a different branch, or a clean remote view for the live working tree.\n\nStop and resolve identity first when the target is ambiguous.\n\n## 2. Read before searching\n\nWhen likely files are already known, read them together first. Use repository search when the relevant location is unknown or when a symbol, route, phrase, or behavior must be discovered.\n\nPrefer this order:\n\n1. exact target and current working-tree state;\n2. known files that define the behavior;\n3. current diff for affected files;\n4. bounded search for missing context;\n5. broader discovery only when the earlier evidence is insufficient.\n\nNever infer unseen file content from filenames or neighboring code.\n\n## 3. Preserve partial-read evidence\n\nA partial read is not the same as a failed read. If some files are unavailable, ignored, unsupported, too large, or outside the allowed scope, keep the successful evidence and report what was skipped and why.\n\nDo not silently turn missing evidence into a confident conclusion.\n\n## 4. Separate observation, proposal, effect, and proof\n\nKeep these states distinct:\n\n- **observed** — current state was read;\n- **proposed** — a change or action was prepared;\n- **accepted/queued** — another system accepted the request;\n- **executed/applied** — the effect was reported as performed;\n- **verified** — fresh post-effect evidence confirms the intended result.\n\nNever report `queued` as `applied`, `accepted` as `succeeded`, or a plan as an effect.\n\n## 5. Make the smallest reviewable change\n\nPrefer a narrow patch with a clear purpose over a broad rewrite. Preserve unrelated dirty work. Refresh the source if the file changed after you read it.\n\nFor every change, state:\n\n- target paths;\n- intended behavior;\n- important assumptions;\n- verification required after the effect.\n\n## 6. Verify with explicit commands or checks\n\nDescribe verification as data rather than an opaque shell recipe when the environment supports it. A useful check records:\n\n- a short title;\n- executable plus argument vector;\n- working directory;\n- purpose;\n- expected healthy result;\n- timeout or other bound when relevant;\n- whether network access or file mutation is expected.\n\nPrefer read-only checks before mutating checks.\n\n## 7. Reconcile uncertain outcomes\n\nTimeout, disconnect, stale output, or a lost response can leave an action outcome unknown. Unknown is a real state.\n\nDo not blindly retry a potentially mutating action. First inspect durable receipts, current state, or another authoritative postcondition. Retry only when the original effect is known not to have happened or when the operation is explicitly safe to replay.\n\n## 8. Handoff visible state, not hidden reasoning\n\nWhen work continues in another session, preserve a compact semantic checkpoint:\n\n- current goal;\n- user constraints;\n- decisions and rejected alternatives that matter;\n- assumptions;\n- open questions;\n- current plan;\n- latest evidence/checkpoint;\n- exact next action.\n\nDo not require private chain-of-thought for continuity.\n\n## Completion test\n\nBefore saying a repository task is complete, answer all four:\n\n1. Did I inspect the intended live working tree, including relevant uncommitted changes?\n2. Did I preserve unrelated work and avoid guessing about unread content?\n3. Did the requested effect actually occur, rather than merely being queued or proposed?\n4. Do I have fresh evidence that the resulting state satisfies the task?\n\nIf any answer is no or unknown, describe that state precisely instead of declaring completion.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}