plugins/quickspec/skills/prd-loader/SKILL.md
内部步骤(Task 1),由 generator 编排器调用,不从用户直接触发。 分析用户原始输入,自适应选择工具加载 PRD 内容到工作目录。
npx skillsauth add hicaosen/skills prd-loaderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
分析用户原始输入,自适应选择工具加载 PRD 内容,生成功能名称,写入工作目录。
$ARGUMENTS 包含两个部分,以空格分隔:
{workspace}/prd-source.md从 $ARGUMENTS 中提取:
{workspace}通过观察输入特征来判断类型。以下是主要的识别模式,但不限于这些:
/、./、文件扩展名,或以 ~ 开头http:// 或 https:// 开头按以下优先级选择工具加载 PRD 内容:
选择第一个能成功加载的工具。如果首选工具失败,自动降级到下一优先级。
如果所有优先级的工具都无法加载:
加载内容后,根据 PRD 的核心目标生成一个简洁的 feature-name:
user-points-system)auth → user-auth)加载内容后执行基础验证:
将 PRD 内容写入 {workspace}/prd-source.md,顶部添加元数据头:
---
feature-name: <根据 PRD 目标生成的名称>
source-type: <实际使用的加载方式描述,如"本地文件"、"URL"、"内联文本">
loaded-at: <加载时间>
---
<PRD 原始内容>
使用 Write 工具写入文件。
读取 ${CLAUDE_PLUGIN_ROOT}/skills/prd-loader/references/quality-gate.md,逐项核对产出物 {workspace}/prd-source.md 是否满足所有验收标准。如有未通过的项,使用 Edit 工具修复产出文件后重新核对。最多重试 2 次,仍未通过则将未通过项记入返回状态的 issues 中。
完成所有工作后,输出以下格式的状态信息(不要包含其他内容):
[STATUS: success | partial | failed]
[OUTPUT: prd-source.md]
[FEATURE-NAME: <生成的 feature-name>]
[WARNINGS: 警告列表,没有则为 none]
[ISSUES: 阻塞问题列表,没有则为 none]
[SUMMARY: 一句话摘要]
development
VictoriaTraces HTTP API reference for querying distributed traces via Jaeger-compatible API. This skill should be used when searching traces, listing services/operations, getting trace details by ID, querying service dependencies, constructing HTTP requests to VictoriaTraces, or working with Jaeger API endpoints for distributed tracing analysis.
development
VictoriaMetrics HTTP API reference for querying metrics, exporting/importing data, TSDB stats, and administrative operations. This skill should be used when constructing HTTP requests to VictoriaMetrics, understanding query endpoints (/api/v1/query, /api/v1/query_range, /api/v1/export, /api/v1/import), response formats, checking cardinality, creating snapshots, or integrating with VictoriaMetrics API.
development
VictoriaLogs HTTP API reference for querying logs, hits stats, field discovery, live tailing, and log statistics. This skill should be used when constructing HTTP requests to VictoriaLogs, understanding query endpoints (/select/logsql/query, /select/logsql/tail, /select/logsql/hits, /select/logsql/field_names), response formats, or integrating with VictoriaLogs API for log search and analysis.
testing
PromQL query language fundamentals for Prometheus and Prometheus-compatible systems. Use for understanding PromQL instant/range vectors, label matchers, aggregation operators, offset/@ modifiers, or when targeting non-VictoriaMetrics Prometheus systems. For VictoriaMetrics-specific features like default_rollup, rollup, or outlier detection, use the metricsql skill.