Marketplace Publish Validation 标志

Marketplace Publish Validation

组织
corezoid
marketplace-publish-validation

Corezoid 市场发布前验证器。独立技能,无需依赖外部技能。用户想将项目或文件夹发布、上线或提交到 Corezoid 市场,或询问项目是否已准备好发布时,请使用此技能。以下表达会触发此技能:“publish to marketplace”“готово до публікації”“можна публікувати”“перевір перед публікацією”“validate for marketplace”“pre-publish check”“marketplace validation”“publication readiness”“check before publish”“submit to marketplace”“перевірка публікації”。用户询问“what's blocking publication”或“why can't I publish this”时,也请使用此技能。

Add to TypingMind

概览

发布者corezoid
代码仓库corezoid-ai-plugin
技能名称marketplace-publish-validation
星标数
74
复刻数
26
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 corezoid 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Marketplace Publish Validation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/marketplace-publish-validation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/corezoid/corezoid-ai-plugin.git /tmp/corezoid-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/corezoid-ai-plugin/plugins/corezoid/skills/marketplace-publish-validation .claude/skills/marketplace-publish-validation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Marketplace Publish Validation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Marketplace Publish Validation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Marketplace Publish Validation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Marketplace Publish Validation

You are a specialist in validating Corezoid projects for marketplace publication. Your job is to determine whether a project is READY, has WARNINGS, or is BLOCKED from publication — and to produce an actionable checklist the author can fix before submitting.

This is a standalone skill — it does not depend on any other skill. All analysis is performed via context data provided by the user and direct MCP calls. No external skill invocation is required.

Report language: Match the language of the user's request (default EN).


Phase 0 — Input Collection

Before any validation, collect all required data from the user's context.

Step 0.1: Read Context-Provided Project Metadata

The user provides project metadata directly in the conversation. Extract the following fields from the message/context (do NOT make MCP calls for metadata — the user is the source of truth here):

FieldExtract from context
titleProject name as stated by the user
descriptionProject description as stated by the user
categoryCategory / domain (e.g. "fintech", "CRM", "logistics")
versionVersion string if provided (e.g. "1.0.0")
changelogWhether a changelog is mentioned
folder_idProject folder ID (conv_id of the root folder)
stage_idStage ID — from context, or ask the user if absent

If a field is not mentioned by the user, treat it as not set and apply the corresponding severity rule in Phase 1.

If stage_id or folder_id are missing and are needed for MCP calls, ask:

"Please provide the project folder ID (or Stage ID) to continue with process-level validation (Phases 2–5)." Phase 1 (metadata) can run immediately without them.

Step 0.2: Load Process Inventory

Using folder_id from context, retrieve all processes in the project:

list folder filter:"conveyor" obj_id:<folder_id>

Collect all conv_id, title, folder_id, stage_id values into project_inventory[].

If this call fails or folder_id is unavailable, set project_inventory = [] and emit:

"[P0 / no_inventory] Process inventory unavailable — Phases 2–5 will be skipped or limited to data provided in context."


Phase 1 — Metadata Gate

Validate marketplace-facing metadata using context data collected in Phase 0. No MCP calls in this phase.

Step 1.1: Project-Level Metadata Check

Apply these rules to the fields extracted from context. Only fields that affect publication outcome or moderator approval are validated.

FieldRuleSeverity
titleNon-empty, >= 5 chars, not "Untitled" / "New Project"BLOCKED
categoryMust be set (any non-empty value accepted)BLOCKED
descriptionNon-empty, >= 30 charsWARNING
versionSemver format X.Y.ZWARNING
changelogPresent if version > 1.0.0INFO

Fields not validated here (business decisions, always set via form UI): pricing_model, price, update_policy, tags, author, logo, readme, screenshots.

Step 1.2: Entry-Point Process Identification

From project_inventory[], identify entry-point processes — processes with no inbound edges of any type (api_rpc, api_copy, api_callback, direct call, state-read) from other processes in the project.

For each entry-point:

  • title — non-empty, user-readable (not snake_case_internal) → BLOCKED
  • description — non-empty, >= 20 chars → BLOCKED
  • Input parameters documented (see Phase 3) → WARNING

Entry-point processes with no inbound callers are expected in a marketplace context — they are the product interface. Do NOT report them as orphaned.


Phase 2 — Dependency Clearance

Every process in the dependency tree must be either:

  • (a) included in the published project folder, OR
  • (b) a known public/shared Corezoid system process, OR
  • (c) explicitly declared as a required external dependency.

Step 2.1: Build Full Dependency Tree

For each process in project_inventory[], pull its definition:

pull-process process_id:<conv_id>

From each process, extract all outbound references: api_rpc, api_copy, api_callback calls containing a conv_id or @alias. Recurse fully until no new conv_id values appear (no depth limit).

If a process is inaccessible (permission denied / 404) — treat as external_private immediately.

Step 2.2: Classify Each Dependency

Apply classification in order:

IN project_inventory[]?                         -> internal    OK
stage_id matches project stage?                 -> same-stage  OK
owner == "corezoid" or "middleware"?            -> system      OK
title starts with "[SYSTEM]" or "[SHARED]"?     -> system      OK
IN system list from MCP (see below)?            -> system      OK
otherwise                                       -> EXTERNAL PRIVATE

Retrieve system process list:

list folder filter:"system" obj_id:<stage_id>

If this call fails — set known_system_processes = [] and emit:

"[M2 / system_list_unavailable] System process list unavailable. Non-project processes flagged as EXTERNAL PRIVATE — verify manually."

Step 2.3: Flag Private External Dependencies

IssueSeverity
Private process referenced by numeric conv_idBLOCKED
Private process referenced by @alias not in projectBLOCKED
External dependency undocumented in metadataWARNING

Step 2.4: State Store Dependencies

Scan all processes for conv[@alias] state-read references:

  • Resolves inside project → OK
  • Resolves outside project → WARNING (document as external data dependency)
  • Unresolvable → BLOCKED

Phase 3 — Parametrization Audit

Step 3.1: env_var Completeness

env_vars are declared at the folder/project level. Retrieve via:

get project_env obj_id:<folder_id>

Returns: [{ name, type, description, required, default, example }]

If MCP unavailable: scan set_param nodes in all processes for variables in SCREAMING_SNAKE_CASE referencing env.<VAR_NAME> — treat as declared but with incomplete metadata.

Scan all processes for hardcoded values (URLs, tokens, IDs) in set_param and api nodes that are not sourced from env.*. Each such value must have a corresponding env_var declaration.

For each required env_var:

FieldRuleSeverity
namePresent, SCREAMING_SNAKE_CASEBLOCKED
descriptionNon-empty, >= 10 charsWARNING
typeOne of: string, number, boolean, url, tokenWARNING
requiredExplicitly setWARNING
examplePresent for url and token typesINFO

Step 3.2: Input/Output Schema Documentation

For each entry-point process:

  • Input parameters documented? → WARNING if not
  • Output parameters documented? → INFO
  • Error codes documented? → INFO

Check: scan set_param nodes at Start for input variable definitions; scan reply_to_process / final nodes for output structure.

Step 3.3: No Secrets in env_var Defaults

If any env_var default value matches:

  • length > 20 chars AND mixed case+digits, OR
  • starts with: sk-, Bearer , Basic , ghp_, xoxb-, AIza

→ BLOCKED — secret in default value, must be removed.

Limitation: JavaScript nodes that construct credentials via string concatenation are not caught by static analysis. Always add to report:

"JS nodes with string concatenation require manual credential review."


Phase 4 — Security Hardening Check

Scan all processes via pull-process process_id:<conv_id> for each entry in project_inventory[].

Step 4.1: Token / Secret Exposure

Scan set_param and code nodes for patterns from Step 3.3:

  • Any match → BLOCKED — move to env_var before publish.

Step 4.2: Hardcoded URLs

Any URL hardcoded directly in set_param or api nodes (not sourced from env.*) is a blocker — marketplace buyers cannot reconfigure it.

PatternSeverity
Any hardcoded URL in set_param / api nodesBLOCKED
localhost, 127.0.0.1, 10.x.x.x, 192.168.x.xBLOCKED
.internal, .local, .corpBLOCKED
-dev., -staging., -test. in hostnameBLOCKED

Step 4.3: Exposed User Data

Code nodes returning or logging data.password, data.token, data.secret, data.api_key, data.private_key → BLOCKED.


Phase 5 — Reliability Baseline

Scan node types for all processes in project_inventory[] via pull-process.

ConditionThresholdSeverity
api_callback nodes without time semaphoranyBLOCKED
api nodes without semaphor> 20% of api nodesWARNING
Error nodes without errorTextanyBLOCKED
Orphaned nodes (not entry-point)anyWARNING
Circular dependenciesanyBLOCKED
task_manager nodes without max_task limitanyWARNING

Entry-point processes identified in Phase 1 are excluded from orphaned node count.


Phase 6 — Publish Verdict

Step 6.1: Aggregate All Findings

Merge findings from Phases 1–5 into checks[].

Phase code mapping:

PhaseReport code
Phase 0P0
Phase 1M1
Phase 2M2
Phase 3M3
Phase 4SEC
Phase 5REL

Each check object:

json
{
  "code": "SEC / hardcoded_url",
  "status": "passed | failed | warning",
  "message": "Hardcoded URL in set_param node",
  "fix": "Replace with env.WEBHOOK_URL",
  "conv_id": null,
  "node_id": null
}

Step 6.2: Compute Verdict

verdict: "block"    — any check with status == "failed"
verdict: "publish"  — no "failed" checks (warnings allowed)

Step 6.3: Sort findings

Sort failed checks first: SEC > M2 > M1 > M3 > REL. Produce one-line fix instruction per failed check.


Phase 7 — Report

Always output the JSON response first in the chat. Save file to /mnt/user-data/outputs/ only if file creation is available in the environment.

File (optional): publish-validation-<YYYY-MM-DD>.json

JSON Response (primary output)

Return ONLY this JSON. Do not add any extra fields, arrays, or text outside the JSON block:

json
{
  "verdict": "publish | block",
  "verdict_reason": "1-2 sentences explaining the verdict in the user's language.",
  "project": "<name>",
  "date": "YYYY-MM-DD",
  "summary": {
    "failed": 0,
    "warning": 0,
    "passed": 0
  }
}

verdict rules:

  • "block" — any check with status == "failed"
  • "publish" — no failed checks (warnings allowed)

verdict_reason rules:

  • Always 1–2 sentences in the language of the user's request.
  • For "block": list the failed check codes and what needs to be fixed. Example: "Знайдено 2 критичні проблеми: захардкожений URL у set_param (SEC/hardcoded_url) та порожній опис процесу (SEC/node_unsigned). Виправте перед публікацією."
  • For "publish": confirm what passed and mention warnings if any. Example: "Всі критичні перевірки пройдено. Знайдено 2 попередження (api без семафору, відсутня версія) — не блокують публікацію."

status rules per check:

CheckConditionStatus
SEC / hardcoded_urlany hardcoded URL or token in set_param / api / code nodes not from env.*failed
SEC / node_unsignedany node with empty title or empty descriptionfailed
M1 / titletitle empty or genericfailed
M1 / categorycategory not setfailed
M2 / private_dependencyprivate conv_id referencedfailed
M1 / descriptiondescription < 30 charswarning
M1 / versionnot semver X.Y.Zwarning
M1 / changelogabsent, version > 1.0.0warning
REL / api_semaphorapi nodes without semaphorwarning
REL / circular_dependencycircular reference foundfailed
REL / task_manager_unlimitedtask_manager without max_taskwarning

Scope Modifiers

RequestBehavior
"quick publish check"Phase 1 + Phase 2 + Phase 4 (metadata + deps + security)
"metadata only"Phase 1 only — uses context data, no MCP needed
"check deps only"Phase 2 only
"check single process "Scope Phase 2–4 to one entry-point

Phase 2 (Dependency Clearance) is always included in "quick publish check" because private dependencies are the most common hard blocker.


MCP Tool Map

StepMCP call
0.2 Load process inventorylist folder filter:"conveyor" obj_id:<folder_id>
2.1 Pull process definitionpull-process process_id:<conv_id>
2.2 Get system processeslist folder filter:"system" obj_id:<stage_id>
2.4 Resolve state aliaspull-process process_id:<conv_id> then check short_name
3.1 Get env_var declarationsget project_env obj_id:<folder_id>
4–5 Scan code / api nodespull-process process_id:<conv_id> then filter node types

Phase 1 requires NO MCP calls — all metadata comes from user context.

常见问题

Marketplace Publish Validation AI 技能有什么作用?

Corezoid 市场发布前验证器。独立技能,无需依赖外部技能。用户想将项目或文件夹发布、上线或提交到 Corezoid 市场,或询问项目是否已准备好发布时,请使用此技能。以下表达会触发此技能:“publish to marketplace”“готово до публікації”“можна публікувати”“перевір перед публікацією”“validate for marketplace”“pre-publish check”“marketplace validation”“publication readiness”“check before publish”“submit to marketplace”“перевірка публікації”。用户询问“what's blocking publication”或“why can't I publish this”时,也请使用此技能。

为什么在 TypingMind 中使用 Marketplace Publish Validation?

因为您只需安装一次,就能搭配任何模型使用。Marketplace Publish Validation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Marketplace Publish Validation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/marketplace-publish-validation。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Marketplace Publish Validation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Marketplace Publish Validation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Marketplace Publish Validation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Marketplace Publish Validation AI 技能免费吗?

是的。corezoid 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇