用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sancovp/chaincompiler --skill persona-generator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
WHAT: assemble a framework CHAPTER from the two rendered blog posts — run framework.assemble_chapter to copy Blog 1 + Blog 2 verbatim into a self-contained chapter dir, wire the relative cross-links + plugin/skill links + CTAs, and write the chapter.md manifest. WHEN: when Blog 1 + Blog 2 exist and need combining into the publishable chapter unit, or when the user says assemble a chapter / skill2framework (any of).
WHAT: produce Blog 2 of a framework CHAPTER — the mechanical deep-dive ('how it actually works') — for an already-built AIOS/package by reading its impl docs (README architecture sections, design docs, the code's module docstrings) and assembling a faithful mechanics-only article that links back to Blog 1. WHEN: when producing the deep-dive half of a chapter, when you need the technical how-it-works post Blog 1 links to, or when the user says blog 2 / deep dive / skill2framework (any of).
WHAT: the TERMINAL stage — fold a finished framework into the author's SkillTome (the top-level holder + search of all their frameworks) by running framework.fold_into_tome, which registers the framework as a row on a tome volume node's generated ## Frameworks table via skilltree's bind op. WHEN: when a framework package is finished and must be registered in the author's tome/volume, or when the user says fold into the tome / nomicon / skill2framework fold (any of).
基于 SOC 职业分类
正在显示 SKILL.md
| name | persona-generator |
| description | A named persona from a ROLE-intro block + a chain sequence; XML by default, or markdown mode. |
Subclass of the big generator: a system-prompt name + a ROLE-intro block wrapping the chains.
from prompt_engineering import persona_generator
gen = persona_generator('Ada the Debugger',
[('ac', {'foci': ['Symptom','Repro'], 'held': 'Localize'})],
role='a senior debugger',
fields={'mission': 'find the root cause', 'law': 'reproduce before theorizing'},
mode='xml') # default: <role name=…><mission>…</mission> … </role>
gen()
mode='markdown' → a # {name} heading + a You are … role line, then the chains.