← ClaudeAtlas

goto-next-milestonelisted

Activate an already-defined milestone by pointing milestones/README.md at it as the current milestone.
uHappyLogic/cairn · ★ 2 · AI & Automation · score 75
Install: claude install-skill uHappyLogic/cairn
# goto-next-milestone Activates an already-defined milestone by updating `milestones/README.md` to point to it as the current milestone. The milestone directory must already exist (created by `/define-milestone-goal`); this skill creates no files or directories. Run this after `/finish-current-milestone` has cleared the current pointer to "none". ## Usage ``` /goto-next-milestone ``` No arguments. The milestone to activate is discovered automatically. ## Workflow ### 1. Check prerequisites Read `milestones/README.md` and find the line whose prefix is `Current milestone:`. If that line is not `Current milestone: none` (i.e. it still points to an active milestone path), stop and tell the user to run `/finish-current-milestone` first. ### 2. Find the candidate milestone Read `milestones/README.md` and scan `milestones/` to collect: - All directories matching `milestone_<N>_<slug>/` - All milestone dirs already listed in the `## Milestone History` section (these are completed) The **candidates** are directories that exist in `milestones/` but do not appear in `## Milestone History`. - **Zero candidates**: stop. Tell the user to run `/define-milestone-goal` first to create a milestone. - **One candidate**: confirm the path and title with the user, then proceed. - **Multiple candidates**: list them (number, slug, path) and ask the user which one to activate before proceeding. When deriving the number from the directory slug, strip leading zeros and treat it as an integer