skills/execute-trade/SKILL.md
Orchestration skill for Ratatosk trade execution. Thesis → Council → Risk Check → Execute → Audit → Report. End-to-end trade lifecycle.
npx skillsauth add bigeasyfreeman/adlc execute-tradeInstall 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.
Chains the ADLC Build Loop adapted for investment operations. From market signal to executed trade with full audit trail.
Step 1: Trade Thesis (structured from market signal)
Step 2: STRIDE on trade execution
Step 3: Eval Council (HEAVY — investment-adapted)
Step 4: Risk Gate (HARD — position/drawdown/budget limits)
Step 5: Execute Trade (exchange API)
Step 6: Audit Log
Step 7: Stop Slop on report
Step 8: Report (Telegram)
Step 9: Feedback capture (post-settlement)
trade-thesis (Ratatosk domain PRD)security-review (STRIDE mode — trade execution)eval-council (HEAVY — 6 investment-adapted personas)This is a non-negotiable automated gate. No human override for limit breaches.
| Check | Limit | Action on Breach | |-------|-------|-----------------| | Position size | Per-strategy max | BLOCK trade | | Portfolio concentration | Max % in single asset | BLOCK trade | | Daily drawdown | Max daily loss limit | BLOCK all trading | | Budget | Remaining budget check | BLOCK trade | | Calibration | Strategy calibration score | Reduce size or BLOCK |
Full structured audit entry:
{
"pipeline_run_id": "uuid",
"trade_id": "...",
"thesis_summary": "...",
"council_verdict": "approved",
"risk_gate": "passed",
"entry": { "price": 0, "size": 0, "time": "ISO8601", "exchange": "..." },
"exit_criteria": { "stop_loss": 0, "take_profit": 0, "time_exit": "ISO8601" },
"stride_summary": "...",
"calibration_score": 0
}
stop-slop (content mode on trade summary)| Trigger | Action | |---------|--------| | Risk limit breach | Immediate notification to Eric | | Council BLOCKED verdict | Trade cancelled, thesis logged for review | | Execution failure | Fix loop triggered, position check initiated | | Loss exceeds 2x expected | Post-mortem triggered, calibration review |
development
Orchestration skill: chains the full ADLC Build Loop. PRD → Brief → Council → Scaffold → Codegen → LDD → TDD → Council → PR. Use when implementing a new feature end-to-end.
development
# Skill: Helm & ArgoCD Deployment > Validates Helm charts and generates ArgoCD Application manifests when the ADLC pipeline produces infrastructure or service code. Ensures every deployable artifact has correct chart structure, environment-specific values, and a GitOps-ready Application manifest before code review. --- ## Why This Exists Without deployment validation in the pipeline, common failures slip through to production: - **Helm charts fail `helm template`** because of missing values,
testing
Decide whether an intersecting verifier actually exercises the semantic change.
development
# Skill: UX Flow Builder > Generates user flow diagrams (Mermaid) from PRD personas and screen specifications. Surfaces dead ends, missing screens, and disconnected flows before design or engineering starts. Helps PMs think in screens, not features. --- ## Trigger - Automatically during PRD Phase 4 (Personas & Flows) to visualize the user journey - On-demand when the PM says "show me the flow" or "map the user journey" - During PRD evaluation to verify screen connectivity --- ## Input ```