بنقرة واحدة
help
DRIVER overview, available skills, and philosophy explanation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
DRIVER overview, available skills, and philosophy explanation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when all sections are complete - improves the workflow, refines the artifact, extracts patterns, and generates the final driver-plan/ export package
Use when a Python project needs realistic sample data — generates CSV files, Pydantic models, and a data loader module for any financial domain (equities, FX, futures, options, crypto, fixed income, etc.). For React projects, generates data.json and TypeScript types instead.
Use to cross-check implementation against known answers, reasonableness, edge cases, and AI-specific risks - evidence before claims
Use at session start for any product development work - establishes Cognition Mate relationship and DRIVER workflow
Use after /evolve to capture learnings - especially tech stack lessons and what didn't work
Use when ready to build a section - builds and runs code, showing results immediately (show don't tell)
| name | help |
| description | DRIVER overview, available skills, and philosophy explanation |
DRIVER™ is a methodology for building finance and quantitative analysis tools with AI assistance. It guides you from concept to completion through six stages.
Core principle: 互帮互助,因缘合和,互相成就
| Chinese | Pinyin | Meaning |
|---|---|---|
| 互帮互助 | hu bang hu zhu | Mutual help, helping each other |
| 因缘合和 | yin yuan he he | Causes and conditions coming together (interdependent arising) |
| 互相成就 | hu xiang cheng jiu | Accomplishing together, mutual achievement |
What this means in practice:
DEFINE (开题调研)
"What are we building? What already exists?"
开题 = Open the topic 调研 = Research/investigate
↓
REPRESENT
"How do we break this into buildable pieces?"
Roadmap, data model, sections
↓
IMPLEMENT
"Build it, run it, show it"
Show don't tell — code speaks louder than plans
↓
VALIDATE
"Cross-check your instruments"
Known answers, reasonableness, edges, AI blind spots
↓
EVOLVE
"Package the final deliverable"
Self-contained export, ready for production
↓
REFLECT (Optional)
"What did we learn?"
Capture tech stack lessons, especially failures
DRIVER uses a flat, easy-to-navigate file structure. All project files live in a single folder (default: my-project/, customizable via .driver.json):
Python (Streamlit) — Recommended for quant/finance:
repo-root/
├── .driver.json # Project config
├── [project-name]/ # DRIVER docs and specs
│ ├── README.md # You are here
│ ├── research.md # Created by /research or /define
│ ├── product-overview.md # Created by /define (your PRD)
│ ├── roadmap.md # Created by /represent-roadmap
│ ├── spec-[section].md # Created by /represent-section
│ ├── data-model.md # Created by /represent-datamodel
│ ├── validation.md # Created by /validate
│ └── reflect.md # Created by /reflect
├── app.py # Main Streamlit entry point
├── pages/ # Section pages (auto-discovered by Streamlit)
├── calculations/ # Core logic (pure Python, testable)
└── data/ # Data loading and samples
React + TypeScript — For web app UIs:
.driver.json # Project config (folder name, project type)
my-project/
├── README.md # Project overview and structure
├── research.md # Research findings (分头研究)
├── product-overview.md # Product definition (your PRD)
├── roadmap.md # 3-5 buildable sections
├── data-model.md # Core entities and relationships
├── validation.md # Cross-check results (all sections)
├── reflect.md # Learnings and retrospective
├── spec-[section-name].md # Section specifications
├── design/ # Web apps only
│ ├── tokens.json # Colors and typography
│ └── shell.md # Navigation shell spec
└── build/ # Implementation artifacts
└── [section-id]/
├── data.json # Sample data
└── types.ts # TypeScript interfaces
Human-readable documents live at the project root. Implementation artifacts live in build/ (React) or at the repo root (Python).
"Parallel research" — Before building anything, research what exists. You focus on your unique needs; AI researches existing libraries, papers, implementations.
很可能已经有类似的了 = "There's probably something similar already"
Don't explain what you'll build. Build it. Run it. Let them see it.
The fastest feedback loop: See result → Give feedback → Iterate → See updated result
Every DRIVER stage produces a markdown file — research.md, product-overview.md, roadmap.md, spec files. These are your shared mutable state:
Rule: If research, a plan, or a decision lives only in chat, it will get lost. Write it to a file.
After AI writes a plan or spec, don't just say "looks good." Review it in your editor:
This is where the real creative work happens. Implementation should be mechanical.
DRIVER uses Mermaid diagrams as standard visual documentation:
| Skill | Stage | Purpose |
|---|---|---|
/finance-driver:init | Setup | Initialize project structure |
/finance-driver:status | Any | Check progress, get suggestions |
/finance-driver:help | Any | This help page |
/finance-driver:research | Any | Lightweight 分头研究 — research libraries, approaches, references |
/finance-driver:define | DEFINE | Research and define vision |
/finance-driver:represent-roadmap | REPRESENT | Break into sections |
/finance-driver:represent-datamodel | REPRESENT | Define core entities |
/finance-driver:represent-tokens | REPRESENT | Colors/typography (web apps) |
/finance-driver:represent-shell | REPRESENT | Navigation shell (web apps) |
/finance-driver:represent-section | REPRESENT | Spec a section |
/finance-driver:implement-data | IMPLEMENT | Sample data (web apps) |
/finance-driver:implement-screen | IMPLEMENT | Build and run code |
/finance-driver:validate | VALIDATE | Cross-check: known answers, reasonableness, edges, AI risks |
/finance-driver:evolve | EVOLVE | Generate export package |
/finance-driver:reflect | REFLECT | Capture learnings |
UI: Streamlit (or Dash/Panel)
Backend: FastAPI + Pydantic
Calculations: NumPy, Pandas, SciPy
Finance: numpy-financial, QuantLib
Data Sources: See README for tiered recommendations
LLM-Native: financialdatasets.ai, Alpha Vantage, EODHD
MCP Available: Polygon.io, S&P Global/Kensho
Free (verify): yfinance, FRED
Storage: SQLite → PostgreSQL, Parquet files
Testing: pytest + Hypothesis
Data Quality Matters: For LLM-driven development, use MCP-native data providers (financialdatasets.ai recommended). Free sources like yfinance may have gaps, delays, or inaccuracies.
Why Python over TypeScript for quant work:
streamlit run app.py vs npm/webpack complexitynp.divide(..., where=b!=0) vs manual guards everywhere| Project | Style | Key Libraries | Data Source |
|---|---|---|---|
| DCF Valuation Tool | Damodaran | numpy-financial | financialdatasets.ai |
| Portfolio Optimizer | Markowitz | PyPortfolioOpt, scipy.optimize | Professional feed |
| Factor Research | Open Source AP | pandas, statsmodels, alphalens | WRDS, CRSP |
| Risk Dashboard | VaR/CVaR | scipy.stats, matplotlib | Professional feed |
| Data Pipeline | ETL | pandas, SQLAlchemy | Multiple sources |
/finance-driver:init or just describe what you want to build/finance-driver:status to see where you are| Stage | Iron Law |
|---|---|
| DEFINE | NO BUILDING WITHOUT 分头研究 FIRST |
| REPRESENT | PLAN THE UNIQUE PART — DON'T REINVENT |
| IMPLEMENT | SHOW DON'T TELL — BUILD AND RUN IT |
| VALIDATE | CROSS-CHECK YOUR INSTRUMENTS — four checks, every time |
| EVOLVE | SELF-CONTAINED DELIVERABLE |
| REFLECT | CAPTURE WHAT DIDN'T WORK |