Shifu authoring flow

From ai-shifu/ai-shifu · View interactive version

Shifu authoring flow is an AI agent skill from the GitHub repository ai-shifu/ai-shifu. 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.

How to use this skill

Skill file

Shifu Authoring Flow

Core Rules

mutating trees directly in routes.

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.

  1. Add or update tests under src/api/tests/service/shifu/.

Regression Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.