You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ronyup/README.MD
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ This copies the embedded workspace skeleton, initializes a `go.work`, and create
49
49
50
50
Pass `--kind fullstack` to scaffold a `backend/` + `frontend/` split instead of a Go-only repo. The Go workspace (`go.work`, `cmd/service`, `pkg`, `feature`, `Makefile`, `.golangci.yml`) is created under `backend/`, while `devops/`, `docs/`, and the AI assistant config (`.ai/`, `.agents/`, `.cursor/`, `AGENTS.md`) stay at the root. In fullstack mode, run `setup feature` and `make`/`go` commands from the `backend/` directory.
51
51
52
+
Pass `--kind frontend` to scaffold a frontend-only repo: a `frontend/` application plus shared AI assistant config and `docs/` at the root, with no Go workspace, `devops/`, or backend verify gate.
53
+
52
54
### Add a feature
53
55
54
56
```bash
@@ -123,7 +125,7 @@ Workspace flags:
123
125
124
126
-`--repoDir`, `-r`: destination directory for the workspace.
125
127
-`--appName`, `-a`: application name (default `myapp`).
-`backend` (default): a Go-only workspace at `repoDir`.
228
230
-`fullstack`: a `backend/` + `frontend/` split. The Go workspace is created under `backend/` (modules are prefixed with `backend/`, e.g. `github.com/you/repo/backend/cmd/service`), while `devops/`, `docs/`, and AI assistant config (`.ai/`, `.agents/`, `.cursor/`, `AGENTS.md`) stay at the root and are shared. Run `setup feature` from the `backend/` directory.
231
+
-`frontend`: a frontend-only workspace — a `frontend/` application plus shared AI assistant config (`.ai/`, `.agents/`, `.cursor/`, `AGENTS.md`) and `docs/` at the root. No Go workspace, `devops/`, `Makefile`, or backend verify gate is created; only the frontend verify stop hook is installed.
Copy file name to clipboardExpand all lines: ronyup/cmd/mcp/knowledge/resources/architecture/workspace-layout.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
-
`ronyup setup workspace` supports two layouts via `--kind` (default `backend`):
1
+
`ronyup setup workspace` supports three layouts via `--kind` (default `backend`):
2
2
3
3
-**`backend`** — a Go-only workspace at the repository root.
4
4
-**`fullstack`** — a `backend/` + `frontend/` split. The Go workspace is moved into `backend/`, while AI assistant config (`.ai/`, `.agents/`, `.cursor/`, `AGENTS.md`), `devops/`, and `docs/` stay at the repository root and are shared by both sides.
5
+
-**`frontend`** — a frontend-only workspace: a `frontend/` application plus shared AI assistant config (`.ai/`, `.agents/`, `.cursor/`, `AGENTS.md`) and `docs/` at the repository root. There is **no** Go workspace, `devops/`, `Makefile`, or backend verify gate; only the frontend verify stop hook is installed.
5
6
6
7
## Backend layout (root of the Go workspace)
7
8
@@ -31,9 +32,9 @@ Each module under `feature/<name>/` (or `feature/<template>/<name>/` when groupe
31
32
- In `backend` kind, modules are `<repoModule>/cmd/service`, `<repoModule>/feature/<name>`, etc.
32
33
- In `fullstack` kind, the Go workspace is nested, so modules are `<repoModule>/backend/cmd/service`, `<repoModule>/backend/feature/<name>`, etc. Run `ronyup setup feature` (and `go`/`make` commands) from the `backend/` directory. `docs/design` still lives at the repository root, and the `scaffold_feature` design gate resolves it from the parent of `backend/` automatically.
33
34
34
-
## Frontend (fullstack only)
35
+
## Frontend (`fullstack` and `frontend` kinds)
35
36
36
-
-`frontend/` — holds the web/mobile application(s). It is framework-agnostic by default (a placeholder `README.MD`); initialize it with the stack of your choice (React/Vite, Next.js, SvelteKit, …) and call the backend via its OpenAPI spec at `/docs`.
37
+
-`frontend/` — holds the web/mobile application(s) at the repository root. It is framework-agnostic by default (a placeholder `README.MD`); initialize it with the stack of your choice (React/Vite, Next.js, SvelteKit, …). In `fullstack` workspaces it calls the backend via its OpenAPI spec at `/docs`; in `frontend`-only workspaces it talks to external services over their HTTP/OpenAPI APIs.
37
38
-**One app vs. many — always clarify first.** Do not assume a single frontend app. Before creating or editing anything under `frontend/`, ask the user whether there is one app or multiple.
38
39
- Single app: code may live directly under `frontend/`.
39
40
- Multiple apps: give each app its own directory, `frontend/<app-name>/` (e.g. `frontend/admin/`, `frontend/web/`). Confirm which app a change targets, and the app name/stack when initializing a new one, before proceeding.
Copy file name to clipboardExpand all lines: ronyup/cmd/mcp/knowledge/resources/tools/scaffold_workspace.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ The tool runs `ronyup setup workspace` with the provided `path` as the working d
10
10
11
11
-**`backend`** (default) — a Go-only workspace at `path`, containing `go.work`, `cmd/service/`, `pkg/i18n/`, an empty `feature/` tree, `devops/`, `docs/`, and a `.ai/mcp/mcp.json` for IDE integration.
12
12
-**`fullstack`** — a `backend/` + `frontend/` split. The Go workspace (`go.work`, `cmd/service/`, `pkg/`, `feature/`, `Makefile`, `.golangci.yml`) is created under `backend/`, while `devops/`, `docs/`, and the AI assistant config (`.ai/`, `.agents/`, `.cursor/`, `AGENTS.md`) stay at the root and are shared. A framework-agnostic `frontend/` placeholder is created for the web/mobile app.
13
+
-**`frontend`** — a frontend-only workspace: a framework-agnostic `frontend/` placeholder plus shared AI assistant config (`.ai/`, `.agents/`, `.cursor/`, `AGENTS.md`) and `docs/` at the root. No Go workspace, `devops/`, `Makefile`, or backend verify gate is created; only the frontend verify stop hook is installed.
13
14
14
15
For `fullstack`, Go module paths are prefixed with `backend/` (e.g. `<repoModule>/backend/cmd/service`). Run `scaffold_feature` (and `go`/`make` commands) against the `backend/` directory; the design gate still finds `docs/design` at the repository root.
0 commit comments