跳到主要内容
知仓学习社ZHICANG

runtype-templates

Create, validate, or package distributable Runtype FPO templates and their setup requirements.

联网无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少2 个文本文件,5 KB
它会碰到什么联网
命中总数1 处
命中统计严重 0 · 高 0 · 中 0 · 低 1

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Runtype Templates

Use this skill when a Runtype product should become a portable artifact that another

workspace, team, customer, or marketplace user can import.

Source Of Truth

When MCP is available, fetch current schema docs before writing or validating templates:

  • get_platform_documentation(topic="product-schema")
  • get_platform_documentation(topic="types-fpo")
  • get_platform_documentation(topic="surface-types")
  • get_platform_documentation(topic="flow-step-types")
  • get_platform_documentation(topic="builtin-tools")
  • get_platform_documentation(topic="orthogonal-tools")
  • get_platform_documentation(topic="external-tools")
  • Direct resource when available: runtype://types/fpo-template
  • Direct resource when available: runtype://types/surface-configs

Prefer the live MCP docs over this skill's local fallback references.

For the template wrapper itself, read runtype://types/fpo-template; for the

wrapped productObject, read types-fpo because the current FPO default is

version 2.0.

Set Up A Product From A Link

When a user provides a use.runtype.com/now?... quick-start URL, a

runtype.com/examples/<slug> page, or a direct FPO/template JSON URL, do not open the

login-gated dashboard page. Pass the original link directly to

create_product_from_example as url (or use a known slug from

list_example_templates).

  1. Supply import-time values through the tool's variables argument. If required

variables are missing, ask for the returned values and retry.

  1. Draft examples require allow_draft: true; use it only when the user intends to

install that draft.

  1. Call get_product_setup with the created product id. Complete automatable setup and

return the remaining secret, OAuth, or surface-install URLs to the user.

  1. Test the result at its user-facing layer. For an agent, call execute_agent with a

messages array of { "role": "user", "content": "..." } turns.

Template Shape

An FPO template wraps a product object and import-time variables:

  • productObject: the full product definition.
  • template.variables: non-secret values the importer supplies.
  • Tool auth.setupRequired: true plus auth.secrets[]: pending-secret declarations.

Template variables are for names, public URLs, recipient lists, selected models, and other

non-secret configuration. Credentials must use the pending-secret pattern.

Pending Secrets

Use this pattern for every credential:

  1. Declare the needed key on the target tool's auth.secrets array.
  2. Set auth.setupRequired: true.
  3. Reference the key in config as {{secret:KEY}}.
  4. Leave the actual value out of the template.
  5. Let the import/setup flow create needs_configuration secret bindings.

Do not use a template.variables entry with inputType: "secret" for credentials. That

substitutes the value into the resolved product object.

Validation Workflow

  1. Resolve template defaults, or supply test values for required variables.
  2. Run validate_product on the resolved product object.
  3. Run focused validators for changed parts: validate_product_tool,

validate_product_flow, validate_product_agent, and validate_product_surface.

  1. Confirm every route references a real capability id.
  2. Confirm every secret reference has a matching pending-secret declaration.
  3. Confirm importer-visible variables are few and meaningful.

Anti-Patterns

  • Hardcoded API keys, tokens, client secrets, or bearer values.
  • Too many variables. Every variable is setup friction.
  • Workspace ids, runtime ids, or surface keys as template variables.
  • Partial product schemas with a note that validation still needs work.
  • Using templates for one-off private account updates. Use runtype-admin instead.

If the umbrella runtype skill is installed alongside this focused skill, its durable

references provide deeper FPO template details. This skill must still work when

installed by itself; prefer live MCP docs over local sibling files.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。