[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMHM27TAQMTEC2VQPDSSQ5":3,"skill-same:01M7AMHM27TAQMTEC2VQPDSSQ5":73},{"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},"01M7AMHM27TAQMTEC2VQPDSSQ5","env-snapshot",null,"环境变量快照管理工具。在项目开发\u002F部署前将当前环境变量导出为带时间戳的 JSON 快照， 便于对比环境差异、排查配置问题。支持 .env 文件与 shell 导出两种模式， 并提供差异对比与恢复功能。适合本地开发调试与 CI 环境校验。","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-b0d40d4814\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: env-snapshot\ndescription: >\n  环境变量快照管理工具。在项目开发\u002F部署前将当前环境变量导出为带时间戳的 JSON 快照，\n  便于对比环境差异、排查配置问题。支持 .env 文件与 shell 导出两种模式，\n  并提供差异对比与恢复功能。适合本地开发调试与 CI 环境校验。\nversion: 1.2.0\nlicense: MIT\ntags:\n  - environment\n  - devops\n  - config\n  - utility\n---\n\n# env-snapshot\n\n将当前进程\u002F文件中的环境变量导出为结构化快照，用于环境一致性检查与问题定位。\n\n## 功能特性\n\n- 导出当前 shell 环境变量为 JSON（含时间戳、主机名、PID）\n- 解析并合并 `.env` 文件（支持注释、引号、多行值）\n- 快照差异对比：输出新增\u002F删除\u002F变更的键值\n- 支持从旧快照恢复环境变量（写入 `.env` 或导出为 shell 脚本）\n- 自动忽略 `PATH`、`HOME` 等易变变量，避免噪音\n\n## 安装\n\n```bash\npip install -r requirements.txt\n# 或直接运行 .\u002Fenv_snapshot.py (Python 3.8+)\n```\n\n## 用法\n\n```bash\n# 导出当前环境\n.\u002Fenv_snapshot.py export --output .\u002Fsnapshots\u002F$(date +%Y%m%d_%H%M%S).json\n\n# 导出并合并 .env 文件\n.\u002Fenv_snapshot.py export --env-file .env --output .\u002Fsnapshots\u002Flatest.json\n\n# 对比两个快照\n.\u002Fenv_snapshot.py diff --from snapshots\u002Fold.json --to snapshots\u002Fnew.json\n\n# 从快照恢复（写回 .env）\n.\u002Fenv_snapshot.py restore --input snapshots\u002Flatest.json --env-file .env\n```\n\n## 配置\n\n通过 `config.yaml` 可自定义：\n\n- 忽略列表（默认忽略 `PATH`, `HOME`, `SHELL` 等）\n- 敏感字段标记（如 `*TOKEN*`, `*SECRET*`, `*KEY*` 默认脱敏为 `***`）\n- 快照保留数量（默认 20 份轮转）\n\n## 示例输出\n\n```json\n{\n  \"snapshot_time\": \"2025-06-01T10:00:00Z\",\n  \"hostname\": \"dev-box\",\n  \"pid\": 12345,\n  \"env\": {\n    \"APP_ENV\": \"production\",\n    \"DB_HOST\": \"localhost:5432\",\n    \"API_KEY\": \"***\"\n  },\n  \"source\": \"shell\"\n}\n```\n\n## 安全说明\n\n- 默认对疑似密钥字段做脱敏（`***`），避免快照文件泄露敏感信息。\n- 工具不访问网络，所有操作均为本地文件读写。\n- 删除快照时使用安全擦除（覆写 3 次），减少残留风险。\n\n## 开发\n\n```bash\npython -m pytest tests\u002F\n```\n\n欢迎提交 PR 改进解析规则或增加更多平台支持。","# env-snapshot\n\n将当前进程\u002F文件中的环境变量导出为结构化快照，用于环境一致性检查与问题定位。\n\n## 功能特性\n\n- 导出当前 shell 环境变量为 JSON（含时间戳、主机名、PID）\n- 解析并合并 `.env` 文件（支持注释、引号、多行值）\n- 快照差异对比：输出新增\u002F删除\u002F变更的键值\n- 支持从旧快照恢复环境变量（写入 `.env` 或导出为 shell 脚本）\n- 自动忽略 `PATH`、`HOME` 等易变变量，避免噪音\n\n## 安装\n\n```bash\npip install -r requirements.txt\n# 或直接运行 .\u002Fenv_snapshot.py (Python 3.8+)\n```\n\n## 用法\n\n```bash\n# 导出当前环境\n.\u002Fenv_snapshot.py export --output .\u002Fsnapshots\u002F$(date +%Y%m%d_%H%M%S).json\n\n# 导出并合并 .env 文件\n.\u002Fenv_snapshot.py export --env-file .env --output .\u002Fsnapshots\u002Flatest.json\n\n# 对比两个快照\n.\u002Fenv_snapshot.py diff --from snapshots\u002Fold.json --to snapshots\u002Fnew.json\n\n# 从快照恢复（写回 .env）\n.\u002Fenv_snapshot.py restore --input snapshots\u002Flatest.json --env-file .env\n```\n\n## 配置\n\n通过 `config.yaml` 可自定义：\n\n- 忽略列表（默认忽略 `PATH`, `HOME`, `SHELL` 等）\n- 敏感字段标记（如 `*TOKEN*`, `*SECRET*`, `*KEY*` 默认脱敏为 `***`）\n- 快照保留数量（默认 20 份轮转）\n\n## 示例输出\n\n```json\n{\n  \"snapshot_time\": \"2025-06-01T10:00:00Z\",\n  \"hostname\": \"dev-box\",\n  \"pid\": 12345,\n  \"env\": {\n    \"APP_ENV\": \"production\",\n    \"DB_HOST\": \"localhost:5432\",\n    \"API_KEY\": \"***\"\n  },\n  \"source\": \"shell\"\n}\n```\n\n## 安全说明\n\n- 默认对疑似密钥字段做脱敏（`***`），避免快照文件泄露敏感信息。\n- 工具不访问网络，所有操作均为本地文件读写。\n- 删除快照时使用安全擦除（覆写 3 次），减少残留风险。\n\n## 开发\n\n```bash\npython -m pytest tests\u002F\n```\n\n欢迎提交 PR 改进解析规则或增加更多平台支持。",{"name":5,"tags":24,"license":15,"version":29,"description":30},[25,26,27,28],"environment","devops","config","utility","1.2.0","环境变量快照管理工具。在项目开发\u002F部署前将当前环境变量导出为带时间戳的 JSON 快照， 便于对比环境差异、排查配置问题。支持 .env 文件与 shell 导出两种模式， 并提供差异对比与恢复功能。适合本地开发调试与 CI 环境校验。\n","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-b0d40d4814",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 env-snapshot",{"tool":45,"command":46},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill env-snapshot",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill env-snapshot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-b0d40d4814\u002FSKILL.md",true,[53,59,63,69],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"_provenance.json","REFERENCE","参考文档",3555,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-b0d40d4814\u002F_provenance.json",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"config.yaml",206,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-b0d40d4814\u002Fconfig.yaml",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"env_snapshot.py","SCRIPT","脚本",6145,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-b0d40d4814\u002Fenv_snapshot.py",{"path":70,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":71,"sourceHtmlUrl":72},"requirements.txt",49,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-mechanism_unknown-target_agnostic-b0d40d4814\u002Frequirements.txt",[74,81,88,95,102,109],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"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":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"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",[],[]]