# Quantmind Dev

> Contributor workflow for the QuantMind codebase. Covers contributor setup (environment + hooks), filing issues, commit format, pull request format, and component development across quantmind/ modules (etl, knowledge, configs, preprocess, rag, flows, mind, utils) with tests, examples, and verification. Use when setting up as a contributor, filing an issue, committing, opening a PR, or implementing/refactoring QuantMind code.

- Skill: `llmquant/quantmind-dev` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add llmquant/quantmind-dev`
- Raw SKILL.md: https://api.skillmd.com/api/skills/llmquant/quantmind-dev/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: llmquant (https://skillmd.com/u/llmquant)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/llmquant/quantmind-dev

---


# QuantMind Dev

Development workflow for contributing to the QuantMind codebase.

## Start Here

1. Use the repository `contexts/README.md` to
   select the development context for this contribution.
2. Read the repository root `AGENTS.md` or `CLAUDE.md` for the stable
   architecture constraints and the module map.
3. Read `docs/README.md` when the task adds, changes, or uses a public
   operation or public-network source.
4. When creating, updating, or triaging an issue or pull request, use the
   canonical repository label guidance in `contexts/dev/labels.md`.
5. Before writing or editing any GitHub body, follow the canonical
   GitHub writing style in `contexts/dev/github-writing.md`, including
   its no-hard-wrap rule.
6. Pick exactly one workflow reference below; do not load the others.

## Select Workflow

- Setting up as a contributor (environment, hooks, first verify) →
  `references/setup.md`
- Filing an issue for a bug or a missing capability →
  `references/setup.md` ("File an Issue" section)
- Committing staged work → `references/commit.md`
- Opening or updating a pull request → `references/pull-request.md`
- Implementing or refactoring anything under `quantmind/` →
  `references/develop-components.md` (read it **before** writing code)
- Adding or editing a page under `contexts/` → `references/write-contexts.md`

A feature task usually chains all three: develop → commit → pull request.

## Rules

- `bash scripts/verify.sh` is the deterministic required verification. Run it
  before every push and before marking a PR ready. The required
  `.github/workflows/ci.yml` workflow runs the same harness.
- Public-network integrations have separate bounded smoke tests.
  `.github/workflows/e2e.yml` owns their scheduled, manual, and path-filtered
  component jobs. Run every applicable test listed in `docs/README.md` when
  changing that component and before publishing. External service availability
  must not block unrelated changes.
- Keep `docs/README.md` as the single catalog of component smoke-test commands.
  A new live component adds a component-specific
  `scripts/verify_<component>_e2e.py`, a named job in the existing `e2e.yml`,
  precise PR path coverage, and one catalog row. When multiple live jobs exist,
  use GitHub-native per-job change detection so only affected jobs run. Do not
  add a separate workflow, generic E2E runner or registry, or base E2E class.
- Never bypass pre-commit / pre-push hooks (`--no-verify`) unless the user
  explicitly authorizes it.
- New features ship with a unit test and a focused example (see
  `references/develop-components.md`).
- This skill is mirrored under `.agents/skills/quantmind-dev/` and
  `.claude/skills/quantmind-dev/`; the copies are identical. When changing
  the skill, update both in the same change.

## Boundaries

- This skill is for contributing to QuantMind itself. It does not cover
  using QuantMind as a library in your own project.
- Product decisions (new modules, new dependencies, API redesigns) need an
  issue and maintainer discussion first; do not encode them here.

