nq-dh-workflow-router

star 0

Decision Hub and NexusQuant workflow router. Use before every DH/NQ Codex task to classify task type, select allowed plugins, restrict scope, enforce output format, and preserve DH/NQ safety boundaries, especially documentation, code analysis, code change, security audit, agent API, integration planning, product design, and presentation work.

ling5477 By ling5477 schedule Updated 6/6/2026

name: nq-dh-workflow-router description: Decision Hub and NexusQuant workflow router. Use before every DH/NQ Codex task to classify task type, select allowed plugins, restrict scope, enforce output format, and preserve DH/NQ safety boundaries, especially documentation, code analysis, code change, security audit, agent API, integration planning, product design, and presentation work.

NQ DH Workflow Router

Purpose

Use this skill as the first step for Decision Hub and NexusQuant work. It classifies the task, narrows file scope, selects the plugin route, and blocks unsafe integration or trading actions.

Startup Scope

Before execution, explicitly identify:

repository
module
target files
excluded files
expected output

Do not scan these directories unless the user explicitly names a file inside them and the current gate allows it:

node_modules
target
build
dist
.git
logs
test-results
secrets
credentials

Do not read, copy, commit, or print these sensitive materials:

token
cookie
API key
API secret
exchange secret
production .env
private key
mnemonic
keystore password
2FA backup code

Do not treat archived, historical, or superseded documents as current source of truth. Unless the user explicitly requests historical comparison, use the current sections in STATUS.md, AGENTS.md, CODEX_PROJECT_INSTRUCTIONS.md, and WORK_ORDER.md. Historical Stage documents may provide background only and must not become the current next task automatically.

Required Classification

Choose exactly one primary classification:

DOCUMENTATION
CODE_ANALYSIS
CODE_CHANGE
SECURITY_AUDIT
AGENT_API
NQ_INTEGRATION_PLAN
PRODUCT_DESIGN
PRESENTATION

If a task mixes categories, choose the highest-risk category in this order:

SECURITY_AUDIT > AGENT_API > NQ_INTEGRATION_PLAN > CODE_CHANGE > CODE_ANALYSIS > PRODUCT_DESIGN > PRESENTATION > DOCUMENTATION

Plugin Route

DOCUMENTATION        GitHub + Documents + Notion
CODE_ANALYSIS        GitHub
CODE_CHANGE          GitHub + CodeRabbit
SECURITY_AUDIT       GitHub + Codex Security + CodeRabbit
AGENT_API            GitHub + OpenAI Developers + Codex Security
NQ_INTEGRATION_PLAN  GitHub + Documents + Codex Security
PRODUCT_DESIGN       Figma + Product Design
PRESENTATION         Presentations + Documents + Canva

Plugin selection does not grant permission to connect external systems, read secrets, access databases, or mutate NQ/DH production state. Use local files first unless the user explicitly authorizes a connector workflow and it is within the current gate.

DH Safety Boundary

Treat DH as a multi-agent decision system only:

Allowed:
  research
  analysis
  candidate signals
  risk explanations
  audit records
  structured reports

Forbidden:
  order placement
  order cancellation
  strategy state mutation
  Paper Run start
  LIVE trading
  exchange credential access
  direct NQ DB read/write
  NQ mutation
  NQ RealClient
  real provider

Any future DH to NQ connection must start with Integration-0-PLAN.

Integration-0 is plan-only and may cover only:

read-only boundary
contract freeze
permission model
audit model
field classification
error-code matrix
replay protection design

It must not implement real business integration.

Required Output Format

Every response must use these fields:

Task classification:
Plugins selected:
Scope:
Files inspected:
Files changed:
Findings:
Validation:
Risks:
Next concrete action:

Do not make Summary a required field. Put conclusions in Findings; put next work in Next concrete action.

Validation Checklist

Before closing a task, verify:

nq-dh-workflow-router was considered before task execution.
Task classification is present.
Plugins selected matches the classification.
Scope does not exceed the user-approved files and current gate.
Files inspected and files changed are explicit.
Findings is used instead of Summary.
NQ integration is not described as started or completed unless a gate explicitly says so.
RealClient, real provider, LIVE trading, NQ mutation, NQ DB access, and secret access remain forbidden.
Business code was not changed for DOCUMENTATION tasks.
Install via CLI
npx skills add https://github.com/ling5477/decision-hub --skill nq-dh-workflow-router
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator