본문으로 건너뛰기
cccskills
무료GitHub에 공개

commit-changes

Prepare and create PlainTab git commits with scoped Conventional Commit subjects and detailed commit bodies. Use when the user asks to commit, 提交, create a git commit, stage changes, or asks for precise Conventional Commits / Google-style commit messages; especially when the worktree may contain unrelated user changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.1 KB
  • agents/openai.yaml276 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Commit PlainTab Changes

Use this skill to make clean PlainTab commits without mixing unrelated work.

Commit Style

  • Use scoped Conventional Commits by default: type(scope): 精准描述.
  • Allowed types include feat, fix, perf, refactor, chore, docs, test, style, and other Conventional Commit types only when they accurately describe the change.
  • Always include a scope when a clear module or area exists, for example fix(wallpaper): ..., refactor(storage): ..., docs(rules): ..., test(import-export): .... Omit scope only when the change is genuinely cross-cutting and no honest scope fits.
  • Prefer Chinese commit subjects and bodies when the user asks in Chinese.
  • Match the current repository history. Before committing, inspect recent subjects with git log --oneline -10 and keep the same Chinese Conventional Commit rhythm unless the user asks for another style.
  • Make the subject long enough to be precise. It should name the changed behavior or module and the concrete result, not just the activity. Avoid vague subjects such as fix(settings): 修复问题, docs(rules): 更新文档, or chore: 调整代码.
  • Prefer type(scope): 动词 + 具体对象/行为 + 结果/目的, for example fix(wallpaper): 补齐用户数据备份中的 IndexedDB Blob 恢复顺序.
  • The body is required for non-trivial commits. Use it to explain what changed, why it changed, how it was verified, and any storage/migration/UI risk boundary. Keep it factual and specific; do not pad with generic release-note language.
  • Write multiple body bullets when needed. A good body usually has 3-6 bullets covering:
    • the concrete code paths or modules changed;
    • the user-visible behavior or data-safety effect;
    • migration/import-export/i18n implications when relevant;
    • verification commands or focused manual checks that passed;
    • intentionally preserved limitations or excluded files.

Example:

fix(settings): 统一数据备份口令可见性并补齐导入按钮状态

- 将加密导出和 .ptab 导入口令收口到同一套显示/隐藏状态逻辑,只保留图标按钮。
- 选择 JSON 备份时保持导入口令禁用,选择 .ptab 后再启用口令输入和可见性切换。
- 复用现有口令 i18n 标签,避免新增无可见文案的显示/隐藏翻译 key。
- 验证通过 node --check js/settings-panel.js 和数据导入控件回归脚本。

Workflow

  1. Run git status --short.
  2. Identify which files belong to the current user request. Do not stage unrelated modified or untracked files.
  3. Inspect recent style with git log --oneline -10 before choosing the commit subject.
  4. Review the staged candidate with git diff -- <files> or git diff --stat -- <files>.
  5. Run relevant checks for the touched files. Common checks:
    • JavaScript: node --check <file>
    • i18n: use $update-i18n validation when language packs or t(key) calls changed.
    • General whitespace: git diff --check -- <files>
  6. Stage only the intended files with explicit paths.
  7. Confirm staged contents with git diff --cached --stat and git status --short.
  8. Commit using a Chinese scoped Conventional Commit message unless the user requests another language. Make the subject precise and include a detailed body for any meaningful code, storage, UI, i18n, rules, or test change.
  9. After commit, run git status --short and report the commit hash.

Safety

  • Never use git reset --hard, git checkout --, or force operations to clean the tree unless the user explicitly asks.
  • If unrelated changes are present, leave them unstaged and mention that they were preserved.
  • If the user asks to commit all changes, still show awareness of untracked or surprising files before staging them.
  • Do not amend, rebase, or push unless explicitly requested.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Claude adapter for bumping the PlainTab version. Use when the user asks "更新版本", "bump version", "upgrade to vX.Y.Z", "发布新版本", or asks to prepare a PlainTab release.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

Use when preparing a PlainTab release or bumping the PlainTab version, triggered by phrases like "更新版本", "bump version", "upgrade to vX.Y.Z", "发布新版本". Updates manifest.json, runtime UI/version constants, localized changelogs, store listings, release notes, validation notes, and current project docs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

Claude adapter for preparing and creating PlainTab git commits with scoped, detailed Conventional Commit messages. Use when the user asks to commit, 提交, stage changes, or use precise Conventional Commit / Google-style commit messages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

diagnose

무료

Claude adapter for diagnosing PlainTab bugs, broken flows, startup issues, storage or wallpaper regressions, and performance regressions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

diagnose

무료

Use when diagnosing PlainTab bugs, broken UI behavior, failing extension/web-mode flows, storage or wallpaper regressions, startup issues, or performance regressions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

Use when reviewing PlainTab architecture, looking for refactoring opportunities, reducing coupling, improving testability, or making modules easier for agents to understand without redesigning stable behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

kaininx의 스킬 모두 보기

이 스킬의 문제 신고