update
Use whenever the user wants to update - checks for new prompts from the instructor and runs them, then offers to customize the student's setup
소스 정보
- 저장소
- blakesims/cca
- 최근 소스 활동
- 2026년 4월 3일 05:49
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- update
- description
- Use whenever the user wants to update - checks for new prompts from the instructor and runs them, then offers to customize the student's setup
# Update
## Process
1. Read `.completed` in this directory (create it if missing). This lists prompt filenames already run, one per line.
2. List all files in `prompts/todo/`. Check each against `.completed`.
3. If there ARE pending prompts:
- Tell the student how many updates are pending.
- Run them in numeric order (001 before 002, etc).
- After each completes, append its filename to `.completed`.
- Summarize what was done.
4. If `changelog.md` has entries newer than `.local-version`, show what changed in plain English.
5. Update `.local-version` to match `version.txt`.
6. If there are NO pending prompts (or after running them):
- Tell the student they're up to date, show version from `version.txt`.
- Ask: "Want to customize anything?" and suggest:
- Add or remove commands from your help sheet
- Change your command name
- Add a shell alias
- Ask anything about the terminal
- If they want to edit help.sh, read it first, make changes, test.
- If they rename their command, update the function in their rc file and re-source.
GitHub에서 보기