Skip to content

Disentinel/grafema / .claude/skills/ship

Build all packages, reinstall VS Code extension, commit and push. Use when: user says "ship", or wants to build+install+commit+push in one go.

Ship: Build, Install, Commit, Push

Full pipeline: build all packages, reinstall VS Code extension from source, commit changes, push to remote.

Steps

  1. Build all packages: pnpm build from monorepo root
  2. Reinstall VS Code extension: package vsix, install with --force, clean up
  3. Commit: stage changed files (NOT dist/, NOT .vsix), create commit with user-provided message or auto-generated
  4. Push: git push to current branch remote

Execution

Run these steps sequentially. If any step fails, STOP and report the error.

Step 1: Build

cd /Users/vadimr/grafema && pnpm build

If build fails, stop immediately and show the error.

Step 2: Reinstall VS Code extension

cd /Users/vadimr/grafema/packages/vscode && \
npx vsce package --no-dependencies && \
code --install-extension grafema-explore-*.vsix --force && \
rm grafema-explore-*.vsix

Step 3: Commit

  • Run git status and git diff --staged to see changes
  • Stage source files only (no dist/, no .vsix, no node_modules)
  • If user provided $ARGUMENTS, use it as commit message
  • Otherwise, auto-generate a concise commit message from the diff
  • Include Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Step 4: Push

git push

Important

  • NEVER commit dist/ or .vsix files
  • If there are no changes to commit, skip steps 3 and 4
  • Always check build output for errors before proceeding
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall