[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADM8RM7FSVKVXBX59Y0BFQ":3,"skill-same:01M6ADM8RM7FSVKVXBX59Y0BFQ":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":71},"01M6ADM8RM7FSVKVXBX59Y0BFQ","safe-deploy","部署前检查与安全发布","Deploy to a target environment after running pre-flight checks. Only invoke manually.","在运行预检（pre-flight checks）后部署到目标环境。仅支持手动调用。","davila7\u002Fclaude-with-skills","davila7","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6216945?v=4","01M6ADEWWFPS191NFM0Y1EX1JH","Daniel Avila","01M6ADJHY7XW1NT6J5EJ61Q42B",13,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F02-intermediate\u002Flesson-08-combining-options\u002Fexamples\u002Fsafe-deploy\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C78XMS93X21V52649FP9VH","发布经理","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39],"safe","deploy","safe deploy","test","status","run","git","push","npm","2026-11-10 10:12:30",false,"---\ntitle: \"safe-deploy\"\nname: safe-deploy\ndescription: Deploy to a target environment after running pre-flight checks. Only invoke manually.\ndisable-model-invocation: true\nargument-hint: [environment]\nallowed-tools: Bash(npm test) Bash(npm run build) Bash(git status) Bash(git log *) Bash(git push *) Bash(git tag *)\n---\n\n## Pre-flight checks\n\n!`git status --short`\n\n!`git log --oneline -5`\n\n---\n\nDeploy to: $ARGUMENTS\n\nIf `$ARGUMENTS` is empty, stop immediately. Report: \"No environment specified. Invoke as: \u002Fsafe-deploy \u003Cenvironment> (e.g., \u002Fsafe-deploy staging or \u002Fsafe-deploy production).\"\n\n### Step 1: Abort if there are uncommitted changes\n\nCheck the git status output above. If it shows any modified, untracked, or staged files, stop here.\n\nReport: \"Deploy aborted: the working tree has uncommitted changes. Commit or stash them before deploying to $ARGUMENTS.\"\n\nDo not proceed past this step if there are uncommitted changes.\n\n### Step 2: Run the test suite\n\nRun:\n```\nnpm test\n```\n\nIf any test fails, stop here. Report the failing test names and do not proceed.\n\n### Step 3: Build the project\n\nRun:\n```\nnpm run build\n```\n\nIf the build fails, report the full error output and stop. Do not proceed.\n\n### Step 4: Create a deployment tag\n\nConstruct a tag name:\n```\ndeploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\n```\n\nUse the current UTC date and time. For example, a production deploy on 2026-05-13 at 14:32:07 UTC produces: `deploy-production-20260513-143207`.\n\nRun:\n```\ngit tag deploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\n```\n\n### Step 5: Push the tag\n\nRun:\n```\ngit push origin deploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\n```\n\nIf the push fails, report the error. Do not retry automatically.\n\n### Step 6: Report success\n\nPrint a final summary:\n\n```\nDeploy initiated.\nEnvironment: $ARGUMENTS\nTag: deploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\nCommit: \u003Cgit rev-parse HEAD output>\nTime: \u003CYYYY-MM-DD HH:MM:SS UTC>\n```\n\nIf any step failed, do not print this summary. The failure report for the failing step is the final output.\n","## Pre-flight checks\n\n!`git status --short`\n\n!`git log --oneline -5`\n\n---\n\nDeploy to: $ARGUMENTS\n\nIf `$ARGUMENTS` is empty, stop immediately. Report: \"No environment specified. Invoke as: \u002Fsafe-deploy \u003Cenvironment> (e.g., \u002Fsafe-deploy staging or \u002Fsafe-deploy production).\"\n\n### Step 1: Abort if there are uncommitted changes\n\nCheck the git status output above. If it shows any modified, untracked, or staged files, stop here.\n\nReport: \"Deploy aborted: the working tree has uncommitted changes. Commit or stash them before deploying to $ARGUMENTS.\"\n\nDo not proceed past this step if there are uncommitted changes.\n\n### Step 2: Run the test suite\n\nRun:\n```\nnpm test\n```\n\nIf any test fails, stop here. Report the failing test names and do not proceed.\n\n### Step 3: Build the project\n\nRun:\n```\nnpm run build\n```\n\nIf the build fails, report the full error output and stop. Do not proceed.\n\n### Step 4: Create a deployment tag\n\nConstruct a tag name:\n```\ndeploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\n```\n\nUse the current UTC date and time. For example, a production deploy on 2026-05-13 at 14:32:07 UTC produces: `deploy-production-20260513-143207`.\n\nRun:\n```\ngit tag deploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\n```\n\n### Step 5: Push the tag\n\nRun:\n```\ngit push origin deploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\n```\n\nIf the push fails, report the error. Do not retry automatically.\n\n### Step 6: Report success\n\nPrint a final summary:\n\n```\nDeploy initiated.\nEnvironment: $ARGUMENTS\nTag: deploy-$ARGUMENTS-\u003CYYYYMMDD>-\u003CHHMMSS>\nCommit: \u003Cgit rev-parse HEAD output>\nTime: \u003CYYYY-MM-DD HH:MM:SS UTC>\n```\n\nIf any step failed, do not print this summary. The failure report for the failing step is the final output.\n",{"name":5,"title":5,"description":7,"allowed-tools":45,"argument-hint":46,"disable-model-invocation":48},"Bash(npm test) Bash(npm run build) Bash(git status) Bash(git log *) Bash(git push *) Bash(git tag *)",[47],"environment",true,"main","55e6468ba43345d07c8a68de983e58403db57c25","src\u002Fcontent\u002Fdocs\u002F02-intermediate\u002Flesson-08-combining-options\u002Fexamples\u002Fsafe-deploy",1,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills","https:\u002F\u002Fclaude-with-skills.vercel.app","https:\u002F\u002Fgithub.com\u002Fdavila7","https:\u002F\u002Fdanielavila.me","Building AI dev tools with LLMs","2026-05-15 21:54:25",{"source":9,"skillName":5,"commands":60,"prompt":70,"zipAvailable":48},[61,64,67],{"tool":62,"command":63},"npx","npx skills add davila7\u002Fclaude-with-skills --skill safe-deploy",{"tool":65,"command":66},"bunx","bunx skills add davila7\u002Fclaude-with-skills --skill safe-deploy",{"tool":68,"command":69},"pnpm","pnpm dlx skills add davila7\u002Fclaude-with-skills --skill safe-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F02-intermediate\u002Flesson-08-combining-options\u002Fexamples\u002Fsafe-deploy\u002FSKILL.md",[72],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"SKILL.md.tmpl","OTHER","其他",34143,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002Fcodex\u002FSKILL.md.tmpl",[79,96,109,119,131,149],{"skillNo":80,"name":81,"nameZh":82,"description":83,"descriptionZh":84,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":89,"publishedAt":40},"01M6ADNEC991ZW0GD2D4MY6NEP","tag-version","版本号升级与 Git 标签","Bump the package version and create an annotated git tag. Accepts a semantic version number (1.2.0) or a bump type (patch, minor, major). Does not push — use the publish skill to push. Use as part of a release workflow.","升级软件包版本并创建带注释的 git 标签。接受语义化版本号（1.2.0）或升级类型（patch、minor、major）。不执行推送——请使用 publish 技能进行推送。作为发布工作流的一部分使用。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F03-advanced\u002Flesson-08-plugins-and-distribution\u002Fexamples\u002Frelease-plugin\u002Fskills\u002Ftag-version\u002FSKILL.md",[87,88],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[90,91,92,93,37,38,39,94,95],"tag version","workflow","create","release","package","publish",{"skillNo":97,"name":93,"nameZh":98,"description":99,"descriptionZh":100,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":105,"publishedAt":40},"01M6ADNCNHCXNHVAW43ZV43ZC8","项目完整发布流程","Run the complete release workflow: changelog entry, version bump, git tag, and GitHub release. Invokes changelog-entry, tag-version, and publish in sequence. Use when releasing a new version of the project.","运行完整的发布工作流：变更日志条目、版本升级、git 标签和 GitHub Release。依次调用 changelog-entry、tag-version 和 publish。在发布项目新版本时使用。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F03-advanced\u002Flesson-08-plugins-and-distribution\u002Fexamples\u002Frelease-plugin\u002Fskills\u002Frelease\u002FSKILL.md",[103,104],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[93,37,106,39,107,36,95,35,108,91],"changelog","changelog entry","github",{"skillNo":110,"name":95,"nameZh":111,"description":112,"descriptionZh":113,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":114,"categories":115,"keywords":118,"publishedAt":40},"01M6ADNAWDDDDX4CS69E1D496X","GitHub 版本发布","Push the current branch and all tags to origin, then create a GitHub release using the latest tag and its CHANGELOG.md entry. Use after tag-version to complete a release.","将当前分支和所有标签推送到 origin，然后使用最新标签及其 CHANGELOG.md 条目创建 GitHub Release。在 tag-version 之后使用以完成发布。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F03-advanced\u002Flesson-08-plugins-and-distribution\u002Fexamples\u002Frelease-plugin\u002Fskills\u002Fpublish\u002FSKILL.md",[116,117],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[95,38,108,92,93,37,106],{"skillNo":120,"name":121,"nameZh":122,"description":123,"descriptionZh":124,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":125,"categories":126,"keywords":129,"publishedAt":40},"01M6ADN9MP0ASQ6SX14NEPP5XE","changelog-entry","变更日志条目生成","Draft the changelog entry for all unreleased commits in Keep a Changelog format. Groups commits into Added, Changed, Fixed, Removed, and Security. Use before releasing a new version or when updating CHANGELOG.md.","按照 Keep a Changelog 格式为所有未发布的提交起草变更日志条目。将提交分组为新增（Added）、变更（Changed）、修复（Fixed）、移除（Removed）和安全（Security）。在发布新版本之前或更新 CHANGELOG.md 时使用。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F03-advanced\u002Flesson-08-plugins-and-distribution\u002Fexamples\u002Frelease-plugin\u002Fskills\u002Fchangelog-entry\u002FSKILL.md",[127,128],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[107,106,130,37],"security",{"skillNo":132,"name":133,"nameZh":134,"description":135,"descriptionZh":136,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":137,"categories":138,"keywords":145,"publishedAt":40},"01M6ADN8243TD9X8FH7FCQ608R","auto-format-on-edit","代码自动格式化","Automatically format code files after every edit using Prettier and ESLint. Active in the background whenever Claude edits a file. Formatting is silent — no prompts, no output unless a formatter fails. Use when you want consistent formatting enforced automatically during a coding session.","每次编辑后使用 Prettier 和 ESLint 自动格式化代码文件。当 Claude 编辑文件时在后台激活。格式化是静默的——没有提示，除非格式化程序失败，否则没有输出。当您希望在编码会话期间自动执行一致的格式化时使用。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F03-advanced\u002Flesson-07-hooks-in-skills\u002Fexamples\u002Fauto-format-on-edit\u002FSKILL.md",[139,142],{"categoryNo":140,"categoryName":141,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":143,"categoryName":144,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[146,147,148],"auto format on edit","code","file",{"skillNo":150,"name":151,"nameZh":152,"description":153,"descriptionZh":154,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":163,"publishedAt":40},"01M6ADN5VVNV7Y2WPYQA13M4ZQ","code-quality-audit","代码质量审计","Run a comprehensive code quality audit covering security, performance, and maintainability. Use for quarterly audits, pre-release reviews, or when onboarding to a large codebase.","运行全面的代码质量审计，涵盖安全性、性能和可维护性。用于季度审计、发布前审查或接入大型代码库时。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-with-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fcontent\u002Fdocs\u002F03-advanced\u002Flesson-06-context-window-mastery\u002Fexamples\u002Flightweight-orchestrator\u002FSKILL.md",[157,160],{"categoryNo":158,"categoryName":159,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":161,"categoryName":162,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[164,165,147,166,167,36,93,168,130],"code quality audit","audit","code quality","performance","onboarding"]