Skip to content

Fix socket-patch workflow: require dep install and use scan before apply#4

Merged
mikolalysenko merged 1 commit intomainfrom
fix-setup-skill-md
Mar 6, 2026
Merged

Fix socket-patch workflow: require dep install and use scan before apply#4
mikolalysenko merged 1 commit intomainfrom
fix-setup-skill-md

Conversation

@mikolalysenko
Copy link
Contributor

Summary

  • socket-dep-patch: Added dependency installation as a prerequisite, replaced non-existent socket-patch apply --dry-run with socket-patch scan, added error handling for missing .socket folder
  • socket-fix: Added dependency install check to Step 1 environment detection, updated Phase 1b and Phase 3c to use socket-patch scansocket-patch apply workflow
  • socket-setup: Updated all CI/CD patterns (GitLab, Bitbucket, Dockerfile, Makefile, generic) and the package manager reference table to use the two-step scanapply workflow

The correct socket-patch workflow is: install deps → socket-patch scansocket-patch apply. Previously the skills used socket-patch apply --dry-run (which doesn't exist) and didn't check that dependencies were installed first, causing socket-patch apply to find nothing to patch.

Test plan

  • npm test — all 69 structural tests pass
  • Grep for apply --dry-run returns zero matches
  • Verified socket-dep-patch prerequisites mention dependency installation
  • Verified socket-fix Step 1 includes dependency install check
  • Verified all socket-setup CI/CD patterns show socket-patch scan before socket-patch apply

🤖 Generated with Claude Code

The correct socket-patch workflow is: install deps → socket-patch scan →
socket-patch apply. Previously, skills referenced `socket-patch apply
--dry-run` which doesn't exist, and didn't require dependencies to be
installed first.

- socket-dep-patch: add dependency install prerequisite, replace
  --dry-run with socket-patch scan, add .socket folder error handling
- socket-fix: add dependency install check to Step 1, use scan→apply
  in Phase 1b and Phase 3c
- socket-setup: update all CI/CD patterns (GitLab, Bitbucket, Docker,
  Makefile, generic) and package manager reference table to use
  two-step scan→apply workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mikolalysenko mikolalysenko merged commit 5378aa5 into main Mar 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant