Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

cli-forge-scaffoldCLI forge scaffold 命令行

Agent Skill

cli-forge-scaffold 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

816

周安装

33

GitHub Stars

公开资料未说明

下载量

256
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cli-forge-scaffold(CLI forge scaffold 命令行)
来源仓库:https://github.com/bytelandtechnology/cli-forge
仓库路径:skills/cli-forge-scaffold
安装命令:
npx skills add https://github.com/bytelandtechnology/cli-forge --skill cli-forge-scaffold
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bytelandtechnology/cli-forge --skill cli-forge-scaffold

简介

cli-forge-scaffold 根据批准的 cli-plan.yml 和模板生成新的 Rust CLI Skill 项目基线代码。

  • 适合从零创建技能项目,严格遵循蓝图而不做设计决策。
  • 需确保 cli-plan.yml 存在且有效,否则无法启动生成流程。
  • 安装前建议备份现有目录,防止模板覆盖重要文件。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

cli-forge Scaffold

Use this stage when the work is to create a brand-new Rust CLI Skill project from the baseline templates, and the detailed CLI contract (Plan) has already been explicitly defined and approved.

Purpose

Generate the baseline codebase for a new skill using the approved cli-plan.yml and the authoritative templates.

This stage does not make design decisions; it strictly follows the blueprint provided by the Plan stage.

Canonical References

Entry Gate

#CheckSource
1cli-plan.yml exists and is approvedPlan stage
2skill_name is knownPlan stage
3Target project directory DOES NOT existFilesystem

Required Inputs

  • skill_name
  • Approved cli-plan.yml
  • Optional author, version, rust_edition

Workflow

  1. Run the pre-checks from ./instructions/new.md: require the skill name, verify cli-plan.yml, and refuse to overwrite an existing directory.
  2. Create the directory structure.
  3. Expand the templates from ./templates/ EXACTLY as defined by cli-plan.yml and the instruction file, restoring any install-safe dot-* resource alias to its intended dot-prefixed output path.
  4. Verify that no {{token}} placeholders remain unresolved.
  5. Run the required verification commands from the generated project root:

- cargo build - cargo clippy -- -D warnings - cargo fmt --check - cargo test

  1. Confirm the generated package layout stays within the documented boundary: baseline generated files plus feature-local support files. Repository-owned CI workflows and release scripts stay outside the generated project until Publish.
  2. Generate .cli-forge/scaffold-receipt.yml using the template at ./contracts/scaffold-receipt.yml.tpl.

Outputs

  • A new Rust CLI package directory
  • .cli-forge/scaffold-receipt.yml

Exit Gate

#Check
1All templates expanded with no unresolved tokens
2cargo build passes
3cargo clippy -- -D warnings passes
4cargo fmt --check passes
5cargo test passes
6scaffold-receipt.yml generated

Guardrails

  • Use templates EXCLUSIVELY from the bundled ./templates/ directory for this stage. Do not reach outside this skill package for scaffold templates.
  • Treat dot-* resource names inside ./templates/ as install-safe aliases only. Generated outputs must restore the intended dot-prefixed filename.
  • Do not improvise project structure or dependencies. Everything must be tied back to the cli-plan.yml.
  • The scaffold baseline generates a working one-shot CLI only. Optional capabilities (repl, stream, daemon) are not included in the baseline and must be added by the Extend stage (../cli-forge-extend/SKILL.md) after the baseline project is verified. If cli-plan.yml marks any capability as in_scope, proceed with baseline generation, record the deferred capabilities in scaffold-receipt.yml under deferred_capabilities, and inform the user which features require the Extend stage next.
  • If any Cargo verification step fails, block the workflow and fix the scaffolded files before handing the work forward.

Next Step

If scaffold-receipt.yml lists deferred capabilities, use AskUserQuestion to prompt before handing off. Offer to run extend immediately for each deferred capability. If the user confirms, invoke extend for each deferred capability in order. If the user declines, fall back to enumerating the exact /cli-forge-extend invocation for each (see instructions/new.md Capability Deferral). Otherwise, continue with ../cli-forge-validate/SKILL.md to run the full compliance rule set.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.61%
按下载量换算89

Claude

27.81%
按下载量换算71

Cursor

19.15%
按下载量换算49

Gemini CLI

9.45%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills