@shinnodua/agent-workflows 0.0.0-stage → 0.2.8

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.
Files changed (190) hide show
  1. package/.agents/agents/backend-developer/agent.md +39 -0
  2. package/.agents/agents/frontend-developer/agent.md +42 -0
  3. package/.agents/agents/project-manager/agent.md +37 -0
  4. package/.agents/agents/tech-lead/agent.md +41 -0
  5. package/.agents/agents/ui-ux-designer/agent.md +41 -0
  6. package/.agents/skills/add-project/SKILL.md +90 -0
  7. package/.agents/skills/add-project/agents/openai.yaml +4 -0
  8. package/.agents/skills/add-project/references/save-protocol.md +90 -0
  9. package/.agents/skills/approve-plan/SKILL.md +86 -0
  10. package/.agents/skills/approve-plan/agents/openai.yaml +4 -0
  11. package/.agents/skills/approve-prd/SKILL.md +59 -0
  12. package/.agents/skills/approve-prd/agents/openai.yaml +4 -0
  13. package/.agents/skills/auto-mode/SKILL.md +103 -0
  14. package/.agents/skills/auto-mode/agents/openai.yaml +4 -0
  15. package/.agents/skills/create-design/SKILL.md +197 -0
  16. package/.agents/skills/create-design/agents/openai.yaml +4 -0
  17. package/.agents/skills/create-diagram/SKILL.md +83 -0
  18. package/.agents/skills/create-diagram/agents/openai.yaml +4 -0
  19. package/.agents/skills/create-plan/SKILL.md +104 -0
  20. package/.agents/skills/create-plan/agents/openai.yaml +4 -0
  21. package/.agents/skills/create-prd/SKILL.md +82 -0
  22. package/.agents/skills/create-prd/agents/openai.yaml +4 -0
  23. package/.agents/skills/griling-plan/SKILL.md +114 -0
  24. package/.agents/skills/griling-plan/agents/openai.yaml +4 -0
  25. package/.agents/skills/griling-prd/SKILL.md +91 -0
  26. package/.agents/skills/griling-prd/agents/openai.yaml +4 -0
  27. package/.agents/skills/package-installation/SKILL.md +67 -0
  28. package/.agents/skills/package-installation/agents/openai.yaml +4 -0
  29. package/.agents/skills/project-setup/SKILL.md +104 -0
  30. package/.agents/skills/project-setup/agents/openai.yaml +3 -0
  31. package/.agents/skills/research/SKILL.md +61 -0
  32. package/.agents/skills/research/agents/openai.yaml +4 -0
  33. package/.agents/skills/sprint-meeting/SKILL.md +230 -0
  34. package/.agents/skills/sprint-meeting/agents/openai.yaml +4 -0
  35. package/.claude/agents/backend-developer.md +7 -0
  36. package/.claude/agents/frontend-developer.md +7 -0
  37. package/.claude/agents/project-manager.md +7 -0
  38. package/.claude/agents/tech-lead.md +7 -0
  39. package/.claude/agents/ui-ux-designer.md +7 -0
  40. package/.claude/skills/add-project/SKILL.md +10 -0
  41. package/.claude/skills/approve-plan/SKILL.md +8 -0
  42. package/.claude/skills/approve-prd/SKILL.md +8 -0
  43. package/.claude/skills/auto-mode/SKILL.md +8 -0
  44. package/.claude/skills/create-design/SKILL.md +8 -0
  45. package/.claude/skills/create-diagram/SKILL.md +8 -0
  46. package/.claude/skills/create-plan/SKILL.md +8 -0
  47. package/.claude/skills/create-prd/SKILL.md +8 -0
  48. package/.claude/skills/griling-plan/SKILL.md +8 -0
  49. package/.claude/skills/griling-prd/SKILL.md +8 -0
  50. package/.claude/skills/package-installation/SKILL.md +8 -0
  51. package/.claude/skills/project-setup/SKILL.md +8 -0
  52. package/.claude/skills/research/SKILL.md +8 -0
  53. package/.claude/skills/sprint-meeting/SKILL.md +8 -0
  54. package/.codex/prompts/add-project.md +3 -0
  55. package/.codex/prompts/approve-plan.md +3 -0
  56. package/.codex/prompts/approve-prd.md +3 -0
  57. package/.codex/prompts/auto-mode.md +3 -0
  58. package/.codex/prompts/create-design.md +3 -0
  59. package/.codex/prompts/create-diagram.md +3 -0
  60. package/.codex/prompts/create-plan.md +3 -0
  61. package/.codex/prompts/create-prd.md +3 -0
  62. package/.codex/prompts/griling-plan.md +3 -0
  63. package/.codex/prompts/griling-prd.md +3 -0
  64. package/.codex/prompts/grilling-plan.md +3 -0
  65. package/.codex/prompts/project-setup.md +3 -0
  66. package/.codex/prompts/research.md +3 -0
  67. package/.codex/prompts/sprint-meeting.md +3 -0
  68. package/.gitmodules.example +9 -0
  69. package/AGENTS.md +84 -0
  70. package/CLAUDE.md +1 -0
  71. package/INSTALL.md +284 -0
  72. package/LICENSE +21 -0
  73. package/README.md +342 -2
  74. package/bin/postinstall.js +57 -0
  75. package/bin/workflows.js +1172 -0
  76. package/bin/workflows.test.mjs +682 -0
  77. package/commands/add-project.md +20 -0
  78. package/commands/approve-plan.md +25 -0
  79. package/commands/approve-prd.md +24 -0
  80. package/commands/auto-mode.md +15 -0
  81. package/commands/create-design.md +20 -0
  82. package/commands/create-diagram.md +16 -0
  83. package/commands/create-plan.md +22 -0
  84. package/commands/create-prd.md +16 -0
  85. package/commands/griling-plan.md +16 -0
  86. package/commands/griling-prd.md +16 -0
  87. package/commands/grilling-plan.md +16 -0
  88. package/commands/project-setup.md +16 -0
  89. package/commands/research.md +16 -0
  90. package/commands/sprint-meeting.md +16 -0
  91. package/dashboard/.agents/skills/coding-conventions/SKILL.md +76 -0
  92. package/dashboard/.agents/skills/coding-conventions/agents/openai.yaml +4 -0
  93. package/dashboard/.agents/skills/design-system-guideline/SKILL.md +51 -0
  94. package/dashboard/.agents/skills/design-system-guideline/agents/openai.yaml +4 -0
  95. package/dashboard/.agents/skills/lint-and-fix/SKILL.md +55 -0
  96. package/dashboard/.agents/skills/lint-and-fix/agents/openai.yaml +4 -0
  97. package/dashboard/.agents/skills/taste-ui/SKILL.md +45 -0
  98. package/dashboard/.agents/skills/taste-ui/agents/openai.yaml +4 -0
  99. package/dashboard/AGENTS.md +43 -0
  100. package/dashboard/bun.lock +352 -0
  101. package/dashboard/index.html +12 -0
  102. package/dashboard/package.json +32 -0
  103. package/dashboard/src/App.tsx +5 -0
  104. package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.module.css +85 -0
  105. package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.tsx +80 -0
  106. package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.module.css +25 -0
  107. package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.tsx +29 -0
  108. package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.module.css +29 -0
  109. package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.tsx +35 -0
  110. package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.module.css +85 -0
  111. package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.tsx +150 -0
  112. package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.module.css +41 -0
  113. package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.tsx +41 -0
  114. package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.module.css +25 -0
  115. package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.tsx +40 -0
  116. package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.module.css +330 -0
  117. package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.tsx +299 -0
  118. package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.module.css +74 -0
  119. package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.tsx +79 -0
  120. package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.module.css +133 -0
  121. package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.tsx +233 -0
  122. package/dashboard/src/features/task-status/components/Sidebar/Sidebar.module.css +53 -0
  123. package/dashboard/src/features/task-status/components/Sidebar/Sidebar.tsx +163 -0
  124. package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.module.css +41 -0
  125. package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.tsx +48 -0
  126. package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.module.css +97 -0
  127. package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.tsx +128 -0
  128. package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.module.css +9 -0
  129. package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.tsx +318 -0
  130. package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.module.css +221 -0
  131. package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.tsx +344 -0
  132. package/dashboard/src/features/task-status/taskStatusConfig.ts +100 -0
  133. package/dashboard/src/features/task-status/utils/actionItems.ts +247 -0
  134. package/dashboard/src/features/task-status/utils/artifactGrouping.ts +328 -0
  135. package/dashboard/src/features/task-status/utils/hardnessScanner.ts +406 -0
  136. package/dashboard/src/features/task-status/utils/lifecycle.ts +73 -0
  137. package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.module.css +11 -0
  138. package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.tsx +104 -0
  139. package/dashboard/src/features/task-status/utils/markdownLinks.ts +83 -0
  140. package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.module.css +74 -0
  141. package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.tsx +326 -0
  142. package/dashboard/src/features/task-status/utils/status.ts +7 -0
  143. package/dashboard/src/features/task-status/utils/test/actionItems.test.ts +134 -0
  144. package/dashboard/src/features/task-status/utils/test/artifactGrouping.test.ts +294 -0
  145. package/dashboard/src/features/task-status/utils/test/hardnessScanner.test.ts +138 -0
  146. package/dashboard/src/features/task-status/utils/test/lifecycle.test.ts +49 -0
  147. package/dashboard/src/features/task-status/utils/test/markdownInline.test.ts +41 -0
  148. package/dashboard/src/features/task-status/utils/test/markdownLinks.test.ts +158 -0
  149. package/dashboard/src/features/task-status/utils/test/workspaceMetadata.test.ts +37 -0
  150. package/dashboard/src/features/task-status/utils/workspaceMetadata.ts +175 -0
  151. package/dashboard/src/main.tsx +16 -0
  152. package/dashboard/src/shared/design-system.css +134 -0
  153. package/dashboard/src/shared/design-system.tsx +84 -0
  154. package/dashboard/src/styles.css +41 -0
  155. package/dashboard/src/types.ts +133 -0
  156. package/dashboard/src/workspace-artifacts.d.ts +9 -0
  157. package/dashboard/tsconfig.json +22 -0
  158. package/dashboard/vite.config.ts +579 -0
  159. package/designs/.gitkeep +1 -0
  160. package/docs/add-project-command-completion.md +117 -0
  161. package/docs/public-npm-registry-completion.md +104 -0
  162. package/docs/workflows.png +0 -0
  163. package/docs/workspace-template-setup.md +229 -0
  164. package/meeting-logs/.gitkeep +1 -0
  165. package/modules/.gitkeep +1 -0
  166. package/package.json +96 -5
  167. package/plans/.gitkeep +1 -0
  168. package/prds/.gitkeep +1 -0
  169. package/project/PROJECT.md +26 -0
  170. package/project/repositories.json +72 -0
  171. package/project/validation.json +9 -0
  172. package/project/workflows.json +20 -0
  173. package/research/.gitkeep +1 -0
  174. package/roles/backend-developer.md +26 -0
  175. package/roles/frontend-developer.md +25 -0
  176. package/roles/project-manager.md +42 -0
  177. package/roles/tech-lead.md +42 -0
  178. package/roles/ui-ux-designer.md +43 -0
  179. package/scripts/add-project.mjs +990 -0
  180. package/scripts/add-project.test.mjs +804 -0
  181. package/scripts/check-staged-security.mjs +97 -0
  182. package/scripts/check-staged-security.test.mjs +68 -0
  183. package/scripts/workspace-integrity.ts +220 -0
  184. package/templates/auto-mode-completion-summary-template.md +78 -0
  185. package/templates/meeting-log-template.md +177 -0
  186. package/templates/plan-template.md +219 -0
  187. package/templates/prd-template.md +106 -0
  188. package/templates/research-template.md +119 -0
  189. package/workflows.md +590 -0
  190. package/workspace.config.json +43 -0
@@ -0,0 +1,91 @@
1
+ ---
2
+ name: griling-prd
3
+ description: >-
4
+ Review an existing PRD by asking the developer clarifying
5
+ questions one at a time, each with a recommended answer and free-form answer
6
+ option, then update the PRD from the developer's answers. Use when the
7
+ developer asks to griling-prd, invokes /griling-prd, or asks to
8
+ clarify/refine an existing PRD before approval.
9
+ ---
10
+
11
+ # griling-prd
12
+
13
+ Clarify an existing PRD by grilling it for unanswered questions one at a time,
14
+ then update the PRD according to the developer's answers.
15
+
16
+ ## Usage
17
+
18
+ Use this skill for any of these forms:
19
+
20
+ ```txt
21
+ $griling-prd <prd-id-or-path>
22
+ griling-prd <prd-id-or-path>
23
+ /griling-prd <prd-id-or-path>
24
+ ```
25
+
26
+ If the client intercepts slash commands, use `$griling-prd` or `griling-prd`
27
+ instead.
28
+
29
+ ## Required Behavior
30
+
31
+ 1. Read and adopt `roles/project-manager.md`.
32
+ 2. Read `templates/prd-template.md`.
33
+ 3. Find the target PRD from `<prd-id-or-path>`:
34
+ - If a PRD ID is provided, find the matching Markdown file in `prds/`.
35
+ - If a path is provided, use that file.
36
+ - If no target is provided, inspect `prds/` and ask the developer which PRD
37
+ to clarify unless there is exactly one draft PRD.
38
+ 4. Confirm the PRD exists and is not `superseded`.
39
+ 5. If the PRD is already `approved`, warn that changing it may invalidate
40
+ existing plans and ask for explicit confirmation before editing.
41
+ 6. Read the full PRD and identify unclear, missing, conflicting, or risky
42
+ requirements across problem, research context, goals, non-goals, users,
43
+ requirements, user flows, affected platforms, contracts, UX notes,
44
+ acceptance criteria, risks, and open questions.
45
+ 7. Build the complete clarification queue before asking anything.
46
+ - Include every material question needed to remove ambiguity from the PRD.
47
+ - Prioritize questions that affect scope, acceptance criteria, platform
48
+ ownership, data/API contracts, user flows, edge cases, and non-goals.
49
+ - Do not ask implementation-detail questions unless they are needed to define
50
+ product requirements.
51
+ - If the PRD is already clear, say so and ask whether the developer wants any
52
+ additional refinements.
53
+ 8. Ask exactly one clarification question at a time and wait for the developer's
54
+ response before asking the next question.
55
+ - Do not ask the full queue in one message.
56
+ - Do not update the PRD until every queued question has been answered, unless
57
+ the developer explicitly says to stop early and update with partial answers.
58
+ - Track answered questions internally so follow-up turns continue from the
59
+ next unanswered question.
60
+ 9. Format each clarification question with:
61
+ - The question.
62
+ - A short "Recommended" answer that represents the best product-manager
63
+ judgment from the current PRD context.
64
+ - Two or three concrete answer options when the decision is naturally
65
+ multiple-choice, with the recommended option labeled `Recommended`.
66
+ - A clear note that the developer can type a custom answer instead of picking
67
+ an option.
68
+ - A brief explanation of why the answer matters for the PRD.
69
+ 10. When the developer answers a question:
70
+ - Accept option labels, short shorthand, or free-form answers.
71
+ - If the answer is ambiguous, ask a focused follow-up for that same question
72
+ before moving on.
73
+ - Otherwise, acknowledge the answer briefly and ask the next queued question.
74
+ 11. After all questions are answered, update the PRD as the Project Manager role:
75
+ - Incorporate answers into the relevant PRD sections, not only into `Open
76
+ Questions`.
77
+ - Remove or mark answered questions as resolved.
78
+ - Keep unresolved items in `Open Questions`.
79
+ - Update `Last updated` to the current date.
80
+ - Preserve the PRD ID, title, status, source request, research sources,
81
+ approval metadata, and unrelated content.
82
+ 12. Do not create plans, approve the PRD, or edit product code.
83
+ 13. Ask the developer to review the updated PRD and approve it with
84
+ `$approve-prd <prd-id>` or `approve-prd <prd-id>` when ready.
85
+
86
+ ## Output
87
+
88
+ On each question pass, report the PRD path once, ask the next single
89
+ clarification question, include the recommended answer/options, and wait. On the
90
+ update pass, report the PRD path, what changed, remaining open questions, and
91
+ whether the PRD is ready for approval.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Griling PRD"
3
+ short_description: "Clarify and refine an existing PRD"
4
+ default_prompt: "Use $griling-prd to ask one clarifying question at a time, include your recommended answer, and update this PRD from my answers."
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: package-installation
3
+ description: Workspace dependency installation rules for workspace-owned packages. Use when an agent adds, removes, or changes dependencies for the root workspace tooling, the dashboard package, or other workspace-owned package.json files.
4
+ ---
5
+
6
+ # Workspace Package Installation
7
+
8
+ Use this skill whenever adding, removing, or changing dependencies for
9
+ workspace-owned packages, including the root workspace and `dashboard/`.
10
+
11
+ ## Rules
12
+
13
+ - Use Bun as the package manager.
14
+ - Pin every dependency to an exact version.
15
+ - Do not introduce `package-lock.json`, `pnpm-lock.yaml`, or `yarn.lock`.
16
+ - Do not use caret (`^`) or tilde (`~`) ranges in any `package.json`.
17
+ - Install from the workspace root.
18
+ - Verify the root `bun.lock` changed as expected.
19
+ - Add a dependency only when it removes real complexity.
20
+ - For submodules, follow the submodule's own agent instructions and package
21
+ skill instead of this root workspace skill.
22
+
23
+ ## Commands
24
+
25
+ From the workspace root:
26
+
27
+ ```bash
28
+ bun add --dev --exact <package>@<version>
29
+ bun add --cwd dashboard --exact <package>@<version>
30
+ bun add --cwd dashboard --dev --exact <package>@<version>
31
+ bun install
32
+ ```
33
+
34
+ Use `--dev` only for development-only packages.
35
+
36
+ ## Verification
37
+
38
+ After dependency changes:
39
+
40
+ ```bash
41
+ bun install
42
+ bun run lint
43
+ bun run dashboard:typecheck
44
+ bun run dashboard:test
45
+ bun run dashboard:build
46
+ ```
47
+
48
+ Run dashboard-specific commands only when the dependency affects `dashboard/`.
49
+ Inspect the relevant `package.json` and confirm versions are exact:
50
+
51
+ ```json
52
+ {
53
+ "dependencies": {
54
+ "example-package": "1.2.3"
55
+ }
56
+ }
57
+ ```
58
+
59
+ Incorrect:
60
+
61
+ ```json
62
+ {
63
+ "dependencies": {
64
+ "example-package": "^1.2.3"
65
+ }
66
+ }
67
+ ```
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Package Installation"
3
+ short_description: "Manage workspace dependencies with Bun"
4
+ default_prompt: "Use $package-installation to update workspace dependencies."
@@ -0,0 +1,104 @@
1
+ ---
2
+ name: project-setup
3
+ description: >-
4
+ Guide a developer step by step through filling the workspace project profile
5
+ files after workflows init. Use when the developer invokes /project-setup,
6
+ project-setup, or asks to configure project/PROJECT.md, project/repositories.json,
7
+ project/validation.json, project/workflows.json, or .gitmodules.
8
+ ---
9
+
10
+ # project-setup
11
+
12
+ Guide the developer through completing the replaceable project profile files so
13
+ agents can follow the workspace workflow for the developer's real project.
14
+
15
+ ## Usage
16
+
17
+ Use this skill for any of these forms:
18
+
19
+ ```txt
20
+ $project-setup
21
+ project-setup
22
+ /project-setup
23
+ ```
24
+
25
+ If the client intercepts slash commands, use `$project-setup` or
26
+ `project-setup` instead.
27
+
28
+ ## Files
29
+
30
+ Project setup may update these root files:
31
+
32
+ - `project/PROJECT.md`
33
+ - `project/repositories.json`
34
+ - `project/validation.json`
35
+ - `project/workflows.json`
36
+ - `.gitmodules`
37
+
38
+ It may create missing artifact directories such as `prds/`, `plans/`,
39
+ `designs/`, `research/`, `docs/`, and `modules/` when needed.
40
+
41
+ ## Required Behavior
42
+
43
+ 1. Read `AGENTS.md`, `workflows.md`, and
44
+ `docs/workspace-template-setup.md` for current workspace setup rules.
45
+ 2. Read any existing project setup files listed above before asking questions.
46
+ 3. Treat non-placeholder values already present in those files as developer data.
47
+ Preserve them unless the developer explicitly asks to replace them.
48
+ 4. Identify which setup facts are missing, still generic examples, malformed, or
49
+ inconsistent across files.
50
+ 5. Ask one concise setup question at a time. Do not ask for every field in one
51
+ message.
52
+ 6. Prefer the next question that unlocks the most file updates. A practical
53
+ order is:
54
+ - Project name, purpose, and ownership boundaries for `project/PROJECT.md`.
55
+ - Repository additions: read and follow `../add-project/SKILL.md`. Start with
56
+ a URL, infer and review values, collect entries, and explicitly Save using
57
+ that flow. Reuse its review and mutation helper rather than duplicating them.
58
+ - Root/dashboard validation commands and remaining repository follow-ups.
59
+ - Project-specific implementation stages for `project/workflows.json`.
60
+ 7. Include a recommended answer when a reasonable default exists, but make it
61
+ clear that the developer can correct it.
62
+ 8. Outside repository addition, update all files that can now be updated coherently
63
+ after each answer. The add-project subflow keeps repository entries and cleanup
64
+ pending until Save. Cancelling it preserves unrelated setup answers already
65
+ saved. Use structured JSON parsing and serialization for JSON files.
66
+ 9. Keep JSON formatted with tabs to match the existing workspace files.
67
+ 10. For new repository additions, let add-project handle `.gitmodules` and Git
68
+ registration on Save. Keep existing configuration aligned without claiming
69
+ that a `.gitmodules` entry alone registers a submodule. Never invent URLs.
70
+ 11. If a repository has no known validation command, use an empty validation
71
+ array or leave an explicit open question in the final report; do not invent
72
+ commands.
73
+ 12. Saving reviewed entries in the add-project subflow authorizes their clones
74
+ and Git submodule registrations. Perform those operations only through that
75
+ subflow after its Save preview. Outside it, cloning/initialization still needs
76
+ a separate request. Do not install packages, commit, push, publish, deploy,
77
+ or edit product code during setup.
78
+ 13. When setup is complete enough for agents to operate, run or suggest
79
+ `workflows integrity` or `bun run workspace:integrity` depending on what is
80
+ available locally.
81
+
82
+ ## Completion Criteria
83
+
84
+ Project setup is complete when:
85
+
86
+ - `project/PROJECT.md` describes the real project purpose and ownership
87
+ boundaries.
88
+ - `project/repositories.json` contains no example repositories unless they are
89
+ intentional.
90
+ - Each repository has a stable `id`, `name`, `path`, `purpose`, `scope`,
91
+ `platforms`, `agentGuide`, artifact directories, code scan directories, and
92
+ validation commands where known.
93
+ - `project/validation.json` reflects root and workspace-local validation groups.
94
+ - `project/workflows.json` reflects the expected implementation stage order, or
95
+ explicitly has no project-specific stages.
96
+ - `.gitmodules` matches repositories with configured URLs.
97
+
98
+ ## Output
99
+
100
+ After each update, briefly report:
101
+
102
+ - The files changed.
103
+ - The setup facts still missing, if any.
104
+ - The next single question or the next validation command.
@@ -0,0 +1,3 @@
1
+ display_name: Project Setup
2
+ short_description: Fill project profile files step by step.
3
+ default_prompt: Use $project-setup to guide project profile setup.
@@ -0,0 +1,61 @@
1
+ ---
2
+ name: research
3
+ description: >-
4
+ Create a structured research brief for future PRDs and plans. Use when the
5
+ developer asks to research a topic, invokes /research, or wants project and
6
+ external context captured before PRD or planning work.
7
+ ---
8
+
9
+ # research
10
+
11
+ Create a root-level research brief from the developer's research request.
12
+ Research briefs preserve context for future PRDs, plans, and implementation
13
+ agents.
14
+
15
+ ## Usage
16
+
17
+ Use this skill for any of these forms:
18
+
19
+ ```txt
20
+ $research <description>
21
+ research <description>
22
+ /research <description>
23
+ ```
24
+
25
+ If the client intercepts slash commands, use `$research` or `research` instead.
26
+
27
+ ## Required Behavior
28
+
29
+ 1. Read and adopt both `roles/project-manager.md` and `roles/tech-lead.md`.
30
+ 2. Read `templates/research-template.md`.
31
+ 3. Read `project/PROJECT.md` and `project/repositories.json` to understand the
32
+ current project purpose, repository ownership, artifact directories, and
33
+ validation expectations.
34
+ 4. Search existing `research/`, `prds/`, `plans/`, `docs/`, and relevant
35
+ repository artifact directories for directly related saved context. Use only
36
+ material that clearly improves this research.
37
+ 5. Inspect local workspace files that are directly relevant to `<description>`.
38
+ Use `project/repositories.json` to stay inside the appropriate ownership
39
+ boundaries.
40
+ 6. Use external sources only when the request requires current, authoritative,
41
+ or ecosystem-specific facts. Prefer primary sources and record every URL in
42
+ the `Reference URLs` section.
43
+ 7. Analyze the topic from both product and technical perspectives:
44
+ - Product implications, users, workflows, goals, non-goals, and acceptance
45
+ criteria candidates.
46
+ - Technical implications, affected repositories, integration points,
47
+ sequencing, constraints, validation ideas, and risks.
48
+ 8. Create a stable research ID using `RESEARCH-<YYYYMMDD>-<short-slug>`.
49
+ 9. Save the brief in `research/<research-id-lowercase>.md`.
50
+ 10. Set `Status` to `reviewed` when the brief is complete enough to inform PRD
51
+ or planning work. Use `draft` only when material unknowns remain.
52
+ 11. Do not create PRDs, create plans, or edit product code unless the developer
53
+ explicitly asks for that as a separate step.
54
+ When auto mode is enabled for a developer-initiated feature request, the
55
+ active request authorizes continuation to the PRD stage under
56
+ `.agents/skills/auto-mode/SKILL.md`.
57
+
58
+ ## Output
59
+
60
+ Report the research ID, file path, status, most important recommendation, and
61
+ any high-risk unknowns that should be resolved before PRD or planning work.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Research"
3
+ short_description: "Research a topic for future PRDs and plans"
4
+ default_prompt: "Use $research to investigate this topic and save a structured research brief."
@@ -0,0 +1,230 @@
1
+ ---
2
+ name: sprint-meeting
3
+ description: >-
4
+ Run a time-boxed role-agent review meeting for a PRD and its design, improve
5
+ requirements and UI/UX, answer agent-resolvable questions, and save the
6
+ meeting transcript under meeting-logs/.
7
+ ---
8
+
9
+ # sprint-meeting
10
+
11
+ Run a focused sprint meeting for an existing PRD. The meeting brings every
12
+ workspace role sub-agent into the discussion, improves the PRD from their
13
+ combined perspectives, and records the decisions.
14
+
15
+ ## Usage
16
+
17
+ Use this skill for any of these forms:
18
+
19
+ ```txt
20
+ $sprint-meeting <prd-id>
21
+ sprint-meeting <prd-id>
22
+ /sprint-meeting <prd-id>
23
+ ```
24
+
25
+ If the client intercepts slash commands, use `$sprint-meeting` or
26
+ `sprint-meeting` instead.
27
+
28
+ ## Required Behavior
29
+
30
+ 1. Find the matching PRD in `prds/` by `<prd-id>` or exact path.
31
+ 2. Read `AGENTS.md`, `workflows.md`, `project/PROJECT.md`, and
32
+ `project/repositories.json`.
33
+ 3. Read `templates/meeting-log-template.md`; use it as the required output
34
+ structure for the meeting log.
35
+ 4. Read these role and agent files before starting the meeting:
36
+ - `.agents/agents/project-manager/agent.md`
37
+ - `.agents/agents/tech-lead/agent.md`
38
+ - `.agents/agents/ui-ux-designer/agent.md`
39
+ - `.agents/agents/backend-developer/agent.md`
40
+ - `.agents/agents/frontend-developer/agent.md`
41
+ - `roles/project-manager.md`
42
+ - `roles/tech-lead.md`
43
+ - `roles/ui-ux-designer.md`
44
+ - `roles/backend-developer.md`
45
+ - `roles/frontend-developer.md`
46
+ 5. Read the PRD completely.
47
+ 6. Read related documents before spawning sub-agents:
48
+ - Research sources linked from the PRD metadata or `Research Context`.
49
+ - Design artifacts linked from the PRD `Design Artifacts` section.
50
+ - Plans, docs, or other artifact IDs referenced by the PRD.
51
+ - Strongly related artifacts from `research/`, `designs/`, `plans/`, and
52
+ `docs/` when their title, ID, or links clearly match the PRD.
53
+ - Do not force weak matches.
54
+ 7. Start a visible meeting in the developer's chat window. Show:
55
+ - PRD ID and PRD path.
56
+ - Related documents being used.
57
+ - Agent roster.
58
+ - A statement that the active meeting is time-boxed to 5 minutes.
59
+ 8. Spawn all five workspace role sub-agents in parallel when the runtime provides
60
+ a sub-agent mechanism:
61
+ - `workspace-project-manager`
62
+ - `workspace-tech-lead`
63
+ - `workspace-ui-ux-designer`
64
+ - `workspace-backend-developer`
65
+ - `workspace-frontend-developer`
66
+ Resolve each role's `meeting` model from `workspace.config.json` using
67
+ `workflows agents resolve meeting <role> --format <agents|claude> --json`
68
+ before spawning. Pass a non-`inherit` model when the runtime supports it;
69
+ report any selected model that cannot be applied.
70
+ 9. Give every sub-agent the same base packet:
71
+ - PRD path and PRD contents.
72
+ - Related document paths and relevant excerpts or summaries.
73
+ - `project/PROJECT.md` and `project/repositories.json` context.
74
+ - The agent's role file.
75
+ - Meeting time box.
76
+ - Required response format from the `Sub-Agent Response Format` section.
77
+ - A design review assignment: inspect every linked design artifact, or the
78
+ PRD's UX flows and notes if none exists; identify a concrete UI/UX
79
+ improvement from the agent's role perspective or explain why no change is
80
+ needed. Cover relevant user flows, states, accessibility, feasibility,
81
+ and consistency with the project's design language.
82
+ 10. If the runtime does not provide a sub-agent mechanism, stop and report that
83
+ this command requires sub-agent spawning support. Do not silently replace the
84
+ meeting with a single-agent review.
85
+ 11. Keep active agent discussion at or below 5 minutes. Time waiting for a
86
+ developer answer does not count toward the 5-minute active meeting budget.
87
+ 12. Show concise meeting messages in the developer's chat window as the meeting
88
+ runs:
89
+ - Meeting start and roster.
90
+ - Each agent's key findings after its response arrives.
91
+ - Each discussion round summary, including routed questions and answers.
92
+ - Consolidated questions before asking the developer.
93
+ - Final decisions and PRD updates.
94
+ 13. Each question must name who can answer it:
95
+ - Use `@workspace-project-manager`, `@workspace-tech-lead`,
96
+ `@workspace-ui-ux-designer`, `@workspace-backend-developer`, and
97
+ `@workspace-frontend-developer` for agent-answerable questions.
98
+ - Use `@developer` for questions only the developer or product owner can
99
+ answer.
100
+ - Include every relevant agent mention on each question.
101
+ 14. Agents must answer questions that fall within their role knowledge. Only
102
+ leave a question for `@developer` when it depends on product intent, business
103
+ priority, external stakeholder choice, credentials, private business data, or
104
+ another decision the agents cannot responsibly infer.
105
+ 15. Run a bounded multi-round discussion loop before asking the developer:
106
+ - **Round 1: discovery.** Every sub-agent submits findings, design review
107
+ feedback, proposed PRD updates, agent-answerable questions, and human-only
108
+ questions.
109
+ - **Round 2+: routed answers.** The chair routes every agent-answerable
110
+ question to the named relevant agents. Responding agents answer from their
111
+ role knowledge and may cite the PRD or related documents.
112
+ - **Author review.** The agent that asked the question reviews the answer.
113
+ It must mark the answer as `accepted`, `needs-follow-up`, or
114
+ `human-required`.
115
+ - **Follow-up rounds.** If the author marks `needs-follow-up`, the chair may
116
+ run another routed answer round for that question. Limit each question to
117
+ two follow-up rounds unless the remaining 5-minute active budget is too
118
+ small.
119
+ - **Design synthesis.** Route conflicting or dependent UI/UX suggestions to
120
+ the relevant agents. The UI/UX Designer synthesizes the five reviews into
121
+ accepted improvements, rejected suggestions with reasons, and unresolved
122
+ design decisions.
123
+ - **Convergence.** Continue until no unresolved agent-answerable questions
124
+ remain, only human-only questions remain, or the active 5-minute budget is
125
+ reached.
126
+ - **Time-box handling.** If the active budget expires with unresolved
127
+ agent-answerable questions, record them in the meeting log as
128
+ `unresolved-time-boxed`, add only decision-critical items to the PRD `Open
129
+ Questions` section, and do not ask the developer to answer questions that
130
+ agents could answer with more time unless the chair determines they are now
131
+ blocking product intent.
132
+ 16. Ask developer questions in the chat window and wait for the developer's
133
+ answer before finishing the meeting. Prefer one concise batch of developer
134
+ questions so the meeting stays focused.
135
+ 17. After developer answers arrive:
136
+ - Record the answer in the meeting log.
137
+ - Update the PRD with the answer as a requirement, non-goal, acceptance
138
+ criterion, risk, constraint, UX note, contract note, or resolved open
139
+ question as appropriate.
140
+ - Leave unanswered human-only questions in the PRD `Open Questions` section.
141
+ 18. Consolidate agent feedback into PRD changes:
142
+ - Improve unclear requirements.
143
+ - Resolve agent-answerable open questions.
144
+ - Add missing acceptance criteria.
145
+ - Add affected-platform, UX, data/API/package contract, risk, validation, or
146
+ non-goal details when the agents identify gaps.
147
+ - Reflect accepted UI/UX improvements in user flows, UX notes, and
148
+ acceptance criteria. Update a linked design artifact when it is editable
149
+ within the meeting scope; otherwise record the proposed artifact change
150
+ and owner in the meeting log for follow-up. Keep the PRD and design links
151
+ consistent.
152
+ - Preserve product intent and do not introduce implementation plans or code.
153
+ 19. Update PRD metadata:
154
+ - `Last updated`: current date.
155
+ - Keep the existing PRD `Status` unless the developer explicitly approves a
156
+ workflow status change.
157
+ - Add the meeting log ID or path to `Related artifact IDs` or a `Sprint
158
+ Meetings` section when the PRD format supports it.
159
+ 20. Save the meeting log under `meeting-logs/` with this naming pattern:
160
+ - `meeting-logs/<prd-id-lowercase>-sprint-meeting-<YYYYMMDD-HHMM>.md`
161
+ 21. Fill every section in `templates/meeting-log-template.md`. Use `None` for
162
+ empty sections so future agents and dashboard tooling can parse a consistent
163
+ shape. Do not omit template sections.
164
+ 22. Do not create implementation plans or edit product code.
165
+ In auto mode, hand the updated PRD and meeting log to the PRD approval stage
166
+ without a routine developer approval prompt.
167
+
168
+ ## Sub-Agent Response Format
169
+
170
+ Each sub-agent must return Markdown with these sections:
171
+
172
+ ```md
173
+ ## Agent
174
+
175
+ <agent name>
176
+
177
+ ## Findings
178
+
179
+ - <role-specific issue, gap, or confirmation>
180
+
181
+ ## Design Review
182
+
183
+ - Design reviewed: <artifact path or PRD UX sections>
184
+ - UI/UX contribution: <specific improvement and rationale, or "No change needed" with reason>
185
+ - Affected flow, screen, or state: <location or "None">
186
+
187
+ ## Agent-Answerable Questions And Answers
188
+
189
+ | Question | Asked by | Assigned to | Round | Answer | Review outcome | PRD update |
190
+ | --- | --- | --- | --- | --- | --- | --- |
191
+
192
+ ## Developer Questions
193
+
194
+ | Question | Asked by | Assigned to | Why human input is required |
195
+ | --- | --- | --- | --- |
196
+
197
+ ## Proposed PRD Updates
198
+
199
+ - <specific text or section-level update>
200
+
201
+ ## Risks
202
+
203
+ - <risk or "None">
204
+ ```
205
+
206
+ ## Meeting Chair Rules
207
+
208
+ The main agent is the meeting chair. The chair must:
209
+
210
+ - Spawn every role sub-agent.
211
+ - Keep the discussion inside the active 5-minute budget.
212
+ - Merge duplicate questions before routing answers or asking the developer.
213
+ - Run multiple routed answer rounds when needed.
214
+ - Require a design review contribution from every role agent, then ask the
215
+ UI/UX Designer to synthesize the feedback before closing the meeting.
216
+ - Let agents answer each other's role-answerable questions.
217
+ - Require the question author to review each answer as accepted,
218
+ needs-follow-up, or human-required.
219
+ - Stop follow-up loops when a question is accepted, becomes human-required,
220
+ reaches two follow-up rounds, or the 5-minute active budget is reached.
221
+ - Ask the developer only human-only questions.
222
+ - Update the PRD after the meeting.
223
+ - Save the meeting log before finishing.
224
+
225
+ ## Output
226
+
227
+ Report the PRD path, meeting log path, agents that participated, design
228
+ improvements accepted, design artifacts updated or needing follow-up, PRD
229
+ sections updated, developer questions answered, unresolved human-only questions,
230
+ and any validation performed.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Sprint Meeting"
3
+ short_description: "Review a PRD and UI/UX with every role"
4
+ default_prompt: "Use $sprint-meeting to run a role-agent review meeting for this PRD."
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: backend-developer
3
+ description: Implements approved backend, service, API, persistence, and job work inside the backend repositories configured for this workspace.
4
+ model: inherit
5
+ ---
6
+
7
+ Read `.agents/agents/backend-developer/agent.md` completely and follow its role and delegation contract. If it is a discovery shim, read its packaged source completely. Read `AGENTS.md` and `workflows.md` for workspace rules.
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: frontend-developer
3
+ description: Implements approved frontend UI, state, API integration, accessibility, and responsive behavior inside configured frontend repositories.
4
+ model: inherit
5
+ ---
6
+
7
+ Read `.agents/agents/frontend-developer/agent.md` completely and follow its role and delegation contract. If it is a discovery shim, read its packaged source completely. Read `AGENTS.md` and `workflows.md` for workspace rules.
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: project-manager
3
+ description: Creates and updates product requirements for this multi-repository workspace before planning or implementation begins.
4
+ model: inherit
5
+ ---
6
+
7
+ Read `.agents/agents/project-manager/agent.md` completely and follow its role and delegation contract. If it is a discovery shim, read its packaged source completely. Read `AGENTS.md` and `workflows.md` for workspace rules.
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: tech-lead
3
+ description: Translates approved PRDs into cross-repository architecture plans and delegates submodule or platform detail plans.
4
+ model: inherit
5
+ ---
6
+
7
+ Read `.agents/agents/tech-lead/agent.md` completely and follow its role and delegation contract. If it is a discovery shim, read its packaged source completely. Read `AGENTS.md` and `workflows.md` for workspace rules.
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: ui-ux-designer
3
+ description: Produces implementation-ready UX flows, screen specs, states, accessibility guidance, and design handoffs for workspace projects.
4
+ model: inherit
5
+ ---
6
+
7
+ Read `.agents/agents/ui-ux-designer/agent.md` completely and follow its role and delegation contract. If it is a discovery shim, read its packaged source completely. Read `AGENTS.md` and `workflows.md` for workspace rules.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: add-project
3
+ description: Add repositories to the workspace from Git URLs with inferred profile values, guided review, and Save-authorized submodule registration. Use for add-project or repository addition during project-setup.
4
+ ---
5
+
6
+ Read `.agents/skills/add-project/SKILL.md` completely and follow it as the source
7
+ of truth. If it is a discovery shim, read its packaged source completely. Apply
8
+ the skill to this request:
9
+
10
+ $ARGUMENTS
@@ -0,0 +1,8 @@
1
+ ---
2
+ name: approve-plan
3
+ description: Approve a workspace root overview plan and begin implementation, using parallel sub-agents at each dependency-safe stage and the platform sequence defined in project configuration. Use when the developer asks to approve-plan, invokes /approve-plan, or asks to approve a plan and start implementation.
4
+ ---
5
+
6
+ Read `.agents/skills/approve-plan/SKILL.md` completely and follow it as the source of truth. If it is a discovery shim, read its packaged source completely. Apply the skill to this request:
7
+
8
+ $ARGUMENTS
@@ -0,0 +1,8 @@
1
+ ---
2
+ name: approve-prd
3
+ description: Approve a draft workspace PRD, then create implementation plans through create-plan. Use when the developer asks to approve-prd, invokes /approve-prd, or asks to approve a PRD and generate root/submodule plans.
4
+ ---
5
+
6
+ Read `.agents/skills/approve-prd/SKILL.md` completely and follow it as the source of truth. If it is a discovery shim, read its packaged source completely. Apply the skill to this request:
7
+
8
+ $ARGUMENTS
@@ -0,0 +1,8 @@
1
+ ---
2
+ name: auto-mode
3
+ description: Toggle or inspect workspace auto mode and run its ordered feature workflow.
4
+ ---
5
+
6
+ Read `.agents/skills/auto-mode/SKILL.md` completely and follow it as the source of truth. If it is a discovery shim, read its packaged source completely. Apply the skill to this request:
7
+
8
+ $ARGUMENTS