[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F3EBCTX44HFTJN3XMM3H4E":3,"skill-same:01M6F3EBCTX44HFTJN3XMM3H4E":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6F3EBCTX44HFTJN3XMM3H4E","change-reaudit",null,"Re-audit code changes to identify side effects, regression risks, and unhandled edge cases before merging or deploying.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fcomsky\u002Fremy-skill-recipes\u002Fchange-reaudit\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"change","change reaudit","review","code","audit","edge","execution","regression","cursor","2026-11-10 10:12:30",false,"---\nname: change-reaudit\ndescription: >\n  Re-audit code changes to identify side effects, regression risks,\n  and unhandled edge cases before merging or deploying.\nlicense: MIT\ncompatibility:\n  - Claude Code\n  - Cursor\nmetadata:\n  type: execution\n  category: review\n  maturity: stable\n  estimated_time: 10 min\n---\n\n# Skill: Change Re-Audit (Side Effects, Regression, Edge Cases)\n\n**Type:** Execution\n\n## Purpose\n\nPerform a rigorous re-audit of the current changes.\nIdentify:\n\n- Side effects introduced by the modification\n- Hidden regression risks\n- Unhandled edge cases\n- Operational, performance, and security implications\n\nThe output must provide evidence-based findings and concrete mitigation steps.\n\n---\n\n## When to Use\n\n- After code changes are complete and before merging to a shared branch\n- After complex refactoring that touches multiple modules\n- Before deploying a hotfix to production\n- When a previous review missed edge cases or side effects\n\n---\n\n## When NOT to Use\n\n- During initial implementation (code is still being written)\n- Documentation-only or comment-only changes\n- Auto-generated code changes (e.g., lock files, migration snapshots)\n- Changes already fully audited through another review skill\n\n---\n\n## Inputs Required\n\nDo not run this skill without:\n\n- [ ] Full diff of current working changes\n- [ ] List of modified files\n- [ ] Affected entry points (API handlers, jobs, CLI, consumers, etc.)\n- [ ] Existing related tests (unit\u002Fintegration\u002Fe2e)\n\nOptional but recommended:\n\n- [ ] Architectural context (system diagram, dependency map)\n- [ ] Deployment target information (staging, production, canary)\n\nWithout asking the user (unless unavailable), gather these inputs directly from the repository.\n\n---\n\n## Output Format\n\n1. Change Units\n2. Identified Risks (with evidence)\n3. Edge Case Gaps\n4. Required Actions (P0 \u002F P1 \u002F P2)\n5. Suggested Fix Snippets (if applicable)\n\n---\n\n## Procedure\n\n### Gate 0 – Change Mapping\n\nBreak the diff into logical Change Units.\n\nFor each Change Unit, summarize:\n\n- Before behavior\n- After behavior\n- Intended purpose\n\n---\n\n### Gate 1 – Side Effect Analysis\n\n> **EFFICIENCY RULE:** Before deep-analyzing each dimension, perform a\n> quick relevance check based on the Change Units from Gate 0. If a\n> dimension has zero intersection with the change scope (e.g., no\n> database writes exist in any Change Unit → State mutations is\n> not relevant), note \"N\u002FA — no relevant changes\" and move to the next\n> dimension. Do NOT skip the relevance check itself.\n> \"Zero intersection\" means the Change Units contain no code that could\n> possibly affect that dimension. If uncertain or indirect, treat as relevant.\n\nFor each Change Unit, explicitly evaluate:\n\n- Public contract changes\n  - Input schema\n  - Output structure\n  - Error types\n  - HTTP status codes\n  - Ordering or pagination behavior\n\n- State mutations\n  - Database writes\n  - Transaction boundaries\n  - Cache keys\n  - Idempotency guarantees\n  - Retry logic\n\n- Concurrency & ordering\n  - Async behavior\n  - Race conditions\n  - Locking\n  - Event ordering\n\n- Resource usage\n  - N+1 queries\n  - Increased memory footprint\n  - Large payload buffering\n  - CPU-heavy loops\n\n- Security implications\n  - Authorization checks\n  - Input validation\n  - Injection vectors\n  - Secret or PII leakage in logs\n\n- Observability impact\n  - Log structure changes\n  - Metric cardinality explosion\n  - Missing tracing\n\n- Operational risk\n  - Rollback safety\n  - Migration requirements\n  - Feature flag need\n\nEach risk must include:\n\n- Evidence (file:line reference)\n- Impact assessment\n- Mitigation proposal\n\n---\n\n### Gate 2 – Edge Case Matrix\n\n> **SCOPING RULE:** Apply edge case verification only to code paths\n> that were **modified or newly introduced** in the current diff.\n> Pre-existing edge case gaps in unchanged code are out of scope\n> for this audit.\n\nExplicitly verify handling of:\n\n- Null \u002F empty values\n- Boundary values (min\u002Fmax\u002Foverflow)\n- Large inputs\n- Partial failures (timeouts, downstream 5xx)\n- Duplicate or out-of-order events\n- Permission boundary violations\n- Backward compatibility\n\nFor each:\n\n- Expected behavior\n- Actual behavior\n- Gap analysis\n- Fix proposal\n\n---\n\n### Gate 3 – Regression Proof\n\nIdentify:\n\n- Covered scenarios (existing tests)\n- Uncovered risk areas\n\nPropose minimal additional tests (1–3 max) for high-risk gaps.\n\nIf adding tests is not feasible:\n\n- Add guard clauses\n- Add assertions\n- Improve logging\n- Provide safe fallback\n\n---\n\n### Gate 4 – Code Hygiene Check\n\nVerify:\n\n- No dead code\n- No unnecessary abstraction\n- No silent behavioral drift\n- No inconsistent error handling\n- No policy values hardcoded without documentation\n\n---\n\n## Guardrails\n\n- Do not invent missing facts. Every risk must cite evidence (file:line).\n- Explicitly state assumptions when context is incomplete.\n- If context is insufficient to assess a risk area, ask for clarification.\n- Respect constraints and non-goals stated in the change description.\n- Do not inflate severity — use P0\u002FP1\u002FP2 classification honestly.\n- Do not skip risk dimensions because they seem unlikely.\n\n---\n\n## Failure Patterns\n\nCommon bad outputs:\n\n- Reviewing only the diff without considering the broader call chain\n- Classifying all findings as P0 (no prioritization)\n- Asserting risks without file:line evidence\n- Skipping edge case matrix entirely\n- Producing generic advice instead of change-specific findings\n- Missing concurrency or state mutation risks in async code paths\n\n---\n\n## Example 1 (Minimal Context)\n\n**Input:**\n\nSingle function change: `getUserById` in `services\u002Fuser.ts` now returns `null` instead of throwing `NotFoundError` when user is not found.\n\n**Output:**\n\n1. Change Units: 1 unit — `getUserById` return type change\n2. Identified Risks:\n   - P0: All callers expecting `NotFoundError` will now receive `null` without handling it (`routes\u002Fuser.ts:45`, `middleware\u002Fauth.ts:23`)\n   - P1: API response may change from 404 to 200 with null body if caller does not check\n3. Edge Case Gaps: caller with `try\u002Fcatch` only — null passes through silently\n4. Required Actions: P0 — update all 3 callers to handle null return; P1 — add null-check test for each caller\n5. Suggested Fix: add `if (!user) throw new NotFoundError()` guard in each route handler\n\n---\n\n## Example 2 (Realistic Scenario)\n\n**Input:**\n\n8 files changed: new caching layer added to `services\u002Fproduct.ts`, cache invalidation on `PUT \u002Fproducts\u002F:id`, new Redis dependency in `config\u002Fcache.ts`. Existing tests cover CRUD but not cache behavior.\n\n**Output:**\n\n1. Change Units: 3 units — (a) cache read in getProduct, (b) cache invalidation on update, (c) Redis config setup\n2. Identified Risks:\n   - P0: Cache key uses `product:${id}` but bulk endpoints use different ID format — stale cache risk (`services\u002Fproduct.ts:78`)\n   - P1: No TTL set — cache entries persist indefinitely (`config\u002Fcache.ts:12`)\n   - P1: Redis connection failure has no fallback — entire product API will 500 (`services\u002Fproduct.ts:34`)\n   - P2: Cache invalidation only on PUT, not on DELETE (`routes\u002Fproduct.ts:92`)\n3. Edge Case Gaps: concurrent PUT requests may cause cache race condition; no handling for Redis timeout\n4. Required Actions: P0 — normalize cache key format; P1 — add TTL and Redis fallback; P1 — add DELETE invalidation; P2 — add cache-miss metric\n5. Suggested Fix: wrap Redis calls in try\u002Fcatch with DB fallback, add `EX 3600` to SET commands\n\n---\n\n## Notes\n\n**FAST MODE** (only if explicitly requested):\n\n- Limit to top 5 likely risks\n- Require at least one regression safeguard\n\n","# Skill: Change Re-Audit (Side Effects, Regression, Edge Cases)\n\n**Type:** Execution\n\n## Purpose\n\nPerform a rigorous re-audit of the current changes.\nIdentify:\n\n- Side effects introduced by the modification\n- Hidden regression risks\n- Unhandled edge cases\n- Operational, performance, and security implications\n\nThe output must provide evidence-based findings and concrete mitigation steps.\n\n---\n\n## When to Use\n\n- After code changes are complete and before merging to a shared branch\n- After complex refactoring that touches multiple modules\n- Before deploying a hotfix to production\n- When a previous review missed edge cases or side effects\n\n---\n\n## When NOT to Use\n\n- During initial implementation (code is still being written)\n- Documentation-only or comment-only changes\n- Auto-generated code changes (e.g., lock files, migration snapshots)\n- Changes already fully audited through another review skill\n\n---\n\n## Inputs Required\n\nDo not run this skill without:\n\n- [ ] Full diff of current working changes\n- [ ] List of modified files\n- [ ] Affected entry points (API handlers, jobs, CLI, consumers, etc.)\n- [ ] Existing related tests (unit\u002Fintegration\u002Fe2e)\n\nOptional but recommended:\n\n- [ ] Architectural context (system diagram, dependency map)\n- [ ] Deployment target information (staging, production, canary)\n\nWithout asking the user (unless unavailable), gather these inputs directly from the repository.\n\n---\n\n## Output Format\n\n1. Change Units\n2. Identified Risks (with evidence)\n3. Edge Case Gaps\n4. Required Actions (P0 \u002F P1 \u002F P2)\n5. Suggested Fix Snippets (if applicable)\n\n---\n\n## Procedure\n\n### Gate 0 – Change Mapping\n\nBreak the diff into logical Change Units.\n\nFor each Change Unit, summarize:\n\n- Before behavior\n- After behavior\n- Intended purpose\n\n---\n\n### Gate 1 – Side Effect Analysis\n\n> **EFFICIENCY RULE:** Before deep-analyzing each dimension, perform a\n> quick relevance check based on the Change Units from Gate 0. If a\n> dimension has zero intersection with the change scope (e.g., no\n> database writes exist in any Change Unit → State mutations is\n> not relevant), note \"N\u002FA — no relevant changes\" and move to the next\n> dimension. Do NOT skip the relevance check itself.\n> \"Zero intersection\" means the Change Units contain no code that could\n> possibly affect that dimension. If uncertain or indirect, treat as relevant.\n\nFor each Change Unit, explicitly evaluate:\n\n- Public contract changes\n  - Input schema\n  - Output structure\n  - Error types\n  - HTTP status codes\n  - Ordering or pagination behavior\n\n- State mutations\n  - Database writes\n  - Transaction boundaries\n  - Cache keys\n  - Idempotency guarantees\n  - Retry logic\n\n- Concurrency & ordering\n  - Async behavior\n  - Race conditions\n  - Locking\n  - Event ordering\n\n- Resource usage\n  - N+1 queries\n  - Increased memory footprint\n  - Large payload buffering\n  - CPU-heavy loops\n\n- Security implications\n  - Authorization checks\n  - Input validation\n  - Injection vectors\n  - Secret or PII leakage in logs\n\n- Observability impact\n  - Log structure changes\n  - Metric cardinality explosion\n  - Missing tracing\n\n- Operational risk\n  - Rollback safety\n  - Migration requirements\n  - Feature flag need\n\nEach risk must include:\n\n- Evidence (file:line reference)\n- Impact assessment\n- Mitigation proposal\n\n---\n\n### Gate 2 – Edge Case Matrix\n\n> **SCOPING RULE:** Apply edge case verification only to code paths\n> that were **modified or newly introduced** in the current diff.\n> Pre-existing edge case gaps in unchanged code are out of scope\n> for this audit.\n\nExplicitly verify handling of:\n\n- Null \u002F empty values\n- Boundary values (min\u002Fmax\u002Foverflow)\n- Large inputs\n- Partial failures (timeouts, downstream 5xx)\n- Duplicate or out-of-order events\n- Permission boundary violations\n- Backward compatibility\n\nFor each:\n\n- Expected behavior\n- Actual behavior\n- Gap analysis\n- Fix proposal\n\n---\n\n### Gate 3 – Regression Proof\n\nIdentify:\n\n- Covered scenarios (existing tests)\n- Uncovered risk areas\n\nPropose minimal additional tests (1–3 max) for high-risk gaps.\n\nIf adding tests is not feasible:\n\n- Add guard clauses\n- Add assertions\n- Improve logging\n- Provide safe fallback\n\n---\n\n### Gate 4 – Code Hygiene Check\n\nVerify:\n\n- No dead code\n- No unnecessary abstraction\n- No silent behavioral drift\n- No inconsistent error handling\n- No policy values hardcoded without documentation\n\n---\n\n## Guardrails\n\n- Do not invent missing facts. Every risk must cite evidence (file:line).\n- Explicitly state assumptions when context is incomplete.\n- If context is insufficient to assess a risk area, ask for clarification.\n- Respect constraints and non-goals stated in the change description.\n- Do not inflate severity — use P0\u002FP1\u002FP2 classification honestly.\n- Do not skip risk dimensions because they seem unlikely.\n\n---\n\n## Failure Patterns\n\nCommon bad outputs:\n\n- Reviewing only the diff without considering the broader call chain\n- Classifying all findings as P0 (no prioritization)\n- Asserting risks without file:line evidence\n- Skipping edge case matrix entirely\n- Producing generic advice instead of change-specific findings\n- Missing concurrency or state mutation risks in async code paths\n\n---\n\n## Example 1 (Minimal Context)\n\n**Input:**\n\nSingle function change: `getUserById` in `services\u002Fuser.ts` now returns `null` instead of throwing `NotFoundError` when user is not found.\n\n**Output:**\n\n1. Change Units: 1 unit — `getUserById` return type change\n2. Identified Risks:\n   - P0: All callers expecting `NotFoundError` will now receive `null` without handling it (`routes\u002Fuser.ts:45`, `middleware\u002Fauth.ts:23`)\n   - P1: API response may change from 404 to 200 with null body if caller does not check\n3. Edge Case Gaps: caller with `try\u002Fcatch` only — null passes through silently\n4. Required Actions: P0 — update all 3 callers to handle null return; P1 — add null-check test for each caller\n5. Suggested Fix: add `if (!user) throw new NotFoundError()` guard in each route handler\n\n---\n\n## Example 2 (Realistic Scenario)\n\n**Input:**\n\n8 files changed: new caching layer added to `services\u002Fproduct.ts`, cache invalidation on `PUT \u002Fproducts\u002F:id`, new Redis dependency in `config\u002Fcache.ts`. Existing tests cover CRUD but not cache behavior.\n\n**Output:**\n\n1. Change Units: 3 units — (a) cache read in getProduct, (b) cache invalidation on update, (c) Redis config setup\n2. Identified Risks:\n   - P0: Cache key uses `product:${id}` but bulk endpoints use different ID format — stale cache risk (`services\u002Fproduct.ts:78`)\n   - P1: No TTL set — cache entries persist indefinitely (`config\u002Fcache.ts:12`)\n   - P1: Redis connection failure has no fallback — entire product API will 500 (`services\u002Fproduct.ts:34`)\n   - P2: Cache invalidation only on PUT, not on DELETE (`routes\u002Fproduct.ts:92`)\n3. Edge Case Gaps: concurrent PUT requests may cause cache race condition; no handling for Redis timeout\n4. Required Actions: P0 — normalize cache key format; P1 — add TTL and Redis fallback; P1 — add DELETE invalidation; P2 — add cache-miss metric\n5. Suggested Fix: wrap Redis calls in try\u002Fcatch with DB fallback, add `EX 3600` to SET commands\n\n---\n\n## Notes\n\n**FAST MODE** (only if explicitly requested):\n\n- Limit to top 5 likely risks\n- Require at least one regression safeguard\n\n",{"name":5,"license":15,"metadata":33,"description":36,"compatibility":37},{"type":25,"category":21,"maturity":34,"estimated_time":35},"stable","10 min","Re-audit code changes to identify side effects, regression risks, and unhandled edge cases before merging or deploying.\n",[38,39],"Claude Code","Cursor","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fcomsky\u002Fremy-skill-recipes\u002Fchange-reaudit",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill change-reaudit",{"tool":55,"command":56},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill change-reaudit",{"tool":58,"command":59},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill change-reaudit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fcomsky\u002Fremy-skill-recipes\u002Fchange-reaudit\u002FSKILL.md",true,[],[64,73,82,91,97,103],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":28},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[70,71,72],"model","model hierarchy","model hierarchy skill",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":28},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[79,80,81],"MCP","zoom","zoom mcp",{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":28},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[88,89,90,80],"sdk","zoom apps sdk","apps",{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":28},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[93],{"skillNo":98,"name":99,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":28},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[99],{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":28},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[105]]