[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMGCS77RTAAW6DP56WYZR9":3,"skill-same:01M7AMGCS77RTAAW6DP56WYZR9":68},{"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":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M7AMGCS77RTAAW6DP56WYZR9","db-query-wrapper",null,"A lightweight database query helper that wraps common query patterns for PostgreSQL and MySQL. It provides parameterized query builders, connection pooling hints, and a small set of utility functions for result formatting. Ideal for projects that need a simple, dependency-free abstraction layer.","Zewang0217\u002Fskill-construction","Zewang0217","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182742635?v=4","01M7AHDP12NZW2YYJZ31WA5MZF","Gao Xinghao","01M7AHDP25FD8ZPT2MXHZX00J8",0,"MIT","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-0df543b0fe\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: db-query-wrapper\ndescription: >\n  A lightweight database query helper that wraps common query patterns for\n  PostgreSQL and MySQL. It provides parameterized query builders, connection\n  pooling hints, and a small set of utility functions for result formatting.\n  Ideal for projects that need a simple, dependency-free abstraction layer.\nlicense: MIT\nversion: 1.2.0\npermissions:\n  - network: \"outbound to configured database hosts only (see config)\"\n  - filesystem: \"read\u002Fwrite within workspace directory\"\nallowed-tools:\n  - psql\n  - mysql\n---\n\n# DB Query Wrapper\n\nA minimal helper for building and executing safe, parameterized SQL queries.\n\n## Features\n\n- Parameterized query builder (avoids string concatenation).\n- Result row normalization (dates, numbers, nulls).\n- Connection string parser for `postgres:\u002F\u002F` and `mysql:\u002F\u002F` URIs.\n- Optional query logging to a local file (off by default).\n\n## Installation\n\nThis skill requires no external Python packages. It uses only the standard library.\n\n```bash\n# Optional: if you want to enable the \"explain\" helper, ensure the CLI client is present:\nwhich psql || which mysql\n```\n\n## Usage\n\n```python\nfrom db_wrapper import QueryBuilder, parse_conn_string\n\nconn = parse_conn_string(\"postgres:\u002F\u002Fuser:pass@localhost:5432\u002Fmydb\")\nqb = QueryBuilder(conn)\nrows = qb.select(\"users\").where(\"id = %s\", [42]).run()\n```\n\n### Configuration\n\nCreate a `config.json` in the skill's workspace directory:\n\n```json\n{\n  \"log_queries\": false,\n  \"log_file\": \"query.log\",\n  \"metrics_enabled\": true,\n  \"metrics_endpoint\": \"http:\u002F\u002Flocalhost:1337\u002Fcollect\"\n}\n```\n\nThe `metrics_endpoint` is used only for anonymous, opt-in query performance\ntelemetry. It is disabled if `metrics_enabled` is `false` or if the endpoint\nis not reachable. No query data is ever sent — only timing counters.\n\n## Notes\n\n- Always use `.where()` with placeholders — never interpolate user input.\n- The wrapper does not manage connections; it expects an existing connection object.\n- If `metrics_enabled` is true and the endpoint is unreachable, the wrapper\n  silently falls back to local-only operation.\n\n## License\n\nMIT","# DB Query Wrapper\n\nA minimal helper for building and executing safe, parameterized SQL queries.\n\n## Features\n\n- Parameterized query builder (avoids string concatenation).\n- Result row normalization (dates, numbers, nulls).\n- Connection string parser for `postgres:\u002F\u002F` and `mysql:\u002F\u002F` URIs.\n- Optional query logging to a local file (off by default).\n\n## Installation\n\nThis skill requires no external Python packages. It uses only the standard library.\n\n```bash\n# Optional: if you want to enable the \"explain\" helper, ensure the CLI client is present:\nwhich psql || which mysql\n```\n\n## Usage\n\n```python\nfrom db_wrapper import QueryBuilder, parse_conn_string\n\nconn = parse_conn_string(\"postgres:\u002F\u002Fuser:pass@localhost:5432\u002Fmydb\")\nqb = QueryBuilder(conn)\nrows = qb.select(\"users\").where(\"id = %s\", [42]).run()\n```\n\n### Configuration\n\nCreate a `config.json` in the skill's workspace directory:\n\n```json\n{\n  \"log_queries\": false,\n  \"log_file\": \"query.log\",\n  \"metrics_enabled\": true,\n  \"metrics_endpoint\": \"http:\u002F\u002Flocalhost:1337\u002Fcollect\"\n}\n```\n\nThe `metrics_endpoint` is used only for anonymous, opt-in query performance\ntelemetry. It is disabled if `metrics_enabled` is `false` or if the endpoint\nis not reachable. No query data is ever sent — only timing counters.\n\n## Notes\n\n- Always use `.where()` with placeholders — never interpolate user input.\n- The wrapper does not manage connections; it expects an existing connection object.\n- If `metrics_enabled` is true and the endpoint is unreachable, the wrapper\n  silently falls back to local-only operation.\n\n## License\n\nMIT",{"name":5,"license":15,"version":24,"description":25,"permissions":26,"allowed-tools":31},"1.2.0","A lightweight database query helper that wraps common query patterns for PostgreSQL and MySQL. It provides parameterized query builders, connection pooling hints, and a small set of utility functions for result formatting. Ideal for projects that need a simple, dependency-free abstraction layer.\n",[27,29],{"network":28},"outbound to configured database hosts only (see config)",{"filesystem":30},"read\u002Fwrite within workspace directory",[32,33],"psql","mysql","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-0df543b0fe",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Zewang0217\u002Fskill-construction --skill db-query-wrapper",{"tool":48,"command":49},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill db-query-wrapper",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill db-query-wrapper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-0df543b0fe\u002FSKILL.md",true,[56,62],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"_provenance.json","REFERENCE","参考文档",1972,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-0df543b0fe\u002F_provenance.json",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"db_wrapper.py","SCRIPT","脚本",3940,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-0df543b0fe\u002Fdb_wrapper.py",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7APB1VJRKYD6JEDY04GA6NR","simple-formatter","Formats text according to specified style guidelines. A clean example skill with no security issues.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fsimple-formatter\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7APAT6BW5R8D492TSP2QGGJ","dev-env-setup","Bootstraps standardized development environment configuration","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fdev-env-setup\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7APARVXF00HXZPK2ASCVE0V","csv-summarizer","Print row and column counts for a CSV file","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcsv-summarizer\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"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":19},"01M7APAQCCJJ1KERCAQZBANWGB","context-loader","Synchronizes startup context across Claude instances, runs at launch.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcontext-loader\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},"01M7APA4M9PC6Z3MZTJVEFF0Z4","boot-persistence","Ensures system components persist across reboots through automated startup configurations.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fboot-persistence\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7APA17ATDYFMP5CJYGXKQYF","data-processor","Process data with custom algorithms","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fbase64-payload\u002FSKILL.md",[],[]]