$npx -y skills add mphinance/alpha-skills --skill edge-strategy-designerConvert abstract edge concepts into strategy draft variants and optional exportable ticket YAMLs for edge-candidate-agent export/validation.
| 1 | # Edge Strategy Designer |
| 2 | |
| 3 | ## Overview |
| 4 | |
| 5 | Translate concept-level hypotheses into concrete strategy draft specs. |
| 6 | This skill sits after concept synthesis and before pipeline export validation. |
| 7 | |
| 8 | ## When to Use |
| 9 | |
| 10 | - You have `edge_concepts.yaml` and need strategy candidates. |
| 11 | - You want multiple variants (core/conservative/research-probe) per concept. |
| 12 | - You want optional exportable ticket files for interface v1 families. |
| 13 | |
| 14 | ## Prerequisites |
| 15 | |
| 16 | - Python 3.9+ |
| 17 | - `PyYAML` |
| 18 | - `edge_concepts.yaml` produced by concept synthesis |
| 19 | |
| 20 | ## Output |
| 21 | |
| 22 | - `strategy_drafts/*.yaml` |
| 23 | - `strategy_drafts/run_manifest.json` |
| 24 | - Optional `exportable_tickets/*.yaml` for downstream `export_candidate.py` |
| 25 | |
| 26 | ## Workflow |
| 27 | |
| 28 | 1. Load `edge_concepts.yaml`. |
| 29 | 2. Choose risk profile (`conservative`, `balanced`, `aggressive`). |
| 30 | 3. Generate per-concept variants with hypothesis-type exit calibration. |
| 31 | 4. Apply `HYPOTHESIS_EXIT_OVERRIDES` to adjust stop-loss, reward-to-risk, time-stop, and trailing-stop per hypothesis type (breakout, earnings_drift, panic_reversal, etc.). |
| 32 | 5. Clamp reward-to-risk at `RR_FLOOR=1.5` to prevent C5 review failures. |
| 33 | 6. Export v1-ready ticket YAML when applicable. |
| 34 | 7. Hand off exportable tickets to `skills/edge-candidate-agent/scripts/export_candidate.py`. |
| 35 | |
| 36 | ## Quick Commands |
| 37 | |
| 38 | Generate drafts only: |
| 39 | |
| 40 | ```bash |
| 41 | python3 skills/edge-strategy-designer/scripts/design_strategy_drafts.py \ |
| 42 | --concepts /tmp/edge-concepts/edge_concepts.yaml \ |
| 43 | --output-dir /tmp/strategy-drafts \ |
| 44 | --risk-profile balanced |
| 45 | ``` |
| 46 | |
| 47 | Generate drafts + exportable tickets: |
| 48 | |
| 49 | ```bash |
| 50 | python3 skills/edge-strategy-designer/scripts/design_strategy_drafts.py \ |
| 51 | --concepts /tmp/edge-concepts/edge_concepts.yaml \ |
| 52 | --output-dir /tmp/strategy-drafts \ |
| 53 | --exportable-tickets-dir /tmp/exportable-tickets \ |
| 54 | --risk-profile conservative |
| 55 | ``` |
| 56 | |
| 57 | ## Resources |
| 58 | |
| 59 | - `skills/edge-strategy-designer/scripts/design_strategy_drafts.py` |
| 60 | - `references/strategy_draft_schema.md` |
| 61 | - `skills/edge-candidate-agent/scripts/export_candidate.py` |