@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.
- package/.agents/agents/backend-developer/agent.md +39 -0
- package/.agents/agents/frontend-developer/agent.md +42 -0
- package/.agents/agents/project-manager/agent.md +37 -0
- package/.agents/agents/tech-lead/agent.md +41 -0
- package/.agents/agents/ui-ux-designer/agent.md +41 -0
- package/.agents/skills/add-project/SKILL.md +90 -0
- package/.agents/skills/add-project/agents/openai.yaml +4 -0
- package/.agents/skills/add-project/references/save-protocol.md +90 -0
- package/.agents/skills/approve-plan/SKILL.md +86 -0
- package/.agents/skills/approve-plan/agents/openai.yaml +4 -0
- package/.agents/skills/approve-prd/SKILL.md +59 -0
- package/.agents/skills/approve-prd/agents/openai.yaml +4 -0
- package/.agents/skills/auto-mode/SKILL.md +103 -0
- package/.agents/skills/auto-mode/agents/openai.yaml +4 -0
- package/.agents/skills/create-design/SKILL.md +197 -0
- package/.agents/skills/create-design/agents/openai.yaml +4 -0
- package/.agents/skills/create-diagram/SKILL.md +83 -0
- package/.agents/skills/create-diagram/agents/openai.yaml +4 -0
- package/.agents/skills/create-plan/SKILL.md +104 -0
- package/.agents/skills/create-plan/agents/openai.yaml +4 -0
- package/.agents/skills/create-prd/SKILL.md +82 -0
- package/.agents/skills/create-prd/agents/openai.yaml +4 -0
- package/.agents/skills/griling-plan/SKILL.md +114 -0
- package/.agents/skills/griling-plan/agents/openai.yaml +4 -0
- package/.agents/skills/griling-prd/SKILL.md +91 -0
- package/.agents/skills/griling-prd/agents/openai.yaml +4 -0
- package/.agents/skills/package-installation/SKILL.md +67 -0
- package/.agents/skills/package-installation/agents/openai.yaml +4 -0
- package/.agents/skills/project-setup/SKILL.md +104 -0
- package/.agents/skills/project-setup/agents/openai.yaml +3 -0
- package/.agents/skills/research/SKILL.md +61 -0
- package/.agents/skills/research/agents/openai.yaml +4 -0
- package/.agents/skills/sprint-meeting/SKILL.md +230 -0
- package/.agents/skills/sprint-meeting/agents/openai.yaml +4 -0
- package/.claude/agents/backend-developer.md +7 -0
- package/.claude/agents/frontend-developer.md +7 -0
- package/.claude/agents/project-manager.md +7 -0
- package/.claude/agents/tech-lead.md +7 -0
- package/.claude/agents/ui-ux-designer.md +7 -0
- package/.claude/skills/add-project/SKILL.md +10 -0
- package/.claude/skills/approve-plan/SKILL.md +8 -0
- package/.claude/skills/approve-prd/SKILL.md +8 -0
- package/.claude/skills/auto-mode/SKILL.md +8 -0
- package/.claude/skills/create-design/SKILL.md +8 -0
- package/.claude/skills/create-diagram/SKILL.md +8 -0
- package/.claude/skills/create-plan/SKILL.md +8 -0
- package/.claude/skills/create-prd/SKILL.md +8 -0
- package/.claude/skills/griling-plan/SKILL.md +8 -0
- package/.claude/skills/griling-prd/SKILL.md +8 -0
- package/.claude/skills/package-installation/SKILL.md +8 -0
- package/.claude/skills/project-setup/SKILL.md +8 -0
- package/.claude/skills/research/SKILL.md +8 -0
- package/.claude/skills/sprint-meeting/SKILL.md +8 -0
- package/.codex/prompts/add-project.md +3 -0
- package/.codex/prompts/approve-plan.md +3 -0
- package/.codex/prompts/approve-prd.md +3 -0
- package/.codex/prompts/auto-mode.md +3 -0
- package/.codex/prompts/create-design.md +3 -0
- package/.codex/prompts/create-diagram.md +3 -0
- package/.codex/prompts/create-plan.md +3 -0
- package/.codex/prompts/create-prd.md +3 -0
- package/.codex/prompts/griling-plan.md +3 -0
- package/.codex/prompts/griling-prd.md +3 -0
- package/.codex/prompts/grilling-plan.md +3 -0
- package/.codex/prompts/project-setup.md +3 -0
- package/.codex/prompts/research.md +3 -0
- package/.codex/prompts/sprint-meeting.md +3 -0
- package/.gitmodules.example +9 -0
- package/AGENTS.md +84 -0
- package/CLAUDE.md +1 -0
- package/INSTALL.md +284 -0
- package/LICENSE +21 -0
- package/README.md +342 -2
- package/bin/postinstall.js +57 -0
- package/bin/workflows.js +1172 -0
- package/bin/workflows.test.mjs +682 -0
- package/commands/add-project.md +20 -0
- package/commands/approve-plan.md +25 -0
- package/commands/approve-prd.md +24 -0
- package/commands/auto-mode.md +15 -0
- package/commands/create-design.md +20 -0
- package/commands/create-diagram.md +16 -0
- package/commands/create-plan.md +22 -0
- package/commands/create-prd.md +16 -0
- package/commands/griling-plan.md +16 -0
- package/commands/griling-prd.md +16 -0
- package/commands/grilling-plan.md +16 -0
- package/commands/project-setup.md +16 -0
- package/commands/research.md +16 -0
- package/commands/sprint-meeting.md +16 -0
- package/dashboard/.agents/skills/coding-conventions/SKILL.md +76 -0
- package/dashboard/.agents/skills/coding-conventions/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/design-system-guideline/SKILL.md +51 -0
- package/dashboard/.agents/skills/design-system-guideline/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/lint-and-fix/SKILL.md +55 -0
- package/dashboard/.agents/skills/lint-and-fix/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/taste-ui/SKILL.md +45 -0
- package/dashboard/.agents/skills/taste-ui/agents/openai.yaml +4 -0
- package/dashboard/AGENTS.md +43 -0
- package/dashboard/bun.lock +352 -0
- package/dashboard/index.html +12 -0
- package/dashboard/package.json +32 -0
- package/dashboard/src/App.tsx +5 -0
- package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.module.css +85 -0
- package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.tsx +80 -0
- package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.module.css +25 -0
- package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.tsx +29 -0
- package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.module.css +29 -0
- package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.tsx +35 -0
- package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.module.css +85 -0
- package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.tsx +150 -0
- package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.module.css +41 -0
- package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.tsx +41 -0
- package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.module.css +25 -0
- package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.tsx +40 -0
- package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.module.css +330 -0
- package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.tsx +299 -0
- package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.module.css +74 -0
- package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.tsx +79 -0
- package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.module.css +133 -0
- package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.tsx +233 -0
- package/dashboard/src/features/task-status/components/Sidebar/Sidebar.module.css +53 -0
- package/dashboard/src/features/task-status/components/Sidebar/Sidebar.tsx +163 -0
- package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.module.css +41 -0
- package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.tsx +48 -0
- package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.module.css +97 -0
- package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.tsx +128 -0
- package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.module.css +9 -0
- package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.tsx +318 -0
- package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.module.css +221 -0
- package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.tsx +344 -0
- package/dashboard/src/features/task-status/taskStatusConfig.ts +100 -0
- package/dashboard/src/features/task-status/utils/actionItems.ts +247 -0
- package/dashboard/src/features/task-status/utils/artifactGrouping.ts +328 -0
- package/dashboard/src/features/task-status/utils/hardnessScanner.ts +406 -0
- package/dashboard/src/features/task-status/utils/lifecycle.ts +73 -0
- package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.module.css +11 -0
- package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.tsx +104 -0
- package/dashboard/src/features/task-status/utils/markdownLinks.ts +83 -0
- package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.module.css +74 -0
- package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.tsx +326 -0
- package/dashboard/src/features/task-status/utils/status.ts +7 -0
- package/dashboard/src/features/task-status/utils/test/actionItems.test.ts +134 -0
- package/dashboard/src/features/task-status/utils/test/artifactGrouping.test.ts +294 -0
- package/dashboard/src/features/task-status/utils/test/hardnessScanner.test.ts +138 -0
- package/dashboard/src/features/task-status/utils/test/lifecycle.test.ts +49 -0
- package/dashboard/src/features/task-status/utils/test/markdownInline.test.ts +41 -0
- package/dashboard/src/features/task-status/utils/test/markdownLinks.test.ts +158 -0
- package/dashboard/src/features/task-status/utils/test/workspaceMetadata.test.ts +37 -0
- package/dashboard/src/features/task-status/utils/workspaceMetadata.ts +175 -0
- package/dashboard/src/main.tsx +16 -0
- package/dashboard/src/shared/design-system.css +134 -0
- package/dashboard/src/shared/design-system.tsx +84 -0
- package/dashboard/src/styles.css +41 -0
- package/dashboard/src/types.ts +133 -0
- package/dashboard/src/workspace-artifacts.d.ts +9 -0
- package/dashboard/tsconfig.json +22 -0
- package/dashboard/vite.config.ts +579 -0
- package/designs/.gitkeep +1 -0
- package/docs/add-project-command-completion.md +117 -0
- package/docs/public-npm-registry-completion.md +104 -0
- package/docs/workflows.png +0 -0
- package/docs/workspace-template-setup.md +229 -0
- package/meeting-logs/.gitkeep +1 -0
- package/modules/.gitkeep +1 -0
- package/package.json +96 -5
- package/plans/.gitkeep +1 -0
- package/prds/.gitkeep +1 -0
- package/project/PROJECT.md +26 -0
- package/project/repositories.json +72 -0
- package/project/validation.json +9 -0
- package/project/workflows.json +20 -0
- package/research/.gitkeep +1 -0
- package/roles/backend-developer.md +26 -0
- package/roles/frontend-developer.md +25 -0
- package/roles/project-manager.md +42 -0
- package/roles/tech-lead.md +42 -0
- package/roles/ui-ux-designer.md +43 -0
- package/scripts/add-project.mjs +990 -0
- package/scripts/add-project.test.mjs +804 -0
- package/scripts/check-staged-security.mjs +97 -0
- package/scripts/check-staged-security.test.mjs +68 -0
- package/scripts/workspace-integrity.ts +220 -0
- package/templates/auto-mode-completion-summary-template.md +78 -0
- package/templates/meeting-log-template.md +177 -0
- package/templates/plan-template.md +219 -0
- package/templates/prd-template.md +106 -0
- package/templates/research-template.md +119 -0
- package/workflows.md +590 -0
- package/workspace.config.json +43 -0
|
@@ -0,0 +1,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.
|