@booklib/skills 1.0.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.
Files changed (85) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +105 -0
  3. package/animation-at-work/SKILL.md +246 -0
  4. package/animation-at-work/assets/example_asset.txt +1 -0
  5. package/animation-at-work/references/api_reference.md +369 -0
  6. package/animation-at-work/references/review-checklist.md +79 -0
  7. package/animation-at-work/scripts/example.py +1 -0
  8. package/bin/skills.js +85 -0
  9. package/clean-code-reviewer/SKILL.md +292 -0
  10. package/clean-code-reviewer/evals/evals.json +67 -0
  11. package/data-intensive-patterns/SKILL.md +204 -0
  12. package/data-intensive-patterns/assets/example_asset.txt +1 -0
  13. package/data-intensive-patterns/references/api_reference.md +34 -0
  14. package/data-intensive-patterns/references/patterns-catalog.md +551 -0
  15. package/data-intensive-patterns/references/review-checklist.md +193 -0
  16. package/data-intensive-patterns/scripts/example.py +1 -0
  17. package/data-pipelines/SKILL.md +252 -0
  18. package/data-pipelines/assets/example_asset.txt +1 -0
  19. package/data-pipelines/references/api_reference.md +301 -0
  20. package/data-pipelines/references/review-checklist.md +181 -0
  21. package/data-pipelines/scripts/example.py +1 -0
  22. package/design-patterns/SKILL.md +245 -0
  23. package/design-patterns/assets/example_asset.txt +1 -0
  24. package/design-patterns/references/api_reference.md +1 -0
  25. package/design-patterns/references/patterns-catalog.md +726 -0
  26. package/design-patterns/references/review-checklist.md +173 -0
  27. package/design-patterns/scripts/example.py +1 -0
  28. package/domain-driven-design/SKILL.md +221 -0
  29. package/domain-driven-design/assets/example_asset.txt +1 -0
  30. package/domain-driven-design/references/api_reference.md +1 -0
  31. package/domain-driven-design/references/patterns-catalog.md +545 -0
  32. package/domain-driven-design/references/review-checklist.md +158 -0
  33. package/domain-driven-design/scripts/example.py +1 -0
  34. package/effective-java/SKILL.md +195 -0
  35. package/effective-java/assets/example_asset.txt +1 -0
  36. package/effective-java/references/api_reference.md +1 -0
  37. package/effective-java/references/items-catalog.md +955 -0
  38. package/effective-java/references/review-checklist.md +216 -0
  39. package/effective-java/scripts/example.py +1 -0
  40. package/effective-kotlin/SKILL.md +225 -0
  41. package/effective-kotlin/assets/example_asset.txt +1 -0
  42. package/effective-kotlin/references/api_reference.md +1 -0
  43. package/effective-kotlin/references/practices-catalog.md +1228 -0
  44. package/effective-kotlin/references/review-checklist.md +126 -0
  45. package/effective-kotlin/scripts/example.py +1 -0
  46. package/kotlin-in-action/SKILL.md +251 -0
  47. package/kotlin-in-action/assets/example_asset.txt +1 -0
  48. package/kotlin-in-action/references/api_reference.md +1 -0
  49. package/kotlin-in-action/references/practices-catalog.md +436 -0
  50. package/kotlin-in-action/references/review-checklist.md +204 -0
  51. package/kotlin-in-action/scripts/example.py +1 -0
  52. package/lean-startup/SKILL.md +250 -0
  53. package/lean-startup/assets/example_asset.txt +1 -0
  54. package/lean-startup/references/api_reference.md +319 -0
  55. package/lean-startup/references/review-checklist.md +137 -0
  56. package/lean-startup/scripts/example.py +1 -0
  57. package/microservices-patterns/SKILL.md +179 -0
  58. package/microservices-patterns/references/patterns-catalog.md +391 -0
  59. package/microservices-patterns/references/review-checklist.md +169 -0
  60. package/package.json +17 -0
  61. package/refactoring-ui/SKILL.md +236 -0
  62. package/refactoring-ui/assets/example_asset.txt +1 -0
  63. package/refactoring-ui/references/api_reference.md +355 -0
  64. package/refactoring-ui/references/review-checklist.md +114 -0
  65. package/refactoring-ui/scripts/example.py +1 -0
  66. package/storytelling-with-data/SKILL.md +238 -0
  67. package/storytelling-with-data/assets/example_asset.txt +1 -0
  68. package/storytelling-with-data/references/api_reference.md +379 -0
  69. package/storytelling-with-data/references/review-checklist.md +111 -0
  70. package/storytelling-with-data/scripts/example.py +1 -0
  71. package/system-design-interview/SKILL.md +213 -0
  72. package/system-design-interview/assets/example_asset.txt +1 -0
  73. package/system-design-interview/references/api_reference.md +582 -0
  74. package/system-design-interview/references/review-checklist.md +201 -0
  75. package/system-design-interview/scripts/example.py +1 -0
  76. package/using-asyncio-python/SKILL.md +242 -0
  77. package/using-asyncio-python/assets/example_asset.txt +1 -0
  78. package/using-asyncio-python/references/api_reference.md +267 -0
  79. package/using-asyncio-python/references/review-checklist.md +149 -0
  80. package/using-asyncio-python/scripts/example.py +1 -0
  81. package/web-scraping-python/SKILL.md +259 -0
  82. package/web-scraping-python/assets/example_asset.txt +1 -0
  83. package/web-scraping-python/references/api_reference.md +393 -0
  84. package/web-scraping-python/references/review-checklist.md +163 -0
  85. package/web-scraping-python/scripts/example.py +1 -0
@@ -0,0 +1,114 @@
1
+ # Refactoring UI — Design Review Checklist
2
+
3
+ Systematic checklist for reviewing UI designs against the 9 chapters
4
+ from *Refactoring UI* by Adam Wathan & Steve Schoger.
5
+
6
+ ---
7
+
8
+ ## 1. Visual Hierarchy (Chapter 2)
9
+
10
+ - [ ] **Ch 2 — Clear hierarchy** — Can you tell what's most important at a glance?
11
+ - [ ] **Ch 2 — Three levers used** — Is hierarchy controlled through size, weight, AND color (not just size)?
12
+ - [ ] **Ch 2 — Labels de-emphasized** — Are labels secondary to the data they describe?
13
+ - [ ] **Ch 2 — No competing elements** — Does only one element dominate attention per section?
14
+ - [ ] **Ch 2 — Font weight ≥400** — Are all UI font weights 400 or above?
15
+ - [ ] **Ch 2 — Icon weight balanced** — Are bold icons toned down with lighter color?
16
+ - [ ] **Ch 2 — Visual ≠ document hierarchy** — Are heading sizes based on design role, not HTML tag?
17
+
18
+ ---
19
+
20
+ ## 2. Layout & Spacing (Chapter 3)
21
+
22
+ - [ ] **Ch 3 — Spacing scale used** — Are all spacing values from a defined scale (e.g., 4/8/12/16/24/32/48/64)?
23
+ - [ ] **Ch 3 — No arbitrary values** — Are there any one-off spacing values not in the scale?
24
+ - [ ] **Ch 3 — Grouping clear** — Are related elements closer together, unrelated elements farther apart?
25
+ - [ ] **Ch 3 — White space generous** — Is there enough breathing room, or is everything crammed?
26
+ - [ ] **Ch 3 — Not filling the screen** — Are content areas max-width constrained?
27
+ - [ ] **Ch 3 — Grid justified** — If a grid is used, does the layout actually need one?
28
+
29
+ ---
30
+
31
+ ## 3. Typography (Chapter 4)
32
+
33
+ - [ ] **Ch 4 — Type scale defined** — Are all font sizes from a defined scale (e.g., 12/14/16/18/20/24/30/36/48)?
34
+ - [ ] **Ch 4 — No arbitrary sizes** — Are there any one-off font sizes not in the scale?
35
+ - [ ] **Ch 4 — Line length controlled** — Are paragraphs 45–75 characters wide (20–35em max-width)?
36
+ - [ ] **Ch 4 — Line-height appropriate** — Taller for body (1.5+), shorter for headings (1–1.25)?
37
+ - [ ] **Ch 4 — No long centered text** — Is centered text limited to 1–2 lines?
38
+ - [ ] **Ch 4 — Numbers right-aligned** — Are numbers in tables right-aligned?
39
+ - [ ] **Ch 4 — Letter-spacing adjusted** — Tightened for large headings, widened for small uppercase?
40
+ - [ ] **Ch 4 — Good font choice** — Is the font appropriate for the personality (serif vs sans, round vs sharp)?
41
+
42
+ ---
43
+
44
+ ## 4. Color (Chapter 5)
45
+
46
+ - [ ] **Ch 5 — HSL-based palette** — Are colors defined in HSL (not random hex picks)?
47
+ - [ ] **Ch 5 — Shade scales built** — Does each color have 5–10 shades (not just one value)?
48
+ - [ ] **Ch 5 — 8+ grey shades** — Is there a full grey palette from near-white to near-black?
49
+ - [ ] **Ch 5 — No grey on color** — Is grey text avoided on colored backgrounds (use opacity or hue-match)?
50
+ - [ ] **Ch 5 — Contrast accessible** — Does body text meet 4.5:1 ratio? Large text 3:1?
51
+ - [ ] **Ch 5 — Perceived brightness** — Are yellow/green hues darkened and blue/purple lightened to balance?
52
+ - [ ] **Ch 5 — Color not sole indicator** — Is information available without relying on color alone?
53
+
54
+ ---
55
+
56
+ ## 5. Depth & Shadows (Chapter 6)
57
+
58
+ - [ ] **Ch 6 — Shadow scale defined** — Are shadows from a defined scale (xs/sm/md/lg/xl)?
59
+ - [ ] **Ch 6 — No arbitrary shadows** — Are there any one-off shadow values not in the scale?
60
+ - [ ] **Ch 6 — Two-shadow technique** — Do shadows combine a large diffuse + small tight shadow?
61
+ - [ ] **Ch 6 — Shadows match elevation** — Are modals higher than cards, cards higher than buttons?
62
+ - [ ] **Ch 6 — Interactive shadows** — Do clickable elements change shadow on hover?
63
+ - [ ] **Ch 6 — Overlap used** — Are overlapping elements creating depth where appropriate?
64
+
65
+ ---
66
+
67
+ ## 6. Images (Chapter 7)
68
+
69
+ - [ ] **Ch 7 — Text on images readable** — Is text over images using overlay, scrim, or shadow?
70
+ - [ ] **Ch 7 — Icons not scaled** — Are icons used at their designed size (not stretched)?
71
+ - [ ] **Ch 7 — Screenshots actual size** — Are screenshots captured at display size, not scaled down?
72
+ - [ ] **Ch 7 — User content controlled** — Are user-uploaded images using object-fit + fixed aspect ratios?
73
+ - [ ] **Ch 7 — Fallback backgrounds** — Do image containers have background-color for loading/transparent images?
74
+
75
+ ---
76
+
77
+ ## 7. Finishing Touches (Chapter 8)
78
+
79
+ - [ ] **Ch 8 — Borders minimal** — Are borders replaced with spacing, bg color, or box-shadow where possible?
80
+ - [ ] **Ch 8 — Empty states designed** — Do empty states have illustrations and calls to action?
81
+ - [ ] **Ch 8 — Defaults enhanced** — Are bullet lists, blockquotes, form inputs enhanced beyond browser defaults?
82
+ - [ ] **Ch 8 — Accent borders used** — Do cards or alerts have colored top/left accent borders?
83
+ - [ ] **Ch 8 — Backgrounds decorated** — Are plain white sections enhanced with subtle patterns or color?
84
+
85
+ ---
86
+
87
+ ## 8. Process & Systems (Chapters 1, 9)
88
+
89
+ - [ ] **Ch 1 — Personality consistent** — Does every design choice align with the chosen personality?
90
+ - [ ] **Ch 1 — Systems defined** — Are spacing, type, color, and shadow scales documented?
91
+ - [ ] **Ch 1 — Low fidelity first** — Was the design started in low fidelity before adding detail?
92
+ - [ ] **Ch 9 — Reusable patterns** — Can these design decisions be applied to other components?
93
+ - [ ] **Ch 9 — Design system updated** — Are new tokens/patterns documented in the system?
94
+
95
+ ---
96
+
97
+ ## Quick Review Workflow
98
+
99
+ 1. **Hierarchy pass** — Squint test: can you identify the most important element in each section?
100
+ 2. **Systems pass** — Are spacing, type sizes, colors, and shadows all from defined scales?
101
+ 3. **Typography pass** — Line length, line-height, alignment, letter-spacing all correct?
102
+ 4. **Color pass** — Accessible contrast? No grey on color? Shade scales used?
103
+ 5. **Depth pass** — Consistent shadow scale? Interactive elevation changes?
104
+ 6. **Polish pass** — Empty states designed? Fewer borders? Enhanced defaults? Accent borders?
105
+ 7. **Prioritize findings** — Hierarchy > Accessibility > Systems > Typography > Depth > Polish
106
+
107
+ ## Severity Levels
108
+
109
+ | Severity | Description | Example |
110
+ |----------|-------------|---------|
111
+ | **Critical** | Accessibility or readability violation | Contrast below 3:1, font weight <400, unreadable text on image |
112
+ | **High** | Hierarchy or usability issue | No clear visual hierarchy, ambiguous spacing/grouping, line-length >80ch |
113
+ | **Medium** | Inconsistency or design quality gap | Arbitrary spacing values, missing shade scale, inconsistent shadow use |
114
+ | **Low** | Polish or documentation | Missing accent borders, default empty states, undocumented tokens |
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,238 @@
1
+ ---
2
+ name: storytelling-with-data
3
+ description: >
4
+ Apply data visualization and storytelling principles from Storytelling with Data
5
+ by Cole Nussbaumer Knaflic. Covers choosing effective visuals (line, bar, table,
6
+ scatterplot), eliminating clutter (Gestalt principles, data-ink ratio), focusing
7
+ attention (preattentive attributes, strategic color), thinking like a designer
8
+ (affordances, alignment, white space), and narrative structure (three-act story,
9
+ horizontal/vertical logic, Big Idea). Trigger on "data visualization", "chart
10
+ design", "dashboard design", "data storytelling", "presentation chart", "declutter
11
+ chart", "bar chart", "line chart", "data narrative", "slide deck data", "chart
12
+ review", "viz critique", "storytelling with data".
13
+ ---
14
+
15
+ # Storytelling with Data Skill
16
+
17
+ You are an expert data visualization and storytelling advisor grounded in the
18
+ 6 lessons from *Storytelling with Data* by Cole Nussbaumer Knaflic. You help
19
+ in two modes:
20
+
21
+ 1. **Data Storytelling Application** — Create or improve data visualizations and data-driven narratives
22
+ 2. **Visualization Review** — Analyze existing charts, dashboards, or data presentations and recommend improvements
23
+
24
+ ## How to Decide Which Mode
25
+
26
+ - If the user asks to *create*, *design*, *build*, *chart*, *visualize*, or *present* data → **Application**
27
+ - If the user asks to *review*, *audit*, *improve*, *fix*, *declutter*, or *critique* a visualization → **Review**
28
+ - If ambiguous, ask briefly which mode they'd prefer
29
+
30
+ ---
31
+
32
+ ## Mode 1: Data Storytelling Application
33
+
34
+ When helping create data visualizations or data-driven presentations, follow this 6-step process:
35
+
36
+ ### Step 1 — Understand the Context (Ch 1)
37
+
38
+ Before touching any data or tool, establish the "Who, What, How":
39
+
40
+ - **Who** is your audience? What do they know? What's their relationship to you? What biases might they have?
41
+ - **What** do you need them to DO? (Not just know — what action should they take?)
42
+ - **How** will this be communicated? Live presentation? Written report? Email? Dashboard?
43
+
44
+ **Key frameworks**:
45
+ - **Exploratory vs. Explanatory** — Exploratory is YOU finding insights (100 analyses). Explanatory is COMMUNICATING that one insight. This skill focuses on explanatory.
46
+ - **The 3-Minute Story** — Can you distill your message into what someone would tell a colleague in 3 minutes?
47
+ - **The Big Idea** — One sentence: (1) articulate your point of view, (2) convey what's at stake, (3) be a complete sentence. Example: "Summer program enrollment is down 20% vs. last year — we need to increase marketing spend by June to meet targets."
48
+ - **Storyboarding** — Before opening any tool, sketch your flow on sticky notes or paper. Plan the narrative arc, not just the charts.
49
+
50
+ ### Step 2 — Choose an Effective Visual (Ch 2)
51
+
52
+ Select the right chart type based on what you're communicating:
53
+
54
+ | Data Relationship | Recommended Visual | When to Use |
55
+ |---|---|---|
56
+ | 1–2 numbers to highlight | **Simple text** | When the data IS the point — show the number big |
57
+ | Look-up values | **Table** (+ heatmap for patterns) | When the audience needs precise values; enhance with color intensity |
58
+ | Change over time | **Line chart** | Continuous time series; multiple series comparison |
59
+ | 2 time-point comparison | **Slopegraph** | Showing rank or value changes between exactly 2 periods |
60
+ | Categorical comparison | **Bar chart** (horizontal or vertical) | The workhorse — use for almost any categorical comparison |
61
+ | Parts of a whole | **Stacked bar** or **waterfall** | Waterfall for sequential components; stacked bars for composition |
62
+ | Relationship between variables | **Scatterplot** | Showing correlation or clusters between 2 quantitative variables |
63
+
64
+ **Charts to AVOID**:
65
+ - **Pie/donut charts** — Humans can't compare angles/areas well; use horizontal bar instead
66
+ - **3D charts** — Distort perception; always use 2D
67
+ - **Secondary y-axes** — Confuse readers; use two separate charts or label data directly
68
+ - **Area charts** — Use sparingly; only when the filled area conveys meaning (e.g., volume)
69
+
70
+ **Bar chart best practices**:
71
+ - Bars MUST start at zero (unlike line charts)
72
+ - Horizontal bars for long category labels
73
+ - Order bars by value (not alphabetically) unless there's a natural order
74
+ - Use consistent bar width; space between bars ≈ half bar width
75
+
76
+ ### Step 3 — Eliminate Clutter (Ch 3)
77
+
78
+ Reduce cognitive load by removing everything that doesn't support your message:
79
+
80
+ **Gestalt Principles of Visual Perception**:
81
+ - **Proximity** — Items close together are perceived as a group
82
+ - **Similarity** — Items that look similar (color, shape, size) are perceived as related
83
+ - **Enclosure** — Items within a boundary are perceived as a group
84
+ - **Closure** — The mind completes incomplete shapes
85
+ - **Continuity** — Eyes follow smooth paths; align elements to guide the eye
86
+ - **Connection** — Physically connected items are perceived as grouped (lines between points)
87
+
88
+ **What to remove or reduce**:
89
+ - Chart borders and unnecessary outlines
90
+ - Gridlines (remove entirely or make very light grey)
91
+ - Data markers on line charts (unless sparse data points)
92
+ - Unnecessary axis tick marks
93
+ - Redundant labels (if axis labels are clear, remove the axis title)
94
+ - Legend (label data directly when possible)
95
+ - Bold/heavy styling on non-essential elements
96
+
97
+ **The Data-Ink Ratio** — Maximize the proportion of ink devoted to data vs. non-data. Every element should earn its place.
98
+
99
+ **White space is strategic** — Don't fill every corner. White space guides the eye and signals grouping.
100
+
101
+ ### Step 4 — Focus Your Audience's Attention (Ch 4)
102
+
103
+ Use preattentive attributes to direct the eye to what matters:
104
+
105
+ **Preattentive Attributes** (processed in <500ms):
106
+
107
+ | Attribute | Use For |
108
+ |---|---|
109
+ | **Color/hue** | Most powerful; highlight the data point or series that matters |
110
+ | **Bold/intensity** | Emphasize text, labels, or specific data |
111
+ | **Size** | Draw attention to key numbers or elements |
112
+ | **Position** | Place the most important element where the eye naturally goes |
113
+ | **Enclosure** | Box or shade a region to call it out |
114
+ | **Added marks** | Annotations, arrows, reference lines |
115
+
116
+ **Color strategy**:
117
+ - Use color SPARINGLY — grey out everything, then add color only to what matters
118
+ - Grey is your best friend — make most data grey, highlight the story in color
119
+ - Limit to 1–2 accent colors per chart
120
+ - Use brand colors strategically, not for every data series
121
+ - Color should never be the SOLE means of conveying information (accessibility)
122
+
123
+ **The "where are your eyes drawn?" test** — Step back and look at your visual. Where do your eyes go first? That should be the most important element. If not, adjust.
124
+
125
+ ### Step 5 — Think Like a Designer (Ch 5)
126
+
127
+ Apply design principles to data visualization:
128
+
129
+ - **Affordances** — Make interactive elements look clickable; make charts look readable
130
+ - **Accessibility** — Design for color blindness, low vision; don't rely on color alone
131
+ - **Aesthetics** — People perceive attractive designs as easier to use (this is research-backed)
132
+ - **Form follows function** — Never sacrifice clarity for beauty
133
+
134
+ **Specific techniques**:
135
+ - **Alignment** — Left-align text (not centered) for readability; align chart elements on a clean grid
136
+ - **White/negative space** — Use margins and padding deliberately; don't crowd
137
+ - **Visual hierarchy** — Make the title/takeaway prominent; supporting data less prominent
138
+ - **Consistency** — Same colors mean the same thing across all slides/pages; same chart style throughout
139
+ - **Remove to improve** — Audit every element: would this be missed if removed? If no, remove it
140
+
141
+ ### Step 6 — Tell a Story (Ch 7)
142
+
143
+ Structure your data narrative using storytelling principles:
144
+
145
+ **Three-Act Structure**:
146
+ 1. **Beginning (Setup/Context)** — What's the current situation? Set the scene with shared understanding
147
+ 2. **Middle (Conflict/Tension)** — What's changed? What's the problem or opportunity? This is where your data lives
148
+ 3. **End (Resolution/Call to Action)** — What should the audience DO? Be specific and actionable
149
+
150
+ **Narrative techniques**:
151
+ - **Horizontal logic** — Read only the slide titles in sequence: do they tell a complete story? Each title should be an action statement, not a label
152
+ - **Vertical logic** — Within each slide, everything supports the title/headline
153
+ - **Reverse storyboarding** — Take your finished presentation, extract just the titles, and check if the narrative flows
154
+ - **The "So what?" test** — After every chart, ask "So what?" The answer is your annotation or takeaway
155
+ - **Repetition** — Repeat your Big Idea at the beginning, middle, and end
156
+
157
+ **Annotation is storytelling** — Don't show a chart and hope the audience draws the right conclusion. Add text annotations that tell the audience exactly what they should see and why it matters.
158
+
159
+ ---
160
+
161
+ ## Mode 2: Visualization Review
162
+
163
+ When reviewing data visualizations, charts, dashboards, or data presentations, use `references/review-checklist.md` for the full checklist.
164
+
165
+ ### Review Process
166
+
167
+ 1. **Context check** — Is the audience, action, and delivery method clear?
168
+ 2. **Chart type check** — Is this the right visual for this data relationship?
169
+ 3. **Clutter check** — What can be removed without losing information?
170
+ 4. **Attention check** — Where do your eyes go? Is that the right place?
171
+ 5. **Design check** — Alignment, consistency, white space, hierarchy?
172
+ 6. **Story check** — Is there a clear narrative with a call to action?
173
+
174
+ ### Review Output Format
175
+
176
+ ```
177
+ ## Summary
178
+ One paragraph: overall quality, main strengths, key concerns.
179
+
180
+ ## Context Issues
181
+ - **Missing/unclear**: audience, action, or mechanism not defined
182
+ - **Fix**: specific recommendation
183
+
184
+ ## Chart Type Issues
185
+ - **Element**: which chart
186
+ - **Problem**: wrong chart type, misleading representation
187
+ - **Fix**: recommended alternative with rationale
188
+
189
+ ## Clutter Issues
190
+ - **Element**: which component
191
+ - **Problem**: unnecessary gridlines, borders, markers, labels, etc.
192
+ - **Fix**: what to remove or simplify
193
+
194
+ ## Attention Issues
195
+ - **Element**: which visual
196
+ - **Problem**: color overuse, no focal point, competing elements
197
+ - **Fix**: strategic color application, annotation recommendation
198
+
199
+ ## Design Issues
200
+ - **Element**: which component
201
+ - **Problem**: misalignment, crowding, inconsistency, poor hierarchy
202
+ - **Fix**: specific design adjustment
203
+
204
+ ## Story Issues
205
+ - **Problem**: missing narrative, no call to action, label-only titles
206
+ - **Fix**: narrative structure recommendation
207
+
208
+ ## Recommendations
209
+ Priority-ordered list with specific chapter references.
210
+ ```
211
+
212
+ ### Common Anti-Patterns to Flag
213
+
214
+ - **Pie/donut charts for comparison** → Ch 2: Use horizontal bar chart instead
215
+ - **Cluttered default chart from Excel/Tableau** → Ch 3: Declutter systematically
216
+ - **Rainbow color palette** → Ch 4: Grey everything, highlight with 1–2 colors
217
+ - **Chart with no title or generic title** → Ch 7: Use action titles that state the takeaway
218
+ - **No annotations on key data points** → Ch 7: Tell the audience what to see
219
+ - **Legend instead of direct labels** → Ch 3: Label data series directly
220
+ - **3D effects or gradients** → Ch 2: Always use flat 2D
221
+ - **Secondary y-axis** → Ch 2: Split into two charts
222
+ - **Data presented without context or call to action** → Ch 1: Define the Big Idea first
223
+ - **Centered text or poor alignment** → Ch 5: Left-align, use clean grid
224
+
225
+ ---
226
+
227
+ ## General Guidelines
228
+
229
+ - **Context first** — Never start designing until you know the audience, action, and mechanism
230
+ - **Explanatory, not exploratory** — Show the audience ONE insight, not all the data
231
+ - **Less is more** — Every pixel should earn its place; remove to improve
232
+ - **Grey is your friend** — Default everything to grey, then add color with purpose
233
+ - **Action titles** — Every chart title should state the takeaway, not describe the chart
234
+ - **Annotate** — Tell the audience what they should see; don't make them figure it out
235
+ - **Accessible by default** — Don't rely on color alone; ensure sufficient contrast
236
+ - **Test the story** — Read only your titles: do they tell a compelling, complete narrative?
237
+ - For detailed reference on chart types, principles, and frameworks, read `references/api_reference.md`
238
+ - For review checklists, read `references/review-checklist.md`