用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fabioc-aloha/ChessCoach --skill upgrade-curation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | upgrade-curation |
| description | Finalize brain upgrades by curating project-specific content from .github-backup-* directories |
| tier | standard |
| applyTo | **/*upgrade*,**/*curat*,**/*backup*,**/*finalize* |
Finalize brain upgrades by recovering project-specific content from backups
After upgrade-brain.ps1 runs, each project has a .github-backup-YYYYMMDD/ directory containing the pre-upgrade brain. This skill guides the curation process: scan backups, identify what needs attention, and merge project-specific content into the fresh v8 brain.
upgrade-brain.ps1 -Mode Upgrade or -Mode Full.github-backup-* directories fleet-wide# Scan all projects for pending backups and generate curation report
node .github/muscles/curate-upgrade.cjs --mode Scan
# Curate a single project (interactive)
node .github/muscles/curate-upgrade.cjs --mode Curate --include "ProjectName"
# Auto-restore non-brain content the upgrade missed
node .github/muscles/curate-upgrade.cjs --mode AutoRestore
# Clean up backups after curation is complete
node .github/muscles/curate-upgrade.cjs --mode Clean --include "ProjectName"
The upgrade script auto-restores these from backup:
| Auto-Restored Dirs | Auto-Restored Files |
|---|---|
workflows/ | PULL_REQUEST_TEMPLATE.md |
ISSUE_TEMPLATE/ | dependabot.yml |
episodic/ | CODEOWNERS |
memory/ | FUNDING.yml |
domain-knowledge/ | MEMORY.md |
Everything else in the backup that isn't a brain directory needs manual curation.
Files in .github/ root that aren't part of the brain and weren't in the auto-restore list:
| File | Action |
|---|---|
NORTH-STAR.md | Copy to new .github/ — project vision document |
README.md | Copy — project-specific .github readme |
REPO-CONFIG.md | Copy — repository configuration |
repository-metadata.md | Copy — project metadata |
DK-*.md | Copy — domain knowledge files at root level |
hooks.json | Skip — replaced by hooks/ directory in v8 |
Directories not in BRAIN_SUBDIRS and not in RESTORE_DIRS:
| Directory | Action |
|---|---|
templates/ | Copy — project-specific templates |
scripts/ | Copy — project-specific scripts |
docs/ | Copy — project-specific documentation |
| Any unknown dir | Copy — preserve project content |
The upgrade installs a generic v8 copilot-instructions.md. The backup contains the old one with project-specific context.
Curation steps:
Open copilot-instructions.backup.md (saved by upgrade script)
Look for these project-specific sections:
## Context → Merge into v8 ## Context section
## Active Context → Merge or discard (may be stale)
## Coding Standards → Merge into v8 ## Context section
## Tech Stack → Merge into v8 ## Context section
Copy relevant content into the v8 copilot-instructions.md
Delete copilot-instructions.backup.md when done
The v8 brain installs standard config files. Some projects had custom config:
| Config File | Action |
|---|---|
taglines.json | Merge — project-specific taglines |
visual-memory.json | Keep v8 — schema may have changed |
session-metrics.json | Keep v8 — schema may have changed |
MASTER-ALEX-PROTECTED.json | Skip — Master-only |
1. Run muscle: node .github/muscles/curate-upgrade.cjs --mode Scan
2. Review report for each project
3. For each finding:
a. ROOT_FILE → copy to .github/
b. UNKNOWN_DIR → copy to .github/
c. CI_CUSTOM → merge project context into v8 CI
d. OLD_ARTIFACT → skip (hooks.json, old assets)
4. Mark project as curated
5. Delete backup when confident
1. Scan: node .github/muscles/curate-upgrade.cjs --mode Scan
2. AutoRestore: node .github/muscles/curate-upgrade.cjs --mode AutoRestore (safe auto-copy)
3. Manual: node .github/muscles/curate-upgrade.cjs --mode Curate --include "project" (CI merging)
4. Verify: upgrade-brain.ps1 -Mode Verify (confirm brain intact)
5. Clean: node .github/muscles/curate-upgrade.cjs --mode Clean (remove backups)
upgrade-brain.ps1 -Mode Verify first