Skip to content

Skills synthesizes end-to-end execution playbooks, frameworks, and blueprints from practitioners who've generated measurable production ready Smart Contract Everything you need to go from idea to production.

License

Notifications You must be signed in to change notification settings

Hyperkit-Labs/collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

70 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Skills-SDK Banner_Image

Web3 Knowledge Layer for AI Agents
Transform blockchain documentation into AI-ready SKILL.md packs with automatic syncing and validation.

Based on the Anthropic Agent Skills standard. See THIRD_PARTY_NOTICES.md for attribution.

npm version License Node version


🎯 What Is This?

Skills-SDK is a documentation aggregation pipeline that:

  1. Fetches Web3 docs from providers (OpenZeppelin, Alchemy, thirdweb)
  2. Parses & extracts contracts, patterns, code examples
  3. Validates using 3-tier system (schema, compilation, agent testing)
  4. Bundles into AI-optimized SKILL.md files (<5K tokens)
  5. Publishes as npm packages with daily auto-sync

Result: AI agents (Claude, Cursor, HyperAgent) get correct, current Web3 knowledge.


⚑ Quick Start

For Users (Install Skills)

npm install @hyperkitlab/skills-solidity
import { loadSkillPack } from '@hyperkitlab/skills-solidity';

// Load OpenZeppelin v5.5 skills
const ozSkills = await loadSkillPack('openzeppelin', '5.5.0');
// Use in your AI agent context

For Contributors (Build Skills)

git clone https://github.com/Hyperkit-Labs/skills-sdk
cd skills-sdk
npm install
npm run build

# Generate OpenZeppelin SKILL.md
npm run generate:openzeppelin

πŸ“¦ Packages

Package Version Description
@hyperkitlab/skills-solidity 1.0.0 OpenZeppelin Solidity skills
@hyperkitlab/skills-move 1.0.0 Sui & Aptos Move skills
@hyperkitlab/skills-parsers 1.0.0 Web3 documentation parsers
@hyperkitlab/skills-validators 1.0.0 3-tier validation system
@hyperkitlab/skills-bundler 1.0.0 SKILL.md assembler
@hyperkitlab/skills-cli 1.0.0 Command-line tools

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Upstream Docs   β”‚  OpenZeppelin, Alchemy, thirdweb
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
    β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
    β”‚ Parsers β”‚  cheerio, playwright, undici
    β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
         β”‚
   β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”
   β”‚Validators β”‚  AJV, solc, agent testing
   β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜
         β”‚
    β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
    β”‚ Bundler β”‚  Mustache, token counting
    β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
         β”‚
  β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
  β”‚Distribution β”‚  npm, GitHub Releases, CDN
  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
         β”‚
  β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
  β”‚  AI Agents  β”‚  Claude, Cursor, HyperAgent
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”§ Supported Providers

Current (v1.0.0)

  • βœ… OpenZeppelin Contracts v5.x (Solidity)
  • βœ… Alchemy API (JavaScript/TypeScript)
  • βœ… thirdweb SDK (TypeScript)
  • βœ… Sui Framework (Move)

Roadmap

  • πŸ”„ Aptos SDK (Move)
  • πŸ”„ Python Support

🎨 Features

3-Tier Validation

  1. Schema (Tier 1) - AJV validation of YAML frontmatter
  2. Compilation (Tier 2) - solc validates all Solidity examples
  3. Agent (Tier 3) - AI agent tests using generated skills

Token Optimization

  • Progressive disclosure (main <5K tokens, references separate)
  • Mustache templating with smart trimming
  • js-tiktoken for accurate counting

Auto-Sync

  • Daily cron job checks upstream documentation
  • Auto-creates PR when new versions detected
  • Redis caching (70%+ hit rate)

Quality Assurance

  • 90% test coverage requirement
  • TypeScript strict mode
  • GitHub Actions CI/CD
  • Cross-platform testing (Ubuntu, Windows, macOS)

πŸ“– Documentation


πŸš€ Development

Prerequisites

  • Node.js >=20.0.0
  • npm >=10.0.0

Setup

npm install
npm run build
npm test

Project Structure

skills-sdk/
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ parsers/        # Documentation parsers
β”‚   β”œβ”€β”€ validators/     # Validation engines
β”‚   β”œβ”€β”€ bundler/        # SKILL.md assembler
β”‚   β”œβ”€β”€ cli/            # Command-line tools
β”‚   └── skills-solidity/ # Distribution package
β”œβ”€β”€ scripts/            # Automation scripts
β”œβ”€β”€ skills/             # Generated SKILL.md files
└── .github/            # CI/CD workflows

Commands

npm run build           # Build all packages
npm test                # Run test suite
npm run lint            # ESLint check
npm run format          # Prettier format
npm run validate:all    # Full validation

🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Bounty Program

  • $TBD per new parser (verified providers)
  • $TBD for complex parsers (JS-rendered, multi-step)

View Open Issues


πŸ“Š Success Metrics

MVP (Week 2)

  • βœ… OpenZeppelin parser working
  • βœ… 3-tier validation complete
  • βœ… First SKILL.md generated
  • βœ… npm package published

v1.0 (Week 6)

  • βœ… 3 providers (OpenZeppelin, Alchemy, thirdweb)
  • βœ… Move language support (Sui)
  • ⏳ 50+ GitHub stars
  • ⏳ 20+ npm downloads/week

πŸ“„ License

Apache-2.0 Β© HyperKit Labs


πŸ”— Links


⭐ Star History

If you find this useful, please ⭐ star the repo!


Made with ❀️ by HyperKit Labs for the AI + Web3 community

About

Skills synthesizes end-to-end execution playbooks, frameworks, and blueprints from practitioners who've generated measurable production ready Smart Contract Everything you need to go from idea to production.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •