-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathllms-full.txt
More file actions
3010 lines (2188 loc) · 95.4 KB
/
Copy pathllms-full.txt
File metadata and controls
3010 lines (2188 loc) · 95.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Humanity4AI — Full LLM Context (Single File)
This file provides complete context for Large Language Models using the Humanity4AI
skillset. It combines the system prompt, core principles, taxonomy, and all 9 SKILL.md
files into a single file for one-shot loading.
All links in this file use absolute raw.githubusercontent.com URLs pointing to the
`development` branch.
---
## System Prompt
See: https://raw.githubusercontent.com/humanity4ai/project_human/main/SYSTEM_PROMPT.md
---
## Core Principles
See: https://raw.githubusercontent.com/humanity4ai/project_human/main/knowledge-core/principles.md
---
## Taxonomy
See: https://raw.githubusercontent.com/humanity4ai/project_human/main/knowledge-core/taxonomy.md
---
## Skill Reference
| # | Skill | Category | Action ID |
|---|-------|----------|-----------|
| 1 | age-inclusive-design | age-inclusion | age_inclusive_design_check |
| 2 | cognitive-accessibility | cognitive-support | cognitive_accessibility_audit |
| 3 | conflict-de-escalation | conflict-navigation | deescalation_plan |
| 4 | cultural-sensitivity | cultural-context | cultural_context_check |
| 5 | depression-sensitive-content | emotional-safety | rewrite_depression_sensitive_content |
| 6 | empathetic-communication | communication | empathetic_reframe |
| 7 | supportive-conversation | emotional-safety | supportive_reply |
| 8 | neurodiversity-aware-design | neurodiversity | neurodiversity_design_check |
| 9 | accessibility | accessibility | accessibility_audit |
---
## SKILL.md Files
### age-inclusive-design
---
name: age-inclusive-design
description: Design for users of all ages. Use when user asks to 'make accessible for older adults', 'improve age-inclusive design', 'help elderly users', 'reduce age-related friction', 'design for all ages', 'age-friendly interface'.
version: 0.2.0
license: MIT
author: project-human
compatibility: Requires Python 3.8+
allowed-tools: Bash(python3:*), Read, Write
tags:
- age-inclusive
- elderly
- usability
- accessibility
- design
- older-adults
- senior-users
---
# Age-Inclusive Design
## Purpose
This skill helps create digital experiences that work well for users of all ages. It addresses age-related changes in vision, motor control, cognition, and technology comfort to reduce friction and improve accessibility for older and younger users alike. Based on ISO 25556:2025 (Ageing-inclusive digital economy) and NIST usability guidelines.
## When to Use
Use this skill when:
- Designing for older adults (65+)
- Creating multi-generational products
- Improving accessibility for elderly users
- Reducing age-related friction in interfaces
- Making content accessible across age groups
- Addressing usability concerns for seniors
## Age-Related Changes to Consider
### Vision Changes
- Reduced visual acuity
- Need for larger text
- Reduced contrast sensitivity
- Difficulty focusing on close objects
- Increased sensitivity to glare
- Changes in color perception
### Motor Changes
- Reduced fine motor control
- Tremors or shaky hands
- Reduced grip strength
- Slower response times
- Difficulty with precise movements
### Cognitive Changes
- Slower processing speed
- Reduced working memory
- Difficulty with new interfaces
- May prefer familiar patterns
- May need more time for decisions
### Technology Comfort
- May be less familiar with technology
- May lack confidence with new interfaces
- May prefer step-by-step guidance
- May be wary of online security
## Boundaries
### Always
- Use minimum 16px font for body text
- Ensure 4.5:1 contrast ratio (WCAG AA)
- Make click/touch targets minimum 44x44px
- Provide clear, immediate feedback
- Use simple, familiar language
- Offer customization options
### Ask First
- Ask about preferred font sizes
- Confirm before auto-completing actions
- Ask about preferred level of assistance
### Never
- Never assume all older adults are the same
- Never use age stereotypes (e.g., "elderly don't use tech")
- Never make interactions time-sensitive without warning
- Never hide important information in small text
- Never assume low tech literacy (many seniors are tech-savvy)
## Principles
This skill is grounded in the Humanity4AI core principles and the following skill-specific principles:
1. **Age is not a deficit.** Design guidance must treat older and younger users as capable individuals with different interaction preferences, not as impaired users.
2. **Context determines accessibility.** Age-related changes vary widely between individuals. Recommendations must be framed as considerations, not absolute requirements.
3. **Explicit uncertainty over false certainty.** Acknowledge when a recommendation may not apply to all users in a given age group.
4. **Inclusive design benefits everyone.** Improvements for older adults (larger touch targets, clearer language, reduced cognitive load) improve usability for all users.
5. **Safety boundaries apply.** Do not make medical or clinical claims about age-related conditions.
## Design Guidelines
### Typography
**Font Size**
- Body text: minimum 16px (18-20px recommended)
- Headings: 24px+ for H1, 20px+ for H2
- Provide user option to increase size
**Font Choices**
- Use sans-serif fonts (easier to read)
- Avoid decorative or script fonts
- Use adequate line spacing (1.5x)
- Use adequate letter spacing
**Contrast**
- 4.5:1 minimum for normal text (WCAG AA)
- 3:1 for large text (WCAG AA)
- 7:1 for AAA compliance
- Ensure sufficient contrast without being harsh
### Touch Targets
**Minimum Size**
- 44x44px minimum (WCAG)
- 48x48px recommended for older users
- Space between targets: 8px minimum
**Placement**
- Avoid edges and corners (harder to tap)
- Place important actions in center
- Avoid requiring precise taps
### Navigation
**Clear Navigation**
- Consistent placement across pages
- Clear, descriptive labels
- Breadcrumb trails for orientation
- Skip links for screen readers
**Process Steps**
- Break complex tasks into steps
- Show progress indicators
- Allow saving progress
- Don't require memory of previous steps
### Forms
**Input Design**
- Clear labels above fields
- Show all required fields
- Provide inline validation
- Use real-time feedback
- Avoid CAPTCHA if possible (or provide audio option)
**Error Handling**
- Clear error messages
- Suggest corrections
- Don't use technical jargon
- Allow easy correction
### Content
**Writing for All Ages**
- Use simple, direct language
- Avoid jargon and slang
- Define technical terms
- Use active voice
- Short paragraphs (3-4 sentences max)
**Visual Content**
- Use clear images that support content
- Provide alt text for all images
- Avoid text in images
- Use sufficient contrast
### Interaction Design
**Time Limits**
- Avoid time limits where possible
- If required, warn clearly
- Allow extension of time limits
**Feedback**
- Immediate feedback for actions
- Clear confirmation of completed actions
- Status updates for long processes
**Error Prevention**
- Ask confirmation for important actions
- Provide undo options
- Don't require precise input
---
## Instructions
### Step 1: Audit Current State
Review the design for:
- Font sizes (minimum 16px body)
- Touch target sizes (minimum 44x44px)
- Contrast ratios (4.5:1 minimum)
- Navigation complexity
- Form design
- Content readability
- Error handling
### Step 2: Identify Issues
Categorize findings:
- Critical: Barriers preventing use
- High: Significant friction
- Medium: Minor inconvenience
- Low: Enhancement opportunity
### Step 3: Prioritize Fixes
Address issues in order:
1. Critical barriers first
2. Then high friction
3. Then medium/low improvements
### Step 4: Implement Changes
For each issue:
1. Identify the problem
2. Provide specific solution
3. Include code/examples where relevant
---
## Examples
### Example 1: Font Size
**Input**: Body text is 12px
**Issue**: Too small for many older users
**Solution**: Increase to 18px minimum
```css
body {
font-size: 18px; /* Was 12px */
line-height: 1.6;
}
```
---
### Example 2: Touch Targets
**Input**: Small buttons that are close together
**Issue**: Hard to tap accurately with reduced motor control
**Solution**: Increase size and spacing
```css
.button {
min-height: 48px;
min-width: 48px;
margin: 8px;
padding: 12px 24px;
}
```
---
### Example 3: Navigation
**Input**: Complex navigation with many options
**Issue**: Overwhelming, hard to find items
**Solution**: Simplify and organize
- Use clear categories
- Limit top-level items to 7
- Use familiar terminology
- Add search
---
### Example 4: Forms
**Input**: Form with no clear labels, error messages in technical language
**Issue**: Confusing, frustrating to complete
**Solution**: Clear labels and helpful errors
- Labels above fields
- "Email address" not "Email"
- Error: "Please enter a valid email" not "Invalid value"
---
## What Not to Do
### Avoid
- Tiny text (under 16px)
- Low contrast (gray on white)
- Small, close touch targets
- Time-limited interactions
- Complex navigation
- Technical jargon
- Assuming tech illiteracy
### Don't Assume
- All older users are the same
- Older users can't learn new things
- Younger users don't need accessibility
- Technology comfort is based on age alone
---
## Additional Resources
- **[references/standards.md](references/standards.md)** - ISO 25556:2025, WCAG guidelines
- **[references/patterns.md](references/patterns.md)** - Age-inclusive design patterns
- **[references/stereotypes.md](references/stereotypes.md)** - Age stereotypes to avoid
- **[references/font-guidelines.md](references/font-guidelines.md)** - Typography guidelines
- **[references/interaction.md](references/interaction.md)** - Interaction design
- **[references/checklist.md](references/checklist.md)** - Implementation checklist
- **[references/examples.md](references/examples.md)** - Good and bad examples
## Script Usage
This skill includes validation scripts:
- **audit_assumptions.py** — Check for age-related assumptions
- **detect_stereotypes.py** — Detect age stereotypes
- **analyze_clarity.py** — Analyze font and readability
- **validate_language.py** — Validate age-friendly language
```bash
# Audit assumptions
python3 scripts/audit_assumptions.py --input design.txt --format json
# Detect stereotypes
python3 scripts/detect_stereotypes.py --input content.txt --format json
```
---
*This skill helps create age-inclusive digital experiences.*
### cognitive-accessibility
---
name: cognitive-accessibility
description: Improve content and workflows for users with varied attention, memory, and executive function profiles. Use when user asks to 'simplify content', 'reduce cognitive load', 'improve readability', 'chunk content', 'make accessible for ADHD', 'help with focus'.
version: 0.2.0
license: MIT
author: project-human
compatibility: Requires Python 3.8+
allowed-tools: Bash(python3:*), Read, Write
tags:
- cognitive-accessibility
- readability
- simplification
- chunking
- executive-function
- attention
- memory
---
# Cognitive Accessibility
## Purpose
Improves content and workflows for users with varied attention, memory, and executive function profiles. Applies cognitive load theory, chunking strategies, and clear information architecture.
## When to Use
- "Simplify this content"
- "Reduce cognitive load"
- "Make this more readable"
- "Chunk this information"
- "Help users with focus issues"
- "Improve accessibility for ADHD"
- "Simplify the user flow"
## Boundaries
### Always
- Use clear, simple language
- Chunk information into small pieces
- Provide clear signposting
- Include recovery options
### Ask First
- Confirm before major restructuring
- Check cultural context
### Never
- Never use jargon without explanation
- Never create complex multi-step flows without breaks
## Principles
This skill is grounded in the Humanity4AI core principles and the following skill-specific principles:
1. **Cognitive load is a spectrum.** Users have varying levels of working memory, attention, and executive function. Recommendations must be framed as considerations, not absolute requirements.
2. **Simplicity is not condescension.** Clear, simple language and structured layouts respect all users. Avoid framing simplification as "dumbing down".
3. **Explicit uncertainty over false certainty.** Acknowledge when a recommendation may not apply to all users or contexts.
4. **Inclusive design benefits everyone.** Cognitive accessibility improvements (chunked content, clear headings, reduced distractions) improve usability for all users.
5. **Safety boundaries apply.** Do not make medical or clinical claims about cognitive conditions such as ADHD or dyslexia.
## Instructions
### Step 1: Assess Load
Analyze content for:
- Sentence length and complexity
- Jargon and technical terms
- Multi-step processes
- Information density
### Step 2: Identify Friction
Find:
- Ambiguous instructions
- Missing progress indicators
- No way to save progress
- Dense paragraphs
### Step 3: Recommend Changes
Suggest:
- Chunking strategies
- Clear headings
- Progress indicators
- Save/resume options
## Examples
### Example 1: Chunking
**Input**: "To register, fill out the form completely including your name, email, phone number, address, and preferences, then review your information, confirm it's correct, and submit."
**Output**: "Register in 3 steps:
1. Your details (name, email)
2. Your address
3. Review and submit"
### Example 2: Clear Language
**Input**: "The aforementioned functionality requires authentication prior to utilization."
**Output**: "You need to sign in to use this feature."
## Additional Resources
- **[references/standards.md](references/standards.md)** - Cognitive accessibility standards
- **[references/patterns.md](references/patterns.md)** - Chunking patterns
- **[references/checklist.md](references/checklist.md)** - Cognitive checklist
- **[references/load-theory.md](references/load-theory.md)** - Cognitive load theory
- **[references/simplification.md](references/simplification.md)** - Simplification techniques
- **[references/measurement.md](references/measurement.md)** - Measurement metrics
- **[references/examples.md](references/examples.md)** - Examples
- **[references/quick-reference.md](references/quick-reference.md)** - Quick reference
## Cognitive Load Theory
### Types of Cognitive Load
**Intrinsic Load**: Inherent complexity of the material
- Cannot be eliminated, can be managed
- Break complex topics into steps
**Extraneous Load**: Unnecessary burden from design
- Should be minimized
- Clear layout, simple language
**Germane Load**: Productive learning
- Should be supported
- Good examples, practice
### Reducing Cognitive Load
1. **Chunk Information**: Group related items
2. **Use White Space**: Don't crowd content
3. **Clear Hierarchy**: Headings, lists, structure
4. **Multiple Formats**: Text + images + video
5. **Allow Pacing**: Don't rush users
## Sentence and Paragraph Guidelines
### Sentence Length
- Target: 15-20 words maximum
- Avoid: Sentences over 25 words
- Split long sentences into two
### Paragraph Length
- Maximum 3-4 sentences per paragraph
- One idea per paragraph
- Use white space between paragraphs
### Word Choice
- Use common, everyday words
- Avoid jargon
- Define technical terms inline
- Use verbs, not noun forms
## Task Design
### Multi-Step Tasks
- Break into 3-5 steps maximum
- Show progress (step X of Y)
- Allow saving progress
- Don't require memory across steps
### Error Recovery
- Clear error messages
- Suggest corrections
- Don't blame users
- Easy to find and fix errors
### Navigation
- Consistent placement
- Clear labels
- Don't require remembering
- Provide search
## Script Usage
This skill includes validation scripts:
- **analyze_load.py** — Analyze cognitive load
- **measure_readability.py** — Measure readability
- **simplify_text.py** — Suggest simplifications
- **chunk_content.py** — Analyze chunking
```bash
# Analyze cognitive load
python3 scripts/analyze_load.py --input content.txt --format json
# Measure readability
python3 scripts/measure_readability.py --input content.txt --format json
```
---
*This skill helps create cognitively accessible content.*
### conflict-de-escalation
---
name: conflict-de-escalation
description: De-escalate tense interactions using proven techniques. Use when user asks to 'de-escalate conflict', 'handle angry customer', 'calm tense situation', 'respond to aggression', 'reduce tension in conversation', 'de-fuse a volatile situation'.
version: 0.2.0
license: MIT
author: project-human
compatibility: Requires Python 3.8+
allowed-tools: Bash(python3:*), Read, Write
tags:
- conflict
- de-escalation
- safety
- communication
- crisis
- verbal-de-escalation
---
# Conflict De-escalation
## Purpose
This skill provides structured de-escalation techniques for tense interactions. It helps users safely navigate conflicts, reduce tension, and guide volatile situations toward resolution without escalating violence. Based on CISA De-escalation Guidelines and evidence-based crisis intervention techniques.
This skill is critical for preventing violence and ensuring safety in high-stress interactions.
## When to Use
Use this skill when:
- Someone is increasingly agitated or angry
- A conversation or interaction is becoming tense or hostile
- You need to calm a volatile situation
- Dealing with someone in emotional distress
- Managing confrontational communication
- Responding to verbal aggression
## Boundaries
### Always
- Prioritize safety of all parties
- Maintain calm, neutral tone
- Use active listening to understand concerns
- Acknowledge feelings without agreeing with aggressive behavior
- Set clear, reasonable boundaries
- Know when to involve authorities
### Ask First
- Ask before touching anything in the person's space
- Confirm before suggesting specific solutions
- Ask about triggers or concerns
- Verify cultural context for communication style
### Never
- Never match the aggression (raise voice, get defensive)
- Never use sarcasm, mockery, or ridicule
- Never make demands when someone is highly agitated
- Never threaten or intimidate
- Never dismiss their concerns
- Never corner or crowd the person
- Never make sudden movements
- Never lie or make promises you can't keep
## Principles
This skill is grounded in the Humanity4AI core principles and the following skill-specific principles:
1. **De-escalation is not capitulation.** The goal is to reduce emotional intensity so that productive dialogue is possible, not to concede to unreasonable demands.
2. **No coercive tactics.** Techniques that manipulate, gaslight, or exploit emotional vulnerabilities are strictly prohibited.
3. **Safety first.** If a situation presents indicators of physical danger or imminent harm, the response must prioritise safety and escalation over de-escalation.
4. **Explicit uncertainty over false certainty.** De-escalation outcomes are not guaranteed. Acknowledge the limits of any plan.
5. **Cultural context matters.** Conflict expression and resolution norms vary significantly across cultures. Recommendations must account for this.
## De-escalation Framework
### The VERB Model [CITATION NEEDED — verify against established frameworks: CPI, MOAB, LEAPS]
**V - Validate**: Acknowledge their feelings and concerns
- "I understand this is frustrating"
- "I can see why you'd be upset"
- "Your concerns are valid"
**E - Empathize**: Show understanding of their perspective
- "If I were in your situation, I'd feel the same way"
- "I understand how upsetting this must be"
- "That sounds really difficult"
**R - Reframe**: Shift focus from blame to solutions
- "Let's figure out how we can move forward"
- "What would help resolve this?"
- "Here's what I can do to help"
**B - Border Setting**: Establish clear, reasonable limits
- "I can help you with X, but Y isn't something I can do"
- "Here's what I can offer"
- "We need to keep this respectful"
### The GAIN Method [CITATION NEEDED — verify against established frameworks: CPI, MOAB, LEAPS]
**G - Gather**: Collect information about the situation
- What's happening?
- What's upset them?
- What do they want?
**A - Acknowledge**: Validate their feelings
- Show you understand
- Don't dismiss or minimize
**I - Identify**: Find the core issue
- What's the real problem?
- What's driving their frustration?
**N - Negotiate**: Work toward a solution
- What can be done?
- What's realistic?
## Instructions
### Step 1: Assess the Situation
Evaluate:
1. **Tone**: Is it rising, loud, threatening?
2. **Body language** (if visible): Aggressive posture, clenched fists?
3. **Content**: Threats, profanity, specific complaints?
4. **Context**: What's driving the conflict?
**Decision Point**: If immediate threat of violence → Go to Step 5 (Safety Protocol). Otherwise → Continue.
### Step 2: Ensure Safety
- Position yourself safely (exit accessible)
- Keep calm tone and body language
- Don't block their escape route
- Maintain comfortable distance (arm's length minimum)
- Remove potential weapons from reach (if safe)
### Step 3: Use the VERB Model
1. **Validate**: "I understand this is frustrating"
2. **Empathize**: "I would feel the same way"
3. **Reframe**: "Let's find a solution"
4. **Set Borders**: Clear, reasonable limits
### Step 4: Listen Actively
- Don't interrupt (let them vent)
- Use minimal encouragers ("I see," "Go on")
- Reflect back what you hear
- Ask clarifying questions
- Summarize to confirm understanding
### Step 5: Safety Protocol (When Needed)
If situation escalates or threats occur:
1. **Stay calm**: Your calm helps regulate them
2. **Set clear limits**: "I need you to speak respectfully"
3. **Offer choices**: "You can [option A] or [option B]"
4. **Know when to exit**: If violence is imminent
5. **Call for help**: Security, supervisor, authorities
**When to call authorities**:
- Physical threats to self or others
- Weapon displayed or mentioned
- Person becomes physically aggressive
- Situation exceeds your ability to manage
### Step 6: Resolution
- Confirm what will happen next
- Provide clear next steps
- If unresolved, set expectations for follow-up
- Document the interaction
## Techniques
### Verbal Techniques
1. **Lower your voice**: Speak slowly, quietly, calmly
2. **Use their name**: Personalizes the interaction
3. **Acknowledge feelings**: "I can see you're upset"
4. **Avoid "you" statements**: Use "I understand" instead
5. **Offer limited choices**: Gives sense of control
6. **Use silence**: Let them fill gaps
7. **Paraphrase**: Shows you're listening
8. **Focus on problem, not person**: Separate the issue from the individual
### What to Say
- "I want to help you"
- "Let's work through this together"
- "I understand this is important to you"
- "What would be most helpful right now?"
- "Here's what I can do..."
- "I hear you"
### What to Avoid
- "Calm down" (dismissive)
- "You need to..." (demanding)
- "That's not true" (confrontational)
- "You should have..." (judgmental)
- "I can't help you" (dismissive)
- "That's not my problem" (dismissive)
- "You're wrong" (confrontational)
## Examples
### Example 1: Angry Customer
**Input**: "This is the worst service I've ever experienced! I've been waiting for 30 minutes and nobody has helped me!"
**Good Response**:
"I am so sorry you've had to wait that long. That's frustrating, and I can see why you're upset. Let me find out what's happening and get you the help you need right away. What's your name?"
**Why it works**: Acknowledges frustration, apologizes, takes ownership, offers solution.
---
### Example 2: Escalating Tension
**Input**: "I'm tired of being passed around! Nobody can help me! This is ridiculous!"
**Good Response**:
"I hear you—you've been through a lot, and I'm sorry. Let's start fresh. I'm here to help you, and I won't stop until we find a solution. What's the main issue we need to tackle first?"
**Why it works**: Validates experience, apologizes, takes responsibility, offers concrete help.
---
### Example 3: High Aggression
**Input**: "You have five seconds to fix this or I'm going to [expletive] someone!"
**Good Response**:
"I can see you're really frustrated, and I want to help. But I need you to speak respectfully so we can solve this. I can help you right now—what's the issue?"
**Sets boundary**: Acknowledges frustration, sets limit, redirects to solution.
---
### Example 4: What Not to Say
**Input**: "This is ridiculous! I've been here three times with the same problem!"
**Poor Response**:
"Calm down. You're not the only customer here. You'll have to wait like everyone else."
**Why it's bad**:
- "Calm down" is dismissive
- "You're not the only customer" dismisses their frustration
- Threatens consequences
**Better Response**:
"I can see this has been really frustrating—three times is a lot. Let me get you to someone who can solve this right now. Come with me."
---
## Crisis Indicators
Some conflicts may indicate deeper issues. Watch for:
- **Violence threats**: "I'll hurt you/the building/etc."
- **Weapon references**: "I have a gun/knife..."
- **Suicide mentions**: "You might as well kill me too..."
- **Historical violence**: "Last time I did [violent act]..."
- **Substance use**: Signs of intoxication
**If these occur**:
1. Stay calm
2. Do not engage in debate
3. Set clear boundaries
4. Call security/authorities if immediate danger
5. If suicide mentioned, follow crisis protocols (provide 988, Crisis Text Line)
## Cultural Considerations
- **Eye contact**: May be inappropriate in some cultures
- **Personal space**: Varies by culture
- **Voice volume**: What feels calm to one culture may feel passive to another
- **Direct vs. indirect**: Some cultures value indirect communication
- **Hierarchy**: May need to address authority figures first
**Best practice**: Ask about preferences when possible
## Error Handling
When de-escalation isn't working:
1. **Acknowledge failure**: "I'm having trouble helping you today"
2. **Bring in backup**: Get supervisor or colleague
3. **Set boundaries**: "I need to step away"
4. **Know your limits**: Some situations require authorities
5. **Document**: Record what happened
## Additional Resources
- **[references/standards.md](references/standards.md)** - CISA guidelines and professional standards
- **[references/patterns.md](references/patterns.md)** - Common triggers and de-escalation patterns
- **[references/techniques.md](references/techniques.md)** - Specific verbal techniques
- **[references/triggers.md](references/triggers.md)** - Escalation triggers to avoid
- **[references/handoff.md](references/handoff.md)** - When and how to involve others
- **[references/checklist.md](references/checklist.md)** - De-escalation checklist
- **[references/examples.md](references/examples.md)** - Response examples
- **[references/quick-reference.md](references/quick-reference.md)** - Quick reference
## Script Usage
This skill includes validation scripts in the `scripts/` folder:
- **detect_triggers.py** — Detect escalation triggers in text
- **assess_intensity.py** — Assess conflict intensity level
- **generate_stabilizing.py** — Generate calming language
- **tone_analyze.py** — Analyze tone for aggression indicators
```bash
# Detect triggers
python3 scripts/detect_triggers.py --input message.txt --format json
# Assess intensity
python3 scripts/assess_intensity.py --input message.txt --format json
# Generate calming response
python3 scripts/generate_stabilizing.py --input message.txt --format json
```
---
*This skill provides de-escalation techniques for conflict resolution. For immediate danger, always contact emergency services (911).*
### cultural-sensitivity
---
name: cultural-sensitivity
description: Design for cultural inclusivity. Use when user asks to 'make culturally sensitive', 'adapt for culture', 'reduce cultural bias', 'cultural awareness', 'inclusive design'.
version: 0.2.0
license: MIT
author: project-human
compatibility: Requires Python 3.8+
allowed-tools: Bash(python3:*), Read, Write
tags:
- cultural
- sensitivity
- inclusion
- diversity
- bias
- global
---
# Cultural Sensitivity
## Purpose
This skill helps create culturally inclusive digital experiences that respect diverse backgrounds, avoid bias, and work across different cultural contexts. Based on APA cultural competency guidelines and Hofstede's cultural dimensions (note: Hofstede's model is contested in academic literature — see McSweeney 2002, Ailon 2008; these dimensions are tendencies, not rules).
## When to Use
Use this skill when:
- Adapting content for different regions
- Reducing cultural bias in design
- Creating global products
- Ensuring inclusive communication
- Avoiding cultural stereotyping
- Respecting diverse backgrounds
## Principles
This skill is grounded in the Humanity4AI core principles and the following skill-specific principles:
1. **No culture is monolithic.** Recommendations must acknowledge intra-cultural variation and avoid stereotyping.
2. **Explicit uncertainty over false certainty.** Cultural norms are contested and evolving. Always disclose the `uncertainty` level in responses.
3. **Humility over authority.** This skill provides guidance, not definitive cultural truth. Users with lived experience of a culture should be deferred to.
4. **Avoid cultural appropriation.** Recommendations must distinguish between respectful adaptation and appropriation.
5. **Safety boundaries apply.** Do not make claims about the superiority or inferiority of any culture.
## Cultural Dimensions to Consider
### Individualism vs. Collectivism
- Some cultures value individual achievement
- Others emphasize group harmony
- Design accordingly (personalization vs. community)
### Power Distance
- Some cultures accept hierarchy
- Others prefer equality
- Design formality levels accordingly
### Uncertainty Avoidance
- Some cultures comfortable with ambiguity
- Others prefer clear rules
- Provide appropriate guidance
### Time Orientation
- Some cultures future-oriented (planning)
- Some present-oriented (flexibility)
- Some past-oriented (tradition)
- Design pacing accordingly
### High vs. Low Context
- High context: implicit communication (some Asian, Middle Eastern cultures)
- Low context: explicit communication (Western cultures)
- Adjust communication style
## Boundaries
### Always