[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CHXCM56VNQFDYXZ8NQT3A9":3,"skill-same:01M6CHXCM56VNQFDYXZ8NQT3A9":67},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6CHXCM56VNQFDYXZ8NQT3A9","smart-commit",null,"Automated Git commit with Conventional Commits format. Analyzes staged changes, determines commit type and scope, detects description language from commit history (defaults to English), and generates a complete commit message. Use when the user says \"commit\", \"smart commit\", \"提交代码\", \"帮我提交\", or any variation of requesting a git commit with an auto-generated message.","Yukiniro\u002Fskills","Yukiniro","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21242087?v=4","01M6CHWDY0NKQKGFCYMGSCTQ2X","Zhanghao","01M6CHWE1Z4CEH54PB0XJESZ0Z",0,"MIT","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsmart-commit\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"commit","smart commit","git commit","git","commit message","commits","format","history","user","generated","use","auto","conventional commits","language","2026-11-10 10:12:30",false,"---\nname: smart-commit\ndescription: Automated Git commit with Conventional Commits format. Analyzes staged changes, determines commit type and scope, detects description language from commit history (defaults to English), and generates a complete commit message. Use when the user says \"commit\", \"smart commit\", \"提交代码\", \"帮我提交\", or any variation of requesting a git commit with an auto-generated message.\n---\n\n# Smart Commit\n\nAnalyze code changes and generate a Conventional Commits message automatically. The description language follows the project's existing commit history — if prior commits are in Chinese, the description will be in Chinese; if in English, it will be in English. The user can also specify a language explicitly.\n\n## Workflow\n\n### Step 1: Pre-flight Check\n\nRun `git status` to assess the working tree.\n\n- If there are **no changes** (clean working tree, nothing staged), inform the user and stop.\n- If there are **merge conflicts**, inform the user and stop — do not attempt to commit during a conflict.\n\n### Step 2: Stage Changes\n\nCheck whether the staging area already has content:\n\n- If `git diff --cached --stat` shows staged files, use them as-is — the user intentionally staged specific files.\n- If the staging area is empty but there are unstaged changes, run `git add -A` to stage everything.\n\nBefore proceeding, check for sensitive files in the staging area (`.env`, `.env.*`, `credentials.*`, `*secret*`, `*.pem`, `*.key`). If any are found, **warn the user and stop** — do not commit secrets.\n\n### Step 3: Analyze Changes\n\nRun these commands to understand what changed:\n\n- `git diff --cached --stat` — file-level summary (which files, insertions\u002Fdeletions)\n- `git diff --cached` — actual content changes\n\nIf the diff output exceeds 200 lines, truncate and work with the summary + first 200 lines. This is enough to determine type, scope, and description.\n\n### Step 4: Determine Commit Type\n\nBased on the changes, select the most appropriate type using this priority order:\n\n| Priority | Type | When to use |\n|----------|------|-------------|\n| 1 | `revert` | Reverting a previous commit |\n| 2 | `feat` | New feature or capability |\n| 3 | `fix` | Bug fix |\n| 4 | `docs` | Documentation only |\n| 5 | `test` | Adding or updating tests |\n| 6 | `build` | Build system or dependencies |\n| 7 | `ci` | CI\u002FCD configuration |\n| 8 | `style` | Code formatting, whitespace, semicolons |\n| 9 | `perf` | Performance improvement |\n| 10 | `refactor` | Code restructuring without behavior change |\n| 11 | `chore` | Maintenance, tooling, other tasks |\n\nIf changes span multiple types, use the highest-priority type that covers the primary intent.\n\n### Step 5: Determine Scope\n\nScope is the module, component, or area affected:\n\n- Single module\u002Fcomponent changed → use it as scope (e.g., `auth`, `api`, `button`)\n- Changes span multiple unrelated areas → omit scope entirely\n- Keep scope short — one word when possible\n\n### Step 6: Detect Description Language\n\nRun `git log --oneline -10` to examine recent commit messages.\n\n- Identify the language used in the majority of recent commit descriptions (after the type\u002Fscope prefix).\n- Use that same language for the new commit description. This is not limited to Chinese or English — it can be any language the project uses.\n- If the user explicitly requests a language (e.g., \"用中文提交\", \"commit in English\"), use the requested language instead.\n- If history is empty or the language cannot be determined, default to **English**.\n\n### Step 7: Generate Description\n\nWrite the description in the detected language:\n\n- Start with a verb (e.g., \"add\", \"fix\", \"update\" \u002F \"添加\", \"修复\", \"更新\")\n- Keep it under 50 characters\n- Do not repeat information already conveyed by the type (e.g., don't write `fix: fix the bug`)\n- Be specific about what changed, not vague\n\n### Step 8: Commit\n\nRun the commit command:\n\n```\ngit commit -m \"type(scope): description\"\n```\n\nOr without scope:\n\n```\ngit commit -m \"type: description\"\n```\n\n**Never skip hooks** — do not use `--no-verify`. If a pre-commit hook fails, report the error to the user and stop. Do not retry automatically.\n\n## Edge Cases\n\n| Situation | Action |\n|-----------|--------|\n| Clean working tree | Inform user \"nothing to commit\" and stop |\n| Merge conflicts present | Inform user and stop |\n| `.env` or credential files staged | Warn and refuse to commit |\n| Only lockfile changes (`package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`) | `chore(deps): update lockfile` |\n| Only binary\u002Fasset files | `chore: update static assets` |\n| Pre-commit hook fails | Report error, do not retry |\n\n## Examples\n\n**English examples:**\n\n```\nfeat(auth): add JWT token refresh mechanism\nfix(api): resolve null pointer in user endpoint\ndocs: update installation instructions in README\ntest(utils): add unit tests for date formatting\nrefactor(db): extract connection pool into shared module\nchore(deps): update lockfile\nstyle: apply prettier formatting to components\nperf(query): add database index for user lookups\nbuild: upgrade webpack to v5\nci: add GitHub Actions workflow for staging deploy\n```\n\n**Chinese examples:**\n\n```\nfeat(auth): 添加 JWT 令牌刷新机制\nfix(api): 修复用户接口空指针异常\ndocs: 更新 README 安装说明\ntest(utils): 为日期格式化添加单元测试\nrefactor(db): 将连接池提取为共享模块\nchore(deps): 更新锁文件\nstyle: 对组件应用 prettier 格式化\nperf(query): 为用户查询添加数据库索引\nbuild: 升级 webpack 至 v5\nci: 添加 GitHub Actions 预发布部署流程\n```\n","# Smart Commit\n\nAnalyze code changes and generate a Conventional Commits message automatically. The description language follows the project's existing commit history — if prior commits are in Chinese, the description will be in Chinese; if in English, it will be in English. The user can also specify a language explicitly.\n\n## Workflow\n\n### Step 1: Pre-flight Check\n\nRun `git status` to assess the working tree.\n\n- If there are **no changes** (clean working tree, nothing staged), inform the user and stop.\n- If there are **merge conflicts**, inform the user and stop — do not attempt to commit during a conflict.\n\n### Step 2: Stage Changes\n\nCheck whether the staging area already has content:\n\n- If `git diff --cached --stat` shows staged files, use them as-is — the user intentionally staged specific files.\n- If the staging area is empty but there are unstaged changes, run `git add -A` to stage everything.\n\nBefore proceeding, check for sensitive files in the staging area (`.env`, `.env.*`, `credentials.*`, `*secret*`, `*.pem`, `*.key`). If any are found, **warn the user and stop** — do not commit secrets.\n\n### Step 3: Analyze Changes\n\nRun these commands to understand what changed:\n\n- `git diff --cached --stat` — file-level summary (which files, insertions\u002Fdeletions)\n- `git diff --cached` — actual content changes\n\nIf the diff output exceeds 200 lines, truncate and work with the summary + first 200 lines. This is enough to determine type, scope, and description.\n\n### Step 4: Determine Commit Type\n\nBased on the changes, select the most appropriate type using this priority order:\n\n| Priority | Type | When to use |\n|----------|------|-------------|\n| 1 | `revert` | Reverting a previous commit |\n| 2 | `feat` | New feature or capability |\n| 3 | `fix` | Bug fix |\n| 4 | `docs` | Documentation only |\n| 5 | `test` | Adding or updating tests |\n| 6 | `build` | Build system or dependencies |\n| 7 | `ci` | CI\u002FCD configuration |\n| 8 | `style` | Code formatting, whitespace, semicolons |\n| 9 | `perf` | Performance improvement |\n| 10 | `refactor` | Code restructuring without behavior change |\n| 11 | `chore` | Maintenance, tooling, other tasks |\n\nIf changes span multiple types, use the highest-priority type that covers the primary intent.\n\n### Step 5: Determine Scope\n\nScope is the module, component, or area affected:\n\n- Single module\u002Fcomponent changed → use it as scope (e.g., `auth`, `api`, `button`)\n- Changes span multiple unrelated areas → omit scope entirely\n- Keep scope short — one word when possible\n\n### Step 6: Detect Description Language\n\nRun `git log --oneline -10` to examine recent commit messages.\n\n- Identify the language used in the majority of recent commit descriptions (after the type\u002Fscope prefix).\n- Use that same language for the new commit description. This is not limited to Chinese or English — it can be any language the project uses.\n- If the user explicitly requests a language (e.g., \"用中文提交\", \"commit in English\"), use the requested language instead.\n- If history is empty or the language cannot be determined, default to **English**.\n\n### Step 7: Generate Description\n\nWrite the description in the detected language:\n\n- Start with a verb (e.g., \"add\", \"fix\", \"update\" \u002F \"添加\", \"修复\", \"更新\")\n- Keep it under 50 characters\n- Do not repeat information already conveyed by the type (e.g., don't write `fix: fix the bug`)\n- Be specific about what changed, not vague\n\n### Step 8: Commit\n\nRun the commit command:\n\n```\ngit commit -m \"type(scope): description\"\n```\n\nOr without scope:\n\n```\ngit commit -m \"type: description\"\n```\n\n**Never skip hooks** — do not use `--no-verify`. If a pre-commit hook fails, report the error to the user and stop. Do not retry automatically.\n\n## Edge Cases\n\n| Situation | Action |\n|-----------|--------|\n| Clean working tree | Inform user \"nothing to commit\" and stop |\n| Merge conflicts present | Inform user and stop |\n| `.env` or credential files staged | Warn and refuse to commit |\n| Only lockfile changes (`package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`) | `chore(deps): update lockfile` |\n| Only binary\u002Fasset files | `chore: update static assets` |\n| Pre-commit hook fails | Report error, do not retry |\n\n## Examples\n\n**English examples:**\n\n```\nfeat(auth): add JWT token refresh mechanism\nfix(api): resolve null pointer in user endpoint\ndocs: update installation instructions in README\ntest(utils): add unit tests for date formatting\nrefactor(db): extract connection pool into shared module\nchore(deps): update lockfile\nstyle: apply prettier formatting to components\nperf(query): add database index for user lookups\nbuild: upgrade webpack to v5\nci: add GitHub Actions workflow for staging deploy\n```\n\n**Chinese examples:**\n\n```\nfeat(auth): 添加 JWT 令牌刷新机制\nfix(api): 修复用户接口空指针异常\ndocs: 更新 README 安装说明\ntest(utils): 为日期格式化添加单元测试\nrefactor(db): 将连接池提取为共享模块\nchore(deps): 更新锁文件\nstyle: 对组件应用 prettier 格式化\nperf(query): 为用户查询添加数据库索引\nbuild: 升级 webpack 至 v5\nci: 添加 GitHub Actions 预发布部署流程\n```\n",{"name":5,"description":7},"main","bdc113818552fc6973af63a3890b61d9777b677d","skills\u002Fsmart-commit","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills","https:\u002F\u002Fskills.sh\u002Fyukiniro\u002Fskills","https:\u002F\u002Fgithub.com\u002FYukiniro","zhanghao.zone","Done is better than perfect.","2026-10-17 22:26:31",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add Yukiniro\u002Fskills --skill smart-commit",{"tool":53,"command":54},"bunx","bunx skills add Yukiniro\u002Fskills --skill smart-commit",{"tool":56,"command":57},"pnpm","pnpm dlx skills add Yukiniro\u002Fskills --skill smart-commit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsmart-commit\u002FSKILL.md",true,[61],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"evals\u002Fevals.json","REFERENCE","参考文档",822,"https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsmart-commit\u002Fevals\u002Fevals.json",[68,82,104,120,132,157],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":79,"publishedAt":33},"01M6CHXN4VA42C1N988S7BWCMG","template-skill","Replace with description of the skill and when to use it.","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Ftemplate\u002FSKILL.md",[74],{"categoryNo":75,"categoryName":76,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[80,81,29],"template skill","template",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":93,"publishedAt":33},"01M6CHXJMHXG22G9TQPPN498ZV","work-weekly-report","Generate structured weekly work summaries from daily work logs. Use when: user provides daily work logs\u002Fnotes and asks to create a weekly report\u002Fsummary (周报\u002F周工作总结), or when user pastes fragmented daily entries and wants them consolidated into a categorized summary. Triggers on keywords: 周报, 周工作总结, weekly summary, weekly report, 工作日志整理, 每日日志汇总.","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwork-weekly-report\u002FSKILL.md",[88],{"categoryNo":89,"categoryName":90,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[94,95,96,97,98,99,100,101,27,29,102,103],"report","work","Weekly Report","work weekly report","notes","create","generate","logs","daily","summary",{"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":111,"publishedAt":33},"01M6CHXFF4NJ91DZ197XD462N8","squash-commits","Squash all commits on the current branch (relative to the main branch) into a single commit while preserving the branch name. Use when: user wants to squash commits, clean up branch history, compress multiple commits into one, or tidy up before merging. Triggers on: squash commits, 压缩提交, 合并提交, clean up commits, compress commits, squash branch, 整理提交记录, 合并为一个提交. Make sure to use this skill whenever the user mentions squashing, compressing, or cleaning up commit history on a branch, even if they don't use the exact term \"squash\".","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsquash-commits\u002FSKILL.md",[110],{"categoryNo":75,"categoryName":76,"taxonomyType":77,"taxonomyTypeDesc":78},[112,113,24,27,114,26,115,116,29,117,118,38,119,19],"squash commits","squash","branch","compress","压缩","up","clean","tidy",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":33},"01M6CHXAZNH6HMY4DW6663QJ25","setup-agents-md","创建、初始化或更新 AGENTS.md 通用工程原则文档时使用。触发词包括“创建 AGENTS.md”、“更新 AGENTS.md”、“初始化 AGENTS.md”、“setup AGENTS.md”、“create AGENTS.md”、“update AGENTS.md”。","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-agents-md\u002FSKILL.md",[],[127,128,129,130,99,131],"agents md","setup","setup agents md","文档","update",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":144,"publishedAt":33},"01M6CHX7J863WH94J35ZVN8EMZ","resume-screener","Evaluate and grade resumes against job requirements using a 10-level grading system (C, B-, B, B+, A-, A, A+, S, SS, SSS). Provides multi-dimensional scoring with evidence-based reasoning and hiring recommendations. Use when screening candidates, comparing applicants, assessing resume-job fit, or filtering resumes. Supports Chinese and English resumes in any format (PDF, DOCX, text, image).","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fresume-screener\u002FSKILL.md",[138,141],{"categoryNo":139,"categoryName":140,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":142,"categoryName":143,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000038","人力资源",[145,146,147,148,149,150,151,152,25,153,154,29,155,156],"resume","resume screener","image","docx","PDF","reasoning","Hiring","system","text","filtering","evidence","chinese",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":164,"publishedAt":33},"01M6CHX4RDME6453Z8EKTC7H91","prompt-optimizer","Transforms vague or simple user prompts into high-quality, structured, and high-performance AI instructions using systematic optimization techniques like XML tagging, few-shot examples, and Chain-of-Thought. Use this skill when you need to improve the reliability, accuracy, or formatting of an AI's output.","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-optimizer\u002FSKILL.md",[163],{"categoryNo":75,"categoryName":76,"taxonomyType":77,"taxonomyTypeDesc":78},[165,166,167,168,169,170,171,172,27,29,173,174,175,176],"prompt","prompt optimizer","xml","examples","Optimization","improve","quality","instructions","reliability","prompts","simple","performance"]