select-project
Skill45 starsChanged 4 days agoMITView on GitHub
This skill should be used when the user wants to switch between projects in a monorepo - lists projects from .groundwork.yml and sets the active project
In this repository43 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- build-unplannedSkill
- check-specs-alignmentSkill
- create-tasksSkill
- debugSkill
- design-architectureSkill
- design-it-twiceSkill
- design-productSkill
- domain-modelingSkill
- doubt-driven-developmentSkill
- finalize-taskSkill
- groundwork-checkSkill
- groundwork-helpSkill
- handoffSkill
- implement-taskSkill
- instrument-observabilitySkill
- just-do-itSkill
- just-do-it-swarmingSkill
- plan-taskSkill
- review-prSkill
- setup-repoSkill
- shipSkill
- skillsSkill
- source-architecture-from-codeSkill
- source-product-specs-from-codeSkill
- source-ux-design-from-codeSkill
- split-architectureSkill
- split-specsSkill
- staged-rolloutSkill
- statuslineSkill
- swarm-debugSkill
- swarm-design-architectureSkill
- task-validation-loopSkill
- test-driven-developmentSkill
- understanding-feature-requestsSkill
- use-git-worktreeSkill
- using-groundworkSkill
- ux-designSkill
- validateSkill
- vertical-sliceSkill
- work-on-next-taskSkill
- work-onSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Read .groundwork.yml from the repo root.
- Very specific: line 35
Use AskUserQuestion to ask which project to work on.
- Distinctive: line 51
After switching, show the project's spec status:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Select Project Skill
Quick project switching within a configured monorepo.
Workflow
Step 1: Load Config
Read .groundwork.yml from the repo root.
If not found: "No .groundwork.yml found. Run /groundwork:setup-repo to configure your repository first."
Step 2: List Projects
Present available projects with their spec status:
## Available Projects
| # | Project | Path | Specs |
|---|---------|------|-------|
| 1 | web-app | apps/web-app | PRD, Architecture, Tasks |
| 2 | mobile-app | apps/mobile-app | PRD |
| 3 | api-server | services/api | (none) |For each project, check if <path>/specs/ exists and what spec files are present.
Use AskUserQuestion to ask which project to work on.
Step 3: Set Context
Persist the selection and use the returned project/root values as the active context:
node ${CLAUDE_PLUGIN_ROOT}/lib/persist-project.js "<selected-name>"The script resolves its own harness-specific selection scope internally — no env vars required.
Confirm: "Switched to project <name>. Specs at <path>/specs/."
Selection scope: in a terminal pane, the selection is pane-scoped, survives /clear, and other panes are unaffected. Where the harness has no pane identity (chat-window UIs), every selector invocation prints a groundwork-project-selection-v1 receipt; harnesses that deliver the tool response to the PostToolUse pin hook pin that receipt to the chat's own session snapshot, so concurrent chats keep independent selections. On targets without that hook payload support (manual runs, hookless exports), only a workspace-level default shared across chats exists — treat the selection as conversation-scoped: state the active project in your reply, and pass it explicitly on later invocations (--project <name> where plan-task, implement-task, and validate support it, or GROUNDWORK_PROJECT=<name> for lib scripts).
Step 4: Show Status
After switching, show the project's spec status:
- PRD: exists / missing
- Architecture: exists / missing
- Tasks: exists / missing
- Design System: exists / missing
Suggest next action based on what's available.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

