Skip to content

Commit bd37933

Browse files
committed
fix: restore missing rules in AGENTS.md from CLAUDE.md
1 parent 79794f4 commit bd37933

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Dify Documentation — AI Agent Instructions
22

3+
Documentation for Dify, built with Mintlify. English is the source language; Chinese and Japanese translations are generated automatically. Exception: `en/self-host/configuration/environments.mdx` is excluded from the translation pipeline and must be translated manually.
4+
35
For documentation tasks, read these guides before starting:
46

57
1. `writing-guides/style-guide.md` — Voice, tone, writing patterns
@@ -10,14 +12,12 @@ For task-specific guidance, see `writing-guides/index.md`.
1012

1113
## Key Rules
1214

13-
- Write in English only, except when specifically optimizing Chinese
14-
or Japanese translations.
15-
- Only edit the English section in `docs.json`. Translation sections sync
16-
automatically.
15+
- Write in English only, except when specifically optimizing Chinese or Japanese translations.
16+
- Only edit the English section in `docs.json`. Translation sections sync automatically.
1717
- MDX files require `title` and `description` in YAML frontmatter.
18-
- When adding or updating internal-only instructions, tooling, configs, or
19-
other non-public files, ensure all paths that should not be exposed by
20-
Mintlify are covered in `.mintignore`.
18+
- When writing about a feature, verify behavior against the Dify codebase, not just existing docs. Existing docs may be outdated.
19+
- For new features, the user may specify a development branch. Code on development branches may be in flux—when behavior is ambiguous, ask rather than assume.
20+
- When adding or updating internal-only instructions, tooling, configs, or other non-public files, ensure all paths that should not be exposed by Mintlify are covered in `.mintignore`.
2121
- Never use `--no-verify` when committing.
2222

2323
## Repository Structure

0 commit comments

Comments
 (0)