ContextQMD
Libraries
Rankings
Queue
About
Log in
Get started
Open menu
Back to Libraries
Langflow
langflow
GitHub
langflow
langflow-ai/langflow
langflowailangflow
langflow-ai
langflowai
Homepage
113 versions
1233 pages (1.12.0)
5 aliases
113
Versions
1233
Pages (1.12.0)
5
Aliases
Pages
Versions
Usage
1.12.0
▼
stable
Langflow Development Guide (Example)
1. Core Philosophy
Trade-off Priority (when conflicts arise)
Ground Rules
2. Design Principles
+52 more
github.com/langflow-ai/langflow/blob/v1.12.0/AG...
20.7 KB
Full page
Rule Catalog — Architecture
Rules
Keep business logic out of route handlers
Preserve layer dependency direction
Keep helpers business-agnostic
+5 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
11.5 KB
Full page
Rule Catalog — DB Schema Design
Rules
Do not query other tables inside `@property`
Use `user_id` for user-scoped data
Detect and avoid duplicate/redundant indexes
+4 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
12.6 KB
Full page
Rule Catalog — Service Abstraction
Rules
Use existing services for DB operations; do not bypass with ad-hoc queries
Follow the ServiceFactory pattern for new services
When to introduce a new service vs. extend an existing one
+2 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
11.4 KB
Full page
Rule Catalog — SQLAlchemy Patterns
Rules
Use `session_scope()` context manager with explicit transaction awareness
Enforce `user_id` scoping on user-owned queries
Prefer SQLAlchemy/SQLModel expressions over raw SQL
+3 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
11.1 KB
Full page
Backend Code Review
How to use this skill
Checklist
General Review Rules
1. Security Review
+23 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
13.2 KB
Full page
Complexity Reduction Patterns
SonarJS Cognitive Complexity
What Increases Complexity
Pattern 1: Replace Conditionals with Lookup Tables
Pattern 2: Use Early Returns
+7 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
12.6 KB
Full page
Component Splitting Patterns
Splitting Strategies
Strategy 1: Section-Based Splitting
Strategy 2: Conditional Block Extraction
Strategy 3: Modal Extraction
+15 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
16.4 KB
Full page
Hook Extraction Patterns
Extraction Process
Step 1: Identify State Groups
Step 2: Identify Related Effects
Step 3: Create the Hook
+17 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
12.8 KB
Full page
Langflow Component Refactoring Skill
Commands (run from `src/frontend/`)
Manual Complexity Assessment
Complexity Score Interpretation
Core Refactoring Patterns
+24 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
13.3 KB
Full page
Custom Test Fixtures
Why Custom Fixtures Exist
Import Rule
What the Fixture Detects
HTTP Error Responses
+5 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
3.4 KB
Full page
E2E Test Helper Functions
`awaitBootstrapTest(page, options?)`
`initialGPTsetup(page, options?)`
Canvas Controls
`adjustScreenView(page, options?)`
+18 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
6.3 KB
Full page
Langflow E2E Selector Catalog
Canvas & Navigation
Component Fields
Actions & Buttons
Modals & Panels
+3 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
5.0 KB
Full page
Langflow E2E Testing (Playwright)
Tech Stack
Key Commands
Configuration
Directory Structure
+21 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
12.8 KB
Full page
Rule Catalog -- Business Logic
Description
Suggested Fix
Flow state management: use `flowStore` for current flow state
Description
+20 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
9.5 KB
Full page
Rule Catalog -- Code Quality
Description
Suggested Fix
Control boundaries use the control token
Tailwind-first styling
+40 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
19.9 KB
Full page
Rule Catalog -- Performance
Description
Suggested Fix
Complex prop memoization with `useMemo`
Description
+19 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
8.4 KB
Full page
Frontend Code Review
How to use this skill
Checklist
General Review Rules
1. Security Review
+12 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
6.0 KB
Full page
Frontend i18n
How it works here
Adding a string (the pattern)
Rules that prevent real bugs
Review checklist (apply to any diff with UI text)
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
3.4 KB
Full page
Query and Mutation Patterns
Intent
Directory Structure
Naming Convention
Query Hook Structure
+18 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
12.9 KB
Full page
Runtime Rules
Conditional Queries
Cache Invalidation
Invalidation via onSettled
Invalidation Patterns
+16 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
12.3 KB
Full page
Frontend Query & Mutation
Architecture Overview
Key Files
Workflow
Files Commonly Touched
+1 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
3.4 KB
Full page
Async Testing Patterns
waitFor Options
waitFor Best Practices
waitForElementToBeRemoved
findBy Queries
+10 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
9.0 KB
Full page
Test Generation Checklist
File Structure
Test Quality
Queries and Assertions
User Interactions
+6 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
4.5 KB
Full page
Common Testing Patterns
Query Variants
Examples
User Events
Form Testing
+11 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
11.3 KB
Full page
Domain-Specific Component Testing for Langflow
GenericNode
Edge Components
Connection Validation
Handle Rendering
+18 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
15.9 KB
Full page
Mocking Guide for Langflow Tests
Pre-Existing Global Mocks
API Mocking
Mocking Axios Calls
Mocking Specific API Query Hooks
+25 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
11.0 KB
Full page
Incremental Testing Workflow
1.1 Identify Source Files
1.2 Categorize by Complexity
1.3 Check Existing Coverage
Phase 2: Write Tests (Per File)
+19 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
5.7 KB
Full page
Frontend Testing Skill - Langflow
Tech Stack
Project Configuration
Key Commands
File Naming and Location
+18 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
11.2 KB
Full page
IBM Accessibility Level 1 — Engineering Compliance Guide
Scope of this guide
Quick Reference Checklist
Principle 1: Perceivable
Principle 2: Operable
+19 more
github.com/langflow-ai/langflow/blob/v1.12.0/.a...
17.9 KB
Full page
1–30 of 1233
1
2
3
4
5
…
42
Page 1