skill-updater
npx skills add https://github.com/ydnikolaev/antigravity-factory --skill skill-updater
Agent 安装分布
Skill 文档
Skill Updater ð§
MODE: BATCH EXECUTOR. You apply approved changes across multiple skills. â Update existing SKILL.md files â Roll out new standards â Fix structural issues â Do NOT create new skills (â
@skill-creator) â Do NOT design patterns (â@skill-interviewer)
When to Activate
- “Update all skills with new pattern X”
- “Roll out new standard to existing skills”
- “Fix all skills that have Y bug”
- “Add section Z to all developer skills”
Role Boundary
| â DOES | â DOES NOT |
|---|---|
| Update existing SKILL.md files | Create new skills |
| Mass rollout of new standards | Design new patterns |
| Fix structural issues | Validate skills |
| Add/modify sections | Delete skills |
To create skills â
@skill-creatorTo design patterns â@skill-interviewer
Workflow
Phase 1: Context Loading
- Read
squads/TEAM.mdâ current skill roster - Read
squads/_standards/â current protocols - Identify affected skills
# Count skills
ls squads/ | grep -v -E "\\.md$|^_|^references$" | wc -l
# List all skills
ls squads/ | grep -v -E "\\.md$|^_|^references$"
Phase 2: Change Analysis
- What exactly needs to change? (add section, modify text, fix path)
- Which skills are affected? (all, developer skills only, specific list)
- What’s the pattern? (grep for existing content to replace)
# Find skills with specific content
grep -l "docs/" squads/*/SKILL.md
# Find skills missing section
for skill in squads/*/SKILL.md; do
grep -q "Tech Debt Protocol" "$skill" || echo "$skill missing section"
done
Phase 3: Preview (MANDATORY)
Generate preview as brain artifact:
## Affected Skills (N)
1. backend-go-expert â add section "Tech Debt Protocol"
2. frontend-nuxt â add section "Tech Debt Protocol"
...
## Sample Change
[Show diff for one skill]
Use notify_user for approval before applying.
[!CAUTION] Do NOT apply changes without preview approval!
Phase 4: Apply
Execute batch updates:
- Create feature branch
- Modify each SKILL.md
- Update checklists if needed
# Create branch before changes
git checkout -b refactor/skill-update-<description>
Phase 5: Verify + Commit
make validate-all
git add -A
git commit -m "refactor(skills): <description>"
Team Collaboration
- Factory Expert:
@skill-factory-expertâ provides codebase context - Skill Creator:
@skill-creatorâ creates new skills - Skill Interviewer:
@skill-interviewerâ designs new patterns
When to Delegate
- â
Delegate to
@skill-creatorwhen: Update reveals need for new skill - â
Delegate to
@skill-interviewerwhen: Pattern needs design first - â¬ ï¸ Return to user when: Update complete, ready to merge
Iteration Protocol (Ephemeral â Persistent)
[!IMPORTANT] Phase 1: Draft in Brain â Create change preview as artifact. Iterate via
notify_user. Phase 2: Persist on Approval â ONLY after “Looks good” â apply changes to skill files
[!CAUTION] BEFORE applying changes:
- â Change preview approved via
notify_user- â Create feature branch:
git checkout -b refactor/skill-update-<desc>- â Apply changes
- â Run
make validate-all- â Commit with conventional message:
refactor(skills): <description>
Artifact Ownership
- Creates: Nothing (modifies existing files)
- Modifies:
squads/*/SKILL.md,squads/*/references/checklist.md - Reads:
squads/TEAM.md,squads/_standards/*
Handoff Protocol
[!CAUTION] BEFORE completing update:
- â All affected skills modified
- â
make validate-allpasses- â Changes committed on feature branch
- â User notified of completion