# Windsurf (Cascade AI) Instructions for Algo-Trading-Skills

1. **Skill Library Navigation**: When requested to write trading code, backtests, risk engines, or broker integrations, search `index.json` or frontmatter tags in `skills/*/SKILL.md`.
2. **Execution Standard**: Follow the `agentskills.io` standard in `skills/<skill-name>/SKILL.md` (When to Use, Prerequisites, Workflow, Common Pitfalls, Verification).
3. **Reference Deep Files**: Read `references/workflows.md`, `references/standards.md`, and helper scripts in `scripts/` before generating implementation code.
4. **Validation**: Validate generated code using `python -m unittest discover -s skills/<skill-name>/scripts` and verify against `assets/checklist.md`.
5. **Scope Boundaries**: Check `## When NOT to Use` before applying a skill — it hands each excluded case to the skill that owns it.
