{"id":"9478bf17-b348-44c8-9445-a5ffc03d000d","shortId":"C8jZ7Z","kind":"skill","title":"no-op-empty-skill-delta-return","tagline":"Return no attachment when an incremental skill delta has no unseen items instead of emitting a formally empty update payload.","description":"# SKILL: No-Op Empty Skill Delta Return\n**Domain:** command-surfaces  \n**Trigger:** Apply when an incremental attachment or announcement pass recomputes a delta set and discovers there is nothing new to send.\n**Source Pattern:** Distilled from reviewed command-surface and listing-control patterns.\n\n## Core Method\nTreat an empty delta as the absence of an event, not as an event with empty contents. After filtering the candidate set down to unseen items, return immediately with no attachment if that delta set is empty. This keeps the downstream stream free of meaningless no-op payloads, avoids forcing consumers to special-case empty updates, and preserves the semantic distinction between \"nothing changed\" and \"something changed but happened to serialize to an empty-looking object.\"\n\n## Key Rules\n- Compute the delta set first, then check for emptiness before doing any formatting or payload construction.\n- Return no attachment at all when the delta is empty; do not emit placeholder objects, zero-count events, or empty content strings.\n- Keep the no-op return close to the delta filter so future refactors cannot accidentally reintroduce formatting work for empty updates.\n- Preserve the difference between empty delta and initial/dynamic batch metadata; batch semantics only exist when something is actually emitted.\n\n## Example Application\nIf a command-listing attachment runs after a plugin reload but every visible command was already announced earlier in the session, detect that `newCommands` is empty and return `[]`. The caller sees no update event because the actionable surface did not change.\n\n## Anti-Patterns (What NOT to do)\n- Do not emit an empty delta object just so the pipeline has a uniform shape; that creates noise consumers must ignore.\n- Do not continue into expensive formatting or logging after discovering the unseen set is empty.","tags":["empty","skill","delta","return","cskill","agents","ychampion","agent-skills","ai-agents","cli","coding-agents","context-engineering"],"capabilities":["skill","source-ychampion","skill-no-op-empty-skill-delta-return","topic-agent-skills","topic-ai-agents","topic-cli","topic-coding-agents","topic-context-engineering","topic-developer-tools","topic-mcp","topic-multi-agent","topic-terminal-ui"],"categories":["cskill-agents"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/ychampion/cskill-agents/no-op-empty-skill-delta-return","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add ychampion/cskill-agents","source_repo":"https://github.com/ychampion/cskill-agents","install_from":"skills.sh"}},"qualityScore":"0.467","qualityRationale":"deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 34 github stars · SKILL.md body (1,867 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T00:56:53.121Z","embedding":null,"createdAt":"2026-04-18T22:20:47.994Z","updatedAt":"2026-04-22T00:56:53.121Z","lastSeenAt":"2026-04-22T00:56:53.121Z","tsv":"'absenc':82 'accident':211 'action':276 'actual':235 'alreadi':255 'announc':47,256 'anti':282 'anti-pattern':281 'appli':41 'applic':238 'attach':10,45,106,175,244 'avoid':125 'batch':226,228 'caller':269 'candid':96 'cannot':210 'case':131 'chang':141,144,280 'check':163 'close':202 'command':38,67,242,253 'command-list':241 'command-surfac':37,66 'comput':157 'construct':172 'consum':127,306 'content':92,194 'continu':311 'control':72 'core':74 'count':190 'creat':304 'delta':6,15,34,51,79,109,159,180,205,223,293 'detect':261 'differ':220 'discov':54,318 'distil':63 'distinct':138 'domain':36 'downstream':116 'earlier':257 'emit':22,185,236,290 'empti':4,25,32,78,91,112,132,152,165,182,193,216,222,265,292,323 'empty-look':151 'event':85,89,191,273 'everi':251 'exampl':237 'exist':231 'expens':313 'filter':94,206 'first':161 'forc':126 'formal':24 'format':169,213,314 'free':118 'futur':208 'happen':146 'ignor':308 'immedi':103 'increment':13,44 'initial/dynamic':225 'instead':20 'item':19,101 'keep':114,196 'key':155 'list':71,243 'listing-control':70 'log':316 'look':153 'meaningless':120 'metadata':227 'method':75 'must':307 'new':58 'newcommand':263 'no-op':29,121,198 'no-op-empty-skill-delta-return':1 'nois':305 'noth':57,140 'object':154,187,294 'op':3,31,123,200 'pass':48 'pattern':62,73,283 'payload':27,124,171 'pipelin':298 'placehold':186 'plugin':248 'preserv':135,218 'recomput':49 'refactor':209 'reintroduc':212 'reload':249 'return':7,8,35,102,173,201,267 'review':65 'rule':156 'run':245 'see':270 'semant':137,229 'send':60 'serial':148 'session':260 'set':52,97,110,160,321 'shape':302 'skill':5,14,28,33 'skill-no-op-empty-skill-delta-return' 'someth':143,233 'sourc':61 'source-ychampion' 'special':130 'special-cas':129 'stream':117 'string':195 'surfac':39,68,277 'topic-agent-skills' 'topic-ai-agents' 'topic-cli' 'topic-coding-agents' 'topic-context-engineering' 'topic-developer-tools' 'topic-mcp' 'topic-multi-agent' 'topic-terminal-ui' 'treat':76 'trigger':40 'uniform':301 'unseen':18,100,320 'updat':26,133,217,272 'visibl':252 'work':214 'zero':189 'zero-count':188","prices":[{"id":"866bb756-244d-4a93-abd6-ed3450a0df5a","listingId":"9478bf17-b348-44c8-9445-a5ffc03d000d","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"ychampion","category":"cskill-agents","install_from":"skills.sh"},"createdAt":"2026-04-18T22:20:47.994Z"}],"sources":[{"listingId":"9478bf17-b348-44c8-9445-a5ffc03d000d","source":"github","sourceId":"ychampion/cskill-agents/no-op-empty-skill-delta-return","sourceUrl":"https://github.com/ychampion/cskill-agents/tree/main/skills/no-op-empty-skill-delta-return","isPrimary":false,"firstSeenAt":"2026-04-18T22:20:47.994Z","lastSeenAt":"2026-04-22T00:56:53.121Z"}],"details":{"listingId":"9478bf17-b348-44c8-9445-a5ffc03d000d","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"ychampion","slug":"no-op-empty-skill-delta-return","github":{"repo":"ychampion/cskill-agents","stars":34,"topics":["agent-skills","ai-agents","cli","coding-agents","context-engineering","developer-tools","mcp","multi-agent","terminal-ui"],"license":"mit","html_url":"https://github.com/ychampion/cskill-agents","pushed_at":"2026-04-04T14:13:23Z","description":"Agent skills for coding CLIs, multi-agent runtimes, context engines, MCP extensions, and terminal tooling. Instead of using claude code's source code, give your agent skills to create your own!","skill_md_sha":"4d6d85bb6b9d9af0e121e881198ced8e8968866f","skill_md_path":"skills/no-op-empty-skill-delta-return/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/ychampion/cskill-agents/tree/main/skills/no-op-empty-skill-delta-return"},"layout":"multi","source":"github","category":"cskill-agents","frontmatter":{"name":"no-op-empty-skill-delta-return","description":"Return no attachment when an incremental skill delta has no unseen items instead of emitting a formally empty update payload."},"skills_sh_url":"https://skills.sh/ychampion/cskill-agents/no-op-empty-skill-delta-return"},"updatedAt":"2026-04-22T00:56:53.121Z"}}