| name | dify-cli-docs |
| description | Rule pack for the Dify CLI (`difyctl`) doc set — en/cli/. Covers reader segments, the writing rules, content ownership, and codebase-verification rules. Loaded by dify-docs-write; not an entry point.
|
Dify CLI Documentation
Not an entry point — run under dify-docs-write; this pack's rules implement its stages for en/cli/ pages.
Procedures by stage
- S1: Confirm edition scope: CE-first; badge and defer Cloud-only content (see Editions below).
- S2/S7: Verify every behavior claim against
langgenius/dify cli/ on origin/main, read at the pinned SHA per writing-guides/index.md "Syncing the Dify codebase safely"; record that SHA in your report.
- S5: Mirror an existing page of the same type (see Before starting); draft per the Command Reference structure; apply the Writing rules and Content ownership (state each fact once, link elsewhere).
- S7 verifiers: the numbered checks under Verification below, after the spine's check chain.
Critical (source of truth): cli/ on origin/main only. Never feat/cli or cli/README.md; both drift from shipped reality.
Before starting
For page structure, mirror an existing page of the same type (command reference → en/cli/reference/apps.mdx; task page → en/cli/common-tasks.mdx). For the IA, see docs.json.
Reader segments
en/cli/ is CE + Cloud only (EE is separate), and launches CE-first (see Editions below).
- CE and Cloud users (default): have a Dify account, sign in with the browser device flow. Developers, DevOps, technical PMs; assume kubectl/gh familiarity. Explain Dify concepts by linking the main docs, never shell basics. One audience: don't split hairs over account type or token prefix in prose.