pan-commit
Create Overdeck repo commits that satisfy commitlint and husky on the first try
от eltmon★ 36 звёзд на GitHub
Установить pan-commit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Overdeck Commit Helper
Use this skill when committing inside the Overdeck repo so the commit passes this repo's husky and commitlint checks on the first attempt.
Repo Rules
Read commitlint.config.js before drafting a message if you have not already verified the current rules.
Current expectations in this repo:
- Use a conventional commit header:
<type>(<scope>): <subject> scopeis optional in commitlint, but when you use one, prefer one of the repo scopes:cloisterdashboardworkspaceclireviewdbspecialiststerminalinfradeps
- Keep the header at or under 100 characters
- If you include a body, keep every body line at or under 100 characters
- Do not add a
Co-Authored-Bytrailer in this repo
Preferred types:
featfor new behaviorfixfor bug fixesrefactorfor structural changes without behavior changetestfor test-only changesdocsfor documentation-only changeschorefor maintenance work
Required Workflow
1. Inspect commit context
Run these first:
git status --short --branch
git diff --staged
git diff
git log --oneline -5
If there are untracked files to include, stage them explicitly by path. Do not use git add . or git add -A unless the user explicitly asks.
2. Choose the narrowest fitting scope
Map changed files to the closest repo scope. Examples:
src/dashboard/frontend/**orsrc/dashboard/server/**→dashboardsrc/lib/tmux.tsor terminal streaming code →terminalsrc/cloister/**or agent orchestration →cloistersrc/cli/**,bin/**, or top-level command behavior →cliworkspaces/**lifecycle code →workspace- specialist pipeline code →
specialistsorreview - dependency-only updates →
deps - infra scripts/config →
infra
If the change spans multiple areas, choose the scope that best matches the primary reason for the change. If no scope fits cleanly, omit the scope instead of inventing one.
3. Draft the commit message
Use one of these safe templates:
feat(cli): add pan-commit skill
fix(dashboard): restore terminal reconnect state
refactor(cloister): simplify specialist handoff flow
test(review): cover failed verification retry path
docs: clarify pan sync workflow
chore(deps): update effect packages
For multi-line messages, use a short body that explains why. Keep every body line short.
Good:
fix(dashboard): rehydrate snapshot after reconnect
Restore the initial snapshot step so the UI can recover cleanly after the server restarts.
Bad:
add a new thing
feat(skill): something vague and too long that keeps going until it exceeds the header limit and fails lint
feat(unknown): use a scope that is not part of the repo's normal scopes
4. Commit safely
For a single-line message:
git commit -m "feat(cli): add pan-commit skill"
For a multi-line message:
git commit -m "$(cat <<'EOF'
fix(dashboard): rehydrate snapshot after reconnect
Restore the initial snapshot step so the UI can recover cleanly after the server restarts.
EOF
)"
5. If commitlint rejects the message
Do not bypass hooks. Fix the message and retry.
Common fixes:
subject-emptyortype-empty→ rewrite as a conventional commit headerscope-enumwarning → switch to one of the known repo scopes, or omit the scopebody-max-line-length→ wrap the body to shorter linesheader-max-length→ shorten the subject
Notes
- Always create a new commit rather than amending unless the user explicitly asks to amend.
- If the user asks to commit everything, still inspect the diff first and stage explicit paths.
- If a hook fails for a real code problem rather than message format, fix the underlying issue and then create a new commit.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read
FAQ
Что делает скилл pan-commit?
Create Overdeck repo commits that satisfy commitlint and husky on the first try
Как установить скилл pan-commit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pan-commit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…