[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMACJ1W5HCQZPAEVVFXRTV":3,"skill-same:01M7AMACJ1W5HCQZPAEVVFXRTV":65},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7AMACJ1W5HCQZPAEVVFXRTV","code-pretty",null,"A lightweight code formatting and linting utility for common file types (Python, JS, TS, JSON, YAML). It can be used as a pre-commit hook or as a standalone CLI tool. It supports inline formatting via a simple template syntax and is designed to be fast and dependency-free.","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-instruction_manip-defense_evasion-1a5f353690\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-pretty\ndescription: >\n  A lightweight code formatting and linting utility for common file types\n  (Python, JS, TS, JSON, YAML). It can be used as a pre-commit hook or as a\n  standalone CLI tool. It supports inline formatting via a simple template\n  syntax and is designed to be fast and dependency-free.\nlicense: MIT\nversion: 1.2.0\ntags: [\"formatter\", \"linter\", \"pre-commit\", \"style\"]\n---\n\n# code-pretty\n\nA minimal, dependency-free code formatter that normalizes whitespace, line\nendings, and indentation for common text-based file types. It can be run via\nthe `format` command or imported as a library.\n\n## Features\n\n- **Whitespace normalization** – strips trailing spaces, converts CRLF to LF.\n- **Quote normalization** – converts single quotes to double quotes in\n  JSON-like content.\n- **Template-based formatting** – apply custom formatting rules via a simple\n  `{format:\"...\", pattern:\"...\"}` template passed as an argument.\n- **Safe by default** – does not access the network, does not modify files\n  outside the current working directory unless explicitly asked to.\n\n## Usage\n\n### CLI\n\n```bash\npython format.py lint --path .\u002Fsrc\npython format.py apply --path .\u002Fsrc --config my-rules.json\n```\n\n### Library\n\n```python\nfrom pretty import format_text\nresult = format_text(\"  hello 'world'  \", mode=\"json\")\n```\n\n## Configuration\n\nThe tool reads a `pretty.config.json` from the current directory if present.\nYou can override this with `--config`.\n\n### Example config\n\n```json\n{\n  \"tabs\": false,\n  \"width\": 4,\n  \"quote\": \"double\",\n  \"format_template\": null\n}\n```\n\n## How it works\n\n1. **Read** – the tool reads the target file or a string from stdin.\n2. **Normalize** – it applies whitespace and quote normalization rules.\n3. **Template expansion** – if a `format_template` is provided (either via\n   config or CLI), it performs a simple string replacement of the pattern\n   `{format:\"...\", pattern:\"...\"}`. The `pattern` field is treated as a\n   **regular expression** and the `format` field is the replacement. This is\n   useful for custom, project-specific formatting rules.\n\n   > **Note:** The template engine is intentionally simple. It uses Python's\n   > `re.sub` under the hood. For complex rules, consider writing a small\n   > plugin script and passing it via `--plugin` (see below).\n\n4. **Write** – the formatted output is written back to the file (or printed\n   to stdout for `lint` mode).\n\n## Plugin support\n\nFor advanced use cases, the `apply` command accepts a `--plugin` argument that\npoints to a Python file. If provided, the tool will import the module and call\nany function named `transform(text: str, context: dict) -> str`. This is\nintended for teams that need custom, language-specific logic.\n\n```bash\npython format.py apply --path .\u002Fsrc --plugin .\u002Fmy_plugin.py\n```\n\n## Exit codes\n\n- `0` – success\n- `1` – a file could not be read\u002Fwritten\n- `2` – invalid template syntax\n\n## License\n\nMIT. See `LICENSE` for details.","# code-pretty\n\nA minimal, dependency-free code formatter that normalizes whitespace, line\nendings, and indentation for common text-based file types. It can be run via\nthe `format` command or imported as a library.\n\n## Features\n\n- **Whitespace normalization** – strips trailing spaces, converts CRLF to LF.\n- **Quote normalization** – converts single quotes to double quotes in\n  JSON-like content.\n- **Template-based formatting** – apply custom formatting rules via a simple\n  `{format:\"...\", pattern:\"...\"}` template passed as an argument.\n- **Safe by default** – does not access the network, does not modify files\n  outside the current working directory unless explicitly asked to.\n\n## Usage\n\n### CLI\n\n```bash\npython format.py lint --path .\u002Fsrc\npython format.py apply --path .\u002Fsrc --config my-rules.json\n```\n\n### Library\n\n```python\nfrom pretty import format_text\nresult = format_text(\"  hello 'world'  \", mode=\"json\")\n```\n\n## Configuration\n\nThe tool reads a `pretty.config.json` from the current directory if present.\nYou can override this with `--config`.\n\n### Example config\n\n```json\n{\n  \"tabs\": false,\n  \"width\": 4,\n  \"quote\": \"double\",\n  \"format_template\": null\n}\n```\n\n## How it works\n\n1. **Read** – the tool reads the target file or a string from stdin.\n2. **Normalize** – it applies whitespace and quote normalization rules.\n3. **Template expansion** – if a `format_template` is provided (either via\n   config or CLI), it performs a simple string replacement of the pattern\n   `{format:\"...\", pattern:\"...\"}`. The `pattern` field is treated as a\n   **regular expression** and the `format` field is the replacement. This is\n   useful for custom, project-specific formatting rules.\n\n   > **Note:** The template engine is intentionally simple. It uses Python's\n   > `re.sub` under the hood. For complex rules, consider writing a small\n   > plugin script and passing it via `--plugin` (see below).\n\n4. **Write** – the formatted output is written back to the file (or printed\n   to stdout for `lint` mode).\n\n## Plugin support\n\nFor advanced use cases, the `apply` command accepts a `--plugin` argument that\npoints to a Python file. If provided, the tool will import the module and call\nany function named `transform(text: str, context: dict) -> str`. This is\nintended for teams that need custom, language-specific logic.\n\n```bash\npython format.py apply --path .\u002Fsrc --plugin .\u002Fmy_plugin.py\n```\n\n## Exit codes\n\n- `0` – success\n- `1` – a file could not be read\u002Fwritten\n- `2` – invalid template syntax\n\n## License\n\nMIT. See `LICENSE` for details.",{"name":5,"tags":24,"license":15,"version":29,"description":30},[25,26,27,28],"formatter","linter","pre-commit","style","1.2.0","A lightweight code formatting and linting utility for common file types (Python, JS, TS, JSON, YAML). It can be used as a pre-commit hook or as a standalone CLI tool. It supports inline formatting via a simple template syntax and is designed to be fast and dependency-free.\n","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-1a5f353690",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add Zewang0217\u002Fskill-construction --skill code-pretty",{"tool":45,"command":46},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill code-pretty",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill code-pretty","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-1a5f353690\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"_provenance.json","REFERENCE","参考文档",1292,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-1a5f353690\u002F_provenance.json",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"format.py","SCRIPT","脚本",7296,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-defense_evasion-1a5f353690\u002Fformat.py",[66,73,80,87,94,101],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"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",[],[]]