一键导入
setup-repo
This skill should be used when configuring a repository for groundwork - detects single-project or monorepo structure and creates .groundwork.yml
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
This skill should be used when configuring a repository for groundwork - detects single-project or monorepo structure and creates .groundwork.yml
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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
Generate implementation tasks from architecture document. Usage /groundwork:create-tasks
Create detailed product requirements document (PRD) for a feature. Usage /groundwork:design-product
Create design system with foundations, brand identity, and UX patterns. Usage /groundwork:ux-design
Build a feature from description with worktree isolation and TDD. Usage /groundwork:build-unplanned "Add user login"
Verify alignment between code and specs. Usage /groundwork:check-specs-alignment
| name | setup-repo |
| description | This skill should be used when configuring a repository for groundwork - detects single-project or monorepo structure and creates .groundwork.yml |
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.
Look for common monorepo patterns:
package.json, go.mod, Cargo.toml, etc.apps/, packages/, services/, projects/specs/ directory (suggests single-project)pnpm-workspace.yaml, lerna.json, turbo.json)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."
If single project:
.groundwork-plans/ is in .gitignore (add it if missing) — work-on writes per-task plan files there.specs/ at the repo root.".groundwork.yml created.If monorepo:
AskUserQuestion with multi-select to confirm project list..groundwork.yml:version: 1
projects:
<project-name>:
path: <relative/path>
<project-name>:
path: <relative/path>
.groundwork.local and .groundwork-plans/ are in .gitignore (add any missing entries). .groundwork-plans/ is where work-on writes per-task plan files.AskUserQuestion.GROUNDWORK_PROJECT=<name> and GROUNDWORK_PROJECT_ROOT=<path>For monorepo mode, persist the selection to .groundwork.local at the repo root (gitignored) so it survives session restarts.
Confirm: "Project selected. Specs will be stored in <path>/specs/."
This skill can also be invoked to add or remove projects from an existing .groundwork.yml:
| 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 |