ship
Check knowledge, run checks, commit, push, and open the draft PR. Use to commit, push, open a PR, or finish work.
от ratoaq2★ 27 звёзд на GitHub
Установить ship в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Ship
Read CONTRIBUTING.md first. Follow it for the branch, commit, and PR rules. Do not copy them here.
1. Smaller diff
Read the diff (git diff main...) with the "Code: lazy senior dev" steps of AGENTS.md. Remove code
that the change does not need: unused options, new helpers that copy existing code, and extra
abstractions. For a large diff, also run /simplify.
2. Knowledge check
This step keeps the AI knowledge correct. Do not skip it.
- Run
uv run python scripts/check_knowledge.py --changed. It lists the rules that cover the changed files, and the docs that the rules link to. - Read each listed rule and doc. Compare each statement with the diff (
git diff main...). - Also check:
docs/architecture.md, if you added, removed, or renamed a module.- The commands in
AGENTS.mdand the setup inCONTRIBUTING.md, if you changed the tools. AGENTS.md, if the change makes one of its rules wrong.
- Fix each wrong statement in the same commit as the code change. Follow
.claude/rules/knowledge.md. - If you learned a fact that the next person needs, add it to the correct owner file.
3. Checks
Run bash scripts/test.sh. It must pass. It also runs uv run python scripts/check_knowledge.py.
Fix the failures. Do not skip hooks.
4. Commits
- Bug fix: the
test:commit with the failing test must come before thefix:commit. - One-line Conventional Commits subject. Add a
Closes #<n>line to the fix commit. - Show the user the commit list before you push.
5. Push and PR
- Ask before you push. Then run
git push -u origin <branch>. - Write the PR body from
.github/pull_request_template.md. For a large item, useplans/<item>/summary.mdas the source. Write in STE100 (writing-styleskill). - Run
gh pr create --draft --title "<plain title>" --body-file <file>. - Read the PR diff and the body one more time. Fix problems. Then ask the user, and run
gh pr ready. - Update the item
README.md:Stage: ship, the PR link, and the next step (review or merge).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ship?
Check knowledge, run checks, commit, push, and open the draft PR. Use to commit, push, open a PR, or finish work.
Как установить скилл ship?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ship запускает скрипты?
Нет, скилл состоит только из инструкций (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…