

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# AGENTS.md — difyctl (TypeScript CLI)23This package is the Node 22+, ESM TypeScript implementation of `difyctl`. Development also requires the Bun version pinned in `.bun-version`; command-tree generation and the `dev`, `test`, and `build` pre-scripts invoke it. Read [`ARD.md`] before adding a command or changing shared CLI infrastructure. Read `src/commands/AGENTS.md` for command-folder and registry rules.45## Architecture Boundaries67- Every leaf command extends `DifyCommand`; command classes own framework parsing and delegate behavior to domain modules.8- Each command folder keeps its framework shell in `index.ts`. Extract behavior into sibling modules such as `run.ts` and `handlers.ts` when it needs an independently testable owner; those modules receive typed dependencies and do not import `src/framework/`.9- `src/http/` owns ky middleware and client construction; `src/api/` owns resource clients; `src/sys/io/` owns process streams and progress UI; `src/types/` remains a pure data and schema leaf.10- Preserve flags, output, and exit codes during refactors. Do not add dependencies or compatibility shims unless the task explicitly requires them.11- `ARD.md` owns CLI code structure. Keep wire behavior aligned with typed API clients and the real mock-server behavior tests.1213## Commands1415Run package scripts from `cli/`:1617- Source CLI: `pnpm dev <command> [args...]`18- Tests: `pnpm test`19- Build: `pnpm build`20- Regenerate and verify the registry: `pnpm tree:gen` and `pnpm tree:check`2122Run the scoped static check from the repository root with `vp check cli`.2324Behavior tests use the real Hono server under `test/fixtures/dify-mock/`; do not replace it with `nock`, `msw`, or `fetchMock`. Keep tests colocated with their source files.2526[`ARD.md`]: ARD.md27
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| langgenius/difydify-agent/AGENTS.md · 152k | AGENTS.md | styleagent-behaviour | 58/100 | 14 days ago | |
| langgenius/difyweb/AGENTS.md · 152k | AGENTS.md | teststyletesting-strategyagent-behaviour | 47/100 | 14 days ago | |
| langgenius/difyweb/features/agent-v2/AGENTS.md · 152k | AGENTS.md | agent-behaviour | 16/100 | 14 days ago | |
| langgenius/difyapi/AGENTS.md · 152k | AGENTS.md | apiagent-behaviour | 54/100 | 14 days ago | |
| langgenius/difycli/src/commands/AGENTS.md · 152k | AGENTS.md | testlint-formatagent-behaviour | 74/100 | 14 days ago | |
| langgenius/difye2e/AGENTS.md · 152k | AGENTS.md | setupstyletesting-strategyapi | 72/100 | 7 days ago | |
| langgenius/difye2e/features/agent-v2/AGENTS.md · 152k | AGENTS.md | setupbuildtesting-strategyapi+1 | 58/100 | 14 days ago | |
| langgenius/difypackages/dify-ui/AGENTS.md · 152k | AGENTS.md | stylesecurityuido-not | 50/100 | 14 days ago | |
| langgenius/difyAGENTS.md · 152k | AGENTS.md | no sections | 40/100 | 11 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 200k | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| aaif-goose/gooseAGENTS.md · 53k | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 8 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 14 days ago | |
| elastic/elasticsearchx-pack/plugin/inference/AGENTS.md · 78k | AGENTS.md | buildtestlint-formatstyle+3 | 100/100 | 14 days ago | |
| bagisto/bagistoAGENTS.md · 28k | AGENTS.md | setupbuildteststyle+7 | 100/100 | 7 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 13 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/langgenius-dify-cli-agents)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.