[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HR1NKWJM0H275YA69PMRSW":3,"skill-same:01M6HR1NKWJM0H275YA69PMRSW":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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":14,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6HR1NKWJM0H275YA69PMRSW","organize-and-commit-changes",null,"Organize code changes into logical commits and run a confirmation flow. Use when the user wants to commit changes in chunks, review each commit before applying, or follow a structured commit workflow with approval.","midyan\u002Fskissue","midyan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13965184?v=4","01M6HR129RJC96XEWYHVR936QW","Yan Nunes","01M6HR12DGZWQT00J351M1HZB3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Forganize-and-commit-changes\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"organize and commit changes","commit","changes","organize","commit changes","user","commit workflow","with","structured","use","approval","review","confirmation","logical commits","commits","flow","code","run","workflow","2026-11-10 10:12:30",false,"---\nname: organize-and-commit-changes\ndescription: Organize code changes into logical commits and run a confirmation flow. Use when the user wants to commit changes in chunks, review each commit before applying, or follow a structured commit workflow with approval.\n---\n\n# Organize and Commit Changes\n\nGuides the agent to group changed files into logical commits, propose one commit at a time, and only create the commit after the user says \"Commit approved. Next\".\n\n## When to Use\n\n- User asks to \"go through the commits\", \"commit in logical chunks\", or \"commit one by one after confirmation\".\n- User wants to review staged changes before each commit is created.\n- A batch of changes (e.g. after a feature) should be split into multiple conventional commits.\n\n## Workflow\n\n### 1. List and group changes\n\n- Run `git status --short` (and `git status -u` if needed) to see all modified and untracked files.\n- **Categorize by logical chunk**: group files that belong to the same concept (e.g. \"database schema + migration\", \"new service + module registration\", \"API + DTOs\").\n- Order chunks so dependencies come first (e.g. schema before code that uses it).\n\n### 2. For each commit (one at a time)\n\n1. **Choose the chunk**: Pick the next logical group of files for one commit.\n2. **Propose message**: Create a commit message that follows the project style (see below). Include a first line (≤ 72 chars) and a body with bullet points describing what the chunk does. Validate with:\n   ```bash\n   node bin\u002Fcheck-commit-message-length.js \"feat: HUB-1590 Your first line\" \"- change one\" \"- change two\"\n   ```\n   Shorten the first line until the script exits 0.\n3. **Stage only that chunk**: `git add \u003Cfile1> \u003Cfile2> ...` for the files in this chunk.\n4. **Present to user**: Show the commit message and list of staged files. Say you are waiting for their confirmation.\n5. **Wait for user reply** — do not run `git commit` yet.\n\n### 3. On user approval\n\n- When the user says **\"Commit approved. Next\"** (or equivalent approval):\n  1. **Commit** the currently staged changes with the proposed message:  \n     `git commit -m \"first line\" -m \"- change one\\n- change two\"` (body as a single string with `\\n` between bullets, or multiple `-m \"body part\"`).\n  2. **Proceed to the next chunk**: stage the next group of files, propose the next message (validating length), and again wait for confirmation.\n- If the user says **no** or requests changes: unstage if needed (`git restore --staged .` or selective `git restore --staged \u003Cfile>`), adjust the message or chunk, re-stage, and present again. Do not commit.\n\n### 4. Finish\n\n- When all chunks have been committed, say so and list the commits made (e.g. `git log -oneline -n \u003Ccount>`).\n\n## Commit Message Style\n\n- **Format**:\n\n  ```\n  feat|chore|fix: HUB-XXX #Message   ← first line, max 72 chars\n\n  - #CHANGE_1\n  - #CHANGE_2\n  - #CHANGE_3\n  ```\n\n  - **First line**: Prefix (`feat`|`chore`|`fix`), ticket (`HUB-\u003Cnumber>`), short summary. Must be **≤ 72 characters**.\n  - **Body**: Bullet list describing what the commit does. Each line must start with `- ` (dash space).\n\n- **Validation**: Run `node bin\u002Fcheck-commit-message-length.js \"\u003Cfirst line>\" \"- bullet 1\" \"- bullet 2\"` (or pipe full message). Script checks first-line length and that body lines are bullets.\n- **Git**: Use `git commit -m \"first line\" -m \"- bullet one\\n- bullet two\"` so the body appears as separate paragraphs\u002Flines.\n- **Tool-agnostic**: Do not add tool-specific text or trailers. Commit messages describe the change only.\n\n## Logical Chunking Guidelines\n\n- **One concept per commit**: e.g. \"schema + migration\", \"config keys\", \"new provider + service\", \"wire in module\", \"API surface (DTOs + controller)\".\n- **Dependency order**: schema\u002Fconfig\u002Fdeps first, then core logic, then callers (API, listeners, jobs).\n- **Tests**: Can be same commit as the code they test, or a dedicated \"tests for X\" commit.\n- **Docs\u002FREADMEs**: Can be one commit at the end or with the module they document.\n\n## Summary\n\n| Step | Agent action                                                                                             |\n| ---- | -------------------------------------------------------------------------------------------------------- |\n| 1    | Group all changed files into logical chunks in order.                                                    |\n| 2    | For current chunk: propose message, validate first line length, stage files, show message + files, wait. |\n| 3    | On \"Commit approved. Next\": commit staged changes, then stage next chunk and repeat from step 2.         |\n| 4    | On \"no\": unstage\u002Fadjust message or chunk, re-stage, present again; do not commit.                        |\n| 5    | When no chunks left: confirm done and show recent commits.                                               |\n\n## Reference\n\n- Commit message validation: `bin\u002Fcheck-commit-message-length.js` (first line ≤72 chars; body lines must be bullets `- ...`).\n- Do not commit until the user explicitly approves (e.g. \"Commit approved. Next\").\n- Keep commits tool-agnostic: no `--trailer` or body text that names an IDE or editor.\n- **If the IDE adds a trailer anyway**: Cursor can inject `--trailer \"Made-with: Cursor\"` automatically. The user should disable this in **Cursor Settings → Agents → Attribution** (toggle off). The agent must not add trailers; if they still appear, it is the IDE, not the agent.\n","# Organize and Commit Changes\n\nGuides the agent to group changed files into logical commits, propose one commit at a time, and only create the commit after the user says \"Commit approved. Next\".\n\n## When to Use\n\n- User asks to \"go through the commits\", \"commit in logical chunks\", or \"commit one by one after confirmation\".\n- User wants to review staged changes before each commit is created.\n- A batch of changes (e.g. after a feature) should be split into multiple conventional commits.\n\n## Workflow\n\n### 1. List and group changes\n\n- Run `git status --short` (and `git status -u` if needed) to see all modified and untracked files.\n- **Categorize by logical chunk**: group files that belong to the same concept (e.g. \"database schema + migration\", \"new service + module registration\", \"API + DTOs\").\n- Order chunks so dependencies come first (e.g. schema before code that uses it).\n\n### 2. For each commit (one at a time)\n\n1. **Choose the chunk**: Pick the next logical group of files for one commit.\n2. **Propose message**: Create a commit message that follows the project style (see below). Include a first line (≤ 72 chars) and a body with bullet points describing what the chunk does. Validate with:\n   ```bash\n   node bin\u002Fcheck-commit-message-length.js \"feat: HUB-1590 Your first line\" \"- change one\" \"- change two\"\n   ```\n   Shorten the first line until the script exits 0.\n3. **Stage only that chunk**: `git add \u003Cfile1> \u003Cfile2> ...` for the files in this chunk.\n4. **Present to user**: Show the commit message and list of staged files. Say you are waiting for their confirmation.\n5. **Wait for user reply** — do not run `git commit` yet.\n\n### 3. On user approval\n\n- When the user says **\"Commit approved. Next\"** (or equivalent approval):\n  1. **Commit** the currently staged changes with the proposed message:  \n     `git commit -m \"first line\" -m \"- change one\\n- change two\"` (body as a single string with `\\n` between bullets, or multiple `-m \"body part\"`).\n  2. **Proceed to the next chunk**: stage the next group of files, propose the next message (validating length), and again wait for confirmation.\n- If the user says **no** or requests changes: unstage if needed (`git restore --staged .` or selective `git restore --staged \u003Cfile>`), adjust the message or chunk, re-stage, and present again. Do not commit.\n\n### 4. Finish\n\n- When all chunks have been committed, say so and list the commits made (e.g. `git log -oneline -n \u003Ccount>`).\n\n## Commit Message Style\n\n- **Format**:\n\n  ```\n  feat|chore|fix: HUB-XXX #Message   ← first line, max 72 chars\n\n  - #CHANGE_1\n  - #CHANGE_2\n  - #CHANGE_3\n  ```\n\n  - **First line**: Prefix (`feat`|`chore`|`fix`), ticket (`HUB-\u003Cnumber>`), short summary. Must be **≤ 72 characters**.\n  - **Body**: Bullet list describing what the commit does. Each line must start with `- ` (dash space).\n\n- **Validation**: Run `node bin\u002Fcheck-commit-message-length.js \"\u003Cfirst line>\" \"- bullet 1\" \"- bullet 2\"` (or pipe full message). Script checks first-line length and that body lines are bullets.\n- **Git**: Use `git commit -m \"first line\" -m \"- bullet one\\n- bullet two\"` so the body appears as separate paragraphs\u002Flines.\n- **Tool-agnostic**: Do not add tool-specific text or trailers. Commit messages describe the change only.\n\n## Logical Chunking Guidelines\n\n- **One concept per commit**: e.g. \"schema + migration\", \"config keys\", \"new provider + service\", \"wire in module\", \"API surface (DTOs + controller)\".\n- **Dependency order**: schema\u002Fconfig\u002Fdeps first, then core logic, then callers (API, listeners, jobs).\n- **Tests**: Can be same commit as the code they test, or a dedicated \"tests for X\" commit.\n- **Docs\u002FREADMEs**: Can be one commit at the end or with the module they document.\n\n## Summary\n\n| Step | Agent action                                                                                             |\n| ---- | -------------------------------------------------------------------------------------------------------- |\n| 1    | Group all changed files into logical chunks in order.                                                    |\n| 2    | For current chunk: propose message, validate first line length, stage files, show message + files, wait. |\n| 3    | On \"Commit approved. Next\": commit staged changes, then stage next chunk and repeat from step 2.         |\n| 4    | On \"no\": unstage\u002Fadjust message or chunk, re-stage, present again; do not commit.                        |\n| 5    | When no chunks left: confirm done and show recent commits.                                               |\n\n## Reference\n\n- Commit message validation: `bin\u002Fcheck-commit-message-length.js` (first line ≤72 chars; body lines must be bullets `- ...`).\n- Do not commit until the user explicitly approves (e.g. \"Commit approved. Next\").\n- Keep commits tool-agnostic: no `--trailer` or body text that names an IDE or editor.\n- **If the IDE adds a trailer anyway**: Cursor can inject `--trailer \"Made-with: Cursor\"` automatically. The user should disable this in **Cursor Settings → Agents → Attribution** (toggle off). The agent must not add trailers; if they still appear, it is the IDE, not the agent.\n",{"name":5,"description":7},"main","52fb76f2f2a48e8f95c02b4e0ae1e134b167b84b",".agents\u002Fskills\u002Forganize-and-commit-changes","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue","https:\u002F\u002Fgithub.com\u002Fmidyan","https:\u002F\u002Fyannunes.com.br","👨‍💻🚀","2026-05-18 22:37:05",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add midyan\u002Fskissue --skill organize-and-commit-changes",{"tool":57,"command":58},"bunx","bunx skills add midyan\u002Fskissue --skill organize-and-commit-changes",{"tool":60,"command":61},"pnpm","pnpm dlx skills add midyan\u002Fskissue --skill organize-and-commit-changes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Forganize-and-commit-changes\u002FSKILL.md",true,[],[66,83,98,110,126,139],{"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":38},"01M6HR5R1RJAWKHHGEDWJRX763","validate-shell-exec","Restrict child_process.spawn\u002Fexec to approved modules (e.g. shell\u002Ftmux helpers) so subprocess usage stays centralized.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-shell-exec\u002FSKILL.md",[],[73,74,75,76,77,78,79,80,81,82],"validate","shell","exec","validate shell exec","tmux","spawn","process","modules","usage","subprocess",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":38},"01M6HR5KZ9HVXZ305J8WCKRYQS","validate-registry-hard","Validates registry.json shape and that each skill path contains SKILL.md at the skill root.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-registry\u002Fhard\u002FSKILL.md",[],[73,90,91,92,93,94,95,96,97],"registry","validate registry","validate registry hard","json","shape","root","at","path",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":38},"01M6HR5GF9YJD8Z6J0Q460BCMB","validate-registry","Keep root registry.json consistent with on-disk skill folders so installs and docs do not drift.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-registry\u002FSKILL.md",[],[91,73,90,105,106,107,26,95,93,108,109],"do","keep","drift","docs","disk",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":38},"01M6HR5DMXBXXJ8TXDMNB9ECKJ","validate-naming","Enforce kebab-case filenames and PascalCase type names under src\u002F; reports naming drift for consistency.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-naming\u002FSKILL.md",[],[73,117,118,119,120,121,107,122,123,124,125],"naming","validate naming","for","src","reports","enforce","type","case","consistency",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":38},"01M6HR5BB44E1J7V342BNR89RW","validate-logging","Prefer structured logging over raw console.* outside approved CLI entrypoints; keeps observability consistent.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-logging\u002FSKILL.md",[],[133,134,73,135,136,137,27,138],"validate logging","logging","console","cli","observability","structured logging",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":38},"01M6HR59251M2QP9BTCG1831B7","validate-links","Scan markdown for broken relative links across the repo. Run via npm run check:links or the harness hard skill.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-links\u002FSKILL.md",[],[146,147,73,36,148,149,150,151,152,153,154,155,156,119],"validate links","links","harness","npm","markdown","repo","check","broken","scan","across","via"]