# sendaifun/skills architecture

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

- Interactive diagram: https://gitdiagram.com/sendaifun/skills
- Repository: https://github.com/sendaifun/skills

## Overview

#### Purpose and Distribution
This is a marketplace repository of AI-agent skill packages for Solana development. It is documentation- and example-driven rather than a deployable application. Agents install the marketplace and select/discover individual skills; each skill supplies operating instructions plus protocol-specific reference material.
- `.claude-plugin/marketplace.json`
- `skills/`
- `spec/SPECIFICATION.md`

#### Primary Entry Points
Marketplace clients consume the plugin manifest to enumerate installable skills. A skill’s functional entry point is its `SKILL.md`, which directs an agent to the relevant examples, templates, and reference documents for a user task.
- `.claude-plugin/marketplace.json`
- `skills/jupiter/SKILL.md`
- `skills/helius/SKILL.md`

#### Skill Package Contract
`skills/<name>/` is the core modular boundary: packages are independently installed/context-selected and generally contain an instruction file, executable examples, reusable templates, and technical references. The repository also retains a canonical starter package for authors.
- `template/SKILL.md`
- `skills/example-skill/SKILL.md`
- `skills/birdeye/SKILL.md`

#### Solana Protocol and DeFi Layer
The largest domain layer provides guided integration patterns for swaps, lending, liquidity, token launches, order books, and staking. These packages bridge agent-authored code to Solana programs, protocol SDKs, and related HTTP APIs; they do not implement those protocols locally.
- `skills/jupiter/SKILL.md`
- `skills/meteora/examples/dlmm/swap.ts`
- `skills/kamino/templates/full-integration.ts`

#### Chain Infrastructure and Client Boundaries
Infrastructure skills cover RPC/DAS access, transaction delivery, streaming, account compression, wallets, and Solana client migration. Their examples establish the runtime boundary between application code and managed node/provider services or Solana clusters.
- `skills/helius/references/sender.md`
- `skills/quicknode/resources/rpc-reference.md`
- `skills/solana-kit/SKILL.md`

#### Data, Trading, and External-Service Integrations
Analytics and trading skills encode clients and request/streaming patterns for market data, wallet intelligence, DEX trading, or prediction markets. External dependencies include Birdeye, CoinGecko, DFlow, Helius, QuickNode, Zerion, and x402 payment-capable APIs.
- `skills/birdeye/templates/birdeye-client.ts`
- `skills/coingecko/templates/coingecko-client.ts`
- `skills/dflow/templates/swap-client.ts`

#### Authoring and Validation Flow
Contributors add or revise a skill package, then update the marketplace manifest as needed. Node.js validation checks marketplace integrity locally and in GitHub Actions before changes are accepted. Shell/Node scripts also support specialized skill workflows such as code/program analysis.
- `scripts/validate-marketplace.js`
- `.github/workflows/validate-marketplace.yml`
- `skills/solana-kit-migration/scripts/detect-patterns.js`

Main entry points: [`skills/jupiter/SKILL.md`](https://github.com/sendaifun/skills/blob/main/skills/jupiter/SKILL.md) (Jupiter skill), [`skills/example-skill/SKILL.md`](https://github.com/sendaifun/skills/blob/main/skills/example-skill/SKILL.md) (Skill package contract), [`.claude-plugin/marketplace.json`](https://github.com/sendaifun/skills/blob/main/.claude-plugin/marketplace.json) (Plugin manifest), [`skills/helius/SKILL.md`](https://github.com/sendaifun/skills/blob/main/skills/helius/SKILL.md) (Helius skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_marketplace["Marketplace"]
  node_manifest["Plugin manifest<br/>marketplace catalog<br/>[marketplace.json]"]
  node_clients(("Marketplace clients<br/>agent runtime"))
  node_specification["Marketplace specification<br/>repository specification<br/>[SPECIFICATION.md]"]
end

subgraph group_skills["Skill packages"]
  node_skill_contract["Skill package contract<br/>package boundary<br/>[SKILL.md]"]
  node_jupiter["Jupiter skill<br/>DeFi integration skill<br/>[SKILL.md]"]
  node_meteora_example["Meteora DLMM swap<br/>TypeScript example<br/>[swap.ts]"]
  node_kamino_template["Kamino integration<br/>TypeScript template"]
  node_helius["Helius skill<br/>infrastructure skill<br/>[SKILL.md]"]
  node_helius_sender["Helius sender reference<br/>provider reference<br/>[sender.md]"]
  node_quicknode_rpc["QuickNode RPC reference<br/>provider reference<br/>[rpc-reference.md]"]
  node_solana_kit["Solana Kit skill<br/>client migration skill<br/>[SKILL.md]"]
  node_market_data_clients["Market and trading clients<br/>external API templates<br/>[birdeye-client.ts]"]
end

subgraph group_external["External boundaries"]
  node_external_services{{"Providers and Solana clusters<br/>external services"}}
end

subgraph group_authoring["Authoring and validation"]
  node_authoring_template["Starter skill template<br/>authoring template<br/>[SKILL.md]"]
  node_validator["Marketplace validator<br/>Node.js validation script"]
  node_github_actions["Validation workflow<br/>GitHub Actions workflow"]
  node_migration_analysis["Migration pattern detector<br/>Node.js analysis script<br/>[detect-patterns.js]"]
end

node_clients -->|"consumes"| node_manifest
node_manifest -->|"lists packages"| node_skill_contract
node_specification -.->|"defines catalog rules"| node_manifest
node_authoring_template -->|"scaffolds"| node_skill_contract
node_skill_contract -.->|"applied by"| node_jupiter
node_skill_contract -.->|"applied by"| node_helius
node_jupiter -.->|"guides examples like"| node_meteora_example
node_jupiter -.->|"guides templates like"| node_kamino_template
node_jupiter -->|"integrates protocols"| node_external_services
node_helius -->|"directs to"| node_helius_sender
node_helius_sender -->|"uses"| node_external_services
node_quicknode_rpc -->|"accesses"| node_external_services
node_solana_kit -->|"targets client boundary"| node_external_services
node_market_data_clients -->|"calls APIs"| node_external_services
node_migration_analysis -.->|"supports migration"| node_solana_kit
node_validator -->|"validates"| node_manifest
node_github_actions -->|"runs"| node_validator

click node_manifest "https://github.com/sendaifun/skills/blob/main/.claude-plugin/marketplace.json"
click node_skill_contract "https://github.com/sendaifun/skills/blob/main/skills/example-skill/SKILL.md"
click node_authoring_template "https://github.com/sendaifun/skills/blob/main/template/SKILL.md"
click node_jupiter "https://github.com/sendaifun/skills/blob/main/skills/jupiter/SKILL.md"
click node_meteora_example "https://github.com/sendaifun/skills/blob/main/skills/meteora/examples/dlmm/swap.ts"
click node_kamino_template "https://github.com/sendaifun/skills/blob/main/skills/kamino/templates/full-integration.ts"
click node_helius "https://github.com/sendaifun/skills/blob/main/skills/helius/SKILL.md"
click node_helius_sender "https://github.com/sendaifun/skills/blob/main/skills/helius/references/sender.md"
click node_quicknode_rpc "https://github.com/sendaifun/skills/blob/main/skills/quicknode/resources/rpc-reference.md"
click node_solana_kit "https://github.com/sendaifun/skills/blob/main/skills/solana-kit/SKILL.md"
click node_market_data_clients "https://github.com/sendaifun/skills/blob/main/skills/birdeye/templates/birdeye-client.ts"
click node_validator "https://github.com/sendaifun/skills/blob/main/scripts/validate-marketplace.js"
click node_github_actions "https://github.com/sendaifun/skills/blob/main/.github/workflows/validate-marketplace.yml"
click node_migration_analysis "https://github.com/sendaifun/skills/blob/main/skills/solana-kit-migration/scripts/detect-patterns.js"
click node_specification "https://github.com/sendaifun/skills/blob/main/spec/SPECIFICATION.md"

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_manifest,node_clients,node_specification toneBlue
class node_skill_contract,node_jupiter,node_meteora_example,node_kamino_template,node_helius,node_helius_sender,node_quicknode_rpc,node_solana_kit,node_market_data_clients toneAmber
class node_external_services toneMint
class node_authoring_template,node_validator,node_github_actions,node_migration_analysis toneRose
```

## Components

### Marketplace

- [Plugin manifest](https://github.com/sendaifun/skills/blob/main/.claude-plugin/marketplace.json): marketplace catalog · Enumerates installable skills for marketplace clients. · `.claude-plugin/marketplace.json`
- **Marketplace clients**: agent runtime · Installs the marketplace and selects skills.
- [Marketplace specification](https://github.com/sendaifun/skills/blob/main/spec/SPECIFICATION.md): repository specification · `spec/SPECIFICATION.md`

### Skill packages

Independently selected instruction and integration packages.

- [Skill package contract](https://github.com/sendaifun/skills/blob/main/skills/example-skill/SKILL.md): package boundary · Each package centers on instructions with examples, templates, and references. · `skills/example-skill/SKILL.md`
- [Jupiter skill](https://github.com/sendaifun/skills/blob/main/skills/jupiter/SKILL.md): DeFi integration skill · Guides swap and protocol integration work. · `skills/jupiter/SKILL.md`
- [Meteora DLMM swap](https://github.com/sendaifun/skills/blob/main/skills/meteora/examples/dlmm/swap.ts): TypeScript example · `skills/meteora/examples/dlmm/swap.ts`
- [Kamino integration](https://github.com/sendaifun/skills/blob/main/skills/kamino/templates/full-integration.ts): TypeScript template · `skills/kamino/templates/full-integration.ts`
- [Helius skill](https://github.com/sendaifun/skills/blob/main/skills/helius/SKILL.md): infrastructure skill · Documents transaction delivery and provider access. · `skills/helius/SKILL.md`
- [Helius sender reference](https://github.com/sendaifun/skills/blob/main/skills/helius/references/sender.md): provider reference · `skills/helius/references/sender.md`
- [QuickNode RPC reference](https://github.com/sendaifun/skills/blob/main/skills/quicknode/resources/rpc-reference.md): provider reference · `skills/quicknode/resources/rpc-reference.md`
- [Solana Kit skill](https://github.com/sendaifun/skills/blob/main/skills/solana-kit/SKILL.md): client migration skill · `skills/solana-kit/SKILL.md`
- [Market and trading clients](https://github.com/sendaifun/skills/blob/main/skills/birdeye/templates/birdeye-client.ts): external API templates · Reusable clients for Birdeye, CoinGecko, and DFlow integrations. · `skills/birdeye/templates/birdeye-client.ts`

### External boundaries

- **Providers and Solana clusters**: external services · Managed RPC, data, trading, payment, and on-chain protocol boundaries.

### Authoring and validation

- [Starter skill template](https://github.com/sendaifun/skills/blob/main/template/SKILL.md): authoring template · Canonical starting point for skill authors. · `template/SKILL.md`
- [Marketplace validator](https://github.com/sendaifun/skills/blob/main/scripts/validate-marketplace.js): Node.js validation script · Checks marketplace integrity. · `scripts/validate-marketplace.js`
- [Validation workflow](https://github.com/sendaifun/skills/blob/main/.github/workflows/validate-marketplace.yml): GitHub Actions workflow · Runs marketplace validation before acceptance. · `.github/workflows/validate-marketplace.yml`
- [Migration pattern detector](https://github.com/sendaifun/skills/blob/main/skills/solana-kit-migration/scripts/detect-patterns.js): Node.js analysis script · Supports specialized Solana Kit migration workflows. · `skills/solana-kit-migration/scripts/detect-patterns.js`

## Connections

- Marketplace clients → Plugin manifest: consumes
- Plugin manifest → Skill package contract: lists packages
- Marketplace specification → Plugin manifest: defines catalog rules
- Starter skill template → Skill package contract: scaffolds
- Skill package contract → Jupiter skill: applied by
- Skill package contract → Helius skill: applied by
- Jupiter skill → Meteora DLMM swap: guides examples like
- Jupiter skill → Kamino integration: guides templates like
- Jupiter skill → Providers and Solana clusters: integrates protocols
- Helius skill → Helius sender reference: directs to
- Helius sender reference → Providers and Solana clusters: uses
- QuickNode RPC reference → Providers and Solana clusters: accesses
- Solana Kit skill → Providers and Solana clusters: targets client boundary
- Market and trading clients → Providers and Solana clusters: calls APIs
- Migration pattern detector → Solana Kit skill: supports migration
- Marketplace validator → Plugin manifest: validates
- Validation workflow → Marketplace validator: runs
