008993368-yaz

Expect The Unexpected — AI skill for Claude Code

AI community

Scenario-driven failure-mode analysis skill for AI coding agents (Cursor, Claude Code, Copilot, Codex).

How to install Expect The Unexpected

This entry records only its repository, not the path inside it, so there is no exact command to give. Open 008993368-yaz/expect-the-unexpected and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Expect The Unexpected does

Scenario-driven failure-mode analysis skill for AI coding agents (Cursor, Claude Code, Copilot, Codex).

Alternatives in AI

  • Claude Task Master — by eyaltoledano - A task management system for AI-driven development with Claude, designed to work seamlessly 26k ★
  • Agency Agents Zh — 🎭 211 个即插即用的 AI 专家角色 — 支持 Hermes Agent/Claude Code/Cursor/Copilot 等 16 种工具,覆盖工程/设计/营销/金融等 18 个部门 6.9k ★
  • CLI Continues — resume any AI coding session in another tool — Claude Code, Copilot, Gemini, Codex, Cursor 1.5k ★

README

expect-the-unexpected

A scenario-driven failure-mode analysis skill for AI coding agents — Cursor, Claude Code, Codex, GitHub Copilot, and any host that supports the [Agent Skills](https://agentskills.io) format.

Give it **one specific scenario** — "a payment webhook arrives twice", "a user uploads a 2GB file" — and it traces the execution path, surfaces what could break (ranked by risk), and proposes a concrete mitigation or test case for each. Or, when you *don't* know what to worry about, give it a **bounded surface** — a diff/PR, a file, an endpoint, or a feature description — and it generates the riskiest scenarios for you, ranked, then analyzes the ones you pick. Works at design time (before code exists) as well as on existing code.

Install

This repo **is** the skill package. Clone it, then link or copy it into the skills directory your agent expects.

Agent / host Project path Global path
Open standard .agents/skills/expect-the-unexpected/ ~/.agents/skills/expect-the-unexpected/
Cursor .cursor/skills/expect-the-unexpected/ ~/.cursor/skills/expect-the-unexpected/
Claude Code .claude/skills/expect-the-unexpected/ ~/.claude/skills/expect-the-unexpected/
Codex .codex/skills/expect-the-unexpected/ ~/.codex/skills/expect-the-unexpected/
GitHub Copilot .github/skills/expect-the-unexpected/ —

Cursor also loads `.claude/skills/` and `.codex/skills/` for compatibility, but installing to the path for your primary agent keeps discovery explicit.

**Unix / macOS (symlink, project-local):**

git clone https://github.com/008993368-yaz/expect-the-unexpected.git
ln -s /path/to/expect-the-unexpected .cursor/skills/expect-the-unexpected

**PowerShell (symlink, project-local):**

git clone https://github.com/008993368-yaz/expect-the-unexpected.git
New-Item -ItemType SymbolicLink -Path .cursor\skills\expect-the-unexpected -Target C:\p