feat: refactor skills architecture + add edit/delete to skill cards#5
Merged
Zhang-Henry merged 1 commit intomainfrom Feb 28, 2026
Merged
Conversation
…ete to skill cards Restructure the three-tier skill architecture so VibeLab root (skills/) is the ground reference for imports. Merge two import buttons into one, remove Project Skills section, and add Edit/Delete buttons to the skill detail modal. Key changes: - Export ensureProjectSkillLinks, add JSON config symlinks to projects - Refactor import-user-skills to target GLOBAL_SKILLS_DIR + re-sync symlinks - Add PUT /file endpoint for editing skill SKILL.md files - Add DELETE /global-skill endpoint supporting nested skill paths (dirPath) - Store dirPath on SkillSummary for correct nested skill resolution - Remove redundant "Import Your Local Skills" button and Project Skills section - Add Playwright e2e tests for the refactored skills UI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Zhang-Henry
added a commit
that referenced
this pull request
Apr 8, 2026
Critical: - #1 Shell escape API key values in community-tools.env export - #2 Replace ComputeNode.exec() with ComputeNode.run() (correct method) High: - #3 Add path traversal validation in status endpoint - #4 Sanitize SSH user/host to prevent shell injection - #5 Use i18n key for "Auto Research" sidebar button - #6 Add Auto Research button to mobile sidebar - #10 Stop leaking error.message to clients in 500 responses
7 tasks
bbsngg
pushed a commit
that referenced
this pull request
Apr 8, 2026
Critical: - #1 Shell escape API key values in community-tools.env export - #2 Replace ComputeNode.exec() with ComputeNode.run() (correct method) High: - #3 Add path traversal validation in status endpoint - #4 Sanitize SSH user/host to prevent shell injection - #5 Use i18n key for "Auto Research" sidebar button - #6 Add Auto Research button to mobile sidebar - #10 Stop leaking error.message to clients in 500 responses
HenryPengZou
added a commit
to HenryPengZou/dr-claw
that referenced
this pull request
Apr 8, 2026
…r fixes Fixes for PR OpenLAIR#146 review by @Zhang-Henry: Critical: - OpenLAIR#1: memory_enabled is now per-user (column on users table) instead of global app_settings. Each user controls their own memory toggle. - OpenLAIR#2: ~/.claude/MEMORY.md namespaced as MEMORY-{userId}.md to prevent multi-user overwrites on shared servers. High: - OpenLAIR#3: req.params.id validated as positive integer with parseInt + isNaN guard - OpenLAIR#4: Memory content sanitized (strip markdown headings) before prompt injection; content length capped at 500 chars; max 50 memories per user - OpenLAIR#5: Content length validation (400 error) on create and update routes - OpenLAIR#6: Delete now requires window.confirm() before executing Medium: - OpenLAIR#8: Removed no-op try/catch wrappers from all memoryDb methods - OpenLAIR#9: Added comment explaining why Gemini injects memory into user prompt (CLI has no system instruction API) - OpenLAIR#10: Changed index from (is_enabled) to composite (user_id, is_enabled) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills/) is the ground reference for all importsdistributed-training/accelerate)ensureProjectSkillLinksand add JSON config file symlinks (skill-tag-mapping.json,stage-skill-map.json)PUT /fileendpoint for editing SKILL.md andDELETE /global-skillendpoint with dirPath-based resolutionTest plan
npx tsc --noEmit --skipLibCheck— cleantest/skills-refactor.spec.ts)distributed-training/accelerate) edit/delete correctly.claude/skills/after import🤖 Generated with Claude Code