ethics-safety-impact
Guides structured identification of potential harms, benefits, and differential impacts across stakeholder groups for decisions affecting people. Covers stakeholder mapping, fairness evaluation, risk mitigation design, and monitoring. Use when decisions could affect groups differently, need to anticipate harms/benefits, assess fairness and safety, identify vulnerable populations, or when user mentions ethical review, impact assessment, differential harm, safety analysis, bias audit, or responsible AI/tech.
What this skill does
# Ethics, Safety & Impact Assessment ## Table of Contents - [Workflow](#workflow) - [Common Patterns](#common-patterns) - [Guardrails](#guardrails) - [Quick Reference](#quick-reference) ## Example **Scenario**: Launching credit scoring algorithm for loan approvals 1. **Stakeholders**: Loan applicants (diverse demographics), lenders, society (economic mobility) 2. **Harms**: Disparate impact from historical bias, opacity preventing appeals, feedback loops perpetuating denials 3. **Vulnerable groups**: Racial minorities, immigrants with thin credit files, young adults, people in poverty 4. **Mitigations**: Fairness audit across protected classes, reason codes + appeals, alternative data (rent/utilities), human review for edge cases 5. **Monitoring**: Approval rate parity within 10% across groups; if disparate impact >20%, escalate to ethics committee ## Workflow Copy this checklist and track your progress: ``` Ethics & Safety Assessment Progress: - [ ] Step 1: Map stakeholders and identify vulnerable groups - [ ] Step 2: Analyze potential harms and benefits - [ ] Step 3: Assess fairness and differential impacts - [ ] Step 4: Evaluate severity and likelihood - [ ] Step 5: Design mitigations and safeguards - [ ] Step 6: Define monitoring and escalation protocols ``` **Step 1: Map stakeholders and identify vulnerable groups** Identify all affected parties (direct users, indirect, society). Prioritize vulnerable populations most at risk. See [resources/template.md](resources/template.md#stakeholder-mapping-template) for stakeholder analysis framework. **Step 2: Analyze potential harms and benefits** Brainstorm what could go wrong (harms) and what value is created (benefits) for each stakeholder group. See [resources/template.md](resources/template.md#harm-benefit-analysis-template) for structured analysis. **Step 3: Assess fairness and differential impacts** Evaluate whether outcomes, treatment, or access differ across groups. Check for disparate impact. See [resources/methodology.md](resources/methodology.md#fairness-metrics) for fairness criteria and measurement. **Step 4: Evaluate severity and likelihood** Score each harm on severity (1-5) and likelihood (1-5), prioritize high-risk combinations. See [resources/template.md](resources/template.md#risk-matrix-template) for prioritization framework. **Step 5: Design mitigations and safeguards** For high-priority harms, propose design changes, policy safeguards, oversight mechanisms. See [resources/methodology.md](resources/methodology.md#mitigation-strategies) for intervention types. **Step 6: Define monitoring and escalation protocols** Set metrics, thresholds, review cadence, escalation triggers. Validate using [resources/evaluators/rubric_ethics_safety_impact.json](resources/evaluators/rubric_ethics_safety_impact.json). **Minimum standard**: Average score ≥ 3.5. ## Common Patterns **Pattern 1: Algorithm Fairness Audit** - **Stakeholders**: Users receiving algorithmic decisions (hiring, lending, content ranking), protected groups - **Harms**: Disparate impact (bias against protected classes), feedback loops amplifying inequality, opacity preventing accountability - **Assessment**: Test for demographic parity, equalized odds, calibration across groups; analyze training data for historical bias - **Mitigations**: Debiasing techniques, fairness constraints, explainability, human review for edge cases, regular audits - **Monitoring**: Disparate impact ratio, false positive/negative rates by group, user appeals and overturn rates **Pattern 2: Data Privacy & Consent** - **Stakeholders**: Data subjects (users whose data is collected), vulnerable groups (children, marginalized communities) - **Harms**: Privacy violations, surveillance, data breaches, lack of informed consent, secondary use without permission, re-identification risk - **Assessment**: Map data flows (collection → storage → use → sharing), identify sensitive attributes (PII, health, location), consent adequacy - **Mitigations**: Data minimization (collect only necessary), anonymization/differential privacy, granular consent, user data controls (export, delete), encryption - **Monitoring**: Breach incidents, data access logs, consent withdrawal rates, user data requests (GDPR, CCPA) **Pattern 3: Content Moderation & Free Expression** - **Stakeholders**: Content creators, viewers, vulnerable groups (targets of harassment), society (information integrity) - **Harms**: Over-moderation (silencing legitimate speech, especially marginalized voices), under-moderation (allowing harm, harassment, misinformation), inconsistent enforcement - **Assessment**: Analyze moderation error rates (false positives/negatives), differential enforcement across groups, cultural context sensitivity - **Mitigations**: Clear policies with examples, appeals process, human review, diverse moderators, cultural context training, transparency reports - **Monitoring**: Moderation volume and error rates by category, appeal overturn rates, disparate enforcement across languages/regions **Pattern 4: Accessibility & Inclusive Design** - **Stakeholders**: Users with disabilities (visual, auditory, motor, cognitive), elderly, low-literacy, low-bandwidth users - **Harms**: Exclusion (cannot use product), degraded experience, safety risks (cannot access critical features), digital divide - **Assessment**: WCAG compliance audit, assistive technology testing, user research with diverse abilities, cross-cultural usability - **Mitigations**: Accessible design (WCAG AA/AAA), alt text, keyboard navigation, screen reader support, low-bandwidth mode, multi-language, plain language - **Monitoring**: Accessibility test coverage, user feedback from disability communities, task completion rates across abilities **Pattern 5: Safety-Critical Systems** - **Stakeholders**: End users (patients, drivers, operators), vulnerable groups (children, elderly, compromised health), public safety - **Harms**: Physical harm (injury, death), psychological harm (trauma), property damage, cascade failures affecting many - **Assessment**: Failure mode analysis (FMEA), fault tree analysis, worst-case scenarios, edge cases that break assumptions - **Mitigations**: Redundancy, fail-safes, human oversight, rigorous testing (stress, chaos, adversarial), incident response plans, staged rollouts - **Monitoring**: Error rates, near-miss incidents, safety metrics (accidents, adverse events), user-reported issues, compliance audits ## Guardrails 1. **Identify vulnerable groups explicitly**: Prioritize children, elderly, people with disabilities, marginalized/discriminated groups, low-income, low-literacy, geographically isolated, and politically targeted populations. If none are identified, look harder. 2. **Consider second-order and long-term effects**: Look for feedback loops (harm leads to disadvantage leads to more harm), normalization, precedent-setting, and accumulation of small harms over time. Ask "what happens next?" 3. **Assess differential impact, not just average**: A feature may help the average user but harm specific groups. Check for disparate impact (outcome differences across groups >20% is a red flag), intersectionality, and distributive justice. 4. **Design mitigations before launch**: Build safeguards into design, test with diverse users, use staged rollouts with monitoring, and pre-commit to audits. Reactive fixes come too late for those already harmed. 5. **Provide transparency and recourse**: At minimum, explain decisions, provide appeal mechanisms with human review, offer redress for harm, and maintain audit trails. 6. **Monitor outcomes, not just intentions**: Measure outcome disparities by group, user-reported harms, error rate distribution, and unintended consequences. Set thresholds that trigger review or shutdown. 7. **Establish clear accountability and escalation**: Define who reviews ethics risks before launch, who monitors post-launch, what triggers escalation, and w
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.