跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
其他技能

camp-projects

Manage a camp's projects. Use when committing inside `projects/*`, deciding status/pull/push scope (root vs submodule vs all), or creating/removing project worktrees.

Obedience-Corp · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add Obedience-Corp/festival --skill camp-projects

技能说明


name: camp-projects description: Manage a camp's projects. Use when committing inside projects/*, deciding status/pull/push scope (root vs submodule vs all), or creating/removing project worktrees.

Camp Projects

A camp was previously called a campaign; project commands work the same either way.

Commit in Submodules

camp p commit -m "fix: message"

Pointer sync is intentional and root-level:

camp refs-sync
camp refs-sync projects/camp

Scope-Safe Status / Sync

camp status
camp status --sub
camp status all

camp pull --sub
camp push --sub

Use all commands only when broad workspace churn is intended.

Rename a Project

camp project rename <current> <new>
camp project rename <current> <new> --dry-run --json
camp project rename <current> <new> --remote-url git@github.com:org/new-name.git

Renames submodules, linked workspace symlinks, and camp-owned directories, migrating the camp references in one transaction. Dirty checkouts and linked worktrees are preserved; destination collisions and unmanaged directories are rejected before anything is written.

Camp never guesses that the upstream repository was renamed too. Pass --remote-url to move origin as part of the same transaction.

Worktrees

camp project worktree add <name>
camp project worktree list
camp project worktree remove <name>

Common Mistakes

  • Assuming submodule commits should auto-update camp-root pointers.
  • Running camp pull/camp push expecting submodule scope without --sub.
  • Passing worktree path to remove; command expects worktree name.
  • Renaming a project directory by hand instead of camp project rename, which leaves the camp references pointing at the old name.