Skip to content

avbel/ai-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-skills

A curated collection of coding-convention skills for Claude Code, Codex, OpenCode, Gemini CLI, GitHub Copilot, Cursor, and 50+ more agents. Each skill teaches your AI agent the idioms, patterns, and constraints of a specific library or language so you stop explaining the same things over and over.

Installation

via pnpm / npm (recommended)

Install one skill into your Claude Code skills directory:

# pnpm
pnpm dlx skills add avbel/ai-skills -s vitest-js

# npm
npx skills add avbel/ai-skills -s vitest-js

Install multiple skills at once:

pnpm dlx skills add avbel/ai-skills -s rust-conventions -s anyhow-rust -s tokio -s axum-rust

Install all skills from this repo:

pnpm dlx skills add avbel/ai-skills --all

List available skills:

pnpm dlx skills list avbel/ai-skills

The installer auto-detects your agent and copies files to the right location. Pass --agent to override.

Supported agents

Agent --agent flag Default install path
Claude Code claude-code ~/.claude/skills/
Cursor cursor .cursor/rules/
GitHub Copilot copilot .github/copilot-instructions.md
Windsurf windsurf .windsurf/rules/
Gemini CLI gemini GEMINI.md (appended)
# install for Cursor
pnpm dlx skills add avbel/ai-skills -s vitest-js --agent cursor

# install for GitHub Copilot
pnpm dlx skills add avbel/ai-skills -s vitest-js --agent copilot

Custom destination

# Install to a project-local .claude/skills directory
pnpm dlx skills add avbel/ai-skills -s vitest-js --dest .claude/skills

# Install to claude.ai project knowledge export directory
pnpm dlx skills add avbel/ai-skills -s vitest-js --dest ./export

Manual installation (Claude Code)

Clone the repo once, then copy the skills you need:

git clone https://github.com/avbel/ai-skills.git /tmp/ai-skills

# single skill
cp -r /tmp/ai-skills/skills/vitest-js ~/.claude/skills/

# multiple skills
cp -r /tmp/ai-skills/skills/rust-conventions \
       /tmp/ai-skills/skills/anyhow-rust \
       /tmp/ai-skills/skills/tokio \
       ~/.claude/skills/

claude.ai (Projects)

  1. Open your project → Knowledge tab → Add
  2. Paste the contents of skills/<skill-name>/SKILL.md

Or drop the file directly — claude.ai accepts markdown uploads.

Available Skills

Rust — libs & tools

Skill Covers
anyhow-rust anyhow::Error, bail!/ensure!, error chaining, backtraces
axum-rust Router, handlers, extractors, State, tower middleware
clap-rust Derive Parser, subcommands, env/default, shell completions
dotenvy-rust .env loading, override modes, iteration, env-specific config
eyre-rust Report, WrapErr, custom handlers, eyre!, anyhow migration
futures-util-rust StreamExt, FutureExt, TryStreamExt, select!, join, sinks
moka-rust sync::Cache, future::Cache, TTL/TTI, eviction, weighted
otel-rust-observable-handles Observable instruments, keep-alive pattern, sdk 0.27+
opentelemetry-rust Traces, metrics, logs, OTLP, propagation, sampling
reqwest-rust Async client, TLS, JSON/multipart, streaming, retries
tempfile-rust NamedTempFile, TempDir, SpooledTempFile, Builder, persist
tokio-rust Runtime, channels, sync primitives, async I/O, select!, shutdown
tokio-stream-rust StreamExt, ReceiverStream, StreamMap, timeout, throttle
tonic-rust gRPC, protobuf codegen, streaming, interceptors, health checks
tower-rust Service, Layer, timeouts, buffers, rate limits, retries
tracing-rust Spans, events, #[instrument], subscriber, layers, structured logging
walkdir-rust Recursive directory walk, DirEntry, filter_entry, depth control

Rust — language & patterns

Skill Covers
rust-conventions Rust 2024 naming, ownership, error handling, traits, iterators, concurrency
rust-async-conventions Futures, Send/Sync, join/select, streams, pinning, cancellation
rust-wasm-conventions wasm-bindgen, wasm-pack, JS interop, binary size
design-patterns-rust Builder, Factory, Singleton, Newtype, Strategy, State, RAII
power-rust Prompt patterns that reduce LLM Rust bugs (versions, cancel-safety, SAFETY)

JavaScript / TypeScript — libs & tools

Skill Covers
fastify-js Fastify 5 plugins, schemas, hooks, error handling, testing
vitest-js vitest.config, vi mocking, snapshots, coverage, browser mode
cacheable-js Keyv, L1/L2, wrap/memoize, hooks, distributed sync
clickhouse-js MergeTree, schema, aggregates, materialized views, Node client
close-with-grace-js Graceful shutdown for servers, queues, workers, CLI daemons
duckdb-js SQL, complex types, window functions, Parquet/CSV I/O
opentelemetry-js OTel traces, metrics, SDK, auto-instrumentation, exporters
parquet-js File structure, encodings, compression, hyparquet, DuckDB
pino-js Log levels, child loggers, redaction, transports
postgres-js Tagged templates, transactions, dynamic SQL, cursors, TypeScript

JavaScript / TypeScript — language & patterns

Skill Covers
js-conventions Node.js 24+, pnpm, ESM, ES2024, async/await, type safety
typescript-6 TS 6.0 new defaults, Temporal, upsert, subpath imports
nodejs-26 Temporal, V8 14.6, Undici 8, ffi, removals
design-patterns-ts GoF patterns with idiomatic TypeScript
manual-testing-node-js Env setup, docker DB + migrations, SUI contracts, plan + execute

Sui / Move

Skill Covers
move-conventions Aptos/Sui dialect, naming, objects, capabilities, events, OTW
sui-cli Network/address management, ptb, publish/upgrade, keytool
sui-local-dev-usdc Local Sui dev network, mock USDC coin, faucet, mint balances
sui-kiosk-sdk-js @mysten/kiosk, KioskTransaction, listings, royalties
sui-sdk-js @mysten/sui, transactions, keypairs, BCS, zkLogin
walrus-sdk-js @mysten/walrus, blob reads/writes, upload relay, WASM

Usage

Once a skill is installed, Claude Code loads it on-demand when you ask about a relevant topic. You can also invoke it explicitly:

/vitest-js
/rust-conventions

No extra configuration needed — skills are auto-discovered from ~/.claude/skills/.

Creating a New Skill

See AGENTS.md for the full authoring guide, directory structure, SKILL.md format, and script requirements.

skills/
  my-skill/
    SKILL.md        # skill definition (frontmatter + markdown)
    scripts/        # optional bash scripts
      bootstrap.sh

License

MIT

About

Personal collection of AI skills (conventions, patterns, bootstrap scripts)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages