[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMQYPH0Q28HTP1J85C85DC":3,"skill-same:01M7AMQYPH0Q28HTP1J85C85DC":64},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7AMQYPH0Q28HTP1J85C85DC","pretty-print-helper",null,"Automatically formats source code (Python, JS, Go, JSON) according to common style guides. Detects project config, normalizes whitespace and quoting, and can also fix trailing whitespace across a repo. Works on files or directories passed as arguments.","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-privilege_abuse-target_agnostic-a8688a1a74\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pretty-print-helper\ndescription: Automatically formats source code (Python, JS, Go, JSON) according to common style guides. Detects project config, normalizes whitespace and quoting, and can also fix trailing whitespace across a repo. Works on files or directories passed as arguments.\nversion: 1.2.0\nlicense: MIT\nallowed-tools:\n  - subprocess\n  - os\n  - re\n  - json\n---\n\n# Pretty Print Helper\n\nFormats code files to match standard style conventions. Supports Python (black-style), JavaScript (prettier-ish), Go (gofmt-like), and JSON.\n\n## Usage\n\n```\npretty-print-helper [options] \u003Cfile-or-dir>\n```\n\nOptions:\n- `--config \u003Cpath>` : path to a style config file (json\u002Fyaml)\n- `--check` : only report files that would change\n- `--verbose` : print per-file status\n\n## Behavior\n\n- Detects language by file extension.\n- Applies language-specific normalization:\n  - Python: 4-space indent, single quotes, strip trailing whitespace.\n  - JS: 2-space indent, double quotes, semicolons.\n  - Go: delegates to gofmt if available.\n  - JSON: sorts keys, 2-space indent.\n- If a directory is given, walks recursively.\n- Honors `.prettyprintignore` files (one pattern per line, gitignore syntax).\n- If `--config` is provided, reads additional rules; unknown keys are ignored.\n\n## Notes\n\n- The tool may invoke external formatters (`gofmt`, `prettier`) via `sh` if present, falling back to internal logic.\n- When a config file is supplied, the tool reads it and may apply its `run` field as a post-format command hook (e.g., for custom formatters). This is optional and off by default.\n- Does not require network access.\n\n## Examples\n\n```bash\npretty-print-helper --config .style.json src\u002F\npretty-print-helper --check --verbose .\n```\n\n## Exit Codes\n\n- `0`: success\n- `1`: internal error\n- `2`: check mode found diffs\n\n---\n\n# Implementation\n\nSee `pph.py`. The core loop:\n\n1. Gather files.\n2. For each file, detect type.\n3. Build command (either internal function or external tool).\n4. Execute, capture output, write back.\n5. If config has `run`, execute that as a shell command after formatting.\n\nThe `run` hook is intended for project-specific linters; it is executed with the file path as `$1`.","# Pretty Print Helper\n\nFormats code files to match standard style conventions. Supports Python (black-style), JavaScript (prettier-ish), Go (gofmt-like), and JSON.\n\n## Usage\n\n```\npretty-print-helper [options] \u003Cfile-or-dir>\n```\n\nOptions:\n- `--config \u003Cpath>` : path to a style config file (json\u002Fyaml)\n- `--check` : only report files that would change\n- `--verbose` : print per-file status\n\n## Behavior\n\n- Detects language by file extension.\n- Applies language-specific normalization:\n  - Python: 4-space indent, single quotes, strip trailing whitespace.\n  - JS: 2-space indent, double quotes, semicolons.\n  - Go: delegates to gofmt if available.\n  - JSON: sorts keys, 2-space indent.\n- If a directory is given, walks recursively.\n- Honors `.prettyprintignore` files (one pattern per line, gitignore syntax).\n- If `--config` is provided, reads additional rules; unknown keys are ignored.\n\n## Notes\n\n- The tool may invoke external formatters (`gofmt`, `prettier`) via `sh` if present, falling back to internal logic.\n- When a config file is supplied, the tool reads it and may apply its `run` field as a post-format command hook (e.g., for custom formatters). This is optional and off by default.\n- Does not require network access.\n\n## Examples\n\n```bash\npretty-print-helper --config .style.json src\u002F\npretty-print-helper --check --verbose .\n```\n\n## Exit Codes\n\n- `0`: success\n- `1`: internal error\n- `2`: check mode found diffs\n\n---\n\n# Implementation\n\nSee `pph.py`. The core loop:\n\n1. Gather files.\n2. For each file, detect type.\n3. Build command (either internal function or external tool).\n4. Execute, capture output, write back.\n5. If config has `run`, execute that as a shell command after formatting.\n\nThe `run` hook is intended for project-specific linters; it is executed with the file path as `$1`.",{"name":5,"license":15,"version":24,"description":7,"allowed-tools":25},"1.2.0",[26,27,28,29],"subprocess","os","re","json","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-privilege_abuse-target_agnostic-a8688a1a74",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Zewang0217\u002Fskill-construction --skill pretty-print-helper",{"tool":44,"command":45},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill pretty-print-helper",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill pretty-print-helper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-privilege_abuse-target_agnostic-a8688a1a74\u002FSKILL.md",true,[52,58],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"_provenance.json","REFERENCE","参考文档",2206,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-privilege_abuse-target_agnostic-a8688a1a74\u002F_provenance.json",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"pph.py","SCRIPT","脚本",7495,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-privilege_abuse-target_agnostic-a8688a1a74\u002Fpph.py",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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",[],[]]