Frontend Code Review
langgenius/dify
Reviews frontend changes under `web/` or `packages/dify-ui/` for concrete defects and broken project contracts, using routed rule packs and a severity scale for findings.
Research a Dify feature before writing or optimizing documentation.
$ npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install langgenius/dify-docs dify-docs-feature-research --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/langgenius/dify-docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dify-docs-feature-research .claude/skills/dify-docs-feature-research && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "dify-docs-feature-research" agent skill from https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-feature-research into .claude/skills/dify-docs-feature-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dify-docs-feature-research", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-feature-researchType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install langgenius/dify-docs dify-docs-feature-research --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langgenius/dify-docs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/dify-docs-feature-research .agents/skills/dify-docs-feature-research && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dify-docs-feature-research" agent skill from https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-feature-research into .agents/skills/dify-docs-feature-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dify-docs-feature-research", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install langgenius/dify-docs dify-docs-feature-research --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langgenius/dify-docs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/dify-docs-feature-research .cursor/skills/dify-docs-feature-research && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dify-docs-feature-research" agent skill from https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-feature-research into .cursor/skills/dify-docs-feature-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dify-docs-feature-research", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/langgenius/dify-docs.git --path .claude/skills/dify-docs-feature-research--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install langgenius/dify-docs dify-docs-feature-research --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langgenius/dify-docs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/dify-docs-feature-research .gemini/skills/dify-docs-feature-research && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dify-docs-feature-research" agent skill from https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-feature-research into .gemini/skills/dify-docs-feature-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dify-docs-feature-research", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install langgenius/dify-docs dify-docs-feature-researchInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/langgenius/dify-docs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/dify-docs-feature-research .github/skills/dify-docs-feature-research && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dify-docs-feature-research" agent skill from https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-feature-research into .github/skills/dify-docs-feature-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dify-docs-feature-research", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install langgenius/dify-docs dify-docs-feature-research --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langgenius/dify-docs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/dify-docs-feature-research .opencode/skills/dify-docs-feature-research && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dify-docs-feature-research" agent skill from https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-feature-research into .opencode/skills/dify-docs-feature-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dify-docs-feature-research", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dify-docs-feature-researchResearch a Dify feature before writing or optimizing documentation.
Dify Docs Feature Research is an agent skill from langgenius/dify-docs. Research a Dify feature before writing or optimizing documentation. Use when starting any doc task that requires understanding a feature's implementation, user pain points, or community feedback. Triggers: 'research this feature', 'investigate the code for', 'what do users say about', 'let's understand how X works before writing', or any documentation task where the current docs are being rewritten or significantly expanded.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/detection-tables.md`).
It works with Dify. The licence is CC-BY-4.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 45d4e56. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dify Docs Feature Research loads about 2.6k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 114 tokens; SKILL.md has 1,129 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from langgenius/dify-docs at commit 45d4e56, republished under its CC-BY-4.0 licence (© langgenius). 1,129 words, ~2,612 tokens.
.claude/skills/dify-docs-feature-research/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Pre-writing research that combines codebase analysis with community feedback to ensure documentation is grounded in both technical reality and actual user needs.
When invoked from the dify-docs-write pipeline, its S1 supplies the feature, ref, and target pages — consume them instead of re-asking (Before Starting 1–3), and run at the depth the caller sets:
N/A plus why; Phase 2 runs when the caller requires it; otherwise skip it and say so in the summary.Standalone use (no caller): run Before Starting 1–3 and full depth.
main). For graphon, the default is the version dify pins (step 6), never graphon main.langgenius/dify and langgenius/graphon on GitHub). If either is absent, ask the user for its path.writing-guides/index.md.grep '"graphon' api/pyproject.toml
# e.g. "graphon==0.6.0" → read graphon at tag v0.6.0, not mainmain may not exist in the version users run. Ask the user before researching graphon main (appropriate only when documenting something they know is about to ship).Run Phase 1 and Phase 2 in parallel: dispatch one subagent per phase. If subagents are unavailable, run Phase 1 first, then Phase 2.
.claude/skills/dify-docs-feature-research/references/detection-tables.md. Read that file to route the feature; do not route from memory.src/graphon/nodes/human_input/), while dify owns the boundary, callback, and session-binding code (api/core/workflow/nodes/human_input/). Research both halves.| Layer | Repo | Path |
|---|---|---|
| Workflow node backend | per ownership table (step 1) | graphon: src/graphon/nodes/<node_name>/ or dify: api/core/workflow/nodes/<node_name>/ |
| Graph engine, runtime state, variable pool, command channels, layers | graphon | src/graphon/graph_engine/, src/graphon/runtime/ |
| Model runtime, model providers, LLM/embedding/rerank invocation | graphon | src/graphon/model_runtime/ |
| Workflow orchestration in Flask routes and Celery tasks | dify | api/controllers/, api/tasks/, api/services/ |
| RAG and knowledge retrieval logic | dify | api/core/rag/ |
| Tool plugins | dify | api/core/tools/ |
| Frontend UI (all features; the web app was never split out) | dify | nodes: web/app/components/workflow/nodes/<node-name>/ (kebab-case); other features: web/app/components/<area>/ |
| UI labels / i18n strings | dify | web/i18n/{en-US,zh-Hans,ja-JP}/ |
| Feature flags + env defaults | dify | backend api/configs/; frontend NEXT_PUBLIC_*; shipped defaults docker/.env.example, docker/envs/** |
_run() method)web/utils/permission.ts: getAppACLCapabilities / getDatasetACLCapabilities) and the UI that consumes it (e.g. a canEdit → read-only hook), and confirm it in a test environment. A backend @rbac_permission_required decorator can be looser than the frontend and never fire, so treat it as a lower bound. Permission labels for docs: web/i18n/{en-US,zh-Hans,ja-JP}/permission-keys.json.N/A plus why that surface cannot affect this feature. Carry the filled table into the Phase 3 summary.Search for user-reported problems and questions across these channels:
GitHub Issues — Run multiple searches with varied terms. Always search dify; also search graphon when the feature is a built-in workflow node, the graph engine, runtime, or model_runtime:
gh issue list --repo langgenius/dify --search "<feature name>" --limit 30 # e.g. "human input"
gh issue list --repo langgenius/dify --search "<alternative name>" --limit 30 # e.g. "HITL"
gh search issues "<feature> <context>" --repo langgenius/dify --limit 20 # e.g. "human input timeout"
# For built-in nodes, engine, runtime, or model_runtime, also:
gh issue list --repo langgenius/graphon --search "<feature name>" --limit 30
gh search issues "<feature> <context>" --repo langgenius/graphon --limit 20End users typically file in dify even for graphon-owned behavior; graphon's tracker tends to hold engineering-side reports. Check both to avoid missing pain points.
GitHub Discussions — Search for related discussion topics. <pattern> is a case-insensitive regex, e.g. "human ?input":
gh api "repos/langgenius/dify/discussions?per_page=30" --jq '.[] | select(.title | test("<pattern>"; "i"))'For each relevant issue or discussion, read the body and top comments to understand:
Categorize findings into:
| Category | Description |
|---|---|
| Documentation gap | User couldn't find information that should be documented |
| Confusion | User misunderstood behavior the docs should clarify |
| Bug | Product defect — note but don't document workarounds as features |
| Feature request | Missing capability — note but don't document as existing |
Combine both phases into a structured research record. It is research output, not the drafter's brief: at S3 the pipeline writes the summary the drafter gets from this record, in the shape dify-docs-write/references/research-summary.md gives.
## Feature: [Name]
### How It Works (from code)
- [Key behaviors, configuration options, supported types]
- [API response structure]
- [Edge cases or limitations]
- [Unverified inferences — flagged for user testing]
### Surface Coverage (from the Phase 1 coverage gate)
| Surface | Files read, or N/A + why |
|---------|--------------------------|
| Backend | ... |
| Frontend UI | ... |
| i18n labels | ... |
| Flags / env defaults | ... |
| API | ... |
| Plugin SDK | ... |
### Current Documentation
- [What the existing page covers]
- [What it's missing]
### Community Pain Points
| Theme | Issues | Type | Doc impact |
|-------|--------|------|------------|
| ... | #123 | gap | Should document |
### Recommended Documentation Scope
- [What to add based on gaps]
- [What to clarify based on confusion]
- [What to explicitly omit and why (bugs, unreleased features, UI-discoverable mechanics)]Present the record to the user. STOP — do not start the writing phase until the user reviews the findings and confirms the scope. Under dify-docs-write with no reviewer in the session, that skill's rule applies: the record goes into the PR description and the run continues.
dify-docs-write with no reviewer in the session, that skill's rule applies.dify-docs-write pipeline — it loads the doc-type rule pack and the writing guides. This skill carries none of the writing rules.© langgenius, CC-BY-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .claude/skills/dify-docs-feature-research of langgenius/dify-docs.
Open the folder on GitHubat commit 45d4e56
Dify Docs Feature Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dify Docs Feature Research this skilllanggenius/dify-docs | 178 | — | ~2.6k | Automated safety check: Pass | CC-BY-4.0 | |
| Frontend Code Reviewlanggenius/dify | 158k | — | ~938 | Automated safety check: Pass | Custom licence | |
| Dify Component Writing Guidelanggenius/dify | 158k | — | ~626 | Automated safety check: Pass | Custom licence | |
| Dify Command Line with difyctllanggenius/dify | 158k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| Dify Frontend Testinglanggenius/dify | 158k | — | ~242 | Automated safety check: Pass | Custom licence | |
| Frontend TestingOhh-889/skyroc | 795 | 1 repos | ~2.5k | Automated safety check: Pass | MIT |
langgenius/dify
Reviews frontend changes under `web/` or `packages/dify-ui/` for concrete defects and broken project contracts, using routed rule packs and a severity scale for findings.
langgenius/dify
Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…
langgenius/dify
Base skill for the difyctl CLI: discover a Dify server's operations through help output and run them as commands, always with JSON output.
langgenius/dify
Use when writing or changing Vitest or React Testing Library tests under `web/` or `packages/dify-ui/`, or when the user explicitly requests frontend test…
Ohh-889/skyroc
Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities.
BND-1/wechat_article_skills
从 AI 产品经理视角撰写微信公众号文章。涵盖 AI 产品拆解、场景解决方案、效率提升实战、产品方法论、行业观察。当用户说"写一篇关于XXX的文章"、"分析一下XXX产品"、"聊聊XXX"时使用。
langgenius/dify-docs
Check formatting compliance in changed documentation against writing-guides/formatting-guide.md and tools/translate/formatting-{zh,ja}.md.
langgenius/dify-docs
Audit terminology consistency across documentation against the codebase UI labels and the glossary — in prose and in the UI strings shown in screenshots.
langgenius/dify-docs
Rule pack for the Service API specs ({en,zh,ja}/api-reference/openapiservice.json): spec conventions, app-type scoping, code-verification rules, and the audit machinery.
langgenius/dify-docs
Rule pack for the environment variable reference — en/self-host/deploy/configuration/environments.mdx.
langgenius/dify-docs
The entry point for writing or revising any documentation in this repo: user guides, deployment pages, plugin-dev pages, API specs, the env-var reference, CLI pages.
langgenius/dify-docs
Judge a finished draft as the docs owner would: a fresh agent reads it against the style guide and the reference page in its genre, marks the sentences that fall short, and returns a ship verdict on…
Works with
Research a Dify feature before writing or optimizing documentation. Dify Docs Feature Research is an agent skill from langgenius/dify-docs. Research a Dify feature before writing or optimizing documentation.
Dify Docs Feature Research fits situations like: starting any doc task that requires understanding a features implementation; user pain points; community feedback.
Run `npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a claude-code`. Or copy the skill folder (.claude/skills/dify-docs-feature-research in langgenius/dify-docs) into .claude/skills/dify-docs-feature-research in your project. Claude Code loads it when a task matches its description.
Run `npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a codex`. Or copy the skill folder (.claude/skills/dify-docs-feature-research in langgenius/dify-docs) into .agents/skills/dify-docs-feature-research in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langgenius/dify-docs --skill dify-docs-feature-research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dify-docs-feature-research, .gemini/skills/dify-docs-feature-research, .github/skills/dify-docs-feature-research and .opencode/skills/dify-docs-feature-research in your project.
Going by SKILL.md and its folder, Dify Docs Feature Research needs the command-line tools its instructions call (gh). Our summary lists: Docker.
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Dify Docs Feature Research is published under the CC-BY-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Dify Docs Feature Research: Frontend Code Review (langgenius/dify, 158k stars), Dify Component Writing Guide (langgenius/dify, 158k stars), Dify Command Line with difyctl (langgenius/dify, 158k stars) and Dify Frontend Testing (langgenius/dify, 158k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
langgenius (a GitHub organization) maintains it in langgenius/dify-docs, which has 178 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 9, 2026.
Source: langgenius/dify-docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.