pan-commit
Create Overdeck repo commits that satisfy commitlint and husky on the first try
by eltmon★ 36 GitHub stars
Install pan-commit in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
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.
Allowed tools
Tools this skill is permitted to call.
- 01
Bash - 02
Read
FAQ
What does the pan-commit skill do?
Create Overdeck repo commits that satisfy commitlint and husky on the first try
How do I install the pan-commit skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pan-commit skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
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…