flpbalada-graph-thinking
0
总安装量
1
周安装量
安装命令
npx skills add https://smithery.ai
Agent 安装分布
codex
1
Skill 文档
Graph Thinking – Non-Linear Problem Solving
Mental model for visualizing complex relationships and connections between ideas, concepts, or data points. Evolved from Graph-of-Thought (GoT) reasoning that mirrors human cognition.
When to Use This Skill
- Mapping feature dependencies in product development
- Analyzing stakeholder relationships
- Understanding system architectures
- Exploring interconnected concepts
- Designing recommendation systems or knowledge graphs
- Identifying opportunity areas through network analysis
Core Concepts
Graph Elements
| Element | Description |
|---|---|
| Nodes | Individual elements or concepts |
| Edges | Relationships or connections between nodes |
| Clusters | Groups of highly connected nodes |
| Pathways | Routes through the network |
| Centrality | Measures identifying most important nodes |
| Topology | Structural arrangement of connections |
Graph-of-Thought (GoT) Reasoning
Traditional (Chain-of-Thought):
A â B â C â D â Conclusion
Graph-of-Thought:
ââââ B ââââ
â â
A âââ¼âââ C ââââ¼âââ Synthesis â Conclusion
â â
ââââ D ââââ
â
Feedback Loop
GoT enables:
- Combining arbitrary thoughts into synergistic outcomes
- Distilling networks of thoughts for clarity
- Enhancing ideas using feedback loops
- Non-linear exploration of solution spaces
Fundamental Principles
First Principles Thinking
Break down complex problems into fundamental truths:
Surface Level:
"We need more marketing"
â
Why?
â
"Not enough customers"
â
Why?
â
Root Truth:
"Value proposition unclear to target audience"
Second-Order Thinking
Demand deeper analysis by asking “And then what?”:
Decision: Reduce prices by 20%
First-order: More sales
Second-order: Lower margins â Less R&D budget
Third-order: Competitors catch up â Price war
Fourth-order: Race to bottom â Industry commoditization
Non-Linear Processing
Unlike sequential thinking:
| Sequential | Graph-Based |
|---|---|
| One path at a time | Multiple paths simultaneously |
| Linear information flow | Multi-directional exploration |
| Fixed order | Iterative refinement through loops |
| Single conclusion | Synthesized insights from multiple angles |
Analysis Framework
Double Diamond Model
Apply divergent and convergent thinking cycles:
DISCOVER DEFINE DEVELOP DELIVER
(Diverge) (Converge) (Diverge) (Converge)
/\ \/ /\ \/
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
Explore Focus on Generate Focus on
problem specific diverse optimal
space challenges solutions implementation
Step 1: Map the Nodes
Identify all relevant elements:
Product Launch Analysis:
Nodes:
âââ Stakeholders
â âââ Customers
â âââ Engineering
â âââ Marketing
â âââ Leadership
âââ Features
â âââ Core functionality
â âââ Nice-to-haves
â âââ Technical debt
âââ Constraints
â âââ Timeline
â âââ Budget
â âââ Resources
âââ Dependencies
âââ External APIs
âââ Infrastructure
âââ Regulatory
Step 2: Define Relationships (Edges)
Document connections between nodes:
Edge Types:
âââ Dependency: A requires B
âââ Influence: A affects B
âââ Correlation: A and B move together
âââ Conflict: A competes with B
âââ Synergy: A enhances B
Step 3: Identify Clusters and Patterns
Find highly connected groups:
High Centrality (Critical Nodes):
âââ Authentication service â 12 dependencies
âââ Database layer â 8 dependencies
âââ API gateway â 6 dependencies
Clusters:
âââ User-facing features (tightly coupled)
âââ Backend services (loosely coupled)
âââ Third-party integrations (isolated)
Step 4: Analyze Pathways
Trace routes through the network:
User Journey Graph:
Landing Page
â
[Sign Up] ââ [Social Login]
â
Onboarding
â â
Quick Start Full Setup
â â
âââââââ¬ââââââ
â
First Value
â
â â â
Churn Retain Upgrade
Output Template
After completing analysis, document as:
## Graph Thinking Analysis
**Subject:** [What you're analyzing]
**Analysis Date:** [Date]
### Node Map
| Category | Nodes | Centrality |
| -------- | ------- | -------------- |
| [Cat 1] | [Nodes] | [High/Med/Low] |
| [Cat 2] | [Nodes] | [High/Med/Low] |
### Relationship Matrix
| From | To | Relationship | Strength |
| ---- | --- | ------------ | -------- |
| [A] | [B] | [Type] | [1-5] |
### Key Insights
1. **Clusters identified:** [Description]
2. **Critical paths:** [Description]
3. **Bottlenecks:** [Description]
4. **Opportunities:** [Description]
### Recommendations
| Priority | Action | Rationale |
| -------- | -------- | --------- |
| High | [Action] | [Why] |
| Medium | [Action] | [Why] |
Application Examples
Feature Dependency Mapping
Feature: Real-time Collaboration
Dependencies:
âââ WebSocket infrastructure
â âââ Connection management
â âââ Message queuing
âââ Conflict resolution
â âââ Operational transforms
â âââ CRDT implementation
âââ Presence indicators
â âââ User state sync
âââ Permissions
âââ Document access
âââ Cursor visibility
Stakeholder Analysis
HIGH INFLUENCE
â
Keep Satisfied â Manage Closely
âââââââââââââââââââââââ¼ââââââââââââââââââââââ
â â â
â Executives â Product Owner â
â Compliance â Key Customers â
â â â
LOW âââââââââââââââââââââââ¼ââââââââââââââââââââââ HIGH
INTEREST â INTEREST
â â â
â General Users â Power Users â
â IT Support â Dev Team â
â â â
âââââââââââââââââââââââ¼ââââââââââââââââââââââ
Monitor â Keep Informed
â
LOW INFLUENCE
System Architecture Analysis
Microservice Graph:
API Gateway [Centrality: 0.95]
â
âââ Auth Service [0.82]
â âââ User DB
â
âââ Product Service [0.71]
â âââ Catalog DB
â âââ Search Index
â
âââ Order Service [0.68]
â âââ Order DB
â âââ Payment Gateway (external)
â
âââ Notification Service [0.45]
âââ Email Provider (external)
Critical Path: Gateway â Auth â Product â Order
Bottleneck: Auth Service (single point of failure)
Best Practices
Do
- Visualize relationships – Draw the graph, don’t just describe it
- Iterate continuously – Graphs evolve as understanding deepens
- Measure centrality – Identify the most critical nodes
- Look for clusters – Natural groupings reveal system structure
- Trace pathways – Understand how information/value flows
Avoid
- Over-connecting – Not everything relates to everything
- Ignoring edge types – Different relationships have different meanings
- Static thinking – Graphs change over time
- Missing feedback loops – Circular dependencies are significant
- Forgetting weights – Some relationships are stronger than others
Integration with Other Methods
| Method | Combined Use |
|---|---|
| Five Whys | Trace causal chains through the graph |
| Business Canvas | Map relationships between canvas elements |
| Jobs-to-be-Done | Connect user needs to feature nodes |
| Hypothesis Tree | Structure experiments as branching graphs |
| Stakeholder Map | Visualize influence and interest relationships |
Tools
Visualization
- Mermaid – Code-based diagrams in markdown
- Graphviz – Programmatic graph generation
- Excalidraw – Hand-drawn style diagrams
- Miro/FigJam – Collaborative whiteboarding
Analysis
- Gephi – Network analysis and visualization
- Neo4j – Graph database for complex queries
- NetworkX – Python library for graph algorithms