@shinnodua/agent-workflows 0.0.0-stage → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/backend-developer/agent.md +39 -0
- package/.agents/agents/frontend-developer/agent.md +42 -0
- package/.agents/agents/project-manager/agent.md +37 -0
- package/.agents/agents/tech-lead/agent.md +41 -0
- package/.agents/agents/ui-ux-designer/agent.md +41 -0
- package/.agents/skills/add-project/SKILL.md +90 -0
- package/.agents/skills/add-project/agents/openai.yaml +4 -0
- package/.agents/skills/add-project/references/save-protocol.md +90 -0
- package/.agents/skills/approve-plan/SKILL.md +86 -0
- package/.agents/skills/approve-plan/agents/openai.yaml +4 -0
- package/.agents/skills/approve-prd/SKILL.md +59 -0
- package/.agents/skills/approve-prd/agents/openai.yaml +4 -0
- package/.agents/skills/auto-mode/SKILL.md +103 -0
- package/.agents/skills/auto-mode/agents/openai.yaml +4 -0
- package/.agents/skills/create-design/SKILL.md +197 -0
- package/.agents/skills/create-design/agents/openai.yaml +4 -0
- package/.agents/skills/create-diagram/SKILL.md +83 -0
- package/.agents/skills/create-diagram/agents/openai.yaml +4 -0
- package/.agents/skills/create-plan/SKILL.md +104 -0
- package/.agents/skills/create-plan/agents/openai.yaml +4 -0
- package/.agents/skills/create-prd/SKILL.md +82 -0
- package/.agents/skills/create-prd/agents/openai.yaml +4 -0
- package/.agents/skills/griling-plan/SKILL.md +114 -0
- package/.agents/skills/griling-plan/agents/openai.yaml +4 -0
- package/.agents/skills/griling-prd/SKILL.md +91 -0
- package/.agents/skills/griling-prd/agents/openai.yaml +4 -0
- package/.agents/skills/package-installation/SKILL.md +67 -0
- package/.agents/skills/package-installation/agents/openai.yaml +4 -0
- package/.agents/skills/project-setup/SKILL.md +104 -0
- package/.agents/skills/project-setup/agents/openai.yaml +3 -0
- package/.agents/skills/research/SKILL.md +61 -0
- package/.agents/skills/research/agents/openai.yaml +4 -0
- package/.agents/skills/sprint-meeting/SKILL.md +230 -0
- package/.agents/skills/sprint-meeting/agents/openai.yaml +4 -0
- package/.claude/agents/backend-developer.md +7 -0
- package/.claude/agents/frontend-developer.md +7 -0
- package/.claude/agents/project-manager.md +7 -0
- package/.claude/agents/tech-lead.md +7 -0
- package/.claude/agents/ui-ux-designer.md +7 -0
- package/.claude/skills/add-project/SKILL.md +10 -0
- package/.claude/skills/approve-plan/SKILL.md +8 -0
- package/.claude/skills/approve-prd/SKILL.md +8 -0
- package/.claude/skills/auto-mode/SKILL.md +8 -0
- package/.claude/skills/create-design/SKILL.md +8 -0
- package/.claude/skills/create-diagram/SKILL.md +8 -0
- package/.claude/skills/create-plan/SKILL.md +8 -0
- package/.claude/skills/create-prd/SKILL.md +8 -0
- package/.claude/skills/griling-plan/SKILL.md +8 -0
- package/.claude/skills/griling-prd/SKILL.md +8 -0
- package/.claude/skills/package-installation/SKILL.md +8 -0
- package/.claude/skills/project-setup/SKILL.md +8 -0
- package/.claude/skills/research/SKILL.md +8 -0
- package/.claude/skills/sprint-meeting/SKILL.md +8 -0
- package/.codex/prompts/add-project.md +3 -0
- package/.codex/prompts/approve-plan.md +3 -0
- package/.codex/prompts/approve-prd.md +3 -0
- package/.codex/prompts/auto-mode.md +3 -0
- package/.codex/prompts/create-design.md +3 -0
- package/.codex/prompts/create-diagram.md +3 -0
- package/.codex/prompts/create-plan.md +3 -0
- package/.codex/prompts/create-prd.md +3 -0
- package/.codex/prompts/griling-plan.md +3 -0
- package/.codex/prompts/griling-prd.md +3 -0
- package/.codex/prompts/grilling-plan.md +3 -0
- package/.codex/prompts/project-setup.md +3 -0
- package/.codex/prompts/research.md +3 -0
- package/.codex/prompts/sprint-meeting.md +3 -0
- package/.gitmodules.example +9 -0
- package/AGENTS.md +84 -0
- package/CLAUDE.md +1 -0
- package/INSTALL.md +284 -0
- package/LICENSE +21 -0
- package/README.md +342 -2
- package/bin/postinstall.js +57 -0
- package/bin/workflows.js +1172 -0
- package/bin/workflows.test.mjs +682 -0
- package/commands/add-project.md +20 -0
- package/commands/approve-plan.md +25 -0
- package/commands/approve-prd.md +24 -0
- package/commands/auto-mode.md +15 -0
- package/commands/create-design.md +20 -0
- package/commands/create-diagram.md +16 -0
- package/commands/create-plan.md +22 -0
- package/commands/create-prd.md +16 -0
- package/commands/griling-plan.md +16 -0
- package/commands/griling-prd.md +16 -0
- package/commands/grilling-plan.md +16 -0
- package/commands/project-setup.md +16 -0
- package/commands/research.md +16 -0
- package/commands/sprint-meeting.md +16 -0
- package/dashboard/.agents/skills/coding-conventions/SKILL.md +76 -0
- package/dashboard/.agents/skills/coding-conventions/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/design-system-guideline/SKILL.md +51 -0
- package/dashboard/.agents/skills/design-system-guideline/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/lint-and-fix/SKILL.md +55 -0
- package/dashboard/.agents/skills/lint-and-fix/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/taste-ui/SKILL.md +45 -0
- package/dashboard/.agents/skills/taste-ui/agents/openai.yaml +4 -0
- package/dashboard/AGENTS.md +43 -0
- package/dashboard/bun.lock +352 -0
- package/dashboard/index.html +12 -0
- package/dashboard/package.json +32 -0
- package/dashboard/src/App.tsx +5 -0
- package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.module.css +85 -0
- package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.tsx +80 -0
- package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.module.css +25 -0
- package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.tsx +29 -0
- package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.module.css +29 -0
- package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.tsx +35 -0
- package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.module.css +85 -0
- package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.tsx +150 -0
- package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.module.css +41 -0
- package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.tsx +41 -0
- package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.module.css +25 -0
- package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.tsx +40 -0
- package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.module.css +330 -0
- package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.tsx +299 -0
- package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.module.css +74 -0
- package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.tsx +79 -0
- package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.module.css +133 -0
- package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.tsx +233 -0
- package/dashboard/src/features/task-status/components/Sidebar/Sidebar.module.css +53 -0
- package/dashboard/src/features/task-status/components/Sidebar/Sidebar.tsx +163 -0
- package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.module.css +41 -0
- package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.tsx +48 -0
- package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.module.css +97 -0
- package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.tsx +128 -0
- package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.module.css +9 -0
- package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.tsx +318 -0
- package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.module.css +221 -0
- package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.tsx +344 -0
- package/dashboard/src/features/task-status/taskStatusConfig.ts +100 -0
- package/dashboard/src/features/task-status/utils/actionItems.ts +247 -0
- package/dashboard/src/features/task-status/utils/artifactGrouping.ts +328 -0
- package/dashboard/src/features/task-status/utils/hardnessScanner.ts +406 -0
- package/dashboard/src/features/task-status/utils/lifecycle.ts +73 -0
- package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.module.css +11 -0
- package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.tsx +104 -0
- package/dashboard/src/features/task-status/utils/markdownLinks.ts +83 -0
- package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.module.css +74 -0
- package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.tsx +326 -0
- package/dashboard/src/features/task-status/utils/status.ts +7 -0
- package/dashboard/src/features/task-status/utils/test/actionItems.test.ts +134 -0
- package/dashboard/src/features/task-status/utils/test/artifactGrouping.test.ts +294 -0
- package/dashboard/src/features/task-status/utils/test/hardnessScanner.test.ts +138 -0
- package/dashboard/src/features/task-status/utils/test/lifecycle.test.ts +49 -0
- package/dashboard/src/features/task-status/utils/test/markdownInline.test.ts +41 -0
- package/dashboard/src/features/task-status/utils/test/markdownLinks.test.ts +158 -0
- package/dashboard/src/features/task-status/utils/test/workspaceMetadata.test.ts +37 -0
- package/dashboard/src/features/task-status/utils/workspaceMetadata.ts +175 -0
- package/dashboard/src/main.tsx +16 -0
- package/dashboard/src/shared/design-system.css +134 -0
- package/dashboard/src/shared/design-system.tsx +84 -0
- package/dashboard/src/styles.css +41 -0
- package/dashboard/src/types.ts +133 -0
- package/dashboard/src/workspace-artifacts.d.ts +9 -0
- package/dashboard/tsconfig.json +22 -0
- package/dashboard/vite.config.ts +579 -0
- package/designs/.gitkeep +1 -0
- package/docs/add-project-command-completion.md +117 -0
- package/docs/public-npm-registry-completion.md +104 -0
- package/docs/workflows.png +0 -0
- package/docs/workspace-template-setup.md +229 -0
- package/meeting-logs/.gitkeep +1 -0
- package/modules/.gitkeep +1 -0
- package/package.json +96 -5
- package/plans/.gitkeep +1 -0
- package/prds/.gitkeep +1 -0
- package/project/PROJECT.md +26 -0
- package/project/repositories.json +72 -0
- package/project/validation.json +9 -0
- package/project/workflows.json +20 -0
- package/research/.gitkeep +1 -0
- package/roles/backend-developer.md +26 -0
- package/roles/frontend-developer.md +25 -0
- package/roles/project-manager.md +42 -0
- package/roles/tech-lead.md +42 -0
- package/roles/ui-ux-designer.md +43 -0
- package/scripts/add-project.mjs +990 -0
- package/scripts/add-project.test.mjs +804 -0
- package/scripts/check-staged-security.mjs +97 -0
- package/scripts/check-staged-security.test.mjs +68 -0
- package/scripts/workspace-integrity.ts +220 -0
- package/templates/auto-mode-completion-summary-template.md +78 -0
- package/templates/meeting-log-template.md +177 -0
- package/templates/plan-template.md +219 -0
- package/templates/prd-template.md +106 -0
- package/templates/research-template.md +119 -0
- package/workflows.md +590 -0
- package/workspace.config.json +43 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Public npm Registry Completion
|
|
2
|
+
|
|
3
|
+
## 1. Developer actions
|
|
4
|
+
|
|
5
|
+
### Build
|
|
6
|
+
|
|
7
|
+
None — local workspace checks, dashboard build, and package packing passed.
|
|
8
|
+
CI installs Node 24/npm 11 and uses existing Bun dependencies; no new secret is required.
|
|
9
|
+
|
|
10
|
+
### Run
|
|
11
|
+
|
|
12
|
+
None — no CLI, dashboard, API, or app runtime configuration changed.
|
|
13
|
+
|
|
14
|
+
### Roll out
|
|
15
|
+
|
|
16
|
+
1. Confirm npm publish access to `@shinnodua/agent-workflows` and check existing
|
|
17
|
+
versions. Package existence and ownership are Unknown; owner: npm maintainer.
|
|
18
|
+
2. If absent, follow [npm maintainer setup](../README.md#npm-maintainer-setup)
|
|
19
|
+
to publish an unused version with interactive npm login/2FA.
|
|
20
|
+
3. Configure the npm package's GitHub trusted publisher: user `shinnodua`,
|
|
21
|
+
repository `agent-workflows`, workflow `release.yml`, no environment;
|
|
22
|
+
enable direct `npm publish`.
|
|
23
|
+
4. Merge a package changeset and its generated Changesets version PR when ready.
|
|
24
|
+
Verify npm availability and anonymous installation afterward.
|
|
25
|
+
|
|
26
|
+
## 2. Artifacts created and approved
|
|
27
|
+
|
|
28
|
+
| Stage | Artifact | Status |
|
|
29
|
+
| --- | --- | --- |
|
|
30
|
+
| Research | [RESEARCH-20261104-public-npm-registry](../research/research-20261104-public-npm-registry.md) | reviewed |
|
|
31
|
+
| PRD | [PRD-20261104-public-npm-registry](../prds/prd-20261104-public-npm-registry.md) | approved by auto mode |
|
|
32
|
+
| Design | Not applicable: release configuration and documentation | not applicable |
|
|
33
|
+
| Sprint meeting | Five-role review; record under meeting-logs/ | complete |
|
|
34
|
+
| Root plan | [PLAN-20261104-public-npm-registry](../plans/plan-20261104-public-npm-registry.md) | complete |
|
|
35
|
+
| Repository plans | No submodules affected | not applicable |
|
|
36
|
+
|
|
37
|
+
## 3. Implementation summary
|
|
38
|
+
|
|
39
|
+
Workspace root only:
|
|
40
|
+
|
|
41
|
+
- [package.json](../package.json): explicit npm registry and public access;
|
|
42
|
+
package name remains `@shinnodua/agent-workflows`.
|
|
43
|
+
- [Release workflow](../.github/workflows/release.yml): Node 24/npm 11,
|
|
44
|
+
GitHub OIDC permission, no registry token injection. Existing validation gate
|
|
45
|
+
and Changesets version/release flow retained.
|
|
46
|
+
- [README](../README.md), [INSTALL](../INSTALL.md), and Changesets guidance:
|
|
47
|
+
anonymous installation, targeted scope migration, stale lockfile warning,
|
|
48
|
+
bootstrap and exact npm trust fields.
|
|
49
|
+
- Patch changeset added. No dependency versions or lockfiles changed.
|
|
50
|
+
- Dashboard remains private; no submodule pointer changes.
|
|
51
|
+
|
|
52
|
+
## 4. Breaking changes and compatibility
|
|
53
|
+
|
|
54
|
+
- Registry destination changes from GitHub Packages to public npm. Existing
|
|
55
|
+
consumers must replace the old scope override and refresh this dependency's
|
|
56
|
+
lockfile entry if it still references GitHub tarballs.
|
|
57
|
+
- Existing GitHub releases are not copied to npm by this configuration change.
|
|
58
|
+
- Package name, CLI contract, runtime code, and version-management flow are unchanged.
|
|
59
|
+
- Unknown — npm package ownership, existing versions, and trusted publisher
|
|
60
|
+
settings; owner: npm maintainer.
|
|
61
|
+
|
|
62
|
+
## 5. Environment and operational configuration
|
|
63
|
+
|
|
64
|
+
| Setting | Service | Phase | Value/source | Action |
|
|
65
|
+
| --- | --- | --- | --- | --- |
|
|
66
|
+
| publishConfig.registry | Root npm package | publication | https://registry.npmjs.org | Configured |
|
|
67
|
+
| publishConfig.access | Root npm package | publication | public | Configured |
|
|
68
|
+
| id-token: write | GitHub Actions release job | publication | GitHub OIDC identity | Configured |
|
|
69
|
+
| GITHUB_TOKEN | GitHub Actions | PR/release automation | GitHub-provided token | Retained; no manual npm token |
|
|
70
|
+
| Trusted Publisher | npm package settings | publication | shinnodua / agent-workflows / release.yml; direct publish allowed | Maintainer setup required |
|
|
71
|
+
| @shinnodua:registry | Existing consumers | installation | https://registry.npmjs.org | Replace stale GitHub mapping only |
|
|
72
|
+
|
|
73
|
+
No client-visible environment variables, API settings, or runtime services changed.
|
|
74
|
+
|
|
75
|
+
### Data and rollout operations
|
|
76
|
+
|
|
77
|
+
- Migrations and backfills: None.
|
|
78
|
+
- API and client rollout order: None; npm publication must precede consumer migration.
|
|
79
|
+
- Rollback/downtime: no deployed runtime changed. Published npm versions cannot be
|
|
80
|
+
overwritten; release corrections as a new version. No publication was attempted.
|
|
81
|
+
|
|
82
|
+
## 6. Validation results
|
|
83
|
+
|
|
84
|
+
| Repository | Check | Result | Evidence |
|
|
85
|
+
| --- | --- | --- | --- |
|
|
86
|
+
| Root | bun run workspace:check | passed | 15 CLI, 26 add-project, 5 security, 34 dashboard tests; lint, typecheck, dashboard build |
|
|
87
|
+
| Root | npm pack --dry-run --json | passed | 189 package entries; CLI and INSTALL included |
|
|
88
|
+
| Root | npm pack --pack-destination /private/tmp --json | passed | Inspected generated tarball manifest: public/npm destination |
|
|
89
|
+
| Root | git diff --check | passed | No whitespace errors |
|
|
90
|
+
| Root | Private dashboard inspection | passed | dashboard/package.json retains private: true |
|
|
91
|
+
| External | npm publish / OIDC / anonymous remote install | not run | Requires maintainer account setup and an actual release |
|
|
92
|
+
|
|
93
|
+
Build and runtime evidence: local dashboard production build passed; no external
|
|
94
|
+
release or deployed runtime was exercised. The integrity checker reported one
|
|
95
|
+
pre-existing nonfatal meeting-filename artifact-ID warning. Vite reported its existing large-chunk advisory.
|
|
96
|
+
|
|
97
|
+
Dependency reinstall was unavailable in the sandbox (Bun temporary-directory
|
|
98
|
+
permission); validation used the existing installed dependencies successfully.
|
|
99
|
+
Root submodule pointer status: None changed.
|
|
100
|
+
|
|
101
|
+
## 7. Human-only questions
|
|
102
|
+
|
|
103
|
+
None blocking repository setup. The npm maintainer owns unverified package/scope
|
|
104
|
+
access, first publication if needed, and trusted publisher configuration.
|
|
Binary file
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
# Reusable Workspace Template Setup
|
|
2
|
+
|
|
3
|
+
Use this guide when applying Agent Workflows to a new multi-repository project.
|
|
4
|
+
|
|
5
|
+
For an ordered agent walkthrough from package installation through verified
|
|
6
|
+
project setup, start with [INSTALL.md](../INSTALL.md).
|
|
7
|
+
|
|
8
|
+
## Template Model
|
|
9
|
+
|
|
10
|
+
The workspace is split into two layers:
|
|
11
|
+
|
|
12
|
+
- Reusable workspace infrastructure: workflows, commands, PRD/plan templates,
|
|
13
|
+
dashboard, integrity checks, and agent rules.
|
|
14
|
+
- Project profile: replaceable files under `project/` plus `.gitmodules`.
|
|
15
|
+
|
|
16
|
+
When adapting the workspace, keep generic workflow behavior in the reusable
|
|
17
|
+
files and put project-specific repository facts in `project/`.
|
|
18
|
+
|
|
19
|
+
## Project Profile Files
|
|
20
|
+
|
|
21
|
+
Create or replace these files:
|
|
22
|
+
|
|
23
|
+
- `project/PROJECT.md`: human-readable project purpose, ownership boundaries,
|
|
24
|
+
and project-specific notes.
|
|
25
|
+
- `project/repositories.json`: source of truth for submodule IDs, paths,
|
|
26
|
+
purposes, agent guide paths, artifact directories, code scan directories, and
|
|
27
|
+
validation commands.
|
|
28
|
+
- `project/validation.json`: root and workspace-local validation commands.
|
|
29
|
+
- `project/workflows.json`: optional project-specific implementation stages.
|
|
30
|
+
- `.gitmodules`: Git submodule URLs and paths for the project.
|
|
31
|
+
|
|
32
|
+
## Repository Profile Schema
|
|
33
|
+
|
|
34
|
+
Each repository entry in `project/repositories.json` should use this shape:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"id": "client",
|
|
39
|
+
"name": "project-client",
|
|
40
|
+
"path": "modules/project-client",
|
|
41
|
+
"url": "https://github.com/example/project-client.git",
|
|
42
|
+
"purpose": "Desktop or web client",
|
|
43
|
+
"scope": ["React UI", "local app behavior"],
|
|
44
|
+
"platforms": ["frontend"],
|
|
45
|
+
"agentGuide": "modules/project-client/AGENTS.md",
|
|
46
|
+
"artifactDirectories": {
|
|
47
|
+
"plans": "modules/project-client/plans",
|
|
48
|
+
"designs": "modules/project-client/designs",
|
|
49
|
+
"research": "modules/project-client/research",
|
|
50
|
+
"docs": "modules/project-client/docs"
|
|
51
|
+
},
|
|
52
|
+
"codeScanDirectories": ["modules/project-client/src"],
|
|
53
|
+
"validation": ["bun run check"]
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Use stable `id` values. The dashboard and workspace checks use the `id` as the
|
|
58
|
+
module key for filtering and artifact ownership.
|
|
59
|
+
|
|
60
|
+
## Applying To A New Project
|
|
61
|
+
|
|
62
|
+
Install the package globally when you want the `workflows` command available in
|
|
63
|
+
your shell:
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
bun add --global @shinnodua/agent-workflows
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Or install it in the developer project as a dev dependency:
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
bun add --dev @shinnodua/agent-workflows
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Initialize workflow files from the project root:
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
bunx workflows init
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Then run the guided setup command to fill the project profile files:
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
/project-setup
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
To add repositories directly, use the same URL-first flow as project setup:
|
|
88
|
+
|
|
89
|
+
```txt
|
|
90
|
+
$add-project [repository-url]
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
The agent fetches accessible repository facts, suggests the profile values, asks
|
|
94
|
+
for missing facts, and presents a complete entry for review. After each entry,
|
|
95
|
+
choose Add another repository or Save repositories. You can edit or remove pending
|
|
96
|
+
entries. Save previews destinations, changed files, example cleanup, and Git index
|
|
97
|
+
effects before cloning and registering the selected repositories as submodules.
|
|
98
|
+
Existing real entries are retained; unchanged shipped examples and their template
|
|
99
|
+
workflow references are removed only after successful additions. No commits are
|
|
100
|
+
created. A failed batch reports completed and pending registrations for safe retry.
|
|
101
|
+
Repository additions remain pending until Save even when invoked in project setup;
|
|
102
|
+
other setup answers retain their existing incremental save behavior.
|
|
103
|
+
|
|
104
|
+
After a PRD exists, run a role-agent review meeting from the active agent chat:
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
/sprint-meeting <prd-id>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
The command writes local discovery shims for reusable workflow files, creates
|
|
111
|
+
starter project profile files when they do not exist, and writes
|
|
112
|
+
`.agent-workflows/manifest.json`. The reusable source of truth stays in the
|
|
113
|
+
installed package.
|
|
114
|
+
|
|
115
|
+
Restart or reload any active agent session after `workflows init` so it can
|
|
116
|
+
discover the local `.agents/agents/`, `.codex/prompts/`, `.claude/agents/`,
|
|
117
|
+
`.claude/skills/`, `.agents/skills/`, `commands/`, and `workflows.md` shims.
|
|
118
|
+
Claude Code reads `CLAUDE.md`, which imports the shared `AGENTS.md` rules.
|
|
119
|
+
|
|
120
|
+
After installing or upgrading the package in an initialized project, refresh
|
|
121
|
+
the workflow-owned shims with:
|
|
122
|
+
|
|
123
|
+
```sh
|
|
124
|
+
bunx workflows update
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
The update command refreshes workflow-owned shims and leaves project profile
|
|
128
|
+
files, existing PRDs, plans, designs, research, meeting logs, docs, and
|
|
129
|
+
submodules under developer control. Set `AGENT_WORKFLOWS_AUTO_UPDATE=1` for the
|
|
130
|
+
install command if you want its lifecycle script to perform the refresh.
|
|
131
|
+
The workspace auto-mode setting lives in `workspace.config.json` under
|
|
132
|
+
`autoMode`. Use `bunx workflows auto on|off|toggle|status` or the agent
|
|
133
|
+
`/auto-mode` command to change or inspect it; the default is off. `workflows
|
|
134
|
+
update` migrates the legacy setting from `.agent-workflows/metadata.json` and
|
|
135
|
+
preserves any unrelated data in that legacy file.
|
|
136
|
+
Role models in `workspace.config.json` are also preserved. Set each role under
|
|
137
|
+
`agentModels` to `inherit`, a model ID, or an object keyed by `codex`,
|
|
138
|
+
`antigravity`, and `claude`, then run
|
|
139
|
+
`bunx workflows agents sync --format codex|antigravity` for the active runtime.
|
|
140
|
+
Codex and Antigravity share `.agents/agents/` files, so sync writes one runtime's
|
|
141
|
+
model there at a time. Claude settings are synchronized to `.claude/agents/`.
|
|
142
|
+
Initialization and updates use the Codex setting for backwards compatibility.
|
|
143
|
+
Start a new agent session after reloading the runtime to use changed models.
|
|
144
|
+
When an older workspace config has no model sections, `workflows update` adds
|
|
145
|
+
the default `inherit` role entries and empty planning/coding sections without
|
|
146
|
+
replacing existing settings.
|
|
147
|
+
For a step-specific model, add `workflowModels.<step>.<role>` or
|
|
148
|
+
`workflowModels.<step>.default` to the same file. The supported steps are
|
|
149
|
+
`research`, `prd`, `design`, `meeting`, `planning`, `coding`, and `validation`.
|
|
150
|
+
Use `bunx workflows agents resolve planning tech-lead --format antigravity --json`
|
|
151
|
+
to inspect the selected model and its config source. Step overrides affect
|
|
152
|
+
newly spawned workflow agents; static role files retain the base model.
|
|
153
|
+
Restart or reload any active agent session after the refresh so it can discover
|
|
154
|
+
updated custom agents, commands, and skills.
|
|
155
|
+
|
|
156
|
+
The local shims point back to the installed package for reusable behavior:
|
|
157
|
+
|
|
158
|
+
- `.agents/skills/*/SKILL.md`
|
|
159
|
+
- `.agents/agents/*/agent.md`
|
|
160
|
+
- `.codex/prompts/*.md`
|
|
161
|
+
- `.claude/skills/*/SKILL.md`
|
|
162
|
+
- `.claude/agents/*.md`
|
|
163
|
+
- `commands/*.md`
|
|
164
|
+
- `AGENTS.md`
|
|
165
|
+
- `CLAUDE.md`
|
|
166
|
+
- `workflows.md`
|
|
167
|
+
- reusable `roles/`, `templates/`, and setup docs
|
|
168
|
+
|
|
169
|
+
Project-owned files remain local to the consuming workspace: `project/`, `prds/`,
|
|
170
|
+
`plans/`, `designs/`, `research/`, `meeting-logs/`, `docs/`, `modules/`, and
|
|
171
|
+
`workspace.config.json`.
|
|
172
|
+
|
|
173
|
+
1. Replace `project/PROJECT.md` with the new project's purpose and ownership
|
|
174
|
+
rules.
|
|
175
|
+
2. Replace `project/repositories.json` with the new project's repositories.
|
|
176
|
+
3. Update `.gitmodules` to match the repository paths and URLs from
|
|
177
|
+
`project/repositories.json`.
|
|
178
|
+
4. Initialize submodules:
|
|
179
|
+
|
|
180
|
+
```sh
|
|
181
|
+
git submodule update --init --recursive
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
5. Update root docs that intentionally describe project-specific behavior.
|
|
185
|
+
Keep reusable docs pointing to `project/PROJECT.md` and
|
|
186
|
+
`project/repositories.json`.
|
|
187
|
+
6. Run the workspace validation:
|
|
188
|
+
|
|
189
|
+
```sh
|
|
190
|
+
bunx workflows check
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
7. Open the dashboard:
|
|
194
|
+
|
|
195
|
+
```sh
|
|
196
|
+
bunx workflows dashboard
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
## Agent Setup Checklist
|
|
200
|
+
|
|
201
|
+
Before planning or editing code in the new project, an agent should:
|
|
202
|
+
|
|
203
|
+
1. Read `AGENTS.md`.
|
|
204
|
+
2. Read `project/PROJECT.md`.
|
|
205
|
+
3. Read `project/repositories.json`.
|
|
206
|
+
4. Identify the owning repository from the project profile.
|
|
207
|
+
5. Read that repository's `agentGuide` before editing inside the submodule.
|
|
208
|
+
6. Create or update PRD and plan artifacts before implementation.
|
|
209
|
+
7. Run validation from the repository that owns changed files.
|
|
210
|
+
|
|
211
|
+
Use `/project-setup` whenever the profile files still contain placeholders or
|
|
212
|
+
need to be brought back into alignment.
|
|
213
|
+
|
|
214
|
+
## What Should Stay Generic
|
|
215
|
+
|
|
216
|
+
Keep these files reusable where practical:
|
|
217
|
+
|
|
218
|
+
- `workflows.md`
|
|
219
|
+
- `templates/prd-template.md`
|
|
220
|
+
- `templates/plan-template.md`
|
|
221
|
+
- `templates/research-template.md`
|
|
222
|
+
- `commands/`
|
|
223
|
+
- `.agents/skills/`
|
|
224
|
+
- `dashboard/`
|
|
225
|
+
- `scripts/workspace-integrity.ts`
|
|
226
|
+
|
|
227
|
+
If a file needs project names, prefer linking to `project/PROJECT.md` or
|
|
228
|
+
reading `project/repositories.json` instead of embedding a fixed repository
|
|
229
|
+
list.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/modules/.gitkeep
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,97 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@shinnodua/agent-workflows",
|
|
3
|
+
"version": "0.2.6",
|
|
4
|
+
"description": "Installable multi-repository agent workflow template with local dashboard tooling.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/shinnodua/agent-workflows.git"
|
|
10
|
+
},
|
|
11
|
+
"packageManager": "bun@1.3.14",
|
|
12
|
+
"workspaces": [
|
|
13
|
+
".",
|
|
14
|
+
"dashboard"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"registry": "https://registry.npmjs.org",
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"bin": {
|
|
21
|
+
"workflows": "./bin/workflows.js"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
".agents",
|
|
25
|
+
".codex",
|
|
26
|
+
".claude",
|
|
27
|
+
"AGENTS.md",
|
|
28
|
+
"CLAUDE.md",
|
|
29
|
+
"INSTALL.md",
|
|
30
|
+
"bin",
|
|
31
|
+
"commands",
|
|
32
|
+
"dashboard/.agents",
|
|
33
|
+
"dashboard/AGENTS.md",
|
|
34
|
+
"dashboard/bun.lock",
|
|
35
|
+
"dashboard/index.html",
|
|
36
|
+
"dashboard/package.json",
|
|
37
|
+
"dashboard/src",
|
|
38
|
+
"dashboard/tsconfig.json",
|
|
39
|
+
"dashboard/vite.config.ts",
|
|
40
|
+
"designs/.gitkeep",
|
|
41
|
+
"docs",
|
|
42
|
+
"meeting-logs/.gitkeep",
|
|
43
|
+
"modules/.gitkeep",
|
|
44
|
+
"plans/.gitkeep",
|
|
45
|
+
"prds/.gitkeep",
|
|
46
|
+
"project",
|
|
47
|
+
"README.md",
|
|
48
|
+
"research/.gitkeep",
|
|
49
|
+
"roles",
|
|
50
|
+
"scripts",
|
|
51
|
+
"templates",
|
|
52
|
+
"workflows.md",
|
|
53
|
+
"workspace.config.json",
|
|
54
|
+
".gitmodules.example"
|
|
55
|
+
],
|
|
56
|
+
"scripts": {
|
|
57
|
+
"dashboard:build": "bun run --cwd dashboard build",
|
|
58
|
+
"dashboard:dev": "bun run --cwd dashboard dev",
|
|
59
|
+
"dashboard:lint": "bun run --cwd dashboard lint",
|
|
60
|
+
"dashboard:lint:fix": "bun run --cwd dashboard lint:fix",
|
|
61
|
+
"dashboard:test": "bun run --cwd dashboard test",
|
|
62
|
+
"dashboard:typecheck": "bun run --cwd dashboard typecheck",
|
|
63
|
+
"workspace:integrity": "bun run scripts/workspace-integrity.ts",
|
|
64
|
+
"workflow:cli:test": "node --test bin/workflows.test.mjs",
|
|
65
|
+
"security:staged": "node scripts/check-staged-security.mjs",
|
|
66
|
+
"security:test": "node --test scripts/check-staged-security.test.mjs",
|
|
67
|
+
"workspace:check": "bun run workspace:integrity && bun run workflow:cli:test && bun run project:add:test && bun run security:test && bun run lint && bun run dashboard:test && bun run dashboard:typecheck && bun run dashboard:build",
|
|
68
|
+
"changeset": "changeset",
|
|
69
|
+
"version": "changeset version",
|
|
70
|
+
"release": "changeset publish",
|
|
71
|
+
"package:dry-run": "npm pack --dry-run",
|
|
72
|
+
"package:pack": "npm pack",
|
|
73
|
+
"package:build": "bun run workspace:check && bun run package:dry-run",
|
|
74
|
+
"git:pull": "git pull --recurse-submodules",
|
|
75
|
+
"git:push": "git push --recurse-submodules=check",
|
|
76
|
+
"git:push-all": "git push --recurse-submodules=on-demand",
|
|
77
|
+
"lint": "biome check .",
|
|
78
|
+
"lint:fix": "biome check --write .",
|
|
79
|
+
"postinstall": "node ./bin/postinstall.js",
|
|
80
|
+
"hooks:install": "lefthook install",
|
|
81
|
+
"project:add:test": "node --test scripts/add-project.test.mjs"
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@biomejs/biome": "2.5.5",
|
|
85
|
+
"@tailwindcss/vite": "4.3.3",
|
|
86
|
+
"@vitejs/plugin-react": "4.7.0",
|
|
87
|
+
"lucide-react": "1.26.0",
|
|
88
|
+
"react": "19.2.8",
|
|
89
|
+
"react-dom": "19.2.8",
|
|
90
|
+
"tailwindcss": "4.3.3",
|
|
91
|
+
"vite": "7.3.6"
|
|
92
|
+
},
|
|
93
|
+
"devDependencies": {
|
|
94
|
+
"@changesets/cli": "3.0.1",
|
|
95
|
+
"lefthook": "2.1.10"
|
|
96
|
+
}
|
|
97
|
+
}
|
package/plans/.gitkeep
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/prds/.gitkeep
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generic Project Profile
|
|
2
|
+
|
|
3
|
+
This file contains project-specific context for the reusable coordination workspace. Replace this file when applying the template to a real project.
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Describe the product, platform, or system this workspace coordinates. Include the user value, business context, and why multiple repositories need shared planning.
|
|
8
|
+
|
|
9
|
+
## Repository Ownership
|
|
10
|
+
|
|
11
|
+
Repository metadata, submodule paths, validation commands, and agent guide paths are defined in [repositories.json](repositories.json).
|
|
12
|
+
|
|
13
|
+
Use that file as the source of truth when deciding which repository owns a change.
|
|
14
|
+
|
|
15
|
+
## Project-Specific Boundaries
|
|
16
|
+
|
|
17
|
+
Replace these examples with your real ownership rules:
|
|
18
|
+
|
|
19
|
+
- Shared packages, reusable contracts, design tokens, and cross-product utilities usually belong in a shared or core repository.
|
|
20
|
+
- Backend APIs, persistence, queues, jobs, and deployment configuration usually belong in service repositories.
|
|
21
|
+
- Web screens, app screens, local integrations, and platform-specific flows usually belong in frontend or application repositories.
|
|
22
|
+
- Documentation that explains repository internals should live in that repository; documentation that explains cross-repository behavior may live at the workspace root.
|
|
23
|
+
|
|
24
|
+
## UI/UX Design Integration
|
|
25
|
+
|
|
26
|
+
If the project has a design system, design workspace, Figma file, Open Design project, brand guide, or component playground, document it here. Keep durable project-specific visual rules in this profile or in linked submodule docs rather than hard-coding them into reusable workspace instructions.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repositories": [
|
|
3
|
+
{
|
|
4
|
+
"id": "example-core",
|
|
5
|
+
"name": "example-core",
|
|
6
|
+
"path": "modules/example-core",
|
|
7
|
+
"url": "git@github.com:example/example-core.git",
|
|
8
|
+
"purpose": "Shared packages, contracts, and reusable core logic",
|
|
9
|
+
"scope": [
|
|
10
|
+
"shared types",
|
|
11
|
+
"shared utilities",
|
|
12
|
+
"design tokens or component primitives"
|
|
13
|
+
],
|
|
14
|
+
"platforms": ["shared", "core"],
|
|
15
|
+
"agentGuide": "modules/example-core/AGENTS.md",
|
|
16
|
+
"artifactDirectories": {
|
|
17
|
+
"plans": "modules/example-core/plans",
|
|
18
|
+
"designs": "modules/example-core/designs",
|
|
19
|
+
"research": "modules/example-core/research",
|
|
20
|
+
"docs": "modules/example-core/docs"
|
|
21
|
+
},
|
|
22
|
+
"codeScanDirectories": ["modules/example-core/src"],
|
|
23
|
+
"validation": ["bun run check"]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "example-service",
|
|
27
|
+
"name": "example-service",
|
|
28
|
+
"path": "modules/example-service",
|
|
29
|
+
"url": "git@github.com:example/example-service.git",
|
|
30
|
+
"purpose": "Backend API and service runtime",
|
|
31
|
+
"scope": [
|
|
32
|
+
"API routes",
|
|
33
|
+
"persistence",
|
|
34
|
+
"background jobs",
|
|
35
|
+
"deployment configuration"
|
|
36
|
+
],
|
|
37
|
+
"platforms": ["backend", "service"],
|
|
38
|
+
"agentGuide": "modules/example-service/AGENTS.md",
|
|
39
|
+
"artifactDirectories": {
|
|
40
|
+
"plans": "modules/example-service/plans",
|
|
41
|
+
"designs": "modules/example-service/designs",
|
|
42
|
+
"research": "modules/example-service/research",
|
|
43
|
+
"docs": "modules/example-service/docs"
|
|
44
|
+
},
|
|
45
|
+
"codeScanDirectories": ["modules/example-service/src"],
|
|
46
|
+
"validation": ["bun run check"]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "example-web",
|
|
50
|
+
"name": "example-web",
|
|
51
|
+
"path": "modules/example-web",
|
|
52
|
+
"url": "git@github.com:example/example-web.git",
|
|
53
|
+
"purpose": "Web or app frontend",
|
|
54
|
+
"scope": [
|
|
55
|
+
"frontend UI",
|
|
56
|
+
"client state",
|
|
57
|
+
"API integration",
|
|
58
|
+
"user workflows"
|
|
59
|
+
],
|
|
60
|
+
"platforms": ["frontend", "web"],
|
|
61
|
+
"agentGuide": "modules/example-web/AGENTS.md",
|
|
62
|
+
"artifactDirectories": {
|
|
63
|
+
"plans": "modules/example-web/plans",
|
|
64
|
+
"designs": "modules/example-web/designs",
|
|
65
|
+
"research": "modules/example-web/research",
|
|
66
|
+
"docs": "modules/example-web/docs"
|
|
67
|
+
},
|
|
68
|
+
"codeScanDirectories": ["modules/example-web/src"],
|
|
69
|
+
"validation": ["bun run check"]
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"implementationStages": [
|
|
3
|
+
{
|
|
4
|
+
"id": "shared",
|
|
5
|
+
"repositoryIds": ["example-core"],
|
|
6
|
+
"parallel": false
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "backend",
|
|
10
|
+
"repositoryIds": ["example-service"],
|
|
11
|
+
"parallel": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "frontend",
|
|
15
|
+
"repositoryIds": ["example-web"],
|
|
16
|
+
"parallel": true,
|
|
17
|
+
"condition": "Run after required shared contracts and APIs are available locally."
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Backend Developer
|
|
2
|
+
|
|
3
|
+
You are a Senior Backend Engineer focusing on security, performance, and database interactions.
|
|
4
|
+
|
|
5
|
+
## Objectives
|
|
6
|
+
|
|
7
|
+
- Read `project/repositories.json` and `project/PROJECT.md` to identify configured backend repositories and shared/core repositories.
|
|
8
|
+
- Read the approved root overview plan in `plans/` and the relevant backend detail plan under the configured backend repository's plan directory for assigned backend tasks.
|
|
9
|
+
- Import and strictly use the shared types and schemas already defined in the configured shared/core repositories.
|
|
10
|
+
- Do not redefine types, interfaces, or validation schemas that belong to shared/core repositories.
|
|
11
|
+
- Implement API controllers, services, database migrations, and backend business logic.
|
|
12
|
+
|
|
13
|
+
## Constraints
|
|
14
|
+
|
|
15
|
+
- Modify files only within the backend repository areas identified in `project/repositories.json`.
|
|
16
|
+
- Ensure proper error handling and logging.
|
|
17
|
+
- Preserve strict separation of concerns between shared contracts, backend logic, and client behavior.
|
|
18
|
+
|
|
19
|
+
## Operating Rules
|
|
20
|
+
|
|
21
|
+
- Treat the designated shared/core repositories from `project/repositories.json` as the single source of truth for shared types, interfaces, and validation schemas.
|
|
22
|
+
- Confirm backend changes align with the approved backend detail plan before editing.
|
|
23
|
+
- Keep API behavior consistent with the contracts defined by the shared/core detail plan.
|
|
24
|
+
- Avoid frontend changes, shared contract changes, or root workspace changes while operating in this role unless explicitly instructed to switch roles.
|
|
25
|
+
- Validate security, authorization, input validation, error handling, logging, and database behavior using the backend repository's validation commands before finishing backend work.
|
|
26
|
+
- When coding in auto mode, return applicable verified repository facts using `templates/auto-mode-completion-summary-template.md`. Include API compatibility, migrations and rollout order, service dependencies, runtime settings, and validation limits so the coordinator can produce one final developer handoff.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Frontend Developer
|
|
2
|
+
|
|
3
|
+
You are a Senior Frontend Engineer specializing in UI/UX, state management, and API integration.
|
|
4
|
+
|
|
5
|
+
## Objectives
|
|
6
|
+
|
|
7
|
+
- Read `project/repositories.json` and `project/PROJECT.md` to identify configured frontend and shared/core repositories.
|
|
8
|
+
- Read the approved root overview plan in `plans/` and the relevant frontend detail plan for the assigned platform under the repository's configured `plans/` directory.
|
|
9
|
+
- Import and strictly use the shared types and schemas already defined in the designated shared/core repositories.
|
|
10
|
+
- Build UI components, manage local state, and integrate with backend APIs based on the approved specifications.
|
|
11
|
+
|
|
12
|
+
## Constraints
|
|
13
|
+
|
|
14
|
+
- Modify files only within the frontend areas of the repository assigned for the current task.
|
|
15
|
+
- Focus on responsive design, accessibility, and clean component architecture.
|
|
16
|
+
- Do not redefine types, interfaces, or validation schemas that belong to shared/core repositories.
|
|
17
|
+
|
|
18
|
+
## Operating Rules
|
|
19
|
+
|
|
20
|
+
- Treat the designated shared/core repositories from `project/repositories.json` as the single source of truth for shared types, interfaces, and validation schemas.
|
|
21
|
+
- Confirm frontend changes align with the approved frontend detail plan before editing.
|
|
22
|
+
- Keep UI behavior consistent with the PRD, frontend detail plan, and backend API contracts.
|
|
23
|
+
- Avoid backend changes, shared contract changes, or root workspace changes while operating in this role unless explicitly instructed to switch roles.
|
|
24
|
+
- Validate responsive behavior, accessibility, state handling, API integration, and error/loading states using the repository's validation commands before finishing frontend work.
|
|
25
|
+
- When coding in auto mode, return applicable verified repository facts using `templates/auto-mode-completion-summary-template.md`. Separate build-time and runtime settings, identify the target build service and environment, and report app/web compatibility, rebuild needs, and validation limits for the coordinator's final handoff.
|