setup-repo
Skill45 starsChanged 4 days agoMITView on GitHub
This skill should be used when configuring a repository for groundwork - detects single-project or monorepo structure and creates .groundwork.yml
12 other projects use a version of this.
Adopted by
Most recently taken up by
- protokol11/skillstheir own version, first seen Nov 8, 2026
- mblauberg/provenanttheir own version, first seen Nov 8, 2026
- Significant-Gravitas/AutoGPTtheir own version, first seen Nov 4, 2026
- p-chan/agent-skillstheir own version, first seen Nov 1, 2026
- p-chan/skillstheir own version, first seen Nov 1, 2026
- marinvch/Cortextheir own version, first seen Nov 1, 2026
Used with
Projects with it also use implement.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- Significant-Gravitas/AutoGPT★ 188ksame name
- florian101010/awesome-agentic-AI-coding-template★ 4same name
- jpoindexter/theft-kit★ 1same name
- marinvch/Cortex★ 1same name
- mblauberg/provenant★ 1same name
- nhhthong/skills★ 1same name
- protokol11/skills★ 1same name
- Sassy-Dog/skills★ 1same name
- vincenzo345/skills★ 1same name
- p-chan/agent-skills★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
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
- select-projectSkill
- 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
11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Look for common monorepo patterns:
- Very specific: line 22
Use AskUserQuestion to confirm:
- Distinctive: line 28
If monorepo indicators were found, mention them:
- Distinctive: line 34
No config file needed
- Very specific: line 35
Ensure .groundwork-plans/, .debug/, and .architecture/ are in .gitignore (add any missing entries) — plan-task, debug, and …
- Distinctive: line 40
Ask which directories are projects.
- Very specific: line 41
Use AskUserQuestion with multi-select to confirm project list.
- Very specific: line 53
Ensure .groundwork.local, .groundwork-plans/, .debug/, and .architecture/ are in .gitignore (add any missing entries).
- Very specific: line 54
Ask which project to start with using AskUserQuestion.
- Distinctive: line 74
Ask what to add/remove
- Distinctive: line 75
Update the config file
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup Repository Skill
Configures the repository structure for Groundwork. Detects or asks whether this is a single-project repo or a monorepo, and creates .groundwork.yml for monorepos.
Workflow
Step 1: Detect Repository Structure
Look for common monorepo patterns:
- Multiple directories with their own
package.json,go.mod,Cargo.toml, etc. - Common monorepo directories:
apps/,packages/,services/,projects/ - Existing
specs/directory (suggests single-project) - Workspace configuration files (
pnpm-workspace.yaml,lerna.json,turbo.json)
Step 2: Ask User
Use AskUserQuestion to confirm:
"I've analyzed your repo structure. Is this:"
- Single project — One project, specs at the repo root
- Monorepo — Multiple projects, each with their own specs
If monorepo indicators were found, mention them:
"I noticed [apps/, packages/, workspace config], which suggests a monorepo structure."
Step 3: Configure
If single project:
- No config file needed
- Ensure
.groundwork-plans/,.debug/, and.architecture/are in.gitignore(add any missing entries) — plan-task, debug, and swarm-design-architecture write per-task working files there. All three patterns are unanchored, so they cover any depth. - Confirm: "Single-project mode. Specs will be stored in
specs/at the repo root, plans in.groundwork-plans/." - Proceed — no
.groundwork.ymlcreated.
If monorepo:
- Ask which directories are projects. Suggest based on detected structure.
- Use
AskUserQuestionwith multi-select to confirm project list. - Create
.groundwork.yml:
version: 1
projects:
<project-name>:
path: <relative/path>
<project-name>:
path: <relative/path>- Ensure
.groundwork.local,.groundwork-plans/,.debug/, and.architecture/are in.gitignore(add any missing entries). Each project's plans live in<project-path>/.groundwork-plans/and its journals in<project-path>/.debug/and<project-path>/.architecture/; the unanchored entries cover every project, so no per-project entries are needed. - Ask which project to start with using
AskUserQuestion. - Set project context:
GROUNDWORK_PROJECT=<name>andGROUNDWORK_PROJECT_ROOT=<path>
Step 4: Persist Selection
For monorepo mode, persist the selection through the same mechanism /groundwork:select-project uses:
node ${CLAUDE_PLUGIN_ROOT}/lib/persist-project.js "<selected-name>"This keys state per terminal pane (and pins a per-chat snapshot where hooks observe the selection), so concurrent sessions do not clobber each other. Do not write .groundwork.local by hand — it is a legacy format read only for one-time migration.
Confirm: "Project <name> selected. Specs will be stored in <path>/specs/."
Adding Projects Later
This skill can also be invoked to add or remove projects from an existing .groundwork.yml:
- Read existing config
- Present current projects
- Ask what to add/remove
- Update the config file
Edge Cases
| Situation | Response |
.groundwork.yml already exists | Show current config, ask if user wants to modify |
| No obvious project directories | Ask user to specify paths manually |
| User says single-project but monorepo indicators exist | Accept user's choice, note the indicators |
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.

