QSCMF framework intelligent dispatcher - automatically detects project version and routes to appropriate specialized skills. Use for ANY QSCMF-related tasks including version upgrades, backend CRUD development, admin panel generation, API development, database operations, and feature implementation. Triggers on QSCMF project context, qs_cmf framework references, or explicit requests for QSCMF development work.
QSCMF skill is the central coordinator that intelligently analyzes user intent and routes requests to specialized sub-skills with appropriate version parameters. It automatically detects the current QSCMF version from composer files and eliminates manual version specification.
Analyze the user's request to categorize into one of two primary intents:
Indicators: 升级, upgrade, update, migrate, 迁移, version numbers (v13, v14, v15), "从...到..."
Examples:
Indicators: 创建, 生成, 添加, 实现, build, create, generate, add, implement, 模块, module, CRUD, 后台, backend, admin, Controller, Model, API, 功能
Examples:
Execute version detection script to determine current project version:
php scripts/detect_version.php --format=json
Detection Priority:
composer.lock - reads exact installed version from tiderjian/qscmf packagecomposer.json - fallback to version constraint in require sectionVersion Format:
Output Example:
{
"version": "v14",
"source": "composer.lock",
"raw": "14.5.2"
}
qscmf-upgradeParameter Format: {source_version}_{target_version}
Examples:
qscmf-upgrade v13_v14qscmf-upgrade v14_v15qscmf-upgrade v13_v15Version Resolution:
Ambiguous Input Handling:
| User Input | Detected | Action | |------------|----------|--------| | "升级 qscmf" | v14 | Ask: "升级到哪个版本?(v15)" | | "帮我升级" | v14 | Ask: "升级到哪个版本?(v15)" | | "从 v13 升级" | v14 | Ask: "目标版本是?(v14/v15)" |
qscmf-backendParameter Format: {version}
Examples:
qscmf-backend v14qscmf-backend v15Version Resolution:
When version detection fails:
❌ composer.lock not found
❌ composer.json not found
Ask user:
"无法检测到 QSCMF 版本。请提供当前版本号 (v13/v14/v15)"
When auto-detected version contradicts user input:
| Detected | User Says | Action | |----------|-----------|--------| | v14 | "从 v13 升级" | Warn: "检测到当前版本 v14,但您提到 v13。是否继续从 v13 升级?" | | v14 | "v13 项目开发" | Warn: "检测到当前版本 v14,是否使用 v14 开发?" |
When workspace contains multiple QSCMF projects:
User Request
↓
Analyze Intent
↓
┌────────────────┐
│ Intent Type? │
└────────────────┘
↓
┌────────────┴────────────┐
↓ ↓
Upgrade? Development?
↓ ↓
Detect Current Detect Current
↓ ↓
Infer Target qscmf-backend
↓ ↓
qscmf-upgrade (with version)
{source}_{target}
/升级|upgrade|update|migrate|迁移/
/v\d+/
/从.*到/
/创建|生成|添加|实现|build|create|generate|add|implement/
/模块|module|CRUD|后台|backend|admin/
/Controller|Model|API|功能|feature/
PHP script that detects QSCMF version from composer files.
Usage:
# Text output (default)
php scripts/detect_version.php
# JSON output
php scripts/detect_version.php --format=json
Returns:
v14{"version": "v14", "source": "composer.lock", "raw": "14.5.2"}Complete decision logic reference including:
Load this reference when dealing with ambiguous user input or complex version scenarios.
This dispatcher coordinates with specialized skills:
Each sub-skill receives pre-detected version information, eliminating redundant version queries.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer