Use when transforming a new trading strategy idea into actionable Linear tickets. Supports Ralph Loop for thorough context gathering. Triggers include strategy brainstorming, feature planning for Polymarket, or when user says "plan a new strategy". Includes mandatory Postmortem immune screening.
View on GitHubmorris-y/blueprint-skills
blueprint-skills
skills/blueprint-plan/SKILL.md
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/morris-y/blueprint-skills/blob/main/skills/blueprint-plan/SKILL.md -a claude-code --skill blueprint-planInstallation paths:
.claude/skills/blueprint-plan/# Blueprint Plan - Strategy Architecture & Task Decomposition
## Overview
Transform vague strategy ideas into executable Linear Tickets with proper risk assessment, backtest specifications, and **Postmortem immune screening** to prevent regression.
## Core Principle
```
./postmortem/ = 深度病历库 (Deep Case History)
./CLAUDE.md = 高频手术准则 (High-Frequency Operating Rules)
Rule: 新策略必须通过历史病历的"免疫筛查"
```
## When to Use
- User wants to plan a **new trading strategy** for Polymarket
- User mentions "策略规划", "strategy planning", or "feature decomposition"
- Before any implementation of market-making or trading logic
**Do NOT use when:**
- Debugging existing strategy code
- Running backtests (use execution skills instead)
- Simple code changes unrelated to strategy
## Workflow
```dot
digraph blueprint_plan {
rankdir=TB;
node [shape=box];
start [label="User: New Strategy Idea" shape=ellipse];
pm_scan [label="0. Postmortem Immune Scan\n(MANDATORY FIRST)" style=filled fillcolor=lightyellow];
context [label="1. Context Retrieval\n(GitHub MCP)"];
review [label="2. Strategy Risk Review\n(Superpowers Analysis)"];
linear [label="3. Linear Ticket Creation\n(Linear MCP)"];
done [label="Tickets Ready" shape=ellipse];
start -> pm_scan;
pm_scan -> context;
context -> review;
review -> linear;
linear -> done;
}
```
## Phase 0: Postmortem Immune Scan (MANDATORY)
**Goal:** Screen new strategy against historical failures to prevent regression.
### Step 0.1: Scan Postmortem Directory
```bash
# List all postmortem files
ls -la ./postmortem/
# Read each relevant postmortem
cat ./postmortem/*.md
```
### Step 0.2: Keyword Matching
Search postmortems for terms related to the new strategy:
| Strategy Type | Keywords to Scan |
|---------------|------------------|
| **Market Making** | spread, inventory, quote, bid, ask, fill |
| **Mean Reversion** | revert, mean, deviation, zscore, band |
| **Momentum** | trend, breakout, signal, mome