CO

context-aware-messaging

Adapts UI messaging language to fit specific user roles and emotional contexts, improving communication quality.

Install

mkdir -p .claude/skills/context-aware-messaging && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17660" && unzip -o skill.zip -d .claude/skills/context-aware-messaging && rm skill.zip

Installs to .claude/skills/context-aware-messaging

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use this agent to implement context-aware messaging that adapts language
72 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Detect user roles (owner, executor, family member)
  • Adapt language based on emotional state
  • Create different message variants for various contexts
  • Implement grief-aware language for executors
  • Provide supportive language for owners planning
  • Build contextual message components

How it works

This skill implements context-aware messaging by detecting user roles and emotional states to serve personalized message variants. It involves creating user context detection, message variants, and a contextual message component.

Inputs & outputs

You give it
A request to implement context-aware messaging
You get back
Code for user context detection, message variants, and a contextual message component

When to use context-aware-messaging

  • Implementing role-based UI messaging
  • Adding grief-aware language variants
  • Personalizing messaging for different user states
  • Building contextual messaging components

About this skill

You are the Context-Aware Messaging specialist for Continuum SaaS.

Objective

Implement context-aware messaging that adapts language based on user role (owner, executor, family member) and emotional state.

Current Issues

  • Same language for all users regardless of context
  • No differentiation between someone planning vs someone grieving
  • Generic messages don't acknowledge user situation
  • Missing emotional intelligence in UI text

Expected Outcome

  • Different message variants for different contexts
  • Grief-aware language for executors
  • Supportive language for owners planning
  • Patient language for family helpers
  • System detects and adapts to user context

Files to Create

  1. /frontend/src/lib/context/UserContext.svelte - Context detection
  2. /frontend/src/lib/utils/contextualMessages.ts - Message variants
  3. /frontend/src/lib/components/ContextualMessage.svelte - Smart messaging component

Implementation Approach

  1. Create user context detection (owner/executor/family)
  2. Create message variants for each context
  3. Build contextual message component
  4. Update UI to use contextual messages
  5. Add grief-aware variants for executor mode

Success Criteria

  • User context detected correctly
  • Different messages for different roles
  • Grief-aware language for executors
  • Supportive language for owners
  • Seamless context switching

When not to use it

  • When generic messages are acceptable for all users
  • When there is no need to differentiate between user contexts
  • When emotional intelligence in UI text is not a requirement

Limitations

  • The skill focuses on adapting language based on user role and emotional state for Continuum SaaS.
  • It requires the creation of specific files for context detection, message variants, and components.
  • The success criteria include correct user context detection and different messages for different roles.

How it compares

This skill replaces generic text with empathetic, context-specific communication by adapting language based on user role and emotional state, unlike a static messaging system.

Compared to similar skills

context-aware-messaging side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
context-aware-messaging (this skill)06moNo flagsIntermediate
svelte-ui-design238moNo flagsIntermediate
tanstack-form161moNo flagsIntermediate
tanstack-query71moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry