Backend Code Review
nazarli-shabnam/clevis
Review backend code for quality, security, maintainability, and best practices based on established checklist rules.
Review backend code for quality, security, maintainability, and best practices based on established checklist rules.
$ npx skills add langflow-ai/langflow --skill backend-code-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install langflow-ai/langflow backend-code-review --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/langflow-ai/langflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/backend-code-review .claude/skills/backend-code-review && 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 "backend-code-review" agent skill from https://github.com/langflow-ai/langflow/tree/main/.agents/skills/backend-code-review into .claude/skills/backend-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-code-review", 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/langflow-ai/langflow/tree/main/.agents/skills/backend-code-reviewType 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 langflow-ai/langflow --skill backend-code-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install langflow-ai/langflow backend-code-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langflow-ai/langflow.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/backend-code-review .agents/skills/backend-code-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "backend-code-review" agent skill from https://github.com/langflow-ai/langflow/tree/main/.agents/skills/backend-code-review into .agents/skills/backend-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-code-review", 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 langflow-ai/langflow --skill backend-code-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install langflow-ai/langflow backend-code-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langflow-ai/langflow.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/backend-code-review .cursor/skills/backend-code-review && 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 "backend-code-review" agent skill from https://github.com/langflow-ai/langflow/tree/main/.agents/skills/backend-code-review into .cursor/skills/backend-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-code-review", 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/langflow-ai/langflow.git --path .agents/skills/backend-code-review--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 langflow-ai/langflow --skill backend-code-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install langflow-ai/langflow backend-code-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langflow-ai/langflow.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/backend-code-review .gemini/skills/backend-code-review && 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 "backend-code-review" agent skill from https://github.com/langflow-ai/langflow/tree/main/.agents/skills/backend-code-review into .gemini/skills/backend-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-code-review", 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 langflow-ai/langflow backend-code-reviewInstalls 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 langflow-ai/langflow --skill backend-code-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/langflow-ai/langflow.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/backend-code-review .github/skills/backend-code-review && 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 "backend-code-review" agent skill from https://github.com/langflow-ai/langflow/tree/main/.agents/skills/backend-code-review into .github/skills/backend-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-code-review", 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 langflow-ai/langflow --skill backend-code-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install langflow-ai/langflow backend-code-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langflow-ai/langflow.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/backend-code-review .opencode/skills/backend-code-review && 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 "backend-code-review" agent skill from https://github.com/langflow-ai/langflow/tree/main/.agents/skills/backend-code-review into .opencode/skills/backend-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-code-review", 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.
backend-code-reviewReview backend code for quality, security, maintainability, and best practices based on established checklist rules.
Backend Code Review is an agent skill from langflow-ai/langflow. Review backend code for quality, security, maintainability, and best practices based on established checklist rules. Use when the user requests a review, analysis, or improvement of backend files (e.g., .py) under the src/backend/ directory. Do NOT use for frontend files (e.g., .tsx, .ts, .js). Supports pending-change review, code snippets review, and file-focused review.
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/architecture-rule.md`, `references/db-schema-rule.md` and `references/repositories-rule.md`).
It sits in Development, covering Code review, Customer feedback analysis and React components. The repository describes itself as: Langflow is a powerful tool for building and deploying AI-powered agents and workflows. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 504c02f. 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:
makeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Backend Code Review loads about 3.5k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 1,623 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 noted patterns worth knowing about, such as sudo or a known installer.
rary server files (e.g., `/etc/passwd`, `.env`).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 langflow-ai/langflow at commit 504c02f, republished under its MIT licence (© langflow-ai). 1,623 words, ~3,474 tokens.
.claude/skills/backend-code-review/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Use this skill whenever the user asks to review, analyze, or improve backend code (e.g., .py) under the src/backend/ directory. Supports the following review modes:
src/backend/base/langflow/api/v1/flows.py).Do NOT use this skill when:
.tsx, .ts, .js, src/frontend/).src/backend/ (unless the user explicitly asks to review backend-related changes outside src/backend/).Follow these steps when using this skill:
Notes when using this skill:
File:Line references when a file path and line numbers are available; otherwise, use the most specific identifier you can.src/backend/base/langflow/services/database/models/ or Alembic migrations under src/backend/base/langflow/alembic/versions/, follow references/db-schema-rule.md to perform the reviewselect(...), session.execute(...), joins, CRUD) and is not already inside a service under src/backend/base/langflow/services/, follow references/repositories-rule.md to perform the reviewsession_scope() usage, or raw SQL usage, follow references/sqlalchemy-rule.md to perform the reviewCheck for:
text() queries with string interpolation). Consequence: attacker can read/modify/delete any data in the database.CurrentActiveUser dependency). Consequence: unauthenticated users can access protected endpoints.user_id scoping on queries). Consequence: user A can read/modify user B's flows, variables, API keys./etc/passwd, .env).Check for:
session.execute()). Consequence: 100 flows = 101 DB queries instead of 2; page load goes from 50ms to 5s.time.sleep(), synchronous I/O, CPU-bound work without run_in_executor). Consequence: entire event loop stalls; all concurrent requests hang until the blocking call completes.Check for:
data, result, obj, temp). Functions should use verbs (get, create, validate). Booleans should use prefixes (is_, has_, can_, should_).except, swallowed exceptions, silent failures)Any where a concrete type is known)X | Y not Union[X, Y], X | None not Optional[X])TYPE_CHECKING guard for imports only needed for type annotations (prevents circular imports)Annotated[Type, Depends(...)] with project aliases (CurrentActiveUser, DbSession, DbSessionReadOnly) for FastAPI DIArgs:, Returns:, Raises: sections for public functionsCheck for:
DatabaseService that grow beyond this limit should have their CRUD operations extracted to dedicated modules.utils.py, helpers.py, misc.py, common.py as standalone files. Why: A file named utils.py becomes a dumping ground for unrelated functions. Within months it has 50+ functions covering formatting, validation, parsing, and HTTP calls — violating SRP. Each function group should be in a file named after its responsibility (formatting.py, validation.py).Check for:
pytest.mark.asyncio for async testsHappy path tests are the foundation but are NOT enough. Tests MUST also challenge the code to find real defects:
None, "", [], {}, 0, -1, UUID("00000000-0000-0000-0000-000000000000")endpoint_name is rejected with 422.Write tests based on REQUIREMENTS/SPEC, not on what the source code currently does. This is how you catch bugs where the code diverges from expected behavior.
When a test fails: first ask if the CODE is wrong, not the test. Do NOT silently change a failing assertion to match the current code without understanding WHY.
Check for:
lfx.log.logger with a-prefixed methods (adebug, ainfo, awarning, aerror, aexception). Never use print() or stdlib logging.user_id, flow_id, session_idprint() statements — these go to production logs{e!s} for string representation of exceptions in log messagesFor pending-change reviews, verify the author has run:
make format_backend (Ruff formatter) — inconsistent formatting creates noisy diffs that hide real changes in code review. Format first, review second.make lint (MyPy type checking) — type errors caught at lint time are 10x cheaper to fix than runtime crashes in production. Langflow services use duck typing via Service base class; MyPy catches mismatches early.make unit_tests (pytest) — a failing test means the change breaks existing behavior. Never merge with failing tests; investigate whether the code or the test is wrong.When this skill is invoked, the response must exactly follow one of the two templates:
# Code Review Summary
Found <X> critical issues need to be fixed:
## 🔴 Critical (Must Fix)
### 1. <brief description of the issue>
FilePath: <path> line <line>
<relevant code snippet or pointer>
#### Explanation
<detailed explanation and references of the issue>
#### Suggested Fix
1. <brief description of suggested fix>
2. <code example> (optional, omit if not applicable)
---
... (repeat for each critical issue) ...
Found <Y> suggestions for improvement:
## 🟡 Suggestions (Should Consider)
### 1. <brief description of the suggestion>
FilePath: <path> line <line>
<relevant code snippet or pointer>
#### Explanation
<detailed explanation and references of the suggestion>
#### Suggested Fix
1. <brief description of suggested fix>
2. <code example> (optional, omit if not applicable)
---
... (repeat for each suggestion) ...
Found <Z> optional nits:
## 🟢 Nits (Optional)
### 1. <brief description of the nit>
FilePath: <path> line <line>
<relevant code snippet or pointer>
#### Explanation
<explanation and references of the optional nit>
#### Suggested Fix
- <minor suggestions>
---
... (repeat for each nits) ...
## ✅ What's Good
- <Positive feedback on good patterns>## Code Review Summary
✅ No issues found.© langflow-ai, MIT. 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 4 other files (references) in .agents/skills/backend-code-review of langflow-ai/langflow.
Open the folder on GitHubat commit 504c02f
Backend Code Review 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 |
|---|---|---|---|---|---|---|
| Backend Code Review this skilllangflow-ai/langflow | 156k | — | ~3.5k | Automated safety check: Notes | MIT | |
| Backend Code Reviewnazarli-shabnam/clevis | 170 | — | ~1.5k | Automated safety check: Pass | GPL-3.0 | |
| @pierre/diffs Code Renderingpierrecomputer/pierre | 6.2k | 2 repos | ~803 | Automated safety check: Pass | Apache-2.0 | |
| Backend Code ReviewProgrammerAnthony/Anything-Extract | 139 | — | ~791 | Automated safety check: Pass | MIT | |
| Code Review And Qualityhylarucoder/hai-stack | 380 | — | ~934 | Automated safety check: Pass | MIT | |
| Best PracticesLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.5k | Automated safety check: Pass | MIT |
nazarli-shabnam/clevis
Review backend code for quality, security, maintainability, and best practices based on established checklist rules.
pierrecomputer/pierre
Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.
ProgrammerAnthony/Anything-Extract
指导在项目(python项目)中队后端代码进行质量、安全、可维护性与最佳实践审查,基于既定规则清单。适用于用户请求对 backend/ 下后端文件(如 .py)进行审查、分析或改进。不用于前端文件(如 .tsx、.ts、.js)。支持待提交变更审查、代码片段审查、按文件审查。
hylarucoder/hai-stack
Reviews a code change for correctness, security, maintainability, architecture, performance, and verification gaps, or performs a local code-smell review.
LeoYeAI/openclaw-master-skills
Apply modern web development best practices for security, compatibility, code quality, and coding standards.
jorgerosal/wordpress-skills
WordPress block editor code review and Gutenberg block development patterns for WordPress 6.x+.
langflow-ai/langflow
Refactor high-complexity React components in Langflow frontend.
langflow-ai/langflow
Write and review Playwright E2E tests for Langflow. An agent skill from langflow-ai/langflow.
langflow-ai/langflow
Guide for implementing Langflow frontend query and mutation patterns with Axios and TanStack React Query v5.
langflow-ai/langflow
Perform a scoped IBM Equal Access Level 1 compliance audit of a chosen Langflow frontend surface (routes, components, or a PR) and produce a findings report mapped to WCAG/IBM Level 1 criteria.
langflow-ai/langflow
Add, change, or review user-facing text in the Langflow frontend using the i18n system (i18next / react-i18next).
langflow-ai/langflow
Scan every frontend surface touched by the current PR/branch for IBM Equal Access Level 1 accessibility issues and fix all in-scope violations by default.
Categories
Review backend code for quality, security, maintainability, and best practices based on established checklist rules. Backend Code Review is an agent skill from langflow-ai/langflow. Review backend code for quality, security, maintainability, and best practices based on established checklist rules.
Backend Code Review fits situations like: the user requests a review; improvement of backend files (e.g; .py) under the src/backend/ directory; frontend files (e.g.
Run `npx skills add langflow-ai/langflow --skill backend-code-review -a claude-code`. Or copy the skill folder (.agents/skills/backend-code-review in langflow-ai/langflow) into .claude/skills/backend-code-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add langflow-ai/langflow --skill backend-code-review -a codex`. Or copy the skill folder (.agents/skills/backend-code-review in langflow-ai/langflow) into .agents/skills/backend-code-review 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 langflow-ai/langflow --skill backend-code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/backend-code-review, .gemini/skills/backend-code-review, .github/skills/backend-code-review and .opencode/skills/backend-code-review in your project.
Going by SKILL.md and its folder, Backend Code Review needs the command-line tools its instructions call (make). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Backend Code Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k 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 12k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Backend Code Review: Backend Code Review (nazarli-shabnam/clevis, 170 stars), @pierre/diffs Code Rendering (pierrecomputer/pierre, 6.2k stars), Backend Code Review (ProgrammerAnthony/Anything-Extract, 139 stars) and Code Review And Quality (hylarucoder/hai-stack, 380 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
langflow-ai (a GitHub organization) maintains it in langflow-ai/langflow, which has 155,554 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.
Source: langflow-ai/langflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.