skill-forge-new

skill-forge-new: Given a user prompt like “I do XX every day and it’s annoying,” the tool uses first-principles analysis to break the situation into five elements—triggers/inputs/core protocol/outputs/examples—automatically populates a standard template to produce a SKILL.md, and includes 40+ dangerous-mode safety scans. Self-bootstrapping: it was built using this same process.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "skill-forge-new" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-37638cacac331bd28c937915b61cb64f9d6f0961b6dd7f0fdf703b7fc3028097. Verify the upstream source and version against https://skillhub.cn/skills/user_fa14b5bc/skill-forge-new before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

skill-forge-new: Given a user prompt like “I do XX every day and it’s annoying,” the tool uses first-principles analysis to break the situation into five elements—triggers/inputs/core protocol/outputs/examples—automatically populates a standard template to produce a SKILL.md, and includes 40+ dangerous-mode safety scans. Self-bootstrapping: it was built using this same process.

0 Downloads

Introduction source: third_party · user_fa14b5bc · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "skill-forge-new"
description: 用户只需说「我每天做 XX 很烦」,锻造机用第一性原理拆解出触发条件/输入/核心协议/输出/示例五要素,自动填充标准模板生成 SKILL.md,并内置 40+ 条危险模式安全扫描。可自举——它自己就是用这套流程造出来的。

§0 快速开始

用户: "我每天要人工对三张报表,检查差异很烦"
锻造机: 五要素拆解 → scaffold → 填充 SKILL.md → safety 扫描 → validate → 交付草稿

§1 核心工作流

1.1 需求结构化(五要素拆解)

用户输入一句话痛点后,Agent 按五要素框架追问补全:

要素 追问模板
触发条件 「你一般在什么情境下会做这件事?用什么关键词可以描述它?」
输入 「做这件事时,你手上有什么材料?(文件/数据/参数)」
核心协议 「你现在的步骤是什么?第一步做什么,第二步做什么?」
输出 「做完后你得到什么?(表格/文档/列表/通知)」
示例 「给我两个最典型的场景,从你开口到我应答全写出来」

如果用户一次性描述足够清晰,跳过追问直接拆解。

1.2 生成 SKILL.md

Agent 按五要素组织内容,遵循标准模板骨架:

---
name: {slug}
version: 1.0
category: {category}
triggers: [{triggers}]
platforms: [windows, mac, linux]
---

## §0 快速开始
(一句话触发 + 一句话输出)

## §1 核心工作流
(按步骤写,每步有明确输入/输出)

## §2 输入规范
(参数格式、约束)

## §3 输出规范
(格式模板、示例)

## §A 异常处理
(常见错误及处理方式)

## §F 版本
v1.0(日期)· 首次发布

写入文件前使用脚本创建目录和模板:

python skill_forge.py scaffold --name "报表对账" --output-dir <dir> \
  --trigger-1 "对账" --trigger-2 "报表差异" --trigger-3 "检查差异" \
  --category "办公效率"

然后用 Agent 填充模板中所有 [占位符]。

1.3 安全扫描

填充完成后执行:

python skill_forge.py safety --path <SKILL.md 路径>

内置 40+ 条危险模式(rm -rf、format、curl | sh、chmod 777、删除注册表等)。命中时输出行号 + 风险等级,引导用户确认是否为示例用途。

1.4 格式校验

python skill_forge.py validate --path <SKILL.md 路径> [--max-size 5120]

检查项:文件大小 / YAML frontmatter / 必需字段(name, version, category, triggers)/ 必需章节(§0, §1, §A, §F)/ 触发词数量。

1.5 交付

校验全部通过后,向用户呈现最终 SKILL.md 并告知:

  • 文件路径
  • 审阅建议("请确认触发词是否覆盖你的使用场景")
  • 下一步("确认后可手动注册到 SkillHub")

§2 分类自动判定

关键词 分类
文件/文档/报表/对账/整理/搜索 办公效率
API/代码/部署/调试/CI 开发者工具
文章/写作/翻译/发布/排版 内容创作
对话/聊天/问答/辅导/教练 个人效率
搜索/检索/知识库/问答 知识管理
其他 办公效率(默认)

§3 自举说明

锻造机自己就是一个用本流程生成的 Skill。它的五要素:

  • 触发条件:用户说「造个 skill」「写个技能」等
  • 输入:一句话痛点描述
  • 核心协议:五要素拆解 → scaffold → 填充 → safety → validate → 交付
  • 输出:SKILL.md 草稿文件
  • 示例:见 EXTEND.md §S

§A 错误码

错误码 含义 处理
E1 scaffold 目录已存在同名 Skill 询问覆盖 or 换名
E2 safety 扫描命中危险模式 展示命中行 + 确认是否示例用途
E3 validate 校验不通过 列出所有问题项,逐项修复
E4 用户输入信息不足(只说「很烦」不给上下文) 逐个追问五要素中缺失的项

§F 版本

v1.0(2026-07-27)· 首次发布 · 自举验证通过 (内容由AI生成,仅供参考)

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 提供完整的 Skill 文档生成流程,从需求拆解到安全扫描全覆盖
  • 支持自举验证,增强了可信度和实用性
Trigger Precision85/100

Highlights

  • 触发条件描述清晰,覆盖用户典型使用场景
  • 提供了具体的对话示例,便于用户理解
Structure and Standards88/100

Highlights

  • 文档结构完整,包含所有必要章节和错误处理说明
  • 提供了详细的五要素拆解框架和模板规范
Execution Reliability75/100

Areas to improve

  • 脚本来源不明 Reported severity: Minor

    提到了使用 skill_forge.py 脚本进行 scaffold、safety 扫描和 validate,但未提供这些脚本的具体实现或来源说明

    Recommendation: 建议补充说明这些脚本的获取方式或提供基础实现,以便用户能够完整执行整个流程

Highlights

  • 内置 40+ 条危险模式安全扫描,提升了生成内容的安全性
  • 提供了详细的错误码和处理建议,增强了容错能力
Evidence Verifiability (mean of the first four)80/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.