skills/expert-task-analysis/SKILL.md
Analytical methods for decomposing expert performance into cognitive and physical task components
npx skillsauth add curiositech/windags-skills expert-task-analysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Frameworks for capturing expert human performance in complex, time-critical domains and translating that expertise into agent systems, training scenarios, or simulation environments. Specializes in the dual-layer structure of skilled performance: explicit procedural knowledge (GOMS) + implicit perceptual knowledge (Critical Cue Inventories).
IF agent/system fails on edge cases but passes normal cases
THEN → Missing art layer: Load critical cue inventory framework
→ Conduct perceptual cue analysis for each decision branch
IF agent decisions are logically correct but poorly timed
THEN → Impoverished perception: Map environmental signals to decision triggers
→ Build multi-channel sensing architecture
IF system cascades unexpectedly from single failures
THEN → Missing redundancy mapping: Identify all information channels
→ Design backup sensing for each critical decision input
IF task has <3 decision branches total
THEN → Use simple GOMS decomposition: Goals→Methods→Operators→Selection rules
IF task has 3-10 decision branches with environmental dependencies
THEN → Use hierarchical GOMS with Critical Cue Inventories
→ Map each selection rule to specific perceptual cues
IF task has >10 decision branches or continuous adaptation required
THEN → Use situation awareness architecture with predict-compare-adjust loops
→ Build dynamic environmental state model
IF expert says "I just know" or "it's obvious" at decision points
THEN → Use Critical Decision Method (CDM) probing
→ Probe: "What do you see/hear/feel right before that decision?"
IF expert provides clear procedural explanations
THEN → Assume 50% completeness: Science layer captured, art layer missing
→ Validate with second expert to reveal systematic omissions
IF multiple experts disagree on procedure
THEN → Document both methods: Disagreement IS the selection rule
→ Map environmental conditions that trigger each expert's method
IF simulation training transfers poorly to real deployment
THEN → Wrong fidelity focus: Rendering procedures instead of cues
→ Include only environmental details that appear in Critical Cue Inventories
IF simulation handles textbook scenarios but not edge cases
THEN → Missing failure mode scenarios: Add degraded conditions
→ Stress perceptual cues, not just logical procedures
IF simulation feedback is delayed or abstracted
THEN → Real-time cue-action pairing broken: Redesign immediate feedback loops
IF agent needs predictive capabilities (anticipate, not just react)
THEN → Implement continuous monitoring goals, not just sequential tasks
→ Build command-predict-observe-compare-adjust loops
IF agent operates in degraded conditions (noise, partial information)
THEN → Design multi-channel perception with graceful degradation
→ No single points of perceptual failure
IF agent must handle novel situations within domain expertise
THEN → Capture pattern recognition, not just rule following
→ Build situational cue libraries for pattern matching
Detection: System works on textbook cases, fails when reality diverges from script Diagnosis: Captured explicit procedures but missed implicit perceptual knowledge Fix: Conduct Critical Cue Inventory for each decision branch; map environmental signals to selection rules
Detection: First expert's model seems complete but validation reveals systematic omissions Diagnosis: Expert automaticity conceals habitual tools/context-setup behaviors Fix: Multi-expert validation protocol; specifically probe for "obvious" setup steps and tool usage
Detection: Agent can only react to events, never anticipates; no situational awareness
Diagnosis: Modeled all goals as sequential nodes; missing continuous monitoring loops
Fix: Identify recurring goals (assessment, monitoring); implement loop architecture for ongoing state awareness
Detection: Training in simulation doesn't transfer to real deployment performance Diagnosis: Simulated logical steps without perceptual decision triggers Fix: Map Critical Cue Inventory to simulation elements; render cues that trigger decisions, not just visual realism
Detection: Cascading failures from unclassified edge cases; reactive rather than proactive failure handling Diagnosis: No pre-classification of foreseeable failure modes and response options Fix: Pre-classify failure signatures; implement "Restricted Maneuvering" doctrine with pre-warmed responses
SME Statement: "When approaching the pier, I adjust speed based on conditions" CDM Probe: "What specific signals tell you to adjust speed?" Expert Response: "Wind noise around superstructure changes pitch, wake turbulence pattern around pier pilings, how quickly fixed reference points move relative to ship"
GOAL: Approach pier safely
├── METHOD A: Standard approach [IF wind <15 knots AND clear sight lines]
│ ├── Monitor relative motion cues (visual)
│ ├── Monitor wind sound signature (auditory)
│ └── Adjust throttle based on convergence rate
└── METHOD B: Controlled approach [IF wind >15 knots OR restricted visibility]
├── Use redundant position sensing (radar + visual + pilot input)
├── Monitor line tension (tactile feedback through deck vibration)
└── Engage tugboat assistance [IF available]
| Decision Point | Perceptual Cue | Signal Type | What It Indicates | |---------------|----------------|-------------|-------------------| | Speed adjustment | Wind pitch change around superstructure | Auditory | Relative wind speed increasing | | Distance assessment | Wake turbulence pattern at pier pilings | Visual | Proximity to pier structure | | Final approach timing | Fixed reference point motion rate | Visual | Ground speed and angle |
Perception Layer: Multi-channel sensors for visual (camera array), auditory (directional microphones), tactile (vibration sensors) Decision Layer: If relative-motion-rate > threshold AND wind-pitch > baseline → engage Method B Action Layer: Throttle control with tugboat coordination protocol
Initial Model: No tugboat usage (expert unconsciously assumed tugboat unavailability)
Validation Finding: All validation experts used tugboats as standard practice
Fix: Added tugboat coordination as default method; tugboat-unavailable as exception case
Do NOT use this skill for:
Delegate to other skills when:
This skill operates specifically in the knowledge elicitation and task modeling phase of intelligent system design, not in implementation, optimization, or deployment phases.
tools
Building resilient distributed systems with circuit breakers, retries with full-jitter exponential backoff, retry budgets (per-request 3-attempt + per-client 10% ratio per Google SRE), deadline propagation, and the cascading-failure math (4 layers × 3 retries = 64x amplification). Grounded in Resilience4j, Microsoft Cloud Patterns, AWS Architecture Blog (Marc Brooker), and Google SRE Book.
testing
Designing HTTP cache headers that work correctly across browsers, CDNs, and shared proxies — `Cache-Control` directives per RFC 9111, `stale-while-revalidate` and `stale-if-error` per RFC 5861, the Vary header for varying responses, and surrogate keys for tag-based purging. Grounded in IETF RFCs and Cloudflare/Fastly docs.
development
Use when designing or fixing a Content Security Policy on a real site, choosing between nonce-based and hash-based CSP, adding strict-dynamic, debugging "Refused to execute inline script" errors, deploying CSP in report-only mode first, configuring report-to / report-uri, or auditing an existing policy for unsafe-inline / unsafe-eval / wildcards. Triggers: "CSP blocks legitimate inline script", strict-dynamic, nonce-{RANDOM}, sha256-{HASH}, object-src none, base-uri none, frame-ancestors, Trusted Types, X-Content-Security-Policy obsolete, report-only vs enforced. NOT for general HTTP security headers (HSTS, COOP/COEP), Trusted Types deep dive, CORS configuration, or building a WAF.
tools
Choosing and operating an HTTP API versioning strategy that doesn't break clients — Stripe's date-based pinned versions, the Deprecation/Sunset header pair (RFC 9745 + RFC 8594), URI vs header vs media-type approaches, and the version-transformer pattern. Grounded in Stripe's published architecture and IETF RFCs.