@kudusov.takhir/ba-toolkit 1.2.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/CHANGELOG.md +125 -0
- package/COMMANDS.md +69 -0
- package/LICENSE +21 -0
- package/README.md +842 -0
- package/README.ru.md +846 -0
- package/bin/ba-toolkit.js +468 -0
- package/package.json +49 -0
- package/skills/ac/SKILL.md +88 -0
- package/skills/analyze/SKILL.md +126 -0
- package/skills/apicontract/SKILL.md +113 -0
- package/skills/brief/SKILL.md +120 -0
- package/skills/clarify/SKILL.md +96 -0
- package/skills/datadict/SKILL.md +98 -0
- package/skills/estimate/SKILL.md +124 -0
- package/skills/export/SKILL.md +215 -0
- package/skills/glossary/SKILL.md +145 -0
- package/skills/handoff/SKILL.md +146 -0
- package/skills/nfr/SKILL.md +85 -0
- package/skills/principles/SKILL.md +182 -0
- package/skills/references/closing-message.md +33 -0
- package/skills/references/domains/ecommerce.md +209 -0
- package/skills/references/domains/fintech.md +180 -0
- package/skills/references/domains/healthcare.md +223 -0
- package/skills/references/domains/igaming.md +183 -0
- package/skills/references/domains/logistics.md +221 -0
- package/skills/references/domains/on-demand.md +231 -0
- package/skills/references/domains/real-estate.md +241 -0
- package/skills/references/domains/saas.md +185 -0
- package/skills/references/domains/social-media.md +234 -0
- package/skills/references/environment.md +57 -0
- package/skills/references/prerequisites.md +191 -0
- package/skills/references/templates/README.md +35 -0
- package/skills/references/templates/ac-template.md +58 -0
- package/skills/references/templates/analyze-template.md +65 -0
- package/skills/references/templates/apicontract-template.md +183 -0
- package/skills/references/templates/brief-template.md +51 -0
- package/skills/references/templates/datadict-template.md +75 -0
- package/skills/references/templates/export-template.md +112 -0
- package/skills/references/templates/handoff-template.md +102 -0
- package/skills/references/templates/nfr-template.md +97 -0
- package/skills/references/templates/principles-template.md +118 -0
- package/skills/references/templates/research-template.md +99 -0
- package/skills/references/templates/risk-template.md +188 -0
- package/skills/references/templates/scenarios-template.md +93 -0
- package/skills/references/templates/sprint-template.md +158 -0
- package/skills/references/templates/srs-template.md +90 -0
- package/skills/references/templates/stories-template.md +60 -0
- package/skills/references/templates/trace-template.md +59 -0
- package/skills/references/templates/usecases-template.md +51 -0
- package/skills/references/templates/wireframes-template.md +96 -0
- package/skills/research/SKILL.md +136 -0
- package/skills/risk/SKILL.md +163 -0
- package/skills/scenarios/SKILL.md +113 -0
- package/skills/sprint/SKILL.md +174 -0
- package/skills/srs/SKILL.md +124 -0
- package/skills/stories/SKILL.md +85 -0
- package/skills/trace/SKILL.md +85 -0
- package/skills/usecases/SKILL.md +91 -0
- package/skills/wireframes/SKILL.md +107 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ba-wireframes
|
|
3
|
+
description: >
|
|
4
|
+
Generate textual wireframe descriptions: screen structure, element placement, navigation, states (loading, empty, error). Use on /wireframes command, or when the user asks for "wireframe descriptions", "wireframes", "screen descriptions", "interface structure", "screen layouts", "UI description", "screen specification", "describe screens", "text prototype", "designer specification", "page descriptions". Ninth and final step of the BA Toolkit pipeline.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /wireframes — Wireframe Descriptions
|
|
8
|
+
|
|
9
|
+
Ninth and final step of the BA Toolkit pipeline. Generates textual screen specifications for handoff to designers (not graphical mockups).
|
|
10
|
+
|
|
11
|
+
## Context loading
|
|
12
|
+
|
|
13
|
+
0. If `00_principles_*.md` exists in the output directory, load it and apply its conventions (artifact language, ID format, traceability requirements, Definition of Ready, quality gate threshold).
|
|
14
|
+
1. Read `01_brief_*.md`, `02_srs_*.md`, `03_stories_*.md`, `08_apicontract_*.md` (if exists).
|
|
15
|
+
2. Extract: slug, domain, US list, API endpoints, roles, platforms.
|
|
16
|
+
3. If domain supported, load `references/domains/{domain}.md`, section `9. /wireframes`. Use typical screens and domain-specific states.
|
|
17
|
+
|
|
18
|
+
## Environment
|
|
19
|
+
|
|
20
|
+
Read `references/environment.md` from the `ba-toolkit` directory to determine the output directory for the current platform. If the file is unavailable, apply the default rule: if `/mnt/user-data/outputs/` exists and is writable, save there (Claude.ai); otherwise save to the current working directory.
|
|
21
|
+
|
|
22
|
+
## Interview
|
|
23
|
+
|
|
24
|
+
3–7 questions per round, 2–4 rounds.
|
|
25
|
+
|
|
26
|
+
**Required topics:**
|
|
27
|
+
1. Platform — web (desktop, mobile responsive), native app, Telegram Mini App?
|
|
28
|
+
2. Design system — existing UI Kit or brand book?
|
|
29
|
+
3. Key screens — which to describe first?
|
|
30
|
+
4. Responsiveness — multiple breakpoints needed?
|
|
31
|
+
5. Specific states — beyond standard (loading, empty, error)?
|
|
32
|
+
6. Navigation model — tab bar, sidebar, burger menu?
|
|
33
|
+
|
|
34
|
+
Supplement with domain-specific questions and typical screens from the reference.
|
|
35
|
+
|
|
36
|
+
## Generation
|
|
37
|
+
|
|
38
|
+
**File:** `09_wireframes_{slug}.md`
|
|
39
|
+
|
|
40
|
+
```markdown
|
|
41
|
+
# Wireframe Descriptions: {Name}
|
|
42
|
+
|
|
43
|
+
## Navigation Map
|
|
44
|
+
Overall navigation structure: sections, hierarchy, transitions.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Screen: {Name} (WF-{NNN})
|
|
49
|
+
- **Linked US:** US-{NNN}
|
|
50
|
+
- **Platform:** {web | mobile | telegram mini app}
|
|
51
|
+
- **URL / Route:** {path}
|
|
52
|
+
- **Role:** {which role sees this screen}
|
|
53
|
+
- **Description:** {purpose}
|
|
54
|
+
|
|
55
|
+
### Structure
|
|
56
|
+
- **Header:** {elements}
|
|
57
|
+
- **Body:**
|
|
58
|
+
- Block 1: {description}
|
|
59
|
+
- Block 2: {description}
|
|
60
|
+
- **Footer:** {elements}
|
|
61
|
+
|
|
62
|
+
### Interface Elements
|
|
63
|
+
| Element | Type | Behavior | States | API Link |
|
|
64
|
+
|---------|------|----------|--------|----------|
|
|
65
|
+
|
|
66
|
+
### Screen States
|
|
67
|
+
- **Default:** ...
|
|
68
|
+
- **Loading:** ...
|
|
69
|
+
- **Empty:** ...
|
|
70
|
+
- **Error:** ...
|
|
71
|
+
|
|
72
|
+
### Navigation
|
|
73
|
+
- **From:** {source screens}
|
|
74
|
+
- **To:** {destination screens}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Rules:**
|
|
78
|
+
- Numbering: WF-001, WF-002, ...
|
|
79
|
+
- Each WF linked to at least one US.
|
|
80
|
+
- Mandatory states: default, loading, empty, error.
|
|
81
|
+
- If API contract available, link elements to endpoints.
|
|
82
|
+
|
|
83
|
+
## Iterative refinement
|
|
84
|
+
|
|
85
|
+
- `/revise [WF-NNN]` — rewrite.
|
|
86
|
+
- `/expand [WF-NNN]` — add elements, states.
|
|
87
|
+
- `/split [WF-NNN]` — extract modals etc.
|
|
88
|
+
- `/clarify [focus]` — targeted ambiguity pass.
|
|
89
|
+
- `/validate` — all Must-US have a screen; API links correct; 4 states described; navigation connected.
|
|
90
|
+
- `/done` — pipeline complete. Suggest running `/trace`.
|
|
91
|
+
|
|
92
|
+
## Closing message
|
|
93
|
+
|
|
94
|
+
After saving the artifact, present the following summary to the user (see `references/closing-message.md` for format):
|
|
95
|
+
|
|
96
|
+
- Saved file path.
|
|
97
|
+
- Total number of screens (WF-NNN) documented and platform(s) covered.
|
|
98
|
+
- Navigation model confirmed (tab bar / sidebar / other).
|
|
99
|
+
- Count of screens with API endpoint links.
|
|
100
|
+
|
|
101
|
+
Available commands: `/clarify [focus]` · `/revise [WF-NNN]` · `/expand [WF-NNN]` · `/split [WF-NNN]` · `/validate` · `/done`
|
|
102
|
+
|
|
103
|
+
Pipeline complete. Run `/trace` to check full coverage or `/analyze` for a cross-artifact quality report.
|
|
104
|
+
|
|
105
|
+
## Style
|
|
106
|
+
|
|
107
|
+
Formal, neutral. No emoji, slang. Terms explained on first use. Generate the artifact in the language of the user's request.
|