@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.
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,4 @@
1
+ interface:
2
+ display_name: "Auto Mode"
3
+ short_description: "Toggle automatic workflow progression"
4
+ default_prompt: "Use $auto-mode to show or change this workspace's auto mode."
@@ -0,0 +1,197 @@
1
+ ---
2
+ name: create-design
3
+ description: >-
4
+ Create UI/UX design direction, interaction flows, screen specs, and
5
+ implementation-ready design guidance with Open Design as the default design
6
+ workspace. Use when the developer asks for create-design, invokes
7
+ /create-design, uses $create-design, asks Codex to act as a designer, asks for
8
+ UI/UX, visual design, product design, redesign, wireframes, prototypes, design
9
+ specs, app/web/component layouts, interaction flows, accessibility, responsive
10
+ behavior, or design-system guidance before implementation.
11
+ ---
12
+
13
+ # create-design
14
+
15
+ Act as a product UI/UX designer and produce design artifacts that engineers can
16
+ implement without rediscovering the intended experience.
17
+
18
+ ## Usage
19
+
20
+ Use this skill for any of these forms:
21
+
22
+ ```txt
23
+ $create-design <design request>
24
+ create-design <design request>
25
+ /create-design <design request>
26
+ ```
27
+
28
+ If the client intercepts slash commands, use `$create-design` or
29
+ `create-design` instead.
30
+
31
+ Also use this skill implicitly for design requests such as:
32
+
33
+ - "design this screen", "improve this UI", "make a UX spec", or "create a
34
+ wireframe".
35
+ - Frontend work where the developer asks for design direction before code.
36
+ - Design-system, token, component anatomy, layout, accessibility, or responsive
37
+ behavior decisions.
38
+
39
+ Do not use this skill for pure implementation, backend/API work, copy-only
40
+ edits, or code review unless the request includes a UI/UX/design decision.
41
+
42
+ ## Required Behavior
43
+
44
+ 1. Read and adopt `roles/ui-ux-designer.md` before doing any other design work.
45
+ 2. Read `project/PROJECT.md` and `project/repositories.json` to understand the
46
+ project purpose, user context, repository boundaries, and platform scopes.
47
+ 3. Inspect relevant PRDs, plans, screenshots, existing UI, design-system files,
48
+ and product code before making project-specific design claims. Prefer `rg`
49
+ and targeted file reads.
50
+ 4. Treat Open Design as the default surface for design work. When an Open
51
+ Design MCP server, connector, or callable tool is available, use it even when
52
+ the developer did not explicitly mention Open Design.
53
+ 5. At the start of a design task, discover callable Open Design capabilities.
54
+ Prefer the MCP tools for active context, project files, artifact creation,
55
+ and project file reads/writes when those tools are exposed. If the toolset is
56
+ deferred, search for Open Design MCP/plugin tools before falling back.
57
+ 6. If Open Design is installed but not callable from the current session, test
58
+ the configured MCP server when practical. If it is still unavailable, clearly
59
+ say that in the output and continue with an implementation-ready Markdown
60
+ design spec.
61
+ 7. Do not claim an Open Design artifact, canvas, project, or file was created,
62
+ updated, or inspected unless a tool call actually performed that action.
63
+ 8. Keep design ownership aligned with repository scopes defined in `project/repositories.json`:
64
+ - Shared UI primitives, tokens, reusable components, and icons belong in repositories tagged as `shared` or `design-system`.
65
+ - Client and app flows belong in repositories tagged as `desktop-app` or `frontend`.
66
+ - Web frontend and public service design belong in repositories tagged as `web` or `service`.
67
+ - Cross-repo design rationale may live at the root.
68
+ 9. Respect the PRD and planning workflow. Do not edit product code unless the
69
+ developer explicitly asks for implementation and the approved PRD/plan
70
+ sequence allows it.
71
+ 10. For ambiguous design requests, ask only the clarifying questions needed to
72
+ avoid designing the wrong workflow. Otherwise make reasonable assumptions and
73
+ state them.
74
+ 11. Design for realistic product usage according to `project/PROJECT.md`:
75
+ handling user workflows, state changes, errors, edge cases, and loading with
76
+ confidence.
77
+ 12. Include responsive behavior, accessibility, interaction states, empty/loading
78
+ states, error states, and content hierarchy.
79
+ 13. Save or create durable design artifacts when the request is more than a
80
+ quick answer. Prefer Open Design when it is callable, and pair visual Open
81
+ Design work with a concise engineering handoff when implementation details
82
+ matter. If Open Design is not callable, save the canonical design spec in
83
+ the owning repository's configured `artifactDirectories.designs` path with an
84
+ ID of `DESIGN-<YYYYMMDD>-<short-slug>`. Also create a lightweight root
85
+ reference file at `designs/<design-id-lowercase>.md` that links to the module
86
+ design file.
87
+ 14. Choose the owning repository from the design scope in `project/repositories.json`.
88
+ If a design spans multiple repositories, save the canonical spec in the
89
+ primary implementation owner and list secondary repository responsibilities
90
+ in the spec. Use root `designs/` only for the reference file and cross-repo
91
+ index.
92
+ 15. When a design artifact maps directly to an existing PRD or plan, link it
93
+ from the artifact and mention which repository or submodule owns each part.
94
+ 16. After creating a design for a PRD:
95
+ - Update that PRD's `Status` to `design-done` and refresh `Last updated`.
96
+ - Add or update the `Design Artifacts` section with the design ID or Open
97
+ Design reference, link or locator, status, source
98
+ (`modules/<submodule>/designs/`, root reference `designs/`, or Open
99
+ Design), and a one-line purpose.
100
+ - Inform the developer that the PRD is now in `design-done` status and can
101
+ be approved with `$approve-prd <prd-id>` to move to the planning stage.
102
+ - In auto mode, continue to the sprint meeting instead of asking the
103
+ developer to invoke PRD approval.
104
+
105
+ ## Open Design Workflow
106
+
107
+ When Open Design is available, use it to create or update the design artifact
108
+ that best matches the request. The normal MCP path is:
109
+
110
+ 1. Discover the active Open Design context and available projects when useful.
111
+ 2. Read relevant Open Design project files or artifacts before revising existing
112
+ design work.
113
+ 3. Create or update the appropriate Open Design artifact for visual design work.
114
+ 4. Record the Open Design project/artifact locator in the local design spec,
115
+ root reference, PRD backlink, or final handoff.
116
+
117
+ - New flow or screen: create a wireframe or high-fidelity screen proposal.
118
+ - Existing UI redesign: inspect current screenshots or app/browser state first,
119
+ then create a revised design direction.
120
+ - Component/system work: map required tokens, variants, anatomy, states, and
121
+ accessibility expectations.
122
+ - Implementation handoff: produce a concise spec with measurements, hierarchy,
123
+ states, behavior, and acceptance checks.
124
+
125
+ If Open Design has no active project that fits the task, create or choose a
126
+ project with a clear project-specific name. If the integration is unavailable,
127
+ create the Markdown design spec and list what should be moved into Open Design
128
+ later.
129
+
130
+ ## Design Artifact Checklist
131
+
132
+ For saved design specs, include the sections that fit the request:
133
+
134
+ - Summary: the intended experience in a few sentences.
135
+ - Context: linked PRD, plan, screenshots, files, or existing UI inspected.
136
+ - Users And Jobs: who uses it and what they need to accomplish.
137
+ - Information Architecture: navigation, grouping, hierarchy, and labels.
138
+ - Primary Flows: step-by-step user journeys and decision points.
139
+ - Screen Specs: layout, responsive behavior, major regions, density, and content.
140
+ - Components And States: variants, empty/loading/error/success/disabled states.
141
+ - Visual Direction: typography, color, spacing, iconography, imagery, and motion.
142
+ - Accessibility: keyboard, focus, contrast, semantics, target sizes, and reduced
143
+ motion expectations.
144
+ - Implementation Notes: repository ownership, likely files/areas, and design
145
+ system dependencies.
146
+ - Validation: checks for responsive layout, interaction behavior, accessibility,
147
+ and visual QA.
148
+ - Open Questions: unresolved product or design decisions.
149
+
150
+ ## Local Design Artifact Storage
151
+
152
+ For Markdown design specs, treat the module copy as the canonical artifact and
153
+ the root copy as a navigation reference:
154
+
155
+ 1. Create `modules/<submodule>/designs/` if needed.
156
+ 2. Save the full design spec at
157
+ `modules/<submodule>/designs/<design-id-lowercase>.md`.
158
+ 3. Create or update `designs/<design-id-lowercase>.md` as a short reference
159
+ file, not a duplicate spec. Include the design ID, title, status, primary
160
+ owner, and a relative Markdown link to
161
+ `../modules/<submodule>/designs/<design-id-lowercase>.md`.
162
+ 4. In the module spec metadata, include a `Root reference` link back to
163
+ `../../../designs/<design-id-lowercase>.md` for app/core/service module
164
+ specs.
165
+ 5. If the artifact is an Open Design file instead of Markdown, create the root
166
+ reference file only when it improves workspace discoverability, and link to
167
+ the Open Design locator.
168
+
169
+ ## PRD Backlink And Status Update
170
+
171
+ When the design is based on a PRD:
172
+
173
+ 1. Read the PRD before editing it.
174
+ 2. Add `## Design Artifacts` before `## Approval` when the section does not
175
+ already exist.
176
+ 3. Add one bullet per design. For a local module design artifact, use:
177
+ `- DESIGN-<YYYYMMDD>-<short-slug>: [<title>](../modules/<submodule>/designs/<file>.md) -
178
+ <status>; source: modules/<submodule>/designs/; root reference:
179
+ [designs/<file>.md](../designs/<file>.md); <one-line purpose>.`
180
+ 4. For an Open Design artifact, use:
181
+ `- <Open Design reference>: [<title>](<open-design-url-or-locator>) -
182
+ <status>; source: Open Design; <one-line purpose>.`
183
+ 5. If the same design ID or Open Design reference is already listed, update that
184
+ bullet instead of adding a duplicate.
185
+ 6. Update PRD metadata:
186
+ - `Status`: `design-done`
187
+ - `Last updated`: current date
188
+ 7. Preserve the PRD's requirement text and existing approval fields. In manual
189
+ mode, the developer later runs `$approve-prd`. In auto mode, the agent
190
+ advances after the sprint meeting using auto-mode approval authority.
191
+
192
+ ## Output
193
+
194
+ Report the design artifact path or Open Design artifact created, key design
195
+ decisions, assumptions, open questions, the PRD backlink and `design-done` status
196
+ update, and the recommended next step (run `$approve-prd <prd-id>` to approve the
197
+ PRD in manual mode, or continue to the sprint meeting in auto mode).
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Create Design"
3
+ short_description: "Use Open Design for UI/UX flows, specs, and design-system guidance"
4
+ default_prompt: "Use $create-design with Open Design to create or refine a UI/UX design for this feature."
@@ -0,0 +1,83 @@
1
+ ---
2
+ name: create-diagram
3
+ description: >-
4
+ Create or improve high-quality workspace diagrams, including workflow
5
+ diagrams, architecture diagrams, role handoff maps, process maps, and
6
+ Mermaid diagrams for Markdown documentation. Use when the developer asks to
7
+ create-diagram, invokes /create-diagram, uses $create-diagram, wants a diagram
8
+ added to workspace docs, or asks to show roles and responsibilities in a
9
+ workflow.
10
+ ---
11
+
12
+ # create-diagram
13
+
14
+ Create diagrams that make workspace behavior easier to understand,
15
+ review, and maintain. Prefer diagrams that clarify ownership, sequence,
16
+ handoffs, decisions, and artifacts rather than decorative visuals.
17
+
18
+ ## Usage
19
+
20
+ Use this skill for any of these forms:
21
+
22
+ ```txt
23
+ $create-diagram <diagram request>
24
+ create-diagram <diagram request>
25
+ /create-diagram <diagram request>
26
+ ```
27
+
28
+ If the client intercepts slash commands, use `$create-diagram` or
29
+ `create-diagram` instead.
30
+
31
+ ## Required Behavior
32
+
33
+ 1. Inspect the target document or local context before drawing. Prefer `rg` and
34
+ targeted file reads.
35
+ 2. Read `project/repositories.json` and `project/PROJECT.md` to understand repository boundaries, platform assignments, and ownership.
36
+ 3. Choose the diagram type by the question it must answer:
37
+ - Use a flowchart when the main question is "what happens next?"
38
+ - Use swimlane-style subgraphs when the main question is "who owns each
39
+ step?" or "where are the handoffs?"
40
+ - Use a sequence diagram when timing, messages, or request/response behavior
41
+ matters.
42
+ - Use an architecture graph when systems, repositories, packages, or data
43
+ dependencies matter.
44
+ 4. Prefer Mermaid in Markdown docs because it is reviewable as text and works
45
+ well with repository documentation.
46
+ 5. Keep diagrams maintainable:
47
+ - Use stable, readable node IDs.
48
+ - Keep node labels short and action-oriented.
49
+ - Put decisions in diamond nodes with explicit outgoing labels.
50
+ - Label cross-role handoffs when the handoff depends on an artifact,
51
+ approval, or condition.
52
+ - Keep role lanes to the fewest useful owners, usually 3 to 7.
53
+ 6. For workflow diagrams, include role coverage:
54
+ - Name the primary role responsible for each major step.
55
+ - Include supporting roles when they materially affect the handoff.
56
+ - Add a compact roles table when the diagram alone would be too dense.
57
+ 7. Preserve repository ownership boundaries from `project/repositories.json`:
58
+ - Shared contracts, design-system primitives, and core logic belong in repositories tagged as `shared` or `core`.
59
+ - Backend service and API work belongs in repositories tagged as `backend` or `service`.
60
+ - Frontend and client apps belong in repositories tagged as `frontend`, `web`, or `desktop-app`.
61
+ - Cross-repo workflow documentation belongs in root workspace docs.
62
+ 7. Do not start the normal PRD or implementation workflow just because a diagram
63
+ is requested. A diagram/documentation-only change may directly update docs
64
+ when the developer asks for it.
65
+ 8. Validate before finishing whenever practical:
66
+ - Check Mermaid fences are closed.
67
+ - Check every referenced node ID exists.
68
+ - Check decisions have labeled branches.
69
+ - Check role labels match local role documents or established workspace
70
+ terminology.
71
+ - If a renderer or Mermaid CLI is available, render or parse the diagram.
72
+ 9. Report changed files, validation performed, and any assumptions.
73
+
74
+ ## Diagram Quality Checklist
75
+
76
+ - The title or surrounding text says what question the diagram answers.
77
+ - The diagram starts and ends clearly.
78
+ - Each node is a concrete action, decision, artifact, system, or state.
79
+ - Parallel lanes represent the same kind of thing, usually roles or systems.
80
+ - Handoffs are visible and labeled when useful.
81
+ - The diagram can be understood without reading a long explanation.
82
+ - The source remains pleasant to edit in a Markdown file.
83
+
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Create Diagram"
3
+ short_description: "Create role-aware Mermaid diagrams for docs"
4
+ default_prompt: "Use $create-diagram to create a clear Mermaid diagram for this workflow."
@@ -0,0 +1,104 @@
1
+ ---
2
+ name: create-plan
3
+ description: >-
4
+ Create or resume implementation plans from an approved workspace PRD ID,
5
+ path, or feature description. Use for create-plan, /create-plan, or the
6
+ planning handoff after PRD approval.
7
+ ---
8
+
9
+ # create-plan
10
+
11
+ Create implementation plans from an approved PRD. A feature description can
12
+ identify an existing PRD or start the PRD workflow first. This skill does not
13
+ skip PRD approval or begin implementation.
14
+
15
+ ## Usage
16
+
17
+ ```txt
18
+ $create-plan <prd-id-or-path-or-description>
19
+ create-plan <prd-id-or-path-or-description>
20
+ /create-plan <prd-id-or-path-or-description>
21
+
22
+ $create-plan PRD-20261006-example
23
+ $create-plan "Describe the feature or task to plan"
24
+ ```
25
+
26
+ If the client intercepts slash commands, use `$create-plan` or `create-plan`.
27
+
28
+ ## Required Behavior
29
+
30
+ 1. Resolve the argument:
31
+ - For a PRD ID or path, find that exact PRD. If it is missing, report that
32
+ it was not found; do not treat the ID or path as a feature description.
33
+ - For a feature description, search `prds/` for a clearly matching PRD.
34
+ Reuse an unambiguous match, preferring its latest relevant version; ask
35
+ which PRD to use if multiple plausible matches remain. Do not infer a
36
+ match from a weak keyword overlap.
37
+ - If no PRD matches the description, follow `create-prd/SKILL.md` to create
38
+ a draft from it. In auto mode, first follow the research stage in
39
+ `auto-mode/SKILL.md`, then complete the remaining required PRD stages.
40
+ In manual mode, stop for PRD review and approval before planning. After
41
+ approval, resume this skill with the approved PRD ID; reuse any plans
42
+ already produced by the approval handoff.
43
+ - If the argument is omitted, use an unambiguous PRD from the active request
44
+ or ask for an ID, path, or description.
45
+ 2. Confirm the selected PRD has `Status: approved`. If it is `superseded`,
46
+ report its path and status and ask for the replacement PRD; do not plan from
47
+ it. For another unapproved status, report the path and status. In manual
48
+ mode, give the next action (`$approve-prd <prd-id>` for a reviewable draft or
49
+ design-done PRD) and stop before planning. In auto mode, complete required
50
+ review, design, and approval stages, then resume planning with its approved
51
+ ID. Never create plans until approval is recorded.
52
+ 3. Read `project/PROJECT.md`, `project/repositories.json`,
53
+ `project/workflows.json`, `roles/tech-lead.md`, and
54
+ `templates/plan-template.md`. Identify affected repositories, configured
55
+ plan paths, agent guides, implementation stages, and validation commands.
56
+ 4. Read every research brief linked from the PRD `Research sources` metadata or
57
+ `Research Context`. If none is linked, use only directly relevant briefs in
58
+ `research/`. Carry answered importance questions and accepted design
59
+ decisions from the PRD into planning assumptions.
60
+ 5. Find plans already linked to this PRD by `PRD ID` and PRD link, using stable
61
+ plan IDs and paths. Reuse them on a rerun. Complete incomplete draft plans,
62
+ create missing plans, and reconcile links. Do not duplicate plans, reset
63
+ statuses, or silently overwrite approved or in-progress plans; report any
64
+ material conflict that requires a new planning decision.
65
+ 6. As the Tech Lead, create or complete the root overview plan in `plans/` using
66
+ `PLAN-<YYYYMMDD>-<short-slug>`. Translate the PRD into architecture, data
67
+ models, API endpoints, repository responsibilities, sequencing, dependencies,
68
+ validation, risks, and open questions. Fill `Research sources` metadata and
69
+ `Research Inputs` with evidence that shaped those choices; use `None` only
70
+ when no source was provided or discovered. New plans have `Status: draft`.
71
+ 7. Keep shared data types, interfaces, validation schemas, and cross-repository
72
+ contracts in the shared/core repository plan as the single source of truth.
73
+ Make dependent platform plans explicitly reference those structures.
74
+ 8. For each affected repository, spawn a planning sub-agent to create or complete
75
+ its detailed plan in `artifactDirectories.plans` from
76
+ `project/repositories.json`. Resolve the assigned role's `planning` model
77
+ with `workflows agents resolve planning <role> --format <codex|claude> --json`
78
+ before spawning; use a non-`inherit` model when supported and report an
79
+ unapplied override. No submodule agent or plan is needed when the PRD affects
80
+ only the root workspace.
81
+ 9. Give each sub-agent the approved PRD path and ID, relevant requirements and
82
+ acceptance criteria, answered importance questions, linked research and
83
+ platform implications, draft root plan path and ID, architecture and
84
+ sequencing, platform responsibility, dependencies, validation expectations,
85
+ risks, open questions, exact destination path, and required parent-plan
86
+ link. Require it to read its configured `agentGuide`, follow
87
+ `templates/plan-template.md`, fill platform-specific research fields, set
88
+ new plans to `draft`, preserve existing progressed plans, and edit only its
89
+ assigned plan file.
90
+ 10. Review all submodule plans against the PRD, root architecture, research,
91
+ shared-contract ownership, links, sequencing, and validation. Reconcile
92
+ conflicts and link each submodule plan from the root plan with a short
93
+ responsibility summary. Record unresolved technical choices as planning
94
+ questions.
95
+ 11. Do not edit product code. In manual mode, invite review and give the next
96
+ command `$approve-plan <plan-id>`. In auto mode, review completeness and
97
+ continue to plan approval without a routine prompt.
98
+
99
+ ## Output
100
+
101
+ When planning is complete, report the approved PRD path; root and submodule
102
+ plan paths and statuses; which plans were created, completed, or reused; and
103
+ any open planning questions. If a description stops at PRD review in manual
104
+ mode, report the draft PRD path and the approval step needed before planning.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Create Plan"
3
+ short_description: "Plan from a PRD or feature description"
4
+ default_prompt: "Use $create-plan to create implementation plans from this PRD or feature description."
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: create-prd
3
+ description: >-
4
+ Create a draft PRD for the workspace from a feature or task description. Use
5
+ when the developer asks to create-prd, invokes /create-prd, or asks to start a
6
+ feature/task PRD before planning or code.
7
+ ---
8
+
9
+ # create-prd
10
+
11
+ Create a draft PRD from the developer's feature or task description. The PRD is
12
+ the source of truth for user requirements.
13
+
14
+ ## Usage
15
+
16
+ Use this skill for any of these forms:
17
+
18
+ ```txt
19
+ $create-prd <description>
20
+ create-prd <description>
21
+ /create-prd <description>
22
+ ```
23
+
24
+ If the client intercepts slash commands, use `$create-prd` or `create-prd`
25
+ instead.
26
+
27
+ ## Required Behavior
28
+
29
+ 1. Read and adopt `roles/project-manager.md`.
30
+ 2. Read `templates/prd-template.md`.
31
+ 3. Read `project/PROJECT.md` and `project/repositories.json` to understand the project purpose, boundaries, and repository scopes.
32
+ 4. Check `research/` for saved research briefs that are clearly relevant to
33
+ `<description>`. Use only directly relevant research; do not force a weak
34
+ match.
35
+ 5. Analyze `<description>` as the Project Manager role, focusing on business
36
+ logic, user flows, product value, problem statement, target audience, user
37
+ stories, requirements, acceptance criteria, risks, and open questions.
38
+ 6. Fill the PRD `Research sources` metadata and `Research Context` section with
39
+ relevant saved research, repository findings, external sources, or `None`
40
+ when no source was provided or discovered.
41
+ 7. Before writing the PRD, ask concise importance questions when an answer could
42
+ materially change the PRD, break an assumption, or affect implementation
43
+ direction. Do not ask questions just to fill a checklist. Prioritize:
44
+ - Breaking-change risk: whether the feature may change existing user flows,
45
+ data contracts, API behavior, auth/permissions, migration needs, public UX,
46
+ or backwards compatibility.
47
+ - Feature shape: what the developer expects the feature to look like, feel
48
+ like, and do in the user's workflow, including important non-goals.
49
+ - Planning shape: which repositories, platforms, milestones, rollout order,
50
+ or dependencies the developer already expects.
51
+ - Implementation direction: known technical preferences, constraints,
52
+ integrations, data ownership, validation expectations, or approaches that
53
+ should be used or avoided.
54
+ For each question, include a suggested answer and clearly mark the
55
+ recommended option so the developer can approve or correct it quickly.
56
+ In auto mode, first resolve agent-answerable choices from available context;
57
+ ask only questions requiring the developer's intent or information.
58
+ 8. If `<description>` is too vague to create a useful PRD, ask clarifying
59
+ questions before writing the PRD.
60
+ 9. Capture answered importance questions in the PRD as requirements,
61
+ constraints, non-goals, risks, or open questions as appropriate.
62
+ 10. Do not write code or define technical architecture in the PRD.
63
+ 11. Create a stable PRD ID using `PRD-<YYYYMMDD>-<short-slug>`.
64
+ 12. Save the PRD in `prds/<prd-id-lowercase>.md`.
65
+ 13. Set `Status` to `draft`.
66
+ 14. Do not create plans or edit product code.
67
+ 15. In manual mode, offer optional UI/UX design with `$create-design <design
68
+ request>`. If chosen, design starts from this draft PRD; if skipped, PRD
69
+ review can begin immediately.
70
+ 16. In manual mode, suggest optional `$sprint-meeting <prd-id>` after any
71
+ chosen design is complete. The developer may skip the meeting and review
72
+ the PRD directly.
73
+ 17. In manual mode, give the developer `$approve-prd <prd-id>` for when review
74
+ is complete. In auto mode, continue through design and the sprint meeting
75
+ under `.agents/skills/auto-mode/SKILL.md` without stopping for stage choices
76
+ or approval. Do not mark the PRD approved until those stages are complete.
77
+
78
+ ## Output
79
+
80
+ Report the PRD ID, file path, status, and any open questions that need developer
81
+ review. Show optional design, optional sprint meeting during review, and PRD
82
+ approval in that order.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Create PRD"
3
+ short_description: "Draft a workspace PRD from a request"
4
+ default_prompt: "Use $create-prd to draft a PRD from this feature request."
@@ -0,0 +1,114 @@
1
+ ---
2
+ name: griling-plan
3
+ description: >-
4
+ Review an existing implementation plan by asking the developer
5
+ clarifying questions one at a time, each with a recommended answer and
6
+ free-form answer option, then update the plan from the developer's answers.
7
+ Use when the developer asks to griling-plan, grilling-plan, invokes
8
+ /griling-plan or /grilling-plan, or asks to clarify/refine an existing root or
9
+ submodule plan before approval or implementation.
10
+ ---
11
+
12
+ # griling-plan
13
+
14
+ Clarify an existing root overview plan or submodule detailed plan by grilling it
15
+ for unanswered technical planning questions one at a time, then update the plan
16
+ according to the developer's answers.
17
+
18
+ ## Usage
19
+
20
+ Use this skill for any of these forms:
21
+
22
+ ```txt
23
+ $griling-plan <plan-id-or-path>
24
+ griling-plan <plan-id-or-path>
25
+ /griling-plan <plan-id-or-path>
26
+ $grilling-plan <plan-id-or-path>
27
+ grilling-plan <plan-id-or-path>
28
+ /grilling-plan <plan-id-or-path>
29
+ ```
30
+
31
+ If the client intercepts slash commands, use `$griling-plan`, `griling-plan`,
32
+ `$grilling-plan`, or `grilling-plan` instead.
33
+
34
+ ## Required Behavior
35
+
36
+ 1. Read and adopt `roles/tech-lead.md`.
37
+ 2. Read `templates/plan-template.md`.
38
+ 3. Read `project/repositories.json` and `project/PROJECT.md` to identify configured repositories and plan directories.
39
+ 4. Find the target plan from `<plan-id-or-path>`:
40
+ - If a plan ID is provided, find the matching Markdown file in `plans/` or
41
+ any affected repository `plans/` directory defined in `project/repositories.json`.
42
+ - If a path is provided, use that file.
43
+ - If no target is provided, inspect `plans/` and repository plan directories, then ask
44
+ the developer which plan to clarify unless there is exactly one draft plan.
45
+ 5. Confirm the plan exists and is not `complete`.
46
+ 6. Determine whether the plan is a root overview plan or a submodule detailed
47
+ plan by reading its metadata and sections.
48
+ 7. If the plan is already `approved` or `in-progress`, warn that changing it may
49
+ invalidate implementation work or cross-repo sequencing and ask for explicit
50
+ confirmation before editing.
51
+ 8. Read the full plan and identify unclear, missing, conflicting, or risky
52
+ planning decisions:
53
+ - For root overview plans, inspect goal, research inputs, scope, affected
54
+ platforms, cross-repo design, implementation sequence, validation, risks,
55
+ open questions, PRD link, research sources, and submodule plan links.
56
+ - For submodule detailed plans, inspect parent overview link, platform
57
+ responsibility, research inputs, local scope, files and areas to inspect,
58
+ expected code changes, implementation steps, dependencies, validation
59
+ commands, risks, open questions, and research sources.
60
+ 9. Build the complete clarification queue before asking anything.
61
+ - Include every material question needed to remove ambiguity from the plan.
62
+ - Prioritize questions that affect platform ownership, sequencing,
63
+ contracts, dependency direction, validation, implementation boundaries,
64
+ rollout risk, and links between root and submodule plans.
65
+ - Do not ask product-requirement questions unless the plan cannot be made
66
+ coherent without clarifying the approved PRD.
67
+ - If the plan is already clear, say so and ask whether the developer wants
68
+ any additional refinements.
69
+ 10. Ask exactly one clarification question at a time and wait for the developer's
70
+ response before asking the next question.
71
+ - Do not ask the full queue in one message.
72
+ - Do not update the plan until every queued question has been answered,
73
+ unless the developer explicitly says to stop early and update with partial
74
+ answers.
75
+ - Track answered questions internally so follow-up turns continue from the
76
+ next unanswered question.
77
+ 11. Format each clarification question with:
78
+ - The question.
79
+ - A short "Recommended" answer that represents the best tech-lead judgment
80
+ from the current plan, approved PRD, and linked plans.
81
+ - Two or three concrete answer options when the decision is naturally
82
+ multiple-choice, with the recommended option labeled `Recommended`.
83
+ - A clear note that the developer can type a custom answer instead of
84
+ picking an option.
85
+ - A brief explanation of why the answer matters for the plan.
86
+ 12. When the developer answers a question:
87
+ - Accept option labels, short shorthand, or free-form answers.
88
+ - If the answer is ambiguous, ask a focused follow-up for that same question
89
+ before moving on.
90
+ - Otherwise, acknowledge the answer briefly and ask the next queued question.
91
+ 13. After all questions are answered, update the plan as the Tech Lead role:
92
+ - Incorporate answers into the relevant plan sections, not only into `Open
93
+ Questions`.
94
+ - Remove or mark answered questions as resolved.
95
+ - Keep unresolved items in `Open Questions`.
96
+ - Update `Last updated` to the current date.
97
+ - Preserve the plan ID, title, status, PRD link, parent-plan link, research
98
+ sources, approval metadata, and unrelated content.
99
+ - If a root plan changes in a way that affects submodule plans, identify the
100
+ affected submodule plans and ask before editing them.
101
+ - If a submodule plan changes in a way that affects the root plan, identify
102
+ the root plan and ask before editing it.
103
+ 14. Do not approve plans, edit product code, commit changes, push, deploy, or
104
+ change production configuration.
105
+ 15. Ask the developer to review the updated plan and approve it with
106
+ `$approve-plan <plan-id>` or `approve-plan <plan-id>` when ready if the
107
+ target is a root overview plan.
108
+
109
+ ## Output
110
+
111
+ On each question pass, report the plan path once, ask the next single
112
+ clarification question, include the recommended answer/options, and wait. On the
113
+ update pass, report the plan path, what changed, remaining open questions, and
114
+ whether the plan is ready for approval or implementation.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Griling Plan"
3
+ short_description: "Clarify and refine an existing plan"
4
+ default_prompt: "Use $griling-plan to ask one clarifying question at a time, include your recommended answer, and update this plan from my answers."