Skip to content

Latest commit

 

History

History
118 lines (87 loc) · 4.93 KB

CONTRIBUTING.md

File metadata and controls

118 lines (87 loc) · 4.93 KB

Contributing to LLMQuant Skills

LLMQuant Skills is the workflow layer for LLMQuant Data. Contributions should make agents better at using LLMQuant Data with clear reasoning, explicit evidence, and reproducible outputs.

What To Contribute

  • Category routers: skills/llmquant-*/SKILL.md files that choose the right workflow and enforce the LLMQuant Data contract.
  • Workflow files: repeatable research, trading, risk, or portfolio procedures under workflows/*.md.
  • Scripts: optional executable helpers under a category scripts/ directory.
  • Assets: templates, sample output skeletons, and reusable resources under assets/.

Required Contract

Every category skill must include:

  • A folder name beginning with llmquant-.
  • A root SKILL.md router with input_data_source: LLMQuant Data frontmatter.
  • A workflow index linking every workflow in workflows/.
  • Routing rules that tell the agent to load only the relevant workflow.
  • Data requirements described as natural-language capabilities, not exact MCP tool names in frontmatter.
  • Freshness rules: dates, filing periods, observation dates, and stale-data notices must be reported.
  • Fallback rules for missing coverage, unsupported tickers, unavailable filing sections, or stale data.
  • Guardrails that prevent invented data or unsupported conclusions.

Every workflow file must include:

  • The user intent it handles.
  • Required and optional data capabilities, including future LLMQuant Data capabilities if the workflow needs data not yet exposed.
  • A repeatable procedure.
  • A structured output format.
  • Clear data and reasoning boundaries.

File Layout

Use one folder per category skill:

skills/llmquant-<category>/
├── SKILL.md
├── workflows/
│   └── <workflow-name>.md
├── scripts/
└── assets/

The category folder is the install/import unit for Claude Code, Claude.ai, Cursor, and Codex. Do not add standalone SKILL.md files outside skills/llmquant-*/.

Use templates/SKILL_TEMPLATE.md for a category router and templates/WORKFLOW_TEMPLATE.md for a workflow file. For Chinese documentation, maintain the repo-level README.zh-CN.md first rather than duplicating every workflow.

Quality Bar

Good workflows are narrow, repeatable, and evidence-first. A reviewer should be able to answer:

  • What question does this workflow answer?
  • Which data capabilities does it need?
  • What order should the agent retrieve or request those data inputs in?
  • What evidence must be shown in the final answer?
  • What should the agent do when data is missing?
  • What should the output look like?

Avoid vague prompts, generic investment advice, or workflows that rely on unstated data.

Pull Request Checklist

  • Category folder is named llmquant-*.
  • Root SKILL.md exists and routes to the workflow.
  • Workflow file added or updated under workflows/.
  • input_data_source: LLMQuant Data is present.
  • Required data capabilities are described in natural language.
  • Missing or future data capabilities are explicitly named.
  • Freshness and fallback behavior are explicit.
  • Output format is structured.
  • README tables are updated if a category or major workflow is added, removed, or renamed.

PR Title & Commit Conventions

This repo follows Conventional Commits. A GitHub Action (.github/workflows/pr-title.yml) validates every PR title. If the repo squash-merges, the PR title becomes the squash commit subject on main, so only the PR title needs to follow the format — individual commits on a branch are unconstrained.

Format

<type>(<scope>): <subject>

Types

type when to use
feat new category skill, new workflow, new capability
fix bug in a skill, workflow, or script; broken link; misrouting
docs README, CONTRIBUTING, comments, templates
refactor restructure an existing skill/workflow without changing behavior
chore repo maintenance, scaffolding, dependency bumps
ci workflows, lint config
style formatting, whitespace, pure layout

Scopes (optional)

A category short name (the llmquant-* folder without the prefix, e.g. options, macro, crypto) or a cross-cutting area: templates · ci · infra · readme · zh-CN. Small PRs may omit a scope.

Subject

  • Imperative mood, lowercase first word (add, not Added).
  • No trailing period.
  • Fit within ~72 characters.

Examples

  • feat(options): add iv-term-structure workflow
  • fix(macro): correct fallback when CPI release is missing
  • docs: add issue and PR templates
  • ci: enforce conventional-commit PR titles