[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GKCMWSKF724FX2X2XYPV4G":3,"skill-same:01M6GKCMWSKF724FX2X2XYPV4G":116},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6GKCMWSKF724FX2X2XYPV4G","pyke",null,"Use when building, reviewing, or debugging Pyke (Python Knowledge Engine, scitools-pyke) expert-system \u002F logic-programming code — writing .krb\u002F.kfb\u002F.kqb source files, using the knowledge_engine.engine API, pattern matching, rules, plans, the special knowledge base, or question bases. Triggers on: \"Pyke\", \"scitools-pyke\", \".krb\", \".kfb\", \".kqb\", \"knowledge_engine\", \"backward chaining\", \"expert system\", \"forward chaining\".","dekoza\u002Foh-my-slop","dekoza","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F210980?v=4","01M6GK5KFK2SJQ364J2SR2P57S","Dominik Kozaczko","01M6GK5KP5PAA51JVTXYXHN66N",4,"Unlicense","https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"programming","tree","pattern matching","triggers","plans","expert","files","use","question","writing","Rules","system","knowledge","api","pypi","code","debugging","official","python","2026-11-10 10:12:30",false,"---\nname: pyke\ndescription: >\n  Use when building, reviewing, or debugging Pyke (Python Knowledge Engine,\n  scitools-pyke) expert-system \u002F logic-programming code — writing .krb\u002F.kfb\u002F.kqb\n  source files, using the knowledge_engine.engine API, pattern matching, rules,\n  plans, the special knowledge base, or question bases. Triggers on: \"Pyke\",\n  \"scitools-pyke\", \".krb\", \".kfb\", \".kqb\", \"knowledge_engine\", \"backward\n  chaining\", \"expert system\", \"forward chaining\".\nscope: pyke\ntarget_versions: \"Pyke 1.1.1\"\nlast_verified: 2026-08-08\nsource_basis: official docs (pyke.sourceforge.net) + PyPI source tree\n---\n\n# Pyke (Python Knowledge Engine) Reference\n\nUse this skill for Pyke work. Pyke introduces logic programming (inspired by\nProlog) to Python via a knowledge-based inference engine written in 100% Python.\nYou write Python functions and Pyke *rules* that assemble them into customized\ncall graphs (\"plans\") for specific use cases.\n\nRead only the reference file(s) needed for the task.\n\n## Critical Gotchas\n\n1. **Rule base activation runs forward-chaining rules** — `engine.activate()`\n   fires all forward-chaining rules in the activated rule bases. Assert your\n   facts *before* activating, or use universal facts \u002F `.kfb` files loaded at\n   engine creation.\n2. **`reset()` erases case-specific facts and deactivates rule bases** — call\n   `engine.reset()` between cases, then re-assert facts and re-activate.\n3. **Goals are strings with `$` pattern variables** — e.g.\n   `family.how_related($p1, $p2, $rel)`. Pattern variables start with `$`.\n4. **`prove_1_goal` returns `(vars, plan)`** — `vars` is a dict (without `$`)\n   of pattern-variable bindings; `plan` is a callable (or `None`). Plans can be\n   pickled.\n5. **`prove_goal` returns a context-manager generator** — use `with` and iterate\n   to get all solutions. Raises no exception when there are no solutions.\n6. **`CanNotProve` is raised only by `prove_1_goal`** — `prove_goal` returns an\n   empty generator instead.\n7. **`IDENTIFIER` in patterns is a literal** — to use a variable, write `$name`.\n8. **Duplicate facts are silently ignored** — a fact with the same name and\n   arguments cannot be asserted twice.\n9. **`assert_` is case-specific** — use `add_universal_fact` for persistent\n   facts, or put facts in `.kfb` files.\n10. **`engine` constructor scans recursively** — `.kfb`\u002F`.krb`\u002F`.kqb` files are\n    found anywhere under the search path; the knowledge-base name is the\n    filename minus its suffix.\n\n## Routing\n\n| File | Use for |\n|------|---------|\n| `references\u002Fapi-engine.md` | `knowledge_engine.engine` API, lifecycle, asserting facts, proving goals, tracing, stats |\n| `references\u002Frules-syntax.md` | `.krb` syntax: `fc_rule`, `bc_rule`, `use`\u002F`when`\u002F`with`\u002F`taking`, `plan_spec`, `first`\u002F`forall`\u002F`notany`, compound premises, Python premises |\n| `references\u002Ffacts-kb.md` | facts, fact bases, knowledge bases, special KB, question bases |\n| `references\u002Fpyke-syntax.md` | KFB\u002FKRB\u002FKQB source-file syntax, lexical rules, data types |\n| `references\u002Fpattern-matching.md` | pattern syntax, pattern\u002Fanonymous\u002Frest variables, matching semantics, `context` API |\n| `references\u002Fusing-pyke.md` | operational workflow: create engine, assert facts, activate, prove goals, plans, tracing, compiled goals |\n| `references\u002Fspecial-qbase.md` | `special.claim_goal`\u002F`check_command`\u002F`command`\u002F`general_command`, question-base details |\n| `references\u002Fexamples.md` | concrete examples mirroring the shipped `examples\u002F` |\n| `references\u002FREFERENCE.md` | cross-file routing (this is it) |\n\n## When NOT to Use This Skill\n\n- **Prolog itself** — this skill is Pyke-specific (Python integration).\n- **Generic rule-engine libraries** (e.g. `rules_engine`, `jsonrules`) — only\n  Pyke's `scitools-pyke` package.\n- **Pyke 0.x \u002F legacy 0.6** — the 1.1.1 API differs (e.g. `engine`\n  constructor, `prove_goal`\u002F`prove_1_goal`).\n\n## Output Expectations\n\n- Name the source file(s) and knowledge-base name(s) used.\n- State which rule base must be activated and in what order facts are asserted.\n- If a plan is involved, explain how it is produced (`with`\u002F`plan_spec`\u002F`taking`)\n  and how it is called\u002Fpickled.\n- State the minimum verification: create an engine, activate, and run a\n  `prove_1_goal` smoke test against a tiny `.kfb`\u002F`.krb` pair.\n","# Pyke (Python Knowledge Engine) Reference\n\nUse this skill for Pyke work. Pyke introduces logic programming (inspired by\nProlog) to Python via a knowledge-based inference engine written in 100% Python.\nYou write Python functions and Pyke *rules* that assemble them into customized\ncall graphs (\"plans\") for specific use cases.\n\nRead only the reference file(s) needed for the task.\n\n## Critical Gotchas\n\n1. **Rule base activation runs forward-chaining rules** — `engine.activate()`\n   fires all forward-chaining rules in the activated rule bases. Assert your\n   facts *before* activating, or use universal facts \u002F `.kfb` files loaded at\n   engine creation.\n2. **`reset()` erases case-specific facts and deactivates rule bases** — call\n   `engine.reset()` between cases, then re-assert facts and re-activate.\n3. **Goals are strings with `$` pattern variables** — e.g.\n   `family.how_related($p1, $p2, $rel)`. Pattern variables start with `$`.\n4. **`prove_1_goal` returns `(vars, plan)`** — `vars` is a dict (without `$`)\n   of pattern-variable bindings; `plan` is a callable (or `None`). Plans can be\n   pickled.\n5. **`prove_goal` returns a context-manager generator** — use `with` and iterate\n   to get all solutions. Raises no exception when there are no solutions.\n6. **`CanNotProve` is raised only by `prove_1_goal`** — `prove_goal` returns an\n   empty generator instead.\n7. **`IDENTIFIER` in patterns is a literal** — to use a variable, write `$name`.\n8. **Duplicate facts are silently ignored** — a fact with the same name and\n   arguments cannot be asserted twice.\n9. **`assert_` is case-specific** — use `add_universal_fact` for persistent\n   facts, or put facts in `.kfb` files.\n10. **`engine` constructor scans recursively** — `.kfb`\u002F`.krb`\u002F`.kqb` files are\n    found anywhere under the search path; the knowledge-base name is the\n    filename minus its suffix.\n\n## Routing\n\n| File | Use for |\n|------|---------|\n| `references\u002Fapi-engine.md` | `knowledge_engine.engine` API, lifecycle, asserting facts, proving goals, tracing, stats |\n| `references\u002Frules-syntax.md` | `.krb` syntax: `fc_rule`, `bc_rule`, `use`\u002F`when`\u002F`with`\u002F`taking`, `plan_spec`, `first`\u002F`forall`\u002F`notany`, compound premises, Python premises |\n| `references\u002Ffacts-kb.md` | facts, fact bases, knowledge bases, special KB, question bases |\n| `references\u002Fpyke-syntax.md` | KFB\u002FKRB\u002FKQB source-file syntax, lexical rules, data types |\n| `references\u002Fpattern-matching.md` | pattern syntax, pattern\u002Fanonymous\u002Frest variables, matching semantics, `context` API |\n| `references\u002Fusing-pyke.md` | operational workflow: create engine, assert facts, activate, prove goals, plans, tracing, compiled goals |\n| `references\u002Fspecial-qbase.md` | `special.claim_goal`\u002F`check_command`\u002F`command`\u002F`general_command`, question-base details |\n| `references\u002Fexamples.md` | concrete examples mirroring the shipped `examples\u002F` |\n| `references\u002FREFERENCE.md` | cross-file routing (this is it) |\n\n## When NOT to Use This Skill\n\n- **Prolog itself** — this skill is Pyke-specific (Python integration).\n- **Generic rule-engine libraries** (e.g. `rules_engine`, `jsonrules`) — only\n  Pyke's `scitools-pyke` package.\n- **Pyke 0.x \u002F legacy 0.6** — the 1.1.1 API differs (e.g. `engine`\n  constructor, `prove_goal`\u002F`prove_1_goal`).\n\n## Output Expectations\n\n- Name the source file(s) and knowledge-base name(s) used.\n- State which rule base must be activated and in what order facts are asserted.\n- If a plan is involved, explain how it is produced (`with`\u002F`plan_spec`\u002F`taking`)\n  and how it is called\u002Fpickled.\n- State the minimum verification: create an engine, activate, and run a\n  `prove_1_goal` smoke test against a tiny `.kfb`\u002F`.krb` pair.\n",{"name":5,"scope":5,"description":43,"source_basis":44,"last_verified":45,"target_versions":46},"Use when building, reviewing, or debugging Pyke (Python Knowledge Engine, scitools-pyke) expert-system \u002F logic-programming code — writing .krb\u002F.kfb\u002F.kqb source files, using the knowledge_engine.engine API, pattern matching, rules, plans, the special knowledge base, or question bases. Triggers on: \"Pyke\", \"scitools-pyke\", \".krb\", \".kfb\", \".kqb\", \"knowledge_engine\", \"backward chaining\", \"expert system\", \"forward chaining\".\n","official docs (pyke.sourceforge.net) + PyPI source tree",1786147200000,"Pyke 1.1.1","main","8c687fa2c077e1cd3ff8e5b2912c28fd443bc675","skills\u002Freference\u002Fpyke",0,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop","https:\u002F\u002Fgithub.com\u002Fdekoza","https:\u002F\u002Fqoto.org\u002F@minder","Plz send BTC: 32UQpSVbcYXdfZnbyPuPvYi7rXvHcueqi1","2026-10-28 00:52:41",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add dekoza\u002Foh-my-slop --skill pyke",{"tool":62,"command":63},"bunx","bunx skills add dekoza\u002Foh-my-slop --skill pyke",{"tool":65,"command":66},"pnpm","pnpm dlx skills add dekoza\u002Foh-my-slop --skill pyke","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002FSKILL.md",true,[70,76,80,84,88,92,96,100,104,108,112],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fevals.json","REFERENCE","参考文档",5177,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Fevals\u002Fevals.json",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Ftrigger-evals.json",3406,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Fevals\u002Ftrigger-evals.json",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fapi-engine.md",3220,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Fapi-engine.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fexamples.md",1856,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Fexamples.md",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Ffacts-kb.md",3423,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Ffacts-kb.md",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fpattern-matching.md",2808,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Fpattern-matching.md",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fpyke-syntax.md",2885,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Fpyke-syntax.md",{"path":101,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002FREFERENCE.md",1648,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002FREFERENCE.md",{"path":105,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Frules-syntax.md",5920,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Frules-syntax.md",{"path":109,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fspecial-qbase.md",2804,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Fspecial-qbase.md",{"path":113,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fusing-pyke.md",2672,"https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Freference\u002Fpyke\u002Freferences\u002Fusing-pyke.md",[117,141,160,177,191,216],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":38},"01M6GKGSV5GC23S7CZ8XMXQF7C","wizard","Generate an interactive bash wizard that walks a human through a manual procedure — third-party setup, credential provisioning, a one-off migration — opening URLs, capturing values, confirming each step, and writing .env files and CI secrets (GitHub and Gitea\u002FForgejo Actions).","https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fwizard\u002FSKILL.md",[],[119,124,125,126,127,128,129,130,131,25,132,133,134,135,136,137,138,139,140,28],"true","interactive","manual","gitea","env","third-party","human","credential","migration","Bash","secrets","provisioning","ci","actions","generate","setup","github",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":145,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":38},"01M6GKFC9YYQ4CC6N7YAW7BWW1","restore-test-pyramid","Analyze the project's E2E suite and push every assertion that doesn't need a real browser down to a faster integration or unit test, proving each migration honest before thinning E2E.","MIT","https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Frestore-test-pyramid\u002FSKILL.md",[],[149,150,151,152,153,132,154,155,156,157,158,159,124],"restore test pyramid","test","restore","real browser","analyze","push","project","unit","e2e","integration","browser",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":38},"01M6GKEW0YH8ZSSN1PT543TDNZ","ponytail-debt","Harvest SHORTCUT markers from the codebase and report them grouped by file, flagging any missing upgrade paths.","https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fponytail-debt\u002FSKILL.md",[],[167,168,169,124,170,171,172,173,174,175,176],"ponytail","ponytail debt","missing","shortcut","paths","markers","upgrade","file","report","harvest",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":145,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":38},"01M6GKE8R93K0Z9XCM0MVCMS82","humanify","Repair an inherited or human-blocked ticket for agent implementation, or finish its explicit human-only outcome.","https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fhumanify\u002FSKILL.md",[],[179,184,124,185,186,187,130,188,189,190],"finish","ticket","agent implementation","repair","implementation","only","outcome",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":145,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":38},"01M6GKDQYP2QQZCVE34AAJW7KC","fix-pr","Repair an existing pull request's review findings and target-branch conflicts, verify the result, and update the same open PR.","https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ffix-pr\u002FSKILL.md",[],[198,199,200,201,202,203,204,205,206,207,208,209,210,211,124,212,213,187,214,215],"pr","fix","fix pr","testing","open","verify","pull","update","pull request","merge","workflow","tdd","review","branch","merge-conflicts","review findings","conflicts","discipline",{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":220,"categories":221,"keywords":222,"publishedAt":38},"01M6GKDMR2V617S1V8APDT4R2B","feature-milestones","Reconstruct a fragmented backlog as finishable feature milestones with explicit delivery boundaries and an approval-gated tracker update.","https:\u002F\u002Fgithub.com\u002Fdekoza\u002Foh-my-slop\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ffeature-milestones\u002FSKILL.md",[],[223,224,205,124,225,226,227,228,229,230,231],"feature","feature milestones","with","as","delivery","backlog","gated","tracker","approval"]