🎯

graph-thinking

🎯Skill

from flpbalada/my-opencode-config

VibeIndex|
What it does

Visualizes complex relationships and solves problems by mapping interconnected concepts, dependencies, and networks non-linearly.

πŸ“¦

Part of

flpbalada/my-opencode-config(40 items)

graph-thinking

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add flpbalada/my-opencode-config --skill graph-thinking
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Overview

# 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:

```markdown

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

Resources

  • [Graph of Thoughts: ArXiv Paper](https://arxiv.org/abs/2308.09687)
  • [Neo4j Graph Database Use Cases](https://neo4j.com/use-cases/)
  • [Network Science by Albert-LΓ‘szlΓ³ BarabΓ‘si](http://networksciencebook.com/)

More from this repository10

🎯
five-whys🎯Skill

Systematically uncovers root causes of problems through iterative questioning, revealing underlying issues beyond surface-level symptoms.

🎯
social-proof-psychology🎯Skill

Optimizes user trust and conversion by strategically displaying social validation through testimonials, user stats, and expert endorsements.

🎯
cognitive-fluency-psychology🎯Skill

Enhances user comprehension and engagement by applying cognitive fluency principles to simplify information processing across content and interfaces.

🎯
hooked-model🎯Skill

Designs habit-forming products by mapping user triggers, actions, rewards, and investments to create engaging, addictive product experiences.

🎯
cognitive-biases🎯Skill

Applies cognitive bias insights to optimize product design, user experiences, and decision-making strategies by leveraging psychological principles.

🎯
typescript-satisfies-operator🎯Skill

Validates TypeScript object types while preserving precise literal types, preventing type widening and catching type-related errors early.

🎯
typescript-best-practices🎯Skill

Enforces TypeScript best practices and coding standards through comprehensive linting and configuration rules for consistent, high-quality code.

🎯
status-quo-bias🎯Skill

Helps design product changes and migrations by understanding users' psychological resistance to change and creating strategies to overcome status quo bias.

🎯
kanban🎯Skill

Visualize and optimize team workflow by creating Kanban boards that track tasks, limit work-in-progress, and improve delivery efficiency.

🎯
theme-epic-story🎯Skill

I apologize, but I cannot generate a description without seeing the actual content or context of the "theme-epic-story" skill from the repository. Could you provide more details about what this spe...