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

cli-forge-extendCLI forge extend 命令行

Agent Skill

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

总安装

824

周安装

33

GitHub Stars

公开资料未说明

下载量

267
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

cli-forge-extend 用于向现有 Rust CLI Skill 项目添加可选能力,如 JSON 流、交互式终端或后台守护进程。

  • 适合在已有项目基础上扩展功能模块并同步到 cli-plan.yml 合同。
  • 需基于 approved cli-plan.yml 注入模板、更新测试并验证集成。
  • 安装前应确认项目结构是否符合脚手架布局,避免破坏现有逻辑。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

cli-forge Extend

Use this stage when a generated Rust CLI Skill project, or a takeover-adopted project that already matches the scaffold-compatible file layout, requires optional capabilities like JSON streaming (stream), interactive terminal sessions (repl), or background app-server daemon execution (daemon).

Purpose

Add optional feature modules to an existing project.

This stage expands feature-specific templates, injects the necessary hooks into the main program flow, updates tests, and synchronizes the capability state back to the cli-plan.yml contract.

Canonical References

Entry Gate

#CheckSource
1Target project directory existsFilesystem
2Scaffold baseline exists, or takeover baseline is scaffold-compatibleFilesystem
3Requested feature is stream, repl, or daemonUser/Router
4Feature is explicitly marked in_scope in cli-plan.ymlPlan
5Feature is not already added (idempotency check)Filesystem

Required Inputs

  • project_path
  • feature (stream, repl, or daemon)
  • Details for updating the cli-plan.yml

Workflow

  1. If the project lacks both scaffold-receipt.yml and takeover-receipt.yml, stop and route back to Takeover for baseline establishment or refresh. Treat that path as the supported way to create a takeover baseline for an existing project whose contracts may already exist, not as a first-time-only adoption path.
  2. If the project only has takeover-receipt.yml, continue only when the adopted repository already contains the scaffold-compatible files this stage patches directly and the overlay-required API/dependency surface: Cargo.toml, SKILL.md, src/main.rs, src/lib.rs, src/help.rs, and src/context.rs; tests/cli_test.rs should also be present when the generated feature workflow is expected to patch the integration tests directly. src/context.rs must expose the scaffold-style context/runtime helpers the overlays call, including resolve_runtime_locations. For REPL compatibility, the adopted dependency surface must also already include rustyline plus the context API consumed by repl.rs.tpl. If those files or required surfaces are missing, stop and tell the user normalization or manual implementation is required; do not route back to Takeover.
  3. If the feature is missing or listed as out_of_scope in cli-plan.yml, route back to the Plan stage to update the CLI contract first. Do not add code before the plan allows it.
  4. Follow ./instructions/add-feature.md.
  5. Expand exactly the requested templates from ./templates/ (e.g., stream.rs.tpl, repl.rs.tpl, or daemon.rs.tpl).
  6. Run integration updates safely:

- add the relevant flags to the args struct - wire the subsystem branch into the match loop - add matching struct format assertions in tests - update standard SKILL.md boundaries, help text, and README wording

  1. Require explicit compiler safety at every step using cargo clippy.
  2. Run the required verification boundaries from the generated project root:

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

  1. Ensure cli-plan.yml correctly reflects the added capability as in_scope.
  2. Generate .cli-forge/extend-receipt.yml using the template at ./contracts/extend-receipt.yml.tpl.

Outputs

  • Extended source code and documentation
  • Updated .cli-forge/cli-plan.yml
  • .cli-forge/extend-receipt.yml

Exit Gate

#Check
1Feature files generated from template
2Source, README, help, and tests correctly wired
3cli-plan.yml updated and synced
4cargo build passes
5cargo clippy -- -D warnings passes
6cargo fmt --check passes
7cargo test passes
8extend-receipt.yml generated

Guardrails

  • Use templates EXCLUSIVELY from the bundled ./templates/ directory for this stage. Do not reach outside this skill package for extension templates.
  • If the feature being added contradicts the cli-plan.yml, update the plan first. Scaffolded code and the CLI plan must remain perfectly aligned.
  • A takeover-adopted project remains takeover-adopted even after extension. Keep takeover-receipt.yml as the baseline marker and add extend-receipt.yml as the feature-change record, but only after confirming the repository already matches the scaffold-compatible file layout and overlay-required API/dependency surface that this stage patches directly.
  • If a takeover-adopted project does not have the scaffold-compatible files or overlay-required API/dependency surface this stage expects, stop and tell the user normalization or manual feature implementation is required. Do not route that case back through Takeover.
  • If a project already has design-contract.yml and cli-plan.yml but lacks both baseline receipts, route to Takeover specifically for baseline establishment or contract refresh so the missing adopted baseline can be recorded without pretending the project was scaffolded.
  • If the target project already declares daemon behavior in cli-plan.yml, preserve that documented daemon surface. stream and repl overlays must not silently rewrite daemon commands, routing flags, transport choices, or recovery semantics.
  • Refuse to add unsupported features through this stage. This stage only handles stream, repl, and daemon.

Next Step

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

32.78%
按下载量换算88

Claude

32.5%
按下载量换算87

Cursor

18.02%
按下载量换算48

Gemini CLI

10.15%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/bytelandtechnology/cli-forge --skill cli-forge-extend 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills