Skip to content

Commit 6810de8

Browse files
jdaltonclaude
andcommitted
fix: remove cross-repository updates from quality-scan skill
The quality-scan skill was attempting to update dependencies in sibling repositories (socket-btm, socket-sbom-generator, ultrathink) which is out of scope and could have unintended side effects. Changed Phase 2 to only update dependencies in the current repository. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 18b15e0 commit 6810de8

File tree

1 file changed

+7
-34
lines changed

1 file changed

+7
-34
lines changed

.claude/skills/quality-scan/SKILL.md

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -96,53 +96,26 @@ git status
9696
### Phase 2: Update Dependencies
9797

9898
<action>
99-
Update dependencies across Socket Security repositories to ensure latest versions:
99+
Update dependencies in the current repository only:
100100
</action>
101101

102-
**Target Repositories:**
103-
1. **socket-cli** (current repository)
104-
2. **socket-btm** (`../socket-btm/`)
105-
3. **socket-sbom-generator** (`../socket-sbom-generator/`)
106-
4. **ultrathink** (`../ultrathink/`)
107-
108102
**Update Process:**
109103

110-
For each repository, run dependency updates:
111-
112104
```bash
113-
# socket-cli (current repo)
114105
pnpm run update
115-
116-
# socket-btm
117-
cd ../socket-btm && pnpm run update && cd -
118-
119-
# socket-sbom-generator
120-
cd ../socket-sbom-generator && pnpm run update && cd -
121-
122-
# ultrathink
123-
cd ../ultrathink && pnpm run update && cd -
124106
```
125107

126108
<validation>
127-
**For each repository:**
128-
1. Check if directory exists (skip if not found)
129-
2. Run `pnpm run update` command
130-
3. Report success or failure
131-
4. Track updated packages count
132-
5. Continue even if some repos fail
133-
134109
**Expected Results:**
135-
- Dependencies updated in available repositories
136-
- Report number of packages updated per repository
137-
- Note any repositories that were skipped (not found)
138-
- Continue with scan even if updates fail
110+
- Dependencies updated in socket-cli
111+
- Report number of packages updated
112+
- Continue with scan even if update fails
139113

140114
**Track for reporting:**
141-
- Repositories updated: N/4
142-
- Total packages updated: N
143-
- Failed updates: N (continue with warnings)
144-
- Skipped repositories: [list]
115+
- Packages updated: N
116+
- Update status: Success/Failed (with warning)
145117

118+
**Important:** Only update dependencies in the current repository (socket-cli). Do NOT attempt to update sibling repositories (socket-btm, socket-sbom-generator, ultrathink) as this is out of scope and could have unintended side effects.
146119
</validation>
147120

148121
---

0 commit comments

Comments
 (0)