‹ 首页

shifu-authoring-flow

@lngyneric · 收录于 1 周前 · 上游提交 2 周前

Use when changing backend shifu authoring, draft history, publish, outline structure, or import/export behavior. Keep draft and publish flows consistent and protect outline integrity.

适合你,如果需要管理后端内容创作流程

/ 通过 npx 安装 校验哈希
npx oh-my-skill add lngyneric/ai-coach/shifu-authoring-flow
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- lngyneric/ai-coach/shifu-authoring-flow
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify lngyneric/ai-coach/shifu-authoring-flow
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~213上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 5802c88 · 表述以原文为准
它做什么

安装后,Claude 会按照规则管理 Shifu 内容的草稿、发布和历史记录,确保结构变更通过专用模块处理,并同步更新导入/导出、权限和测试。

什么时候触发

当你要求修改 Shifu 的草稿、发布、历史、大纲结构或导入/导出行为时触发。

装好后可以这样说
Claude 会更新草稿相关代码并保持发布状态不变。
Claude 会同步更新验证、权限和历史记录。
Claude 会通过专用模块处理,不直接修改路由。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 5802c88

Shifu Authoring Flow

Core Rules
  • Preserve the separation between draft state, publish state, and history logs.
  • Route structural changes through the dedicated shifu helper modules instead of mutating trees directly in routes.
  • Keep import/export payload changes synchronized with validation, permissions, and history behavior.
Workflow
  1. Start from route.py, funcs.py, and the relevant shifu_* helper module.
  2. Identify whether the change affects draft state, publish state, or both.
  3. Update permissions, structural validation, and import/export behavior together when the payload contract moves.
  4. Add or update tests under src/api/tests/service/shifu/.
Regression Checklist
  • Draft save and reload.
  • Publish path.
  • Import/export if payload shape changed.
  • Permission failure path.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。