[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NK4R3PRBCYAZ92DAG6JB66":3,"skill-same:01M6NK4R3PRBCYAZ92DAG6JB66":76},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6NK4R3PRBCYAZ92DAG6JB66","schema-sync-fully-guided",null,"Complete schema drift repair for the Ghost Contributors NL2SQL system. Patches all four layers (YAML contract, ChromaDB RAG chunks, NL2SQL prompt, RAG prompt) using validated tooling. Includes dry-run preview, step-by-step fallback, validation, and rollback.","DSmmartin\u002Fskills_talk_agent_camp_2026","DSmmartin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F22822956?v=4","01M6NK453HEBQQSBE8CPEJM1XC","Manuel Martin","01M6NK457K9CHYV9XV1RZTX1QF",9,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fdev_tools\u002Fskill_examples\u002F03_fully_guided\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"schema sync fully guided","schema","sync","drift","chunks","for","layers","complete","dry","contract","repair","preview","tooling","prompt","rollback","system","ghost","yaml","run","rag","2026-11-10 10:12:30",false,"---\nname: schema-sync-fully-guided\ndescription: Complete schema drift repair for the Ghost Contributors NL2SQL system. Patches all four layers (YAML contract, ChromaDB RAG chunks, NL2SQL prompt, RAG prompt) using validated tooling. Includes dry-run preview, step-by-step fallback, validation, and rollback.\n---\n\n# Schema Sync — Fully Guided\n\nRead `dev_tools\u002FREADME.md` and `dev_tools\u002Fskill_examples\u002F03_fully_guided\u002Freferences\u002Fschema-layers.md`\nbefore starting. They contain field-level detail about what each layer holds and what to change.\n\n---\n\n## One-command fix\n\nIf the migration matches the standard `merged → merged_at` rename pattern, the full procedure\nis automated:\n\n```bash\n# Preview what will change (nothing is written)\nuv run python dev_tools\u002Fschema_sync.py --table github_events --dry-run\n\n# Apply all four patches\nuv run python dev_tools\u002Fschema_sync.py --table github_events\n\n# Confirm no drift\nuv run python scripts\u002Fvalidate_schema.py\n```\n\nA `SchemaSyncReport` is printed listing every change made across all four layers.\n\n---\n\n## Step-by-step procedure (for non-standard migrations)\n\nUse this when the one-command fix does not cover the migration, or when you need to apply\npatches selectively.\n\n### Pre-check — confirm drift exists\n\n```bash\nuv run python scripts\u002Fvalidate_schema.py\n```\n\nIf \"No drift\" is reported, the system is already in sync. Stop here.\n\n### Step 1 — Introspect live ClickHouse schema\n\n```bash\nuv run python dev_tools\u002Fscripts\u002Fclickhouse_introspect.py --table github_events\n```\n\nNote every column that is new, removed, or type-changed compared to the YAML contract.\nSee `references\u002Fschema-layers.md` for the expected post-migration schema.\n\n### Step 2 — Patch YAML contract\n\n```bash\n# Preview\nuv run python dev_tools\u002Fscripts\u002Fyaml_patch.py --table github_events --dry-run\n\n# Apply\nuv run python dev_tools\u002Fscripts\u002Fyaml_patch.py --table github_events\n```\n\nIf patching manually: edit `agentic_system\u002Fschema\u002Fgithub_events.yaml`.\n- Add the new column entry (name, type, description).\n- Update the description of any renamed or type-changed column to document post-migration semantics.\n- Do NOT remove columns that still exist in the DB (even if zeroed out).\n\n### Step 3 — Patch ChromaDB RAG chunks\n\n```bash\n# Preview\nuv run python dev_tools\u002Fscripts\u002Fchroma_patch.py --dry-run\n\n# Apply\nuv run python dev_tools\u002Fscripts\u002Fchroma_patch.py\n```\n\nIf patching manually: use the ChromaDB HTTP API.\n- `GET \u002Fapi\u002Fv2\u002Ftenants\u002Fdefault_tenant\u002Fdatabases\u002Fdefault_database\u002Fcollections` — list collections.\n- For each collection, `POST ...\u002Fget` with `{\"include\": [\"documents\", \"metadatas\"]}`.\n- For items where `metadata.stale == True`, apply text replacements to the document.\n- Re-embed with the 64-dimension deterministic hash (see `references\u002Fschema-layers.md#embedding`).\n- `POST ...\u002Fupsert` with updated ids, documents, embeddings, and metadatas.\n\n### Step 4 — Patch agent prompts\n\n```bash\n# Preview\nuv run python dev_tools\u002Fscripts\u002Fprompt_patch.py --dry-run\n\n# Apply\nuv run python dev_tools\u002Fscripts\u002Fprompt_patch.py\n```\n\nIf patching manually: edit the two system prompt files.\n- `agentic_system\u002Fagents_core\u002Fnl2sql\u002Fprompts\u002Fsystem.md`\n- `agentic_system\u002Fagents_core\u002Frag\u002Fprompts\u002Fsystem.md`\n\nReplace every occurrence of:\n- Old field name → new field name (in the schema table, type annotations, prose)\n- Old SQL predicate → new predicate (e.g. `merged = 1` → `merged_at IS NOT NULL`)\n- State labels (`pre-migration` → `post-migration`)\n\nSee `references\u002Fschema-layers.md#prompt-replacements` for the complete replacement list.\n\n### Post-check — confirm drift resolved\n\n```bash\nuv run python scripts\u002Fvalidate_schema.py\n# Expected: No drift — live schema matches YAML contract exactly.\n\n# Confirm prompts no longer reference old predicate\ngrep -r \"merged = 1\" agentic_system\u002Fagents_core\u002F\n# Expected: no output\n```\n\n---\n\n## Rollback\n\n```bash\n# Restore YAML and prompts from the pre-sync snapshot\nuv run python dev_tools\u002Fschema_sync.py --table github_events --rollback\n\n# Restore ChromaDB chunks from source files\nmake seed-vectors\n```\n\nThe rollback snapshot is saved to `dev_tools\u002F.schema_sync_rollback.json` by the one-command fix.\nIf you used step-by-step patching, save file snapshots before making changes.\n\n---\n\n## References\n\n- [`references\u002Fschema-layers.md`](references\u002Fschema-layers.md) — field mapping, embedding algorithm, prompt replacement list\n- [`dev_tools\u002FREADME.md`](..\u002F..\u002FREADME.md) — full file map and quick-start\n- [`scripts\u002Fvalidate_schema.py`](..\u002F..\u002F..\u002Fscripts\u002Fvalidate_schema.py) — drift detection tool\n","# Schema Sync — Fully Guided\n\nRead `dev_tools\u002FREADME.md` and `dev_tools\u002Fskill_examples\u002F03_fully_guided\u002Freferences\u002Fschema-layers.md`\nbefore starting. They contain field-level detail about what each layer holds and what to change.\n\n---\n\n## One-command fix\n\nIf the migration matches the standard `merged → merged_at` rename pattern, the full procedure\nis automated:\n\n```bash\n# Preview what will change (nothing is written)\nuv run python dev_tools\u002Fschema_sync.py --table github_events --dry-run\n\n# Apply all four patches\nuv run python dev_tools\u002Fschema_sync.py --table github_events\n\n# Confirm no drift\nuv run python scripts\u002Fvalidate_schema.py\n```\n\nA `SchemaSyncReport` is printed listing every change made across all four layers.\n\n---\n\n## Step-by-step procedure (for non-standard migrations)\n\nUse this when the one-command fix does not cover the migration, or when you need to apply\npatches selectively.\n\n### Pre-check — confirm drift exists\n\n```bash\nuv run python scripts\u002Fvalidate_schema.py\n```\n\nIf \"No drift\" is reported, the system is already in sync. Stop here.\n\n### Step 1 — Introspect live ClickHouse schema\n\n```bash\nuv run python dev_tools\u002Fscripts\u002Fclickhouse_introspect.py --table github_events\n```\n\nNote every column that is new, removed, or type-changed compared to the YAML contract.\nSee `references\u002Fschema-layers.md` for the expected post-migration schema.\n\n### Step 2 — Patch YAML contract\n\n```bash\n# Preview\nuv run python dev_tools\u002Fscripts\u002Fyaml_patch.py --table github_events --dry-run\n\n# Apply\nuv run python dev_tools\u002Fscripts\u002Fyaml_patch.py --table github_events\n```\n\nIf patching manually: edit `agentic_system\u002Fschema\u002Fgithub_events.yaml`.\n- Add the new column entry (name, type, description).\n- Update the description of any renamed or type-changed column to document post-migration semantics.\n- Do NOT remove columns that still exist in the DB (even if zeroed out).\n\n### Step 3 — Patch ChromaDB RAG chunks\n\n```bash\n# Preview\nuv run python dev_tools\u002Fscripts\u002Fchroma_patch.py --dry-run\n\n# Apply\nuv run python dev_tools\u002Fscripts\u002Fchroma_patch.py\n```\n\nIf patching manually: use the ChromaDB HTTP API.\n- `GET \u002Fapi\u002Fv2\u002Ftenants\u002Fdefault_tenant\u002Fdatabases\u002Fdefault_database\u002Fcollections` — list collections.\n- For each collection, `POST ...\u002Fget` with `{\"include\": [\"documents\", \"metadatas\"]}`.\n- For items where `metadata.stale == True`, apply text replacements to the document.\n- Re-embed with the 64-dimension deterministic hash (see `references\u002Fschema-layers.md#embedding`).\n- `POST ...\u002Fupsert` with updated ids, documents, embeddings, and metadatas.\n\n### Step 4 — Patch agent prompts\n\n```bash\n# Preview\nuv run python dev_tools\u002Fscripts\u002Fprompt_patch.py --dry-run\n\n# Apply\nuv run python dev_tools\u002Fscripts\u002Fprompt_patch.py\n```\n\nIf patching manually: edit the two system prompt files.\n- `agentic_system\u002Fagents_core\u002Fnl2sql\u002Fprompts\u002Fsystem.md`\n- `agentic_system\u002Fagents_core\u002Frag\u002Fprompts\u002Fsystem.md`\n\nReplace every occurrence of:\n- Old field name → new field name (in the schema table, type annotations, prose)\n- Old SQL predicate → new predicate (e.g. `merged = 1` → `merged_at IS NOT NULL`)\n- State labels (`pre-migration` → `post-migration`)\n\nSee `references\u002Fschema-layers.md#prompt-replacements` for the complete replacement list.\n\n### Post-check — confirm drift resolved\n\n```bash\nuv run python scripts\u002Fvalidate_schema.py\n# Expected: No drift — live schema matches YAML contract exactly.\n\n# Confirm prompts no longer reference old predicate\ngrep -r \"merged = 1\" agentic_system\u002Fagents_core\u002F\n# Expected: no output\n```\n\n---\n\n## Rollback\n\n```bash\n# Restore YAML and prompts from the pre-sync snapshot\nuv run python dev_tools\u002Fschema_sync.py --table github_events --rollback\n\n# Restore ChromaDB chunks from source files\nmake seed-vectors\n```\n\nThe rollback snapshot is saved to `dev_tools\u002F.schema_sync_rollback.json` by the one-command fix.\nIf you used step-by-step patching, save file snapshots before making changes.\n\n---\n\n## References\n\n- [`references\u002Fschema-layers.md`](references\u002Fschema-layers.md) — field mapping, embedding algorithm, prompt replacement list\n- [`dev_tools\u002FREADME.md`](..\u002F..\u002FREADME.md) — full file map and quick-start\n- [`scripts\u002Fvalidate_schema.py`](..\u002F..\u002F..\u002Fscripts\u002Fvalidate_schema.py) — drift detection tool\n",{"name":5,"description":7},"main","8ded7bc0b28c6fd7e77369786a6503d0edb0f1ca","dev_tools\u002Fskill_examples\u002F03_fully_guided",2,"https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026","https:\u002F\u002Fgithub.com\u002FDSmmartin","Data Scientist.\r\nTechnololgies: Pyhon, (PyTorch, Pandas, PySpark), Docker, Spark, Jupyter Notebook, Anaconda\r\nAreas: NLP, TS, RL","2026-04-18 18:48:52",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add DSmmartin\u002Fskills_talk_agent_camp_2026 --skill schema-sync-fully-guided",{"tool":58,"command":59},"bunx","bunx skills add DSmmartin\u002Fskills_talk_agent_camp_2026 --skill schema-sync-fully-guided",{"tool":61,"command":62},"pnpm","pnpm dlx skills add DSmmartin\u002Fskills_talk_agent_camp_2026 --skill schema-sync-fully-guided","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fdev_tools\u002Fskill_examples\u002F03_fully_guided\u002FSKILL.md",true,[66,72],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"README.md","REFERENCE","参考文档",1190,"https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fdev_tools\u002Fskill_examples\u002F03_fully_guided\u002FREADME.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fschema-layers.md",4692,"https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fdev_tools\u002Fskill_examples\u002F03_fully_guided\u002Freferences\u002Fschema-layers.md",[77,102,122,138,157],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":39},"01M6NK4ZZ555G3WPQR4HYFXFDK","backlog-task-creator","Create or update `backlog\u002F\u003CTASK-ID>.md` task files for this repo using the established traceability format. Use when asked to add backlog task documents, standardize task scope and status, or derive task files from `PRODUCT_BACKLOG.md`.","https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fskills\u002Fbacklog-task-creator\u002FSKILL.md",[],[84,85,86,87,88,89,90,24,91,92,93,94,95,96,97,98,99,100,101],"backlog task creator","task","backlog","backlog task","creator","traceability","add","scope","status","documents","create","update","id","product","format","repo","use","files",{"skillNo":103,"name":104,"nameZh":6,"description":105,"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":39},"01M6NK4W363DQMCEP102TZSZ7N","backlog-board-status","Fast status check for backlog tasks using `scripts\u002Fbacklog_board.py` and `backlog\u002Fboard.md`. Use when you need a compact view of task id, epic, status, and short description across sessions.","https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fskills\u002Fbacklog-board-status\u002FSKILL.md",[],[92,109,86,110,111,112,113,85,100,114,115,116,117,118,96,119,120,24,121],"board","backlog board status","view","across","compact","EPIC","short","check","fast","tasks","scripts","you","sessions",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":39},"01M6NK4H7W7F3SMSJQVYSNEN9D","schema-sync-agent-assisted","Four-layer schema sync procedure for the Ghost Contributors NL2SQL system after a database migration. Covers YAML contract, ChromaDB RAG chunks, NL2SQL prompt, and RAG prompt with a step-by-step repair sequence.","https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fdev_tools\u002Fskill_examples\u002F02_agent_assisted\u002FSKILL.md",[],[129,20,21,130,32,23,131,24,132,28,133,29,134,135,34,35,136,36,137,38],"schema sync agent assisted","layer","sequence","with","chromadb","migration","contributors","database migration","database",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":39},"01M6NK4BVDQ9B78RJAK3J3CPVT","schema-sync-structured","Fix an agentic NL2SQL system after a database schema change. Inspect the schema contract, agent prompts, and vector database chunks for stale field references and update them.","https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fdev_tools\u002Fskill_examples\u002F01_structured\u002FSKILL.md",[],[145,146,20,21,147,148,149,28,150,151,152,153,154,34,24,137,95,155,23,156],"schema sync structured","structured","vector","inspect","database schema","references","stale","prompts","fix","vector database","change","agent prompts",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":39},"01M6NK47P82DFXGEAF2KAX9X2G","schema-sync-naive","The database schema changed and the agent is returning wrong answers. Fix it.","https:\u002F\u002Fgithub.com\u002FDSmmartin\u002Fskills_talk_agent_camp_2026\u002Fblob\u002Fmain\u002Fdev_tools\u002Fskill_examples\u002F00_naive\u002FSKILL.md",[],[21,20,164,165,166,149,153,137],"schema sync naive","Wrong","it"]