@wipal/agent-team 1.0.4 → 1.1.0
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/.claude/commands/skills/discover.md +127 -0
- package/.claude/commands/skills/install.md +225 -0
- package/.claude/commands/skills/review.md +234 -0
- package/.claude/commands/utils/learn.md +142 -0
- package/.claude/commands/utils/retrospect.md +62 -0
- package/.claude/commands/utils/switch.md +113 -0
- package/.claude/commands/utils/sync.md +183 -0
- package/.claude/rules/common/general-rules.md +6 -0
- package/.claude/rules/role-rules/dev-be-rules.md +241 -0
- package/.claude/rules/role-rules/dev-fe-rules.md +76 -0
- package/.claude/skills/SKILL-INDEX.md +24 -5
- package/.claude/skills/core/knowledge-graph/SKILL.md +214 -0
- package/.claude/skills/core/sequential-thinking/SKILL.md +112 -0
- package/.claude/skills/core/sequential-thinking/references/advanced.md +122 -0
- package/.claude/skills/core/sequential-thinking/references/examples.md +274 -0
- package/.claude/skills/domain/architecture/c4-architecture/SKILL.md +314 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/advanced-patterns.md +552 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/c4-syntax.md +492 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/common-mistakes.md +437 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/SKILL.md +238 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/advanced-features.md +556 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/architecture-diagrams.md +192 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/c4-diagrams.md +410 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/class-diagrams.md +361 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/erd-diagrams.md +510 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/flowcharts.md +450 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/sequence-diagrams.md +394 -0
- package/.claude/skills/domain/backend/testing-be/SKILL.md +121 -17
- package/.claude/skills/domain/design/design-system/SKILL.md +169 -0
- package/.claude/skills/domain/design/html-css-output/SKILL.md +253 -0
- package/.claude/skills/domain/design/mockup-creation/SKILL.md +230 -0
- package/.claude/skills/domain/design/responsive-design/SKILL.md +207 -0
- package/.claude/skills/domain/design/ui-design/SKILL.md +124 -0
- package/.claude/skills/domain/frontend/testing-fe/SKILL.md +143 -38
- package/.claude/skills/domain/frontend/ui-ux-pro-max/README.md +45 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/SKILL.md +404 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/charts.csv +26 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/colors.csv +97 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/icons.csv +101 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/landing.csv +31 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/products.csv +97 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/styles.csv +68 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/typography.csv +58 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/core.py +253 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/search.py +114 -0
- package/.claude/skills/domain/product/requirements-clarity/SKILL.md +340 -0
- package/.claude/skills/skills-registry.yaml +103 -8
- package/README.md +107 -33
- package/README.npm.md +252 -0
- package/TUTORIAL.md +256 -0
- package/bin/agent-team.js +26 -7
- package/config/roles.yaml +107 -0
- package/docs/01-architecture.md +699 -0
- package/docs/02-setup-guide.md +634 -0
- package/docs/03-skills-guide.md +628 -0
- package/docs/04-workflows.md +792 -0
- package/docs/05-model-strategy.md +550 -0
- package/docs/06-extend-guide.md +1226 -0
- package/docs/07-quick-reference.md +578 -0
- package/docs/08-skills-discovery.md +342 -0
- package/docs/README.md +134 -0
- package/docs/rqm.md +560 -0
- package/package.json +9 -3
- package/scripts/postinstall.js +46 -0
- package/src/commands/add.js +131 -67
- package/src/commands/init.js +419 -9
- package/src/commands/list.js +20 -16
- package/src/commands/projects.js +127 -0
- package/src/commands/setup-hooks.js +261 -0
- package/src/index.js +0 -1
- package/src/utils/file-utils.js +147 -50
- package/src/utils/global-registry.js +224 -0
- package/templates/CLAUDE.md.tmpl +128 -20
- package/templates/MEMORY.md.tmpl +119 -0
- package/templates/agent.md.tmpl +205 -0
- package/templates/code/nestjs-controller.ts.tmpl +49 -0
- package/templates/code/nestjs-dto.ts.tmpl +63 -0
- package/templates/code/nestjs-service.ts.tmpl +45 -0
- package/templates/code/react-component.tsx.tmpl +24 -0
- package/templates/code/react-hook.ts.tmpl +54 -0
- package/templates/code/test.spec.ts.tmpl +50 -0
- package/templates/code/vue-component.vue.tmpl +49 -0
- package/templates/code/vue-composable.ts.tmpl +54 -0
- package/templates/knowledge.md.tmpl +152 -17
- package/templates/meeting-notes.md.tmpl +110 -0
- package/templates/memory/hooks.memory.json +50 -0
- package/templates/memory/settings.memory.json +16 -0
- package/templates/reports/bug-report.md.tmpl +164 -0
- package/templates/reports/code-review.md.tmpl +201 -0
- package/templates/reports/sprint-report.md.tmpl +218 -0
- package/templates/roles/ba.md +53 -0
- package/templates/roles/designer.md +82 -0
- package/templates/roles/dev-be.md +49 -0
- package/templates/roles/dev-fe.md +49 -0
- package/templates/roles/devops.md +53 -0
- package/templates/roles/pm.md +49 -0
- package/templates/roles/qa.md +53 -0
- package/templates/roles/sa.md +49 -0
- package/templates/roles/tech-lead.md +132 -0
- package/templates/skills/memory/memory-status.md +78 -0
- package/templates/skills/memory/recall.md +160 -0
- package/templates/skills/memory/reflect.md +168 -0
- package/templates/skills/memory/remember.md +105 -0
- package/templates/tasks/lessons.md.tmpl +77 -0
- package/templates/tasks/todo.md.tmpl +53 -0
- package/src/commands/switch.js +0 -53
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
"""
|
|
4
|
+
UI/UX Pro Max Search - BM25 search engine for UI/UX style guides
|
|
5
|
+
Usage: python search.py "<query>" [--domain <domain>] [--stack <stack>] [--max-results 3]
|
|
6
|
+
python search.py "<query>" --design-system [-p "Project Name"]
|
|
7
|
+
python search.py "<query>" --design-system --persist [-p "Project Name"] [--page "dashboard"]
|
|
8
|
+
|
|
9
|
+
Domains: style, prompt, color, chart, landing, product, ux, typography
|
|
10
|
+
Stacks: html-tailwind, react, nextjs
|
|
11
|
+
|
|
12
|
+
Persistence (Master + Overrides pattern):
|
|
13
|
+
--persist Save design system to design-system/MASTER.md
|
|
14
|
+
--page Also create a page-specific override file in design-system/pages/
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
import argparse
|
|
18
|
+
import sys
|
|
19
|
+
import io
|
|
20
|
+
from core import CSV_CONFIG, AVAILABLE_STACKS, MAX_RESULTS, search, search_stack
|
|
21
|
+
from design_system import generate_design_system, persist_design_system
|
|
22
|
+
|
|
23
|
+
# Force UTF-8 for stdout/stderr to handle emojis on Windows (cp1252 default)
|
|
24
|
+
if sys.stdout.encoding and sys.stdout.encoding.lower() != 'utf-8':
|
|
25
|
+
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
|
|
26
|
+
if sys.stderr.encoding and sys.stderr.encoding.lower() != 'utf-8':
|
|
27
|
+
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8')
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def format_output(result):
|
|
31
|
+
"""Format results for Claude consumption (token-optimized)"""
|
|
32
|
+
if "error" in result:
|
|
33
|
+
return f"Error: {result['error']}"
|
|
34
|
+
|
|
35
|
+
output = []
|
|
36
|
+
if result.get("stack"):
|
|
37
|
+
output.append(f"## UI Pro Max Stack Guidelines")
|
|
38
|
+
output.append(f"**Stack:** {result['stack']} | **Query:** {result['query']}")
|
|
39
|
+
else:
|
|
40
|
+
output.append(f"## UI Pro Max Search Results")
|
|
41
|
+
output.append(f"**Domain:** {result['domain']} | **Query:** {result['query']}")
|
|
42
|
+
output.append(f"**Source:** {result['file']} | **Found:** {result['count']} results\n")
|
|
43
|
+
|
|
44
|
+
for i, row in enumerate(result['results'], 1):
|
|
45
|
+
output.append(f"### Result {i}")
|
|
46
|
+
for key, value in row.items():
|
|
47
|
+
value_str = str(value)
|
|
48
|
+
if len(value_str) > 300:
|
|
49
|
+
value_str = value_str[:300] + "..."
|
|
50
|
+
output.append(f"- **{key}:** {value_str}")
|
|
51
|
+
output.append("")
|
|
52
|
+
|
|
53
|
+
return "\n".join(output)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
if __name__ == "__main__":
|
|
57
|
+
parser = argparse.ArgumentParser(description="UI Pro Max Search")
|
|
58
|
+
parser.add_argument("query", help="Search query")
|
|
59
|
+
parser.add_argument("--domain", "-d", choices=list(CSV_CONFIG.keys()), help="Search domain")
|
|
60
|
+
parser.add_argument("--stack", "-s", choices=AVAILABLE_STACKS, help="Stack-specific search (html-tailwind, react, nextjs)")
|
|
61
|
+
parser.add_argument("--max-results", "-n", type=int, default=MAX_RESULTS, help="Max results (default: 3)")
|
|
62
|
+
parser.add_argument("--json", action="store_true", help="Output as JSON")
|
|
63
|
+
# Design system generation
|
|
64
|
+
parser.add_argument("--design-system", "-ds", action="store_true", help="Generate complete design system recommendation")
|
|
65
|
+
parser.add_argument("--project-name", "-p", type=str, default=None, help="Project name for design system output")
|
|
66
|
+
parser.add_argument("--format", "-f", choices=["ascii", "markdown"], default="ascii", help="Output format for design system")
|
|
67
|
+
# Persistence (Master + Overrides pattern)
|
|
68
|
+
parser.add_argument("--persist", action="store_true", help="Save design system to design-system/MASTER.md (creates hierarchical structure)")
|
|
69
|
+
parser.add_argument("--page", type=str, default=None, help="Create page-specific override file in design-system/pages/")
|
|
70
|
+
parser.add_argument("--output-dir", "-o", type=str, default=None, help="Output directory for persisted files (default: current directory)")
|
|
71
|
+
|
|
72
|
+
args = parser.parse_args()
|
|
73
|
+
|
|
74
|
+
# Design system takes priority
|
|
75
|
+
if args.design_system:
|
|
76
|
+
result = generate_design_system(
|
|
77
|
+
args.query,
|
|
78
|
+
args.project_name,
|
|
79
|
+
args.format,
|
|
80
|
+
persist=args.persist,
|
|
81
|
+
page=args.page,
|
|
82
|
+
output_dir=args.output_dir
|
|
83
|
+
)
|
|
84
|
+
print(result)
|
|
85
|
+
|
|
86
|
+
# Print persistence confirmation
|
|
87
|
+
if args.persist:
|
|
88
|
+
project_slug = args.project_name.lower().replace(' ', '-') if args.project_name else "default"
|
|
89
|
+
print("\n" + "=" * 60)
|
|
90
|
+
print(f"✅ Design system persisted to design-system/{project_slug}/")
|
|
91
|
+
print(f" 📄 design-system/{project_slug}/MASTER.md (Global Source of Truth)")
|
|
92
|
+
if args.page:
|
|
93
|
+
page_filename = args.page.lower().replace(' ', '-')
|
|
94
|
+
print(f" 📄 design-system/{project_slug}/pages/{page_filename}.md (Page Overrides)")
|
|
95
|
+
print("")
|
|
96
|
+
print(f"📖 Usage: When building a page, check design-system/{project_slug}/pages/[page].md first.")
|
|
97
|
+
print(f" If exists, its rules override MASTER.md. Otherwise, use MASTER.md.")
|
|
98
|
+
print("=" * 60)
|
|
99
|
+
# Stack search
|
|
100
|
+
elif args.stack:
|
|
101
|
+
result = search_stack(args.query, args.stack, args.max_results)
|
|
102
|
+
if args.json:
|
|
103
|
+
import json
|
|
104
|
+
print(json.dumps(result, indent=2, ensure_ascii=False))
|
|
105
|
+
else:
|
|
106
|
+
print(format_output(result))
|
|
107
|
+
# Domain search
|
|
108
|
+
else:
|
|
109
|
+
result = search(args.query, args.domain, args.max_results)
|
|
110
|
+
if args.json:
|
|
111
|
+
import json
|
|
112
|
+
print(json.dumps(result, indent=2, ensure_ascii=False))
|
|
113
|
+
else:
|
|
114
|
+
print(format_output(result))
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: requirements-clarity
|
|
3
|
+
description: |
|
|
4
|
+
Clarify ambiguous requirements through focused dialogue before implementation.
|
|
5
|
+
Use when requirements are unclear, features are complex (>2 days), or involve
|
|
6
|
+
cross-team coordination. Transforms vague requirements into actionable PRDs
|
|
7
|
+
with a 100-point scoring system.
|
|
8
|
+
version: 1.0.0
|
|
9
|
+
category: product
|
|
10
|
+
tags:
|
|
11
|
+
- requirements
|
|
12
|
+
- prd
|
|
13
|
+
- clarification
|
|
14
|
+
- analysis
|
|
15
|
+
depends_on: []
|
|
16
|
+
recommends: []
|
|
17
|
+
used_by:
|
|
18
|
+
- pm
|
|
19
|
+
- ba
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Requirements Clarity Skill
|
|
23
|
+
|
|
24
|
+
## Description
|
|
25
|
+
|
|
26
|
+
Automatically transforms vague requirements into actionable PRDs through systematic clarification with a 100-point scoring system.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Instructions
|
|
30
|
+
|
|
31
|
+
When invoked, detect vague requirements:
|
|
32
|
+
|
|
33
|
+
1. **Vague Feature Requests**
|
|
34
|
+
- User says: "add login feature", "implement payment", "create dashboard"
|
|
35
|
+
- Missing: How, with what technology, what constraints?
|
|
36
|
+
|
|
37
|
+
2. **Missing Technical Context**
|
|
38
|
+
- No technology stack mentioned
|
|
39
|
+
- No integration points identified
|
|
40
|
+
- No performance/security constraints
|
|
41
|
+
|
|
42
|
+
3. **Incomplete Specifications**
|
|
43
|
+
- No acceptance criteria
|
|
44
|
+
- No success metrics
|
|
45
|
+
- No edge cases considered
|
|
46
|
+
- No error handling mentioned
|
|
47
|
+
|
|
48
|
+
4. **Ambiguous Scope**
|
|
49
|
+
- Unclear boundaries ("user management" - what exactly?)
|
|
50
|
+
- No distinction between MVP and future enhancements
|
|
51
|
+
- Missing "what's NOT included"
|
|
52
|
+
|
|
53
|
+
**Do NOT activate when**:
|
|
54
|
+
- Specific file paths mentioned (e.g., "auth.go:45")
|
|
55
|
+
- Code snippets included
|
|
56
|
+
- Existing functions/classes referenced
|
|
57
|
+
- Bug fixes with clear reproduction steps
|
|
58
|
+
|
|
59
|
+
## Core Principles
|
|
60
|
+
|
|
61
|
+
1. **Systematic Questioning**
|
|
62
|
+
- Ask focused, specific questions
|
|
63
|
+
- One category at a time (2-3 questions per round)
|
|
64
|
+
- Build on previous answers
|
|
65
|
+
- Avoid overwhelming users
|
|
66
|
+
|
|
67
|
+
2. **Quality-Driven Iteration**
|
|
68
|
+
- Continuously assess clarity score (0-100)
|
|
69
|
+
- Identify gaps systematically
|
|
70
|
+
- Iterate until ≥ 90 points
|
|
71
|
+
- Document all clarification rounds
|
|
72
|
+
|
|
73
|
+
3. **Actionable Output**
|
|
74
|
+
- Generate concrete specifications
|
|
75
|
+
- Include measurable acceptance criteria
|
|
76
|
+
- Provide executable phases
|
|
77
|
+
- Enable direct implementation
|
|
78
|
+
|
|
79
|
+
## Clarification Process
|
|
80
|
+
|
|
81
|
+
### Step 1: Initial Requirement Analysis
|
|
82
|
+
|
|
83
|
+
**Input**: User's requirement description
|
|
84
|
+
|
|
85
|
+
**Tasks**:
|
|
86
|
+
1. Parse and understand core requirement
|
|
87
|
+
2. Generate feature name (kebab-case format)
|
|
88
|
+
3. Determine document version (default `1.0` unless user specifies otherwise)
|
|
89
|
+
4. Ensure `./docs/prds/` exists for PRD output
|
|
90
|
+
5. Perform initial clarity assessment (0-100)
|
|
91
|
+
|
|
92
|
+
**Assessment Rubric**:
|
|
93
|
+
```
|
|
94
|
+
Functional Clarity: /30 points
|
|
95
|
+
- Clear inputs/outputs: 10 pts
|
|
96
|
+
- User interaction defined: 10 pts
|
|
97
|
+
- Success criteria stated: 10 pts
|
|
98
|
+
|
|
99
|
+
Technical Specificity: /25 points
|
|
100
|
+
- Technology stack mentioned: 8 pts
|
|
101
|
+
- Integration points identified: 8 pts
|
|
102
|
+
- Constraints specified: 9 pts
|
|
103
|
+
|
|
104
|
+
Implementation Completeness: /25 points
|
|
105
|
+
- Edge cases considered: 8 pts
|
|
106
|
+
- Error handling mentioned: 9 pts
|
|
107
|
+
- Data validation specified: 8 pts
|
|
108
|
+
|
|
109
|
+
Business Context: /20 points
|
|
110
|
+
- Problem statement clear: 7 pts
|
|
111
|
+
- Target users identified: 7 pts
|
|
112
|
+
- Success metrics defined: 6 pts
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Initial Response Format**:
|
|
116
|
+
```markdown
|
|
117
|
+
I understand your requirement. Let me help you refine this specification.
|
|
118
|
+
|
|
119
|
+
**Current Clarity Score**: X/100
|
|
120
|
+
|
|
121
|
+
**Clear Aspects**:
|
|
122
|
+
- [List what's clear]
|
|
123
|
+
|
|
124
|
+
**Needs Clarification**:
|
|
125
|
+
- [List gaps]
|
|
126
|
+
|
|
127
|
+
Let me systematically clarify these points...
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Step 2: Gap Analysis
|
|
131
|
+
|
|
132
|
+
Identify missing information across four dimensions:
|
|
133
|
+
|
|
134
|
+
**1. Functional Scope**
|
|
135
|
+
- What is the core functionality?
|
|
136
|
+
- What are the boundaries?
|
|
137
|
+
- What is out of scope?
|
|
138
|
+
- What are edge cases?
|
|
139
|
+
|
|
140
|
+
**2. User Interaction**
|
|
141
|
+
- How do users interact?
|
|
142
|
+
- What are the inputs?
|
|
143
|
+
- What are the outputs?
|
|
144
|
+
- What are success/failure scenarios?
|
|
145
|
+
|
|
146
|
+
**3. Technical Constraints**
|
|
147
|
+
- Performance requirements?
|
|
148
|
+
- Compatibility requirements?
|
|
149
|
+
- Security considerations?
|
|
150
|
+
- Scalability needs?
|
|
151
|
+
|
|
152
|
+
**4. Business Value**
|
|
153
|
+
- What problem does this solve?
|
|
154
|
+
- Who are the target users?
|
|
155
|
+
- What are success metrics?
|
|
156
|
+
- What is the priority?
|
|
157
|
+
|
|
158
|
+
### Step 3: Interactive Clarification
|
|
159
|
+
|
|
160
|
+
**Question Strategy**:
|
|
161
|
+
1. Start with highest-impact gaps
|
|
162
|
+
2. Ask 2-3 questions per round
|
|
163
|
+
3. Build context progressively
|
|
164
|
+
4. Use user's language
|
|
165
|
+
5. Provide examples when helpful
|
|
166
|
+
|
|
167
|
+
**Question Format**:
|
|
168
|
+
```markdown
|
|
169
|
+
I need to clarify the following points to complete the requirements document:
|
|
170
|
+
|
|
171
|
+
1. **[Category]**: [Specific question]?
|
|
172
|
+
- For example: [Example if helpful]
|
|
173
|
+
|
|
174
|
+
2. **[Category]**: [Specific question]?
|
|
175
|
+
|
|
176
|
+
3. **[Category]**: [Specific question]?
|
|
177
|
+
|
|
178
|
+
Please provide your answers, and I'll continue refining the PRD.
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**After Each User Response**:
|
|
182
|
+
1. Update clarity score
|
|
183
|
+
2. Capture new information in the working PRD outline
|
|
184
|
+
3. Identify remaining gaps
|
|
185
|
+
4. If score < 90: Continue with next round of questions
|
|
186
|
+
5. If score ≥ 90: Proceed to PRD generation
|
|
187
|
+
|
|
188
|
+
**Score Update Format**:
|
|
189
|
+
```markdown
|
|
190
|
+
Thank you for the additional information!
|
|
191
|
+
|
|
192
|
+
**Clarity Score Update**: X/100 → Y/100
|
|
193
|
+
|
|
194
|
+
**New Clarified Content**:
|
|
195
|
+
- [Summarize new information]
|
|
196
|
+
|
|
197
|
+
**Remaining Points to Clarify**:
|
|
198
|
+
- [List remaining gaps if score < 90]
|
|
199
|
+
|
|
200
|
+
[If score < 90: Continue with next round of questions]
|
|
201
|
+
[If score ≥ 90: "Perfect! I will now generate the complete PRD document..."]
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Step 4: PRD Generation
|
|
205
|
+
|
|
206
|
+
Once clarity score ≥ 90, generate comprehensive PRD.
|
|
207
|
+
|
|
208
|
+
**Output File**:
|
|
209
|
+
|
|
210
|
+
1. **Final PRD**: `./docs/prds/{feature_name}-v{version}-prd.md`
|
|
211
|
+
|
|
212
|
+
Use the `Write` tool to create or update this file. Derive `{version}` from the document version recorded in the PRD (default `1.0`).
|
|
213
|
+
|
|
214
|
+
## PRD Document Structure
|
|
215
|
+
|
|
216
|
+
```markdown
|
|
217
|
+
# {Feature Name} - Product Requirements Document (PRD)
|
|
218
|
+
|
|
219
|
+
## Requirements Description
|
|
220
|
+
|
|
221
|
+
### Background
|
|
222
|
+
- **Business Problem**: [Describe the business problem to solve]
|
|
223
|
+
- **Target Users**: [Target user groups]
|
|
224
|
+
- **Value Proposition**: [Value this feature brings]
|
|
225
|
+
|
|
226
|
+
### Feature Overview
|
|
227
|
+
- **Core Features**: [List of main features]
|
|
228
|
+
- **Feature Boundaries**: [What is and isn't included]
|
|
229
|
+
- **User Scenarios**: [Typical usage scenarios]
|
|
230
|
+
|
|
231
|
+
### Detailed Requirements
|
|
232
|
+
- **Input/Output**: [Specific input/output specifications]
|
|
233
|
+
- **User Interaction**: [User operation flow]
|
|
234
|
+
- **Data Requirements**: [Data structures and validation rules]
|
|
235
|
+
- **Edge Cases**: [Edge case handling]
|
|
236
|
+
|
|
237
|
+
## Design Decisions
|
|
238
|
+
|
|
239
|
+
### Technical Approach
|
|
240
|
+
- **Architecture Choice**: [Technical architecture decisions and rationale]
|
|
241
|
+
- **Key Components**: [List of main technical components]
|
|
242
|
+
- **Data Storage**: [Data models and storage solutions]
|
|
243
|
+
- **Interface Design**: [API/interface specifications]
|
|
244
|
+
|
|
245
|
+
### Constraints
|
|
246
|
+
- **Performance Requirements**: [Response time, throughput, etc.]
|
|
247
|
+
- **Compatibility**: [System compatibility requirements]
|
|
248
|
+
- **Security**: [Security considerations]
|
|
249
|
+
- **Scalability**: [Future expansion considerations]
|
|
250
|
+
|
|
251
|
+
### Risk Assessment
|
|
252
|
+
- **Technical Risks**: [Potential technical risks and mitigation plans]
|
|
253
|
+
- **Dependency Risks**: [External dependencies and alternatives]
|
|
254
|
+
- **Schedule Risks**: [Timeline risks and response strategies]
|
|
255
|
+
|
|
256
|
+
## Acceptance Criteria
|
|
257
|
+
|
|
258
|
+
### Functional Acceptance
|
|
259
|
+
- [ ] Feature 1: [Specific acceptance conditions]
|
|
260
|
+
- [ ] Feature 2: [Specific acceptance conditions]
|
|
261
|
+
- [ ] Feature 3: [Specific acceptance conditions]
|
|
262
|
+
|
|
263
|
+
### Quality Standards
|
|
264
|
+
- [ ] Code Quality: [Code standards and review requirements]
|
|
265
|
+
- [ ] Test Coverage: [Testing requirements and coverage]
|
|
266
|
+
- [ ] Performance Metrics: [Performance test pass criteria]
|
|
267
|
+
- [ ] Security Review: [Security review requirements]
|
|
268
|
+
|
|
269
|
+
### User Acceptance
|
|
270
|
+
- [ ] User Experience: [UX acceptance criteria]
|
|
271
|
+
- [ ] Documentation: [Documentation delivery requirements]
|
|
272
|
+
- [ ] Training Materials: [If needed, training material requirements]
|
|
273
|
+
|
|
274
|
+
## Execution Phases
|
|
275
|
+
|
|
276
|
+
### Phase 1: Preparation
|
|
277
|
+
**Goal**: Environment preparation and technical validation
|
|
278
|
+
- [ ] Task 1: [Specific task description]
|
|
279
|
+
- [ ] Task 2: [Specific task description]
|
|
280
|
+
- **Deliverables**: [Phase deliverables]
|
|
281
|
+
- **Time**: [Estimated time]
|
|
282
|
+
|
|
283
|
+
### Phase 2: Core Development
|
|
284
|
+
**Goal**: Implement core functionality
|
|
285
|
+
- [ ] Task 1: [Specific task description]
|
|
286
|
+
- [ ] Task 2: [Specific task description]
|
|
287
|
+
- **Deliverables**: [Phase deliverables]
|
|
288
|
+
- **Time**: [Estimated time]
|
|
289
|
+
|
|
290
|
+
### Phase 3: Integration & Testing
|
|
291
|
+
**Goal**: Integration and quality assurance
|
|
292
|
+
- [ ] Task 1: [Specific task description]
|
|
293
|
+
- [ ] Task 2: [Specific task description]
|
|
294
|
+
- **Deliverables**: [Phase deliverables]
|
|
295
|
+
- **Time**: [Estimated time]
|
|
296
|
+
|
|
297
|
+
### Phase 4: Deployment
|
|
298
|
+
**Goal**: Release and monitoring
|
|
299
|
+
- [ ] Task 1: [Specific task description]
|
|
300
|
+
- [ ] Task 2: [Specific task description]
|
|
301
|
+
- **Deliverables**: [Phase deliverables]
|
|
302
|
+
- **Time**: [Estimated time]
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
**Document Version**: 1.0
|
|
307
|
+
**Created**: {timestamp}
|
|
308
|
+
**Clarification Rounds**: {clarification_rounds}
|
|
309
|
+
**Quality Score**: {quality_score}/100
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
## Behavioral Guidelines
|
|
313
|
+
|
|
314
|
+
### DO
|
|
315
|
+
- Ask specific, targeted questions
|
|
316
|
+
- Build on previous answers
|
|
317
|
+
- Provide examples to guide users
|
|
318
|
+
- Maintain conversational tone
|
|
319
|
+
- Summarize clarification rounds within the PRD
|
|
320
|
+
- Use clear, professional English
|
|
321
|
+
- Generate concrete specifications
|
|
322
|
+
- Stay in clarification mode until score ≥ 90
|
|
323
|
+
|
|
324
|
+
### DON'T
|
|
325
|
+
- Ask all questions at once
|
|
326
|
+
- Make assumptions without confirmation
|
|
327
|
+
- Generate PRD before 90+ score
|
|
328
|
+
- Skip any required sections
|
|
329
|
+
- Use vague or abstract language
|
|
330
|
+
- Proceed without user responses
|
|
331
|
+
- Exit skill mode prematurely
|
|
332
|
+
|
|
333
|
+
## Success Criteria
|
|
334
|
+
|
|
335
|
+
- Clarity score ≥ 90/100
|
|
336
|
+
- All PRD sections complete with substance
|
|
337
|
+
- Acceptance criteria checklistable (using `- [ ]` format)
|
|
338
|
+
- Execution phases actionable with concrete tasks
|
|
339
|
+
- User approves final PRD
|
|
340
|
+
- Ready for development handoff
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# Manual edits should follow the schema below
|
|
6
6
|
|
|
7
7
|
version: 1.0.0
|
|
8
|
-
last_updated: 2025-02-
|
|
8
|
+
last_updated: 2025-02-27
|
|
9
9
|
|
|
10
10
|
# ============================================
|
|
11
11
|
# OFFICIAL SOURCES
|
|
@@ -417,25 +417,120 @@ installed_skills:
|
|
|
417
417
|
security_status: pass
|
|
418
418
|
description: Validate external skills for security issues
|
|
419
419
|
|
|
420
|
+
# New Skills Added 2025-02-27
|
|
421
|
+
- name: sequential-thinking
|
|
422
|
+
source: local
|
|
423
|
+
category: core
|
|
424
|
+
path: .claude/skills/core/sequential-thinking
|
|
425
|
+
installed_at: 2025-02-27
|
|
426
|
+
security_checked: true
|
|
427
|
+
security_status: pass
|
|
428
|
+
description: Systematic step-by-step reasoning for complex problems
|
|
429
|
+
|
|
430
|
+
- name: requirements-clarity
|
|
431
|
+
source: local
|
|
432
|
+
category: domain/product
|
|
433
|
+
path: .claude/skills/domain/product/requirements-clarity
|
|
434
|
+
installed_at: 2025-02-27
|
|
435
|
+
security_checked: true
|
|
436
|
+
security_status: pass
|
|
437
|
+
description: Transform vague requirements into actionable PRDs
|
|
438
|
+
|
|
439
|
+
- name: c4-architecture
|
|
440
|
+
source: local
|
|
441
|
+
category: domain/architecture
|
|
442
|
+
path: .claude/skills/domain/architecture/c4-architecture
|
|
443
|
+
installed_at: 2025-02-27
|
|
444
|
+
security_checked: true
|
|
445
|
+
security_status: pass
|
|
446
|
+
description: Generate C4 model architecture diagrams in Mermaid
|
|
447
|
+
|
|
448
|
+
- name: mermaid-diagrams
|
|
449
|
+
source: local
|
|
450
|
+
category: domain/architecture
|
|
451
|
+
path: .claude/skills/domain/architecture/mermaid-diagrams
|
|
452
|
+
installed_at: 2025-02-27
|
|
453
|
+
security_checked: true
|
|
454
|
+
security_status: pass
|
|
455
|
+
description: Comprehensive guide for creating Mermaid diagrams
|
|
456
|
+
|
|
457
|
+
- name: ui-ux-pro-max
|
|
458
|
+
source: github
|
|
459
|
+
category: domain/frontend
|
|
460
|
+
path: .claude/skills/domain/frontend/ui-ux-pro-max
|
|
461
|
+
installed_at: 2025-02-27
|
|
462
|
+
security_checked: true
|
|
463
|
+
security_status: pass
|
|
464
|
+
source_url: https://github.com/nextlevelbuilder/ui-ux-pro-max-skill
|
|
465
|
+
description: UI/UX design intelligence with 67 styles, 96 palettes, 100 reasoning rules
|
|
466
|
+
|
|
467
|
+
# Domain Skills - Design
|
|
468
|
+
- name: ui-design
|
|
469
|
+
source: local
|
|
470
|
+
category: domain/design
|
|
471
|
+
path: .claude/skills/domain/design/ui-design
|
|
472
|
+
installed_at: 2025-02-27
|
|
473
|
+
security_checked: true
|
|
474
|
+
security_status: pass
|
|
475
|
+
description: UI design principles for creating professional, accessible interfaces
|
|
476
|
+
|
|
477
|
+
- name: design-system
|
|
478
|
+
source: local
|
|
479
|
+
category: domain/design
|
|
480
|
+
path: .claude/skills/domain/design/design-system
|
|
481
|
+
installed_at: 2025-02-27
|
|
482
|
+
security_checked: true
|
|
483
|
+
security_status: pass
|
|
484
|
+
description: Design system creation with tokens, components, and patterns
|
|
485
|
+
|
|
486
|
+
- name: responsive-design
|
|
487
|
+
source: local
|
|
488
|
+
category: domain/design
|
|
489
|
+
path: .claude/skills/domain/design/responsive-design
|
|
490
|
+
installed_at: 2025-02-27
|
|
491
|
+
security_checked: true
|
|
492
|
+
security_status: pass
|
|
493
|
+
description: Mobile-first responsive design with breakpoints and adaptive layouts
|
|
494
|
+
|
|
495
|
+
- name: html-css-output
|
|
496
|
+
source: local
|
|
497
|
+
category: domain/design
|
|
498
|
+
path: .claude/skills/domain/design/html-css-output
|
|
499
|
+
installed_at: 2025-02-27
|
|
500
|
+
security_checked: true
|
|
501
|
+
security_status: pass
|
|
502
|
+
description: Converting designs to semantic HTML and CSS properties for developers
|
|
503
|
+
|
|
504
|
+
- name: mockup-creation
|
|
505
|
+
source: local
|
|
506
|
+
category: domain/design
|
|
507
|
+
path: .claude/skills/domain/design/mockup-creation
|
|
508
|
+
installed_at: 2025-02-27
|
|
509
|
+
security_checked: true
|
|
510
|
+
security_status: pass
|
|
511
|
+
description: Creating wireframes and mockups using DrawIO MCP for BA and Designer workflows
|
|
512
|
+
|
|
420
513
|
# ============================================
|
|
421
514
|
# STATISTICS
|
|
422
515
|
# ============================================
|
|
423
516
|
statistics:
|
|
424
|
-
total_skills:
|
|
517
|
+
total_skills: 49
|
|
425
518
|
by_category:
|
|
426
|
-
core:
|
|
427
|
-
domain/frontend:
|
|
519
|
+
core: 5
|
|
520
|
+
domain/frontend: 6
|
|
428
521
|
domain/backend: 5
|
|
429
|
-
domain/architecture:
|
|
522
|
+
domain/architecture: 8
|
|
430
523
|
domain/devops: 5
|
|
431
|
-
domain/product:
|
|
524
|
+
domain/product: 6
|
|
432
525
|
domain/quality: 4
|
|
526
|
+
domain/design: 5
|
|
433
527
|
leadership: 4
|
|
434
528
|
community: 1
|
|
435
529
|
by_source:
|
|
436
|
-
local:
|
|
530
|
+
local: 48
|
|
531
|
+
github: 1
|
|
437
532
|
skills.sh: 0
|
|
438
533
|
security_status:
|
|
439
|
-
pass:
|
|
534
|
+
pass: 49
|
|
440
535
|
warning: 0
|
|
441
536
|
rejected: 0
|