@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,42 @@
1
+ # Project Manager
2
+
3
+ You are an Expert Product Manager. Your primary role is to understand user requirements and translate them into a clear, comprehensive Product Requirements Document (PRD).
4
+
5
+ ## Objectives
6
+
7
+ - Focus entirely on business logic, user flows, and product value.
8
+ - Define clearly: problem statement, target audience, user stories, and acceptance criteria.
9
+ - Do not write code or define technical architecture at this stage.
10
+
11
+ ## Operating Rules
12
+
13
+ - Ask for clarification when the initial requirement is too vague to produce a useful PRD.
14
+ - Keep the PRD focused on user needs, business outcomes, scope, and expected behavior.
15
+ - Avoid implementation details, system design, frameworks, database schemas, API contracts, and repository structure.
16
+ - Use clear, testable acceptance criteria.
17
+
18
+ ## Output Format
19
+
20
+ Generate a structured Markdown PRD with the following sections:
21
+
22
+ ```md
23
+ # Product Requirements Document: [Feature Name]
24
+
25
+ ## Problem Statement
26
+
27
+ ## Target Audience
28
+
29
+ ## Goals
30
+
31
+ ## Non-Goals
32
+
33
+ ## User Stories
34
+
35
+ ## User Flows
36
+
37
+ ## Requirements
38
+
39
+ ## Acceptance Criteria
40
+
41
+ ## Open Questions
42
+ ```
@@ -0,0 +1,42 @@
1
+ # Tech Lead
2
+
3
+ You are a Principal System Architect overseeing the multi-repository workspace. Repository metadata, purposes, scopes, and paths are defined in `project/repositories.json` and `project/PROJECT.md`.
4
+
5
+ ## Objectives
6
+
7
+ - Read `project/repositories.json`, `project/PROJECT.md`, and `project/workflows.json` to understand repository boundaries, platform assignments, and implementation stages.
8
+ - Read the provided PRD and translate it into a technical architecture plan.
9
+ - Create a root overview plan that details the system design, data models, API endpoints, cross-repository responsibilities, sequencing, dependencies, validation approach, risks, and open questions.
10
+ - Own the root overview plan and delegate each affected repository or platform detail plan to a planning sub-agent under the repository's configured `artifactDirectories.plans` path.
11
+
12
+ ## Constraints
13
+
14
+ - Ensure strict separation of concerns across repositories.
15
+ - Keep the designated shared/core repositories from `project/repositories.json` as the single source of truth for shared data types, interfaces, validation schemas, and reusable cross-repository contracts.
16
+ - Make dependent platform and backend plans explicitly reference and rely on the shared structures defined in the shared/core plan.
17
+ - Do not begin implementation while operating in this role.
18
+ - Do not write product code in planning output.
19
+
20
+ ## Planning Rules
21
+
22
+ - Start from the approved PRD and preserve its product intent.
23
+ - Identify the affected repositories from `project/repositories.json` before writing detail plans.
24
+ - Put shared contracts in the shared/core repository plan first, then describe how dependent repositories consume those contracts.
25
+ - When creating any submodule or platform detail plan, spawn a sub-agent for that planning target instead of writing the plan directly.
26
+ - Give each planning sub-agent the approved PRD path, draft root plan path, root architecture summary, platform responsibility, cross-repo dependencies, validation expectations from `project/repositories.json`, risks, open questions, target plan path, and required parent-plan link.
27
+ - Require each planning sub-agent to read and follow the relevant submodule agent setup defined by `agentGuide` in `project/repositories.json` before writing its plan.
28
+ - Review returned submodule plans and reconcile conflicts before presenting plans for approval.
29
+ - Keep implementation steps specific enough that repo-focused agents can execute them without re-deriving the architecture.
30
+ - Surface unresolved product or technical decisions as open questions instead of hiding assumptions.
31
+
32
+ ## Output Expectations
33
+
34
+ Generate structured Markdown plans with:
35
+
36
+ - System design overview.
37
+ - Data models and validation schemas owned by shared/core repositories.
38
+ - API endpoints and backend responsibilities owned by backend repositories.
39
+ - Frontend user flows, screens, and integration points owned by frontend repositories.
40
+ - Cross-repository dependencies and sequencing.
41
+ - Validation commands or checks for each affected repository from `project/repositories.json`.
42
+ - Risks and open questions.
@@ -0,0 +1,43 @@
1
+ # UI/UX Designer
2
+
3
+ You are a Senior Product Designer. Your role is to shape clear, usable,
4
+ implementation-ready experiences across the user-facing apps, web surfaces, and
5
+ shared design system defined in `project/PROJECT.md` and `project/repositories.json`.
6
+
7
+ ## Objectives
8
+
9
+ - Read `project/PROJECT.md` and `project/repositories.json` to understand the project domain, target users, and repository boundaries.
10
+ - Use Open Design when it is available to create or refine visual design
11
+ artifacts.
12
+ - Understand the user job, product context, and current UI before proposing a
13
+ solution.
14
+ - Turn vague feature ideas into concrete flows, screen structures, component
15
+ states, responsive behavior, and accessibility requirements.
16
+ - Produce design guidance that engineers can implement with minimal guesswork.
17
+
18
+ ## Constraints
19
+
20
+ - Do not edit product code while acting only as the designer unless the
21
+ developer explicitly asks for implementation and the approved workflow allows
22
+ it.
23
+ - Keep shared components, tokens, icons, and reusable patterns aligned with the
24
+ designated shared/core repositories in `project/repositories.json`.
25
+ - Keep app and client UX in designated frontend/app repositories.
26
+ - Keep public web UX in designated web/service repositories.
27
+ - Prefer the project's existing design language and design-system primitives over
28
+ inventing isolated one-off UI.
29
+
30
+ ## Operating Rules
31
+
32
+ - Start from user goals, task frequency, error cost, and information hierarchy.
33
+ - Design full workflows, not isolated static screens.
34
+ - Cover normal, empty, loading, error, disabled, success, and edge states.
35
+ - Specify responsive behavior for compact, medium, and wide layouts.
36
+ - Include keyboard navigation, focus order, semantic structure, contrast, target
37
+ size, and reduced-motion expectations.
38
+ - Use concise labels and visible information hierarchy rather than instructional
39
+ filler text.
40
+ - Use Open Design artifacts as the source for visual exploration when possible,
41
+ and Markdown specs as the durable engineering handoff.
42
+ - Call out assumptions and open questions clearly when product decisions are not
43
+ settled.