ship
Skill4 starsChanged 8 months agoMITView on GitHub
You are running the /ship workflow. This is non-interactive, fully automated. Do NOT ask for confirmation at any step. The user said /ship which means DO IT. Run straight through and output the PR URL at the end. Only stop for: - On the base branch (abort) - Merge conflicts that can't be auto-resolved - Test failures - Pre-landing review finds ASK items needing user judgment - MINOR or MAJOR version bump needed Never stop for: - Uncommitted changes (always…
- Commits and pushes
179 other projects use a version of this.
Adopted by
Most recently taken up by
- jthingelstad/elixir-mcptheir own version, first seen Oct 7, 2026
- mpwilso/isrtheir own version, first seen Oct 6, 2026
- hurttlocker/o8their own version, first seen Oct 4, 2026
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- DevJuanP/skillstheir own version, first seen Oct 3, 2026
- hosembafer/skillstheir own version, first seen Oct 3, 2026
Used with
Projects with it also use cso, setup-deploy and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 10 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 10 projects that use this
AICreator-WindSkilldocument-release
技术作家工具。更新项目文档。
Also in 10 projects that use this
CodeWithBehnamSkillsetup-browser-cookies
Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.
Also in 9 projects that use this
no-sessionSkillconnect-chrome
Launch real Chrome controlled by pstack with the Side Panel extension auto-loaded. One command: connects Claude to a visible Chrome window where you can watch every action in real time. The extension shows a live activity feed in the Side Panel. Use when asked to "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser".
Also in 4 projects that use this
AICreator-WindSkilldesign-consultation
设计合作伙伴工具。构建完整设计系统,提供专业设计建议。
Also in 10 projects that use this
- +1 more from AICreator-Wind
- +1 more from ayuday
Other versions179 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 179
- rtk-ai/rtk★ 82ksame name
- ShenSeanChen/waku-agent★ 1.9ksame name
- suboss87/FDEOps★ 950same name
- bex-co/bex★ 569same name
- nudgebee/nudgebee★ 398same name
- nightly-labs/openbot★ 350same name
- ucsandman/marketing-studio★ 249same name
- garagon/nanostack★ 207same name
- awslabs/loom★ 190same name
- genkovich/sdd★ 170same name
169 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- daily-routineSkill
- memory-opsSkill
- research-collectorSkill
- task-analyzerSkill
- autonomous-opsSkill
- carefulSkill
- code-reviewSkill
- daily-routineSkill
- deep-researchSkill
- doc-fetcherSkill
- freezeSkill
- guardSkill
- investigateSkill
- knowledge-refinerSkill
- knowledge-syncSkill
- memory-opsSkill
- office-hoursSkill
- qaSkill
- research-collectorSkill
- retroSkill
- self-optimizeSkill
- session-trackerSkill
- task-analyzerSkill
- unfreezeSkill
- web-researcherSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
46 rules. 0 are common, 39 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 162 edited versions we read keep these.
39
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 25
Do NOT ask for confirmation at any step.
- Distinctive: line 26
Run straight through and output the PR URL at the end.
- Distinctive: line 39
Commit message approval (auto-commit)
- Distinctive: line 43
Before executing this skill:
- Distinctive: line 56
If conflicting active tasks exist, warn the user before proceeding.
- Very specific: line 67
If "false": do NOT proactively suggest other OpenClaw-CC skills during this session.
- Distinctive: line 68
Only run skills the user explicitly invokes.
- Distinctive: line 77
Before starting work, load relevant context from the 3-layer memory system:
- Distinctive: line 91
Avoid repeating past mistakes
- Distinctive: line 96
If critical related memories exist, summarize them before proceeding:
- Very specific: line 134
Use $BASE for all subsequent operations:
- Distinctive: line 143
Check current branch. If on base branch, abort: "You're on the base branch.
- Very specific: line 144
Run git status (never use -uall).
- Very specific: line 145
Run git diff $BASE...HEAD --stat and git log $BASE..HEAD --oneline to understand what's being shipped.
- Distinctive: line 157
If merge conflicts: try auto-resolve simple ones.
- Distinctive: line 158
If already up to date: continue silently.
- Distinctive: line 198
Check CLAUDE.md for test commands
- Distinctive: line 199
Ask the user if they have a preferred test command
- Distinctive: line 200
If none available, skip test-dependent steps and note in output
- Very specific: line 202
Usage: Run detected command with $TEST_CMD
- Distinctive: line 208
Run detected test command:
- Distinctive: line 218
If OMC LSP tools are available, run diagnostics on changed files:
- Distinctive: line 241
Fast path: All paths covered → "Step 3.4: All new code paths have test coverage ✓"
- Very specific: line 262
If AUTO-FIX items applied → commit: fix: pre-landing review auto-fixes If ASK items remain → present via AskUserQuestion, one batch.
- Distinctive: line 263
If ASK items remain → present via AskUserQuestion, one batch.
- Distinctive: line 269
If VERSION file exists:
- Distinctive: line 272
Write new version, reset lower digits to 0
- Distinctive: line 274
If no VERSION file: skip this step.
- Distinctive: line 281
Read header for format
- Distinctive: line 285
Do NOT ask the user — infer from diff
- Distinctive: line 322
Before pushing, if ANY code changed after Step 3's test run:
- Distinctive: line 324
Run build if applicable.
- Distinctive: line 331
If tests fail: STOP. Fix and return to Step 3.
- Distinctive: line 374
After completing the workflow, persist results to the 3-layer memory system:
- Distinctive: line 445
Read-only operations (search, list, status)
- Distinctive: line 456
Never push to main/master directly
- Distinctive: line 457
Never force push without explicit user request
- Distinctive: line 458
Always run tests before creating PR
- Distinctive: line 459
Never skip hooks (--no-verify)
- Distinctive: line 460
Verify branch is not main before any push
- Distinctive: line 464
Every skill must end with one of these status codes:
- Distinctive: line 475
3-strike rule: After 3 failed attempts at any step, STOP and escalate to user.
- Distinctive: line 476
Do not continue guessing. Present what was tried and ask for direction.
- Distinctive: line 478
Scope escalation: If fix/change touches 5+ files unexpectedly, pause and confirm with the user before proceeding.
- Distinctive: line 481
Security uncertainty: If you are unsure about a security implication, STOP and escalate.
- Distinctive: line 484
Verification requirement: Never claim DONE without evidence.
“Common” is measured: kept by at least 6 in 10 of the 162 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly. Run: node scripts/gen-skill-docs.mjs -->name: ship description: > Automated release workflow with comprehensive quality gates. Triggers on "배포", "릴리스", "ship it", "PR 만들어", "release", "deploy", "create PR", "push this", "ship". Non-interactive: user says /ship, next thing they see is the PR URL. Delegates commit organization to OMC git-master, review to code-reviewer, verification to verifier. Sends PR notification via messenger. allowed-tools:
- Bash
- Read
- Write
- Edit
- Grep
- Glob
- Agent
- AskUserQuestion
Ship — Fully Automated Release Workflow
You are running the /ship workflow. This is non-interactive, fully automated.
Do NOT ask for confirmation at any step. The user said /ship which means DO IT.
Run straight through and output the PR URL at the end.
Only stop for:
- On the base branch (abort)
- Merge conflicts that can't be auto-resolved
- Test failures
- Pre-landing review finds ASK items needing user judgment
- MINOR or MAJOR version bump needed
Never stop for:
- Uncommitted changes (always include them)
- PATCH/MICRO version bump (auto-pick)
- CHANGELOG content (auto-generate from diff)
- Commit message approval (auto-commit)
Preamble
Before executing this skill:
- Load context from memory:
Review returned memories for relevant past context, decisions, and patterns.memory_search(query: "{skill-relevant-query}", associative: true, limit: 5) memory_search(tag: "{skill-name}", limit: 3) - Check OMC state for active work:
If conflicting active tasks exist, warn the user before proceeding.state_get_status() - Detect current branch (for git-related skills):
git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "not-a-git-repo" - Check proactive mode:
Ifstate_read("occ-proactive")"false": do NOT proactively suggest other OpenClaw-CC skills during this session. Only run skills the user explicitly invokes. - Log skill activation:
memory_daily_log(type: "note", entry: "Skill activated: /{skill-name}")
Memory Context Loading
Before starting work, load relevant context from the 3-layer memory system:
# Search for related past work
memory_search(query: "{task description}", associative: true, limit: 5)
# Search by relevant tags
memory_search(tag: "{relevant-tag}", limit: 3)
# Check for recent related daily logs
memory_search_date(start: "{7 days ago}", end: "{today}", category: "daily-logs", limit: 5)Use retrieved context to:
- Avoid repeating past mistakes
- Build on previous decisions
- Maintain consistency with established patterns
- Reference related knowledge graph nodes
If critical related memories exist, summarize them before proceeding:
Found {N} related memories:
- {memory_1 title}: {brief relevance}
- {memory_2 title}: {brief relevance}Step 0 — Base Branch Detection
Base Branch Detection
Detect the correct base branch for diff and PR operations:
# Method 1: Check if there's an existing PR for this branch
BASE=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null)
# Method 2: Check repo default branch
if [ -z "$BASE" ]; then
BASE=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name 2>/dev/null)
fi
# Method 3: Fallback to common defaults
if [ -z "$BASE" ]; then
if git show-ref --verify --quiet refs/heads/main 2>/dev/null; then
BASE="main"
elif git show-ref --verify --quiet refs/heads/master 2>/dev/null; then
BASE="master"
else
BASE="main"
fi
fi
echo "Base branch: $BASE"Use $BASE for all subsequent operations:
git diff origin/$BASE...HEAD— Changes on this branchgit log origin/$BASE..HEAD— Commits on this branchgh pr create --base $BASE— PR targeting correct branch
Step 1 — Pre-flight Checks
- Check current branch. If on base branch, abort: "You're on the base branch. Run /ship from a feature branch."
- Run
git status(never use-uall). Uncommitted changes are always included. - Run
git diff $BASE...HEAD --statandgit log $BASE..HEAD --onelineto understand what's being shipped.
Step 2 — Merge Base Branch (BEFORE tests)
Fetch and merge the base branch so tests run against the merged state:
git fetch origin $BASE && git merge origin/$BASE --no-editIf merge conflicts: try auto-resolve simple ones. If complex, STOP and show them. If already up to date: continue silently.
Step 2.5 — Test Framework Bootstrap
Test Framework Detection & Bootstrap
Detect the project's test framework automatically:
# Check package.json for test command
TEST_CMD=""
if [ -f "package.json" ]; then
TEST_CMD=$(node -e "try{const p=require('./package.json');console.log(p.scripts&&p.scripts.test||'')}catch(e){}" 2>/dev/null)
fi
# Check for common test runners
if [ -z "$TEST_CMD" ]; then
if [ -f "jest.config.js" ] || [ -f "jest.config.ts" ]; then
TEST_CMD="npx jest"
elif [ -f "vitest.config.ts" ] || [ -f "vitest.config.js" ]; then
TEST_CMD="npx vitest run"
elif [ -f "pytest.ini" ] || [ -f "pyproject.toml" ]; then
TEST_CMD="python -m pytest"
elif [ -f "Cargo.toml" ]; then
TEST_CMD="cargo test"
elif [ -f "go.mod" ]; then
TEST_CMD="go test ./..."
fi
fi
if [ -n "$TEST_CMD" ]; then
echo "Test command detected: $TEST_CMD"
else
echo "No test framework detected"
fiIf no test framework detected:
- Check CLAUDE.md for test commands
- Ask the user if they have a preferred test command
- If none available, skip test-dependent steps and note in output
Usage: Run detected command with $TEST_CMD
Step 3 — Run Tests (on merged code)
Run detected test command:
$TEST_CMD 2>&1 | tee /tmp/ship_tests.txtIf any test fails: Show failures and STOP. Do not proceed. If all pass: Continue — note counts briefly.
Post-test LSP diagnostics:
If OMC LSP tools are available, run diagnostics on changed files:
lsp_diagnostics_directory("<changed-directory>")Flag any type errors, unused imports, or lint issues that tests might not catch.
Step 3.4 — Test Coverage Audit
Delegate to OMC test-engineer for coverage analysis:
Agent(subagent_type: "oh-my-claudecode:test-engineer", prompt: "
Analyze test coverage for the diff: git diff origin/$BASE...HEAD
1. Trace every changed codepath
2. Map each branch against existing tests
3. Output ASCII coverage diagram with [TESTED] and [GAP] markers
4. Generate tests for uncovered paths (max 20 tests)
5. Run generated tests, commit passing ones
")Fast path: All paths covered → "Step 3.4: All new code paths have test coverage ✓"
Step 3.5 — Pre-Landing Review
Delegate to OMC code-reviewer for structural review:
Agent(subagent_type: "oh-my-claudecode:code-reviewer", prompt: "
Review diff: git diff origin/$BASE
Two-pass review:
Pass 1 (CRITICAL): SQL safety, race conditions, secrets exposure, auth gaps
Pass 2 (INFORMATIONAL): Dead code, magic numbers, style, N+1 queries
Classify each finding as AUTO-FIX or ASK.
AUTO-FIX: apply directly, report one line per fix.
ASK: collect for user decision.
")If AUTO-FIX items applied → commit: fix: pre-landing review auto-fixes
If ASK items remain → present via AskUserQuestion, one batch.
Step 4 — Version Bump (auto-decide)
If VERSION file exists:
- Count lines changed:
git diff origin/$BASE...HEAD --stat | tail -1 - Auto-decide: <50 lines → MICRO/PATCH, 50+ → PATCH, major feature → ask MINOR
- Write new version, reset lower digits to 0
If no VERSION file: skip this step.
Step 5 — CHANGELOG (auto-generate)
If CHANGELOG.md exists:
- Read header for format
- Generate from ALL commits:
git log $BASE..HEAD --oneline - Categorize: Added / Changed / Fixed / Removed
- Insert after header, dated today
- Do NOT ask the user — infer from diff
Step 5.5 — TODOS.md Auto-Update
If TODOS.md exists:
- Cross-reference diff against open TODOs
- Mark completed items (conservative — only clear evidence)
- Move to Completed section with version and date
Step 6 — Bisectable Commits
Organize changes into logical, independently valid commits:
| Order | Category |
| 1 | Infrastructure (deps, config, CI) |
| 2 | Data/Schema (migrations, types) |
| 3 | Core logic (services, controllers) |
| 4 | Tests |
| 5 | VERSION + CHANGELOG + TODOS.md |
Each commit: conventional message, independently valid, no broken imports. Final commit gets co-author trailer:
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>Step 6.5 — Verification Gate (Iron Law)
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE.
Before pushing, if ANY code changed after Step 3's test run:
- Re-run test suite. Paste fresh output.
- Run build if applicable.
Rationalization prevention:
- "Should work now" → RUN IT.
- "Confident" → Confidence is not evidence.
- "Already tested" → Code changed. Test again.
If tests fail: STOP. Fix and return to Step 3.
Step 7 — Push
git push -u origin $(git rev-parse --abbrev-ref HEAD)Step 8 — Create PR
gh pr create --base $BASE --title "<type>: <summary>" --body "$(cat <<'EOF'
## Summary
<bullet points from CHANGELOG>
## Test Coverage
<coverage diagram from Step 3.4>
## Pre-Landing Review
<findings from Step 3.5>
## Test Plan
- [x] All tests pass
- [x] Pre-landing review complete
- [x] Verification gate passed
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"Output the PR URL.
Step 9 — Record & Notify
Memory Persistence
After completing the workflow, persist results to the 3-layer memory system:
Required Actions
- Log completion to daily log:
memory_daily_log(type: "done", entry: "{skill-name}: {brief result summary}") - Store significant findings (importance ≥ 6):
memory_store( category: "{appropriate category}", title: "{descriptive title}", content: "{structured result content}", tags: ["{skill-name}", "{project}", "{relevant-tags}"], importance: {6-10 based on significance} ) - Link to related memories (if applicable):
memory_link(source: "{new_memory_id}", target: "{related_id}", relation: "{related|derived|refines}")
Category Routing
| Content Type | Category | Subcategory |
| Bug fix / debugging | knowledge | debugging |
| Code review results | projects | {project-name} |
| Design decisions | projects | {project-name} |
| Research findings | knowledge | {topic} |
| Release / deploy | projects | {project-name} |
| Person-related info | people | — |
| Task / action item | tasks | — |
Messenger Notification
Send notifications for significant events via messenger:
When to Notify
| Event | Platform | Priority |
| Task/pipeline completed | telegram | Normal |
| Verification failed | telegram | High |
| Long-running task done (10+ min) | telegram | Normal |
| Critical error or blocker | telegram | High |
| PR created / release shipped | all | Normal |
| Importance ≥ 8 memory created | telegram | Normal |
Notification Format
messenger_send(
platform: "telegram",
message: "[{skill-name}] {status_emoji} {brief description}\n\n{details if relevant}"
)Status Emojis:
- Completed successfully: ✅
- Completed with warnings: ⚠️
- Failed / blocked: ❌
- Needs attention: 🔔
Do NOT Notify
- Routine memory operations
- Intermediate progress steps
- Read-only operations (search, list, status)
memory_daily_log(entry: "Shipped: {PR title} #{PR number}", type: "done")
messenger_send(platform: "all", message: "✅ [ship] PR created: {PR URL}\n{summary}")Safety Rules
- Never push to main/master directly
- Never force push without explicit user request
- Always run tests before creating PR
- Never skip hooks (--no-verify)
- Verify branch is not main before any push
Completion Status Protocol
Every skill must end with one of these status codes:
| Code | Meaning | When to Use |
| DONE | All steps completed, evidence provided | Root cause found + fix verified, PR created, review finished |
| DONE_WITH_CONCERNS | Completed with warnings or caveats | Tests pass but coverage dropped, fix applied but can't fully verify |
| BLOCKED | Cannot proceed, requires user intervention | 3 failed attempts, missing permissions, external dependency down |
| NEEDS_CONTEXT | Missing information to continue | Unclear requirements, need user clarification |
Escalation Rules
- 3-strike rule: After 3 failed attempts at any step, STOP and escalate to user. Do not continue guessing. Present what was tried and ask for direction.
- Scope escalation: If fix/change touches 5+ files unexpectedly, pause and confirm with the user before proceeding.
- Security uncertainty: If you are unsure about a security implication, STOP and escalate. Never guess on security.
- Verification requirement: Never claim DONE without evidence.
- "Should work" → RUN IT. Confidence is not evidence.
- "Already tested earlier" → Code changed since. Test again.
- "Trivial change" → Trivial changes break production.
Output Format
═══════════════════════════════════════
Status: {DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT}
Summary: {one-line description of outcome}
Evidence: {test output, verification results, or blocking reason}
═══════════════════════════════════════Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

