Wesichain

AI Skills Pack

The Wesichain Skills Pack is a single file (wesichain.skills) that gives any supported AI coding tool deep knowledge of the Wesichain framework — every API, pattern, and golden rule across all 11 crates.

Installation

curl -fsSL https://wesichain.pages.dev/skills.sh | bash

Auto-detects which tools you have installed and installs the right files for each one. No restart required.

Install for a specific tool:

WESICHAIN_TOOL=cursor  curl -fsSL https://wesichain.pages.dev/skills.sh | bash
WESICHAIN_TOOL=windsurf curl -fsSL https://wesichain.pages.dev/skills.sh | bash
WESICHAIN_TOOL=copilot  curl -fsSL https://wesichain.pages.dev/skills.sh | bash
WESICHAIN_TOOL=continue curl -fsSL https://wesichain.pages.dev/skills.sh | bash
WESICHAIN_TOOL=aider    curl -fsSL https://wesichain.pages.dev/skills.sh | bash
WESICHAIN_TOOL=opencode curl -fsSL https://wesichain.pages.dev/skills.sh | bash
WESICHAIN_TOOL=all      curl -fsSL https://wesichain.pages.dev/skills.sh | bash

Other options:

# Install a specific version
WESICHAIN_VERSION=0.4.0 curl -fsSL https://wesichain.pages.dev/skills.sh | bash

# Overwrite existing files
WESICHAIN_FORCE=true curl -fsSL https://wesichain.pages.dev/skills.sh | bash

Supported Tools

ToolFiles installedLocationNotes
Claude Codewesichain-{skill}/SKILL.md x11~/.config/claude/skills/Global; drag-and-drop also supported
OpenCodewesichain-{skill}/SKILL.md x11~/.config/opencode/skills/Global; auto-discovers skills
Cursorwesichain-{skill}.mdc x11{project}/.cursor/rules/Project-local; activates by relevance
Windsurfwesichain-{skill}.md x11{project}/.windsurf/rules/Project-local
GitHub Copilotcopilot-instructions.md{project}/.github/Project-local; appends if file exists
Continue.devwesichain-{skill}.md x11{project}/.continue/rules/Project-local; auto-applies to *.rs files
AiderCONVENTIONS.md{project}/Project-local; appends if file exists

Project-local tools (Cursor, Windsurf, Copilot, Continue, Aider) install relative to your current directory — run the installer from inside your Wesichain project.


Manual Install

Claude Code — drag and drop

  1. Download wesichain.skills from GitHub Releases
  2. Drag the file into your Claude Code chat window

Claude Code — copy to skills directory

cp wesichain.skills ~/.config/claude/skills/

Cursor

mkdir -p .cursor/rules
tar -xzf wesichain.skills --strip-components=2 -C .cursor/rules '_adapters/cursor'

Windsurf

mkdir -p .windsurf/rules
tar -xzf wesichain.skills --strip-components=2 -C .windsurf/rules '_adapters/windsurf'

GitHub Copilot

mkdir -p .github
tar -xzf wesichain.skills --strip-components=2 -C .github '_adapters/copilot'

Continue.dev

mkdir -p .continue/rules
tar -xzf wesichain.skills --strip-components=2 -C .continue/rules '_adapters/continue'

Aider

tar -xzf wesichain.skills --strip-components=2 -C . '_adapters/aider'
# Then add to .aider.conf.yml:  read: [CONVENTIONS.md]

OpenCode

mkdir -p ~/.config/opencode/skills
tar -xzf wesichain.skills --strip-components=2 -C ~/.config/opencode/skills '_adapters/opencode/.opencode'

Build from source

cd wesichain/
./package_skills.sh            # outputs wesichain.skills with all 6 tool adapters

Verifying the Installation

Claude Code

Ask Claude Code:

“What is the Runnable trait in Wesichain and how do I compose two components with .then()?”

You should get a response referencing wesichain_core::Runnable, RunnableExt, and the .then() composition pattern.

Cursor / Windsurf / Continue.dev

Open a .rs file in your Wesichain project and ask:

“How do I add retry logic to a chain in Wesichain?”

GitHub Copilot

Start typing Wesichain code — Copilot should autocomplete with correct types like ReActGraphBuilder, WesichainError, and proper .then() chaining.

Aider

aider --read CONVENTIONS.md
# Then: "How do I implement a custom Tool for Wesichain?"

Included Skills

11 skills covering the full framework:

SkillWhat it knowsKey triggers
wesichain-coreRunnable trait, chain composition, streaming, retry logicrunnable, chain, .then(), stream
wesichain-graphGraphBuilder, ReAct patterns, conditional edges, state managementgraph, GraphBuilder, conditional edge
wesichain-reactReActGraphBuilder, tool-loop agents, scratchpad statereact, agent, ReActGraphBuilder
wesichain-ragRAG pipelines, document chunking, vector stores, context injectionrag, retrieval, vector store, chunk
wesichain-llmOpenAI, DeepSeek, Google, Azure, Mistral, Ollama, tool calling, streamingllm, openai, ollama, LlmRequest
wesichain-memoryBuffer/summary/window/vector/entity memory, MemoryRoutermemory, conversation, chat history
wesichain-checkpointSQLite, Postgres, Redis, InMemory persistence backendscheckpoint, persistence, resume
wesichain-embeddingsOpenAI, Ollama, Google, Candle embedding providersembedding, embed, vector
wesichain-toolsCustom Tool trait, built-in file/HTTP/search tools, ToolBundletool, file tools, http tools, ToolBundle
wesichain-promptPromptTemplate, ChatPromptTemplate, YAML loading, PromptHubprompt, PromptTemplate, PromptHub
wesichain-langsmithLangSmith tracing, CallbackHandler, graph observer, samplinglangsmith, tracing, observability

Usage Examples

ReAct agent

“Create a ReAct agent with a web search tool and a calculator tool using ReActGraphBuilder

RAG pipeline

“Set up RAG with Ollama embeddings, Qdrant as the vector store, and streaming responses”

Checkpoint persistence

“Add Postgres checkpointing so my graph can resume after a crash”

LLM providers

“Configure a DeepSeek client with tool calling support and streaming”

Custom tools

“Implement a Tool that reads a file and returns its contents, with proper error handling”

Conversation memory

“Add ConversationSummaryMemory with a sliding window fallback using MemoryRouter”

Observability

“Add LangSmith tracing to my graph with tag metadata and 50% sampling”


Adding New Skills

Create .claude/skills/<skill-name>/SKILL.md with this frontmatter:

---
name: my-skill
description: |
  One-line description used to decide when this skill is relevant.
triggers:
  - "keyword"
  - "another trigger"
---

Then add When to Use, Quick Start, Key Patterns, and Golden Rules sections, and re-run:

./package_skills.sh

The script automatically generates adapters for all 7 supported tools from the single SKILL.md source.

Updated Edit on GitHub