// Enterprise AI-powered user expertise detection with behavioral analysis, communication pattern recognition, code complexity assessment, Context7 integration, and adaptive response calibration; activates for personalized guidance generation, complexity adjustment, tutorial depth selection, and communication style matching
| name | moai-core-expertise-detection |
| version | 4.0.0 |
| created | "2025-11-11T00:00:00.000Z" |
| updated | "2025-11-12T00:00:00.000Z" |
| status | stable |
| description | Enterprise AI-powered user expertise detection with behavioral analysis, communication pattern recognition, code complexity assessment, Context7 integration, and adaptive response calibration; activates for personalized guidance generation, complexity adjustment, tutorial depth selection, and communication style matching |
| keywords | ["expertise-detection","behavioral-analysis","adaptive-learning","ai-expertise-modeling","communication-patterns","skill-assessment","personalization","context7-integration","user-profiling","enterprise-adaptation"] |
| allowed-tools | ["Read","AskUserQuestion","mcp__context7__resolve-library-id","mcp__context7__get-library-docs","WebFetch"] |
| Field | Value |
|---|---|
| Skill Name | moai-alfred-expertise-detection |
| Version | 4.0.0 Enterprise (2025-11-12) |
| AI Integration | โ Context7 MCP, behavioral analysis, pattern recognition |
| Auto-load | Continuous during user interactions |
| Expertise Levels | Beginner, Intermediate, Advanced, Expert |
| Lines of Content | 920+ with 14+ production examples |
| Progressive Disclosure | 3-level (detection, patterns, advanced) |
Continuously detects and adapts to user expertise level based on behavioral signals, communication patterns, code examples, and interaction history. Enables Alfred to calibrate complexity, example selection, and communication style dynamically.
Characteristics:
Detection Signals:
Adaptation:
โ Provide high-level analogies
โ Explain concepts before showing code
โ Include step-by-step examples
โ Link to beginner tutorials
โ Avoid advanced jargon
โ Provide working examples
Characteristics:
Detection Signals:
Adaptation:
โ Provide architectural guidance
โ Explain trade-offs and decisions
โ Show best practices and patterns
โ Include edge cases
โ Use technical terminology correctly
โ Suggest optimizations
Characteristics:
Detection Signals:
Adaptation:
โ Focus on nuanced details
โ Discuss implementation trade-offs
โ Reference RFC documents
โ Show performance implications
โ Discuss advanced patterns
โ Link to source code
Characteristics:
Detection Signals:
Adaptation:
โ Assume deep knowledge
โ Focus on bleeding-edge details
โ Link to implementation source
โ Discuss language design decisions
โ No hand-holding required
"How do I use useState?"
โ Beginner (basic concept)
"What's the best pattern for managing state?"
โ Intermediate (pattern awareness)
"How does React's useState closure capture work?"
โ Advanced (implementation detail)
"Can we optimize useState with useMemo patterns in concurrent rendering?"
โ Expert (deep architectural knowledge)
# Beginner: Simple, linear logic
def greet(name):
return f"Hello, {name}!"
# Intermediate: Using patterns
class UserService:
def __init__(self, repo):
self.repo = repo
def get_user(self, user_id):
return self.repo.find(user_id)
# Advanced: Complex architecture
async def get_user_with_cache(user_id, cache, repo):
try:
cached = await cache.get(f"user:{user_id}")
if cached:
return json.loads(cached)
except CacheError:
pass
user = await repo.find(user_id)
await cache.set(f"user:{user_id}", json.dumps(user))
return user
# Expert: Framework internals
async def get_user_with_prefetch(user_id, cache, repo, query_planner):
# Uses query optimization, connection pooling, prefetch logic
plan = query_planner.optimize(f"SELECT * FROM users WHERE id={user_id}")
# Custom execution with monitoring and fallback strategies
"How do I...?" โ Beginner
"What's the best way to...?" โ Intermediate
"Why does X work like Y?" โ Advanced
"How does the implementation..." โ Expert
Beginner: Syntax errors, missing imports, undefined variables
Intermediate: Logic errors, wrong patterns, performance issues
Advanced: Race conditions, memory leaks, optimization gaps
Expert: Language semantics, compiler optimizations, platform-specific bugs
Beginner: Explain โ Example โ Hands-on (3 steps)
Intermediate: Pattern โ Example โ Optimization (3 steps)
Advanced: Theory โ Implementation โ Edge cases (3 steps)
Expert: Design decision โ Trade-offs โ Implications (3 steps)
# Beginner: Simple, complete example
def add(a, b):
return a + b
# Intermediate: Pattern-based example
class Calculator:
def add(self, a, b):
return a + b
# Advanced: Complex but realistic
class MonoidCalculator(Generic[T]):
def __init__(self, empty: T, combine: Callable[[T, T], T]):
self.empty = empty
self.combine = combine
def fold(self, values: List[T]) -> T:
return reduce(self.combine, values, self.empty)
# Expert: Framework-level implementation
async def compute_with_cache(
key: str,
fn: Callable[[], Awaitable[T]],
cache: CacheLayer,
options: ComputeOptions
) -> T:
# Implementation with error handling, observability, etc.
Beginner: "function", "loop", "variable"
Intermediate: "closure", "prototype", "event loop"
Advanced: "hoisting", "temporal dead zone", "thunk"
Expert: "reification", "lifting", "unfold semantics"
moai-alfred-personas (Communication style adaptation)moai-alfred-practices (Pattern examples at all levels)For detailed detection patterns: reference.md
For real-world examples: examples.md
Last Updated: 2025-11-12
Status: Production Ready (Enterprise )