agentsclimarketplace

Template selector

Skill morning-start/agent-skills/process/doc-orchestrator/skills/doc-phase-planning/template-selector

Use when the user needs to choose the right documentation template for a document type or project context.From its SKILL.md

Install
npx -y skills add morning-start/agent-skills --skill template-selector

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.7 KB, 436 tokens by cl100k_base, as published. Nobody here has run it

Template Selector

职责

  • 根据文档类型从模板库选择对应模板
  • 根据项目类型选择平台特定的模板变体
  • 初始化模板变量
  • 输出模板路径和变量映射

输入

  • 文档清单(来自 doc-planner)
  • 项目 profile(project-profile.yaml)

输出

template_mappings:
  REQ-001:
    path: templates/requirements/srs.md
    variables:
      project_name: "..."
      version: "1.0.0"
      platforms: ["web"]
  REQ-002:
    path: templates/requirements/prd.md
    variables:
      project_name: "..."
      user_personas: [...]

选择规则

文档类型默认模板平台变体
requirement/srstemplates/requirements/srs.mdgame → templates/requirements/srs-game.md
requirement/prdtemplates/requirements/prd.mdmobile → templates/requirements/prd-mobile.md
architecture/sadtemplates/architecture/sad.mdweb/mobile/desktop/game
apitemplates/api/endpoint.mdrest/graphql/grpc
data/databasetemplates/data/database.mdmysql/postgresql/mongodb
quality/testtemplates/quality/test-strategy.mdfrontend/backend/mobile

变量初始化规则

  1. 从 project-profile.yaml 提取公共变量
  2. 从 requirement-parser 提取业务变量
  3. 未定义的变量标记为 {{?variable_name}}(可选)待后续补充

注意事项

  • 模板不存在时,使用最接近的模板并标注 warning
  • 变量名必须与模板中的占位符完全匹配
  • 支持模板继承和覆盖

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,569. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.