[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74DDR2WPAYGM5VJ0EPCDPZ6":3,"skill-same:01M74DDR2WPAYGM5VJ0EPCDPZ6":56},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M74DDR2WPAYGM5VJ0EPCDPZ6","post-check-verification",null,"Post-Check Verification","CarlosCaPe\u002Foctorato","CarlosCaPe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39838249?v=4","01M72WXX4ZRR8MBH1EP1QND2FQ","dataqbs","01M72WXX5NA7YCKRSJ54GW1GQ8",18,"MIT","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fpost-check-verification\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: post-check-verification\ndescription: \"Post-Check Verification\"\nmetadata:\n  short-description: \"Post-Check Verification\"\n  original-index: 15\n---\n\n# Post-Check Verification\n\n## What\n\nA dedicated phase at the end of every DDL script that independently verifies\nthe final state of the database. It checks that every expected change was\napplied and reports a confirmed\u002Ffailed count.\n\n## Why\n\n\"The script ran without errors\" is not the same as \"the script did what we\nwanted.\" Post-checks verify the **outcome**, not just the execution. They\ncatch subtle issues like:\n- A rename that silently did nothing (column didn't exist)\n- A procedure update that was skipped (condition was wrong)\n- An index that was created INVALID (concurrent build failure)\n\n## How\n\n```sql\n-- Phase 3: Post-check\nDO $$\nDECLARE\n    v_confirmed int := 0;\n    v_failed    int := 0;\nBEGIN\n    RAISE NOTICE 'PHASE 3: POST-CHECK';\n\n    -- Verify column exists (new) AND doesn't exist (old)\n    IF EXISTS (\n        SELECT 1 FROM information_schema.columns\n        WHERE table_schema = 'public'\n          AND table_name = 'Applicant'\n          AND column_name = 'SpecialtyRequirement'\n    ) AND NOT EXISTS (\n        SELECT 1 FROM information_schema.columns\n        WHERE table_schema = 'public'\n          AND table_name = 'Applicant'\n          AND column_name = 'SpeialtyRequirement'\n    ) THEN\n        RAISE NOTICE '  [OK] COL 1 SpecialtyRequirement';\n        v_confirmed := v_confirmed + 1;\n    ELSE\n        RAISE NOTICE '  [!!] COL 1 SpecialtyRequirement -- FAILED';\n        v_failed := v_failed + 1;\n    END IF;\n\n    -- ... repeat for each check ...\n\n    -- Final summary\n    RAISE NOTICE '  Checks confirmed: % \u002F %', v_confirmed, v_confirmed + v_failed;\n\n    IF v_confirmed = 8 AND v_failed = 0 THEN\n        RAISE NOTICE ' COLUMN RENAME COMPLETE';\n    ELSIF v_failed > 0 THEN\n        RAISE NOTICE 'PARTIAL -- % check(s) failed', v_failed;\n    END IF;\nEND $$;\n```\n\n### What to verify\n\n| Change Type | Positive Check | Negative Check |\n|---|---|---|\n| Column rename | New name EXISTS | Old name NOT EXISTS |\n| Procedure update | New column ref LIKE | Old column ref NOT LIKE |\n| Index creation | Index EXISTS in pg_indexes | Index IS VALID |\n| FK constraint | Constraint EXISTS | No orphan records |\n\n### The \"N \u002F N\" pattern\n\nAlways report `confirmed \u002F total`:\n```\nChecks confirmed: 8 \u002F 8    -- all good\nChecks confirmed: 6 \u002F 8    -- something wrong\n```\n\nThis makes log scanning trivial -- search for the number and instantly know\nthe result.\n\n## When to Use\n\n- Phase 3 of every DDL script\n- After every deployment (the log IS the evidence)\n- The post-check output goes into the CLOSURE_NOTE as deployment evidence\n\n## Where We Used It\n\n- ****: 8\u002F8 (4 columns + 4 procedures)\n- **\u002F**: FK existence + supporting index checks\n- **\u002F**: Index existence + validity checks\n\n## Gotchas\n\n- Post-checks must be **independent** of Phase 2 -- they query the database\n  directly, not variables from the previous phase\n- Each post-check runs in its own DO block so Phase 2 failures don't\n  prevent the post-check from reporting the actual state\n- Include both positive (new thing exists) AND negative (old thing gone)\n  checks -- a false positive from only checking one side can mask bugs\n\n---\n\n*Category: Reliability | Origin: All tickets*\n","# Post-Check Verification\n\n## What\n\nA dedicated phase at the end of every DDL script that independently verifies\nthe final state of the database. It checks that every expected change was\napplied and reports a confirmed\u002Ffailed count.\n\n## Why\n\n\"The script ran without errors\" is not the same as \"the script did what we\nwanted.\" Post-checks verify the **outcome**, not just the execution. They\ncatch subtle issues like:\n- A rename that silently did nothing (column didn't exist)\n- A procedure update that was skipped (condition was wrong)\n- An index that was created INVALID (concurrent build failure)\n\n## How\n\n```sql\n-- Phase 3: Post-check\nDO $$\nDECLARE\n    v_confirmed int := 0;\n    v_failed    int := 0;\nBEGIN\n    RAISE NOTICE 'PHASE 3: POST-CHECK';\n\n    -- Verify column exists (new) AND doesn't exist (old)\n    IF EXISTS (\n        SELECT 1 FROM information_schema.columns\n        WHERE table_schema = 'public'\n          AND table_name = 'Applicant'\n          AND column_name = 'SpecialtyRequirement'\n    ) AND NOT EXISTS (\n        SELECT 1 FROM information_schema.columns\n        WHERE table_schema = 'public'\n          AND table_name = 'Applicant'\n          AND column_name = 'SpeialtyRequirement'\n    ) THEN\n        RAISE NOTICE '  [OK] COL 1 SpecialtyRequirement';\n        v_confirmed := v_confirmed + 1;\n    ELSE\n        RAISE NOTICE '  [!!] COL 1 SpecialtyRequirement -- FAILED';\n        v_failed := v_failed + 1;\n    END IF;\n\n    -- ... repeat for each check ...\n\n    -- Final summary\n    RAISE NOTICE '  Checks confirmed: % \u002F %', v_confirmed, v_confirmed + v_failed;\n\n    IF v_confirmed = 8 AND v_failed = 0 THEN\n        RAISE NOTICE ' COLUMN RENAME COMPLETE';\n    ELSIF v_failed > 0 THEN\n        RAISE NOTICE 'PARTIAL -- % check(s) failed', v_failed;\n    END IF;\nEND $$;\n```\n\n### What to verify\n\n| Change Type | Positive Check | Negative Check |\n|---|---|---|\n| Column rename | New name EXISTS | Old name NOT EXISTS |\n| Procedure update | New column ref LIKE | Old column ref NOT LIKE |\n| Index creation | Index EXISTS in pg_indexes | Index IS VALID |\n| FK constraint | Constraint EXISTS | No orphan records |\n\n### The \"N \u002F N\" pattern\n\nAlways report `confirmed \u002F total`:\n```\nChecks confirmed: 8 \u002F 8    -- all good\nChecks confirmed: 6 \u002F 8    -- something wrong\n```\n\nThis makes log scanning trivial -- search for the number and instantly know\nthe result.\n\n## When to Use\n\n- Phase 3 of every DDL script\n- After every deployment (the log IS the evidence)\n- The post-check output goes into the CLOSURE_NOTE as deployment evidence\n\n## Where We Used It\n\n- ****: 8\u002F8 (4 columns + 4 procedures)\n- **\u002F**: FK existence + supporting index checks\n- **\u002F**: Index existence + validity checks\n\n## Gotchas\n\n- Post-checks must be **independent** of Phase 2 -- they query the database\n  directly, not variables from the previous phase\n- Each post-check runs in its own DO block so Phase 2 failures don't\n  prevent the post-check from reporting the actual state\n- Include both positive (new thing exists) AND negative (old thing gone)\n  checks -- a false positive from only checking one side can mask bugs\n\n---\n\n*Category: Reliability | Origin: All tickets*\n",{"name":5,"metadata":24,"description":7},{"original-index":25,"short-description":7},15,"master","b4414608cd5a3f87d1525b518f1c6add8363540d","skills\u002Fpost-check-verification",6,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato","https:\u002F\u002Fwww.dataqbs.com\u002Foctorato","https:\u002F\u002Fgithub.com\u002FCarlosCaPe","www.dataqbs.com"," AI-powered data engineering\r\n& consulting\r\n\r\nWe build data platforms that turn complexity into clarity — from cloud architecture and ETL pipelines to AI-driven","2026-11-14 00:21:00",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add CarlosCaPe\u002Foctorato --skill post-check-verification",{"tool":42,"command":43},"bunx","bunx skills add CarlosCaPe\u002Foctorato --skill post-check-verification",{"tool":45,"command":46},"pnpm","pnpm dlx skills add CarlosCaPe\u002Foctorato --skill post-check-verification","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fpost-check-verification\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"skill.json","REFERENCE","参考文档",145,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fpost-check-verification\u002Fskill.json",[57,66,74,81,89,97],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M74EVAA4A4B4AKR5TT732GP4","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74EV4WMRDKP2NQS4YWR8PXH","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M74EV05MHTXKEXD4B2QJEYTF","workspace-skill-discovery","Discover and include ALL skills across the workspace — not just global ones. Use at the start of every session or when the user asks about available skills. Ensures project-level skills (under .claude\u002Fskills\u002F or skills\u002F in any repo) are never missed.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkspace-skill-discovery\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74ETV78525B4VP2F28Z6NRD","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74ETR75NF67WGVEN7288ACV","winui-app","Create, build and design WinUI 3 desktop apps with C# and the Windows App SDK following Microsoft's official guidance and CommunityToolkit. Covers XAML, navigation, theming, accessibility and deployment.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M74ETJFRNPPNSQZ36C6HD6CW","windows-brain-script-portability","Scripts in ~\u002F.claude\u002Fscripts\u002F that run on a Windows brain: use the python3.cmd shim and not bare python3, and reconfigure stdout to UTF-8 if you print symbols. Use it when writing a brain script or triaging a Windows-only crash.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwindows-brain-script-portability\u002FSKILL.md",[],[]]