# siam-2004/skillbridge architecture

> Architecture diagram of the GitHub repository siam-2004/skillbridge, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/siam-2004/skillbridge
- Repository: https://github.com/siam-2004/skillbridge

## Overview

SkillBridge is a two-sided freelancing marketplace with SkillCoin wallets and escrow. Its apparent workflow is account and profile setup, job discovery and posting, proposals and negotiation, agreement, funded project and task work, then payment release; messaging and notifications support that work. The README provides no feature description, so this map relies on the source index and excerpts. Views and URL routing were not sampled, so the initiating-user connection to the runtime is shown as unverified rather than as a confirmed call path.

Main entry points: [`apps/agreements/services.py`](https://github.com/siam-2004/skillbridge/blob/main/apps/agreements/services.py) (Agreements), [`apps/projects/services.py`](https://github.com/siam-2004/skillbridge/blob/main/apps/projects/services.py) (Projects), [`apps/escrow/services.py`](https://github.com/siam-2004/skillbridge/blob/main/apps/escrow/services.py) (Escrow), [`apps/accounts/services.py`](https://github.com/siam-2004/skillbridge/blob/main/apps/accounts/services.py) (Accounts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Accounts and profiles"]
  node_accounts["Accounts<br/>[services.py]"]
  node_profiles["Profiles and skills<br/>[services.py]"]
  node_portfolios["Portfolios<br/>[services.py]"]
end

subgraph group_marketplace["Marketplace and hiring"]
  node_jobs["Jobs and discovery<br/>[services.py]"]
  node_proposals["Proposals<br/>[services.py]"]
  node_negotiations["Negotiations<br/>[services.py]"]
end

subgraph group_delivery["Contract delivery"]
  node_agreements["Agreements<br/>[services.py]"]
  node_projects["Projects<br/>[services.py]"]
  node_tasks["Tasks<br/>[services.py]"]
  node_messaging["Messaging<br/>[services.py]"]
end

subgraph group_finance["Wallets and escrow"]
  node_wallets[("Wallet ledger<br/>[ledger.py]")]
  node_escrow["Escrow<br/>[services.py]"]
end

subgraph group_platform["Shared platform"]
  node_core_models[("Shared activity and settings<br/>[models.py]")]
  node_core_services["Activity services<br/>[services.py]"]
  node_notifications[("Notifications<br/>[services.py]")]
  node_money["Money rules<br/>[money.py]"]
  node_permissions["Access control<br/>[permissions.py]"]
  node_search["Search<br/>[search.py]"]
  node_exceptions["Domain errors<br/>[exceptions.py]"]
end

node_user(("Client or freelancer"))

node_user -.->|"uses"| node_accounts
node_accounts -.->|"supports"| node_profiles
node_user -.->|"posts or finds"| node_jobs
node_jobs -->|"receives"| node_proposals
node_proposals -.->|"starts"| node_negotiations
node_negotiations -->|"creates"| node_agreements
node_agreements -->|"creates"| node_projects
node_agreements -->|"holds funds"| node_wallets
node_escrow -->|"moves funds"| node_wallets
node_escrow -->|"creates"| node_projects
node_projects -.->|"organizes work"| node_tasks
node_agreements -->|"notifies"| node_notifications
node_messaging -->|"notifies"| node_notifications
node_jobs -->|"uses"| node_search
node_profiles -->|"uses"| node_search
node_portfolios -->|"uses"| node_profiles
node_agreements -->|"records activity"| node_core_services
node_projects -.->|"records activity"| node_core_services
node_core_services -->|"writes activity"| node_core_models
node_wallets -->|"validates amounts"| node_money
node_agreements -->|"uses"| node_money
node_accounts -->|"uses"| node_permissions
node_agreements -->|"raises"| node_exceptions
node_escrow -->|"raises"| node_exceptions

click node_accounts "https://github.com/siam-2004/skillbridge/blob/main/apps/accounts/services.py"
click node_profiles "https://github.com/siam-2004/skillbridge/blob/main/apps/profiles/services.py"
click node_portfolios "https://github.com/siam-2004/skillbridge/blob/main/apps/portfolios/services.py"
click node_jobs "https://github.com/siam-2004/skillbridge/blob/main/apps/marketplace/services.py"
click node_proposals "https://github.com/siam-2004/skillbridge/blob/main/apps/proposals/services.py"
click node_negotiations "https://github.com/siam-2004/skillbridge/blob/main/apps/negotiations/services.py"
click node_agreements "https://github.com/siam-2004/skillbridge/blob/main/apps/agreements/services.py"
click node_projects "https://github.com/siam-2004/skillbridge/blob/main/apps/projects/services.py"
click node_tasks "https://github.com/siam-2004/skillbridge/blob/main/apps/tasks/services.py"
click node_messaging "https://github.com/siam-2004/skillbridge/blob/main/apps/messaging/services.py"
click node_wallets "https://github.com/siam-2004/skillbridge/blob/main/apps/wallets/ledger.py"
click node_escrow "https://github.com/siam-2004/skillbridge/blob/main/apps/escrow/services.py"
click node_core_models "https://github.com/siam-2004/skillbridge/blob/main/apps/core/models.py"
click node_core_services "https://github.com/siam-2004/skillbridge/blob/main/apps/core/services.py"
click node_notifications "https://github.com/siam-2004/skillbridge/blob/main/apps/notifications/services.py"
click node_money "https://github.com/siam-2004/skillbridge/blob/main/apps/core/money.py"
click node_permissions "https://github.com/siam-2004/skillbridge/blob/main/apps/core/permissions.py"
click node_search "https://github.com/siam-2004/skillbridge/blob/main/apps/core/search.py"
click node_exceptions "https://github.com/siam-2004/skillbridge/blob/main/apps/core/exceptions.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_accounts,node_profiles,node_portfolios,node_user toneBlue
class node_jobs,node_proposals,node_negotiations toneAmber
class node_agreements,node_projects,node_tasks,node_messaging toneMint
class node_wallets,node_escrow toneRose
class node_core_models,node_core_services,node_notifications,node_money,node_permissions,node_search,node_exceptions toneIndigo
```

## Components

### Accounts and profiles

- [Accounts](https://github.com/siam-2004/skillbridge/blob/main/apps/accounts/services.py): `apps/accounts/services.py`
- [Profiles and skills](https://github.com/siam-2004/skillbridge/blob/main/apps/profiles/services.py): `apps/profiles/services.py`
- [Portfolios](https://github.com/siam-2004/skillbridge/blob/main/apps/portfolios/services.py): `apps/portfolios/services.py`

### Marketplace and hiring

- [Jobs and discovery](https://github.com/siam-2004/skillbridge/blob/main/apps/marketplace/services.py): `apps/marketplace/services.py`
- [Proposals](https://github.com/siam-2004/skillbridge/blob/main/apps/proposals/services.py): `apps/proposals/services.py`
- [Negotiations](https://github.com/siam-2004/skillbridge/blob/main/apps/negotiations/services.py): `apps/negotiations/services.py`

### Contract delivery

- [Agreements](https://github.com/siam-2004/skillbridge/blob/main/apps/agreements/services.py): `apps/agreements/services.py`
- [Projects](https://github.com/siam-2004/skillbridge/blob/main/apps/projects/services.py): `apps/projects/services.py`
- [Tasks](https://github.com/siam-2004/skillbridge/blob/main/apps/tasks/services.py): `apps/tasks/services.py`
- [Messaging](https://github.com/siam-2004/skillbridge/blob/main/apps/messaging/services.py): `apps/messaging/services.py`

### Wallets and escrow

- [Wallet ledger](https://github.com/siam-2004/skillbridge/blob/main/apps/wallets/ledger.py): `apps/wallets/ledger.py`
- [Escrow](https://github.com/siam-2004/skillbridge/blob/main/apps/escrow/services.py): `apps/escrow/services.py`

### Shared platform

- [Shared activity and settings](https://github.com/siam-2004/skillbridge/blob/main/apps/core/models.py): `apps/core/models.py`
- [Activity services](https://github.com/siam-2004/skillbridge/blob/main/apps/core/services.py): `apps/core/services.py`
- [Notifications](https://github.com/siam-2004/skillbridge/blob/main/apps/notifications/services.py): `apps/notifications/services.py`
- [Money rules](https://github.com/siam-2004/skillbridge/blob/main/apps/core/money.py): `apps/core/money.py`
- [Access control](https://github.com/siam-2004/skillbridge/blob/main/apps/core/permissions.py): `apps/core/permissions.py`
- [Search](https://github.com/siam-2004/skillbridge/blob/main/apps/core/search.py): `apps/core/search.py`
- [Domain errors](https://github.com/siam-2004/skillbridge/blob/main/apps/core/exceptions.py): `apps/core/exceptions.py`

### Other components

- **Client or freelancer**

## Connections

- Client or freelancer → Accounts: uses
- Accounts → Profiles and skills: supports
- Client or freelancer → Jobs and discovery: posts or finds
- Jobs and discovery → Proposals: receives (evidence: `apps/proposals/services.py`)
- Proposals → Negotiations: starts
- Negotiations → Agreements: creates (evidence: `apps/negotiations/services.py`)
- Agreements → Projects: creates
- Agreements → Wallet ledger: holds funds (evidence: `apps/agreements/services.py`)
- Escrow → Wallet ledger: moves funds (evidence: `apps/escrow/services.py`)
- Escrow → Projects: creates (evidence: `apps/escrow/services.py`)
- Projects → Tasks: organizes work
- Agreements → Notifications: notifies (evidence: `apps/agreements/services.py`)
- Messaging → Notifications: notifies (evidence: `apps/messaging/services.py`)
- Jobs and discovery → Search: uses (evidence: `apps/marketplace/services.py`)
- Profiles and skills → Search: uses (evidence: `apps/profiles/services.py`)
- Portfolios → Profiles and skills: uses (evidence: `apps/portfolios/services.py`)
- Agreements → Activity services: records activity (evidence: `apps/agreements/services.py`)
- Projects → Activity services: records activity (evidence: `apps/projects/services.py`)
- Activity services → Shared activity and settings: writes activity (evidence: `apps/core/services.py`)
- Wallet ledger → Money rules: validates amounts (evidence: `apps/wallets/ledger.py`)
- Agreements → Money rules: uses (evidence: `apps/agreements/services.py`)
- Accounts → Access control: uses (evidence: `apps/accounts/services.py`)
- Agreements → Domain errors: raises (evidence: `apps/agreements/services.py`)
- Escrow → Domain errors: raises (evidence: `apps/escrow/services.py`)
