[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CWSBFJ26V7NQGCDNWADT7V":3,"skill-same:01M6CWSBFJ26V7NQGCDNWADT7V":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":31,"commitSha":32,"skillDirectory":5,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M6CWSBFJ26V7NQGCDNWADT7V","constraint-satisfaction",null,"Constraint satisfaction problems","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fconstraint-satisfaction\u002FSKILL.md",[],[18,19,20,21,22],"constraint satisfaction","machine-learning","learning","opencode","intelligence","2026-11-10 10:12:30",false,"---\nname: constraint-satisfaction\ndescription: Constraint satisfaction problems\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: machine-learning-engineers\n  category: artificial-intelligence\n---\n\n## What I do\n\n- Formulate and solve constraint satisfaction problems\n- Implement search algorithms\n- Apply backtracking and propagation\n- Design constraint solvers\n- Optimize constraint solving\n- Handle complex combinatorial problems\n\n## When to use me\n\nUse me when:\n- Scheduling and planning problems\n- Resource allocation\n- Puzzle solving (Sudoku, crossword)\n- Configuration problems\n- Combinatorial optimization\n\n## Key Concepts\n\n### CSP Framework\n```\nVariables: {X1, X2, X3, ..., Xn}\nDomains: {D1, D2, D3, ..., Dn}\nConstraints: {C1, C2, C3, ..., Cm}\n\nGoal: Find assignment to all variables satisfying all constraints\n```\n\n### Python CSP Example\n```python\nfrom constraint import Problem, BacktrackingSolver\n\n# Define problem\nproblem = Problem(BacktrackingSolver())\n\n# Variables with domains\nproblem.addVariable(\"A\", [1, 2, 3, 4])\nproblem.addVariable(\"B\", [1, 2, 3, 4])\nproblem.addVariable(\"C\", [1, 2, 3, 4])\n\n# Constraints\ndef all_different(vars):\n    return len(set(vars)) == len(vars)\n\nproblem.addConstraint(all_different, [\"A\", \"B\", \"C\"])\nproblem.addConstraint(lambda a, b: a + b > 4, [\"A\", \"B\"])\nproblem.addConstraint(lambda b, c: b != c, [\"B\", \"C\"])\n\n# Solve\nsolutions = problem.getSolutions()\nprint(solutions)\n```\n\n### Algorithms\n- **Backtracking**: Systematic search\n- **Forward Checking**: Prune domains early\n- **Arc Consistency (AC-3)**: Remove inconsistent values\n- **Min-Conflicts**: Local search for large problems\n- **Genetic Algorithms**: For complex constraints\n\n### Applications\n- **Scheduling**: Employee rostering, class scheduling\n- **Routing**: Vehicle routing with constraints\n- **Puzzles**: Sudoku, N-Queens\n- **Configuration**: Product configuration\n- **Planning**: Task ordering with dependencies\n","## What I do\n\n- Formulate and solve constraint satisfaction problems\n- Implement search algorithms\n- Apply backtracking and propagation\n- Design constraint solvers\n- Optimize constraint solving\n- Handle complex combinatorial problems\n\n## When to use me\n\nUse me when:\n- Scheduling and planning problems\n- Resource allocation\n- Puzzle solving (Sudoku, crossword)\n- Configuration problems\n- Combinatorial optimization\n\n## Key Concepts\n\n### CSP Framework\n```\nVariables: {X1, X2, X3, ..., Xn}\nDomains: {D1, D2, D3, ..., Dn}\nConstraints: {C1, C2, C3, ..., Cm}\n\nGoal: Find assignment to all variables satisfying all constraints\n```\n\n### Python CSP Example\n```python\nfrom constraint import Problem, BacktrackingSolver\n\n# Define problem\nproblem = Problem(BacktrackingSolver())\n\n# Variables with domains\nproblem.addVariable(\"A\", [1, 2, 3, 4])\nproblem.addVariable(\"B\", [1, 2, 3, 4])\nproblem.addVariable(\"C\", [1, 2, 3, 4])\n\n# Constraints\ndef all_different(vars):\n    return len(set(vars)) == len(vars)\n\nproblem.addConstraint(all_different, [\"A\", \"B\", \"C\"])\nproblem.addConstraint(lambda a, b: a + b > 4, [\"A\", \"B\"])\nproblem.addConstraint(lambda b, c: b != c, [\"B\", \"C\"])\n\n# Solve\nsolutions = problem.getSolutions()\nprint(solutions)\n```\n\n### Algorithms\n- **Backtracking**: Systematic search\n- **Forward Checking**: Prune domains early\n- **Arc Consistency (AC-3)**: Remove inconsistent values\n- **Min-Conflicts**: Local search for large problems\n- **Genetic Algorithms**: For complex constraints\n\n### Applications\n- **Scheduling**: Employee rostering, class scheduling\n- **Routing**: Vehicle routing with constraints\n- **Puzzles**: Sudoku, N-Queens\n- **Configuration**: Product configuration\n- **Planning**: Task ordering with dependencies\n",{"name":5,"license":14,"metadata":28,"description":7,"compatibility":21},{"audience":29,"category":30},"machine-learning-engineers","artificial-intelligence","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill constraint-satisfaction",{"tool":43,"command":44},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill constraint-satisfaction",{"tool":46,"command":47},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill constraint-satisfaction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fconstraint-satisfaction\u002FSKILL.md",true,[],[52,63,73,82,92,101],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":23},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[54,59,60,61,21,62],"platform","cross-platform","mobile","development",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":23},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[65,70,21,71,72],"data wrangling","science","data",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":23},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[75,80,21,81],"system","scripting",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":23},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[89,90,21,91,72],"wide column","databases","model",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":23},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[99,90,21,100],"wide column stores","database",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":23},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[103,108,109,110,21,111,112],"websocket","real-time","time","best practices","implementation"]