Back to skills
SKILL.md
Skill Update
ASecurityEnd-to-end maintenance workflow for skills in `D:\ai-review-skills` + non-destructive global sync + `D:\W3bPro5` showcase + git push. Use for `skill-update`, "cập nhật skill", "thêm skill", "sửa skill", "đổi tên skill", "xóa skill"; not general code builds.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added December 3, 2026
Works with
Security analysis
100/100npx -y skills add hothiennhan021/ai-review-skills --skill skill-update --agent claude-codeAre you the author of Skill Update?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hothiennhan021-skill-update)---
name: skill-update
description: >-
End-to-end maintenance workflow for skills in `D:\ai-review-skills` +
non-destructive global sync + `D:\W3bPro5` showcase + git push. Use for
`skill-update`, "cập nhật skill", "thêm skill", "sửa skill", "đổi tên skill",
"xóa skill"; not general code builds.
---
# Skill Update & Full-Stack Sync v3 (`skill-update`)
## 1. Canonical Paths
- **Skills Repo (`D:\ai-review-skills`)**: `scripts\ai-flow.ps1` (synced to `%USERPROFILE%\.gemini\config\ai-flow.ps1` outside `skills\`), `antigravity-skills\<name>\SKILL.md`, `claude-code-skills\<name>\SKILL.md`, `README.md` (English), `CHAT_CONTEXT.md` (1-to-1 rows), `assets\workflows.svg`.
- **Global Skills (Non-Destructive)**: `%USERPROFILE%\.gemini\config\skills\`, `%USERPROFILE%\.claude\skills\`, `%USERPROFILE%\.agents\skills\`.
- **Web Profile (`D:\W3bPro5`)**: `assets\skill-<name>.svg` (`940×132` / `940×232`), `index.html` (`<N> skills` chip), `script.js` (`skillKeys`, `skillMeta`, `projectsData["ai-review-skills"]`).
## 2. Mandatory 5-Step Workflow
1. **Edit Skill(s)**: Author `SKILL.md` with compact 3-part YAML `description` (role split + verbatim EN/VI triggers + negative boundary) and PS 5.1-safe `ai-flow.ps1` + standalone CLI fallbacks. On rename/delete, delete old repo folder and pass `-Remove <oldName>` in Step 4.
2. **Update Repo Docs & SVG**: Refresh `README.md` (English), `CHAT_CONTEXT.md` (exact 1-to-1 rows), and pure SVG `assets/workflows.svg` (no `<script>`/`<foreignObject>`, `#0B1120`/`#111827`/`#1E293B` palette, exact outer `viewBox`/`height`).
3. **Update Web Profile**: Sync `assets\skill-<name>.svg`, `index.html` count chip, and `script.js` EN/VI copy.
4. **Non-Destructive Sync & Validation** (preserves unrelated global skills like `humanizer`/`stop-slop`, checks YAML frontmatters, 1-to-1 `CHAT_CONTEXT.md` rows, XML validity on all SVGs, and `node --check script.js`):
```powershell
& "D:\ai-review-skills\scripts\ai-flow.ps1" -Action sync-skills -SkillsRepo "D:\ai-review-skills" -WebRepo "D:\W3bPro5" [-Remove "<old-name>"]
```
5. **Commit & Push Both Repos** (unless local-only requested; never use `&&` in PS 5.1):
```powershell
git -C "D:\ai-review-skills" add -A; git -C "D:\ai-review-skills" commit -m "<English summary>"; if ($LASTEXITCODE -eq 0) { git -C "D:\ai-review-skills" push origin main }
git -C "D:\W3bPro5" add -A; git -C "D:\W3bPro5" commit -m "<English summary>"; if ($LASTEXITCODE -eq 0) { git -C "D:\W3bPro5" push origin main }
```
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.