Skip to content

mzf11125/midnight_agent_skills

Repository files navigation

Midnight Network Agent Skills

Version License Skills Docs Coverage Status

Complete set of 4 modular agent skills for building on Midnight Network's zero-knowledge blockchain.

Quick StartSkillsContributingLicense

This project extends the Midnight Network with additional developer tooling.


Quick Start

# Install all skills
npx skills add https://github.com/mzf11125/midnight_agent_skills

# Or install individual skills
npx skills add https://github.com/mzf11125/midnight_agent_skills --skill midnight-concepts
npx skills add https://github.com/mzf11125/midnight_agent_skills --skill midnight-compact
npx skills add https://github.com/mzf11125/midnight_agent_skills --skill midnight-api
npx skills add https://github.com/mzf11125/midnight_agent_skills --skill midnight-network

Available Skills

1. midnight-concepts (7 references)

Purpose: Foundational knowledge about Midnight's zero-knowledge blockchain

Key Topics:

  • Zero-knowledge proofs fundamentals
  • Privacy mechanisms (Zswap, selective disclosure)
  • Partner chain architecture (Cardano integration)
  • Kachina protocol and consensus
  • UTXO/Account hybrid ledger model
  • Real-world use cases
  • Comprehensive glossary (100+ terms)

2. midnight-compact (10 references)

Purpose: Complete guide to the Compact programming language (v0.19+)

Key Topics:

  • Quick start - 10-minute tutorial
  • TypeScript interop - Complete type mappings
  • Quick syntax reference with ✅/❌ examples
  • Language basics and type system
  • Ledger operations (7 state types)
  • ZK circuit patterns
  • Contract examples and best practices
  • Deployment guide

3. midnight-api (13 references)

Purpose: API integration for building DApps on Midnight

Key Topics:

  • Authentication patterns - Wallet-based auth
  • Complete API references (5 major APIs)
  • Integration patterns and error handling
  • Contract deployment (local/testnet/mainnet)
  • Testing guide (unit, integration, E2E)
  • 10 complete working examples
  • Network configuration

4. midnight-network (7 references)

Purpose: Network infrastructure, validators, and operations

Key Topics:

  • Node architecture - Node types and deployment
  • Docker deployment - Production configurations
  • Validator setup and operations
  • Indexer setup (v3.0.0)
  • Monitoring with Prometheus/Grafana
  • Troubleshooting guides

What You Can Build

These skills enable AI agents to:

  • ✅ Explain Midnight's zero-knowledge architecture
  • ✅ Write Compact smart contracts (v0.19+)
  • ✅ Integrate wallet connections and APIs
  • ✅ Deploy contracts to any environment
  • ✅ Test with unit, integration, and E2E tests
  • ✅ Run validators and indexers
  • ✅ Monitor infrastructure health
  • ✅ Troubleshoot issues

Documentation Stats

  • Files: 37 markdown files (55 total with meta docs)
  • Lines: 21,000+ lines of documentation
  • Examples: 150+ working code examples
  • Coverage: 70% of official Midnight docs

Design Principles

  • Modular: Each skill focuses on a specific domain
  • Comprehensive: From concepts to production deployment
  • Practical: Working examples and templates
  • Progressive: Quick start → detailed references
  • Production-ready: Tested and validated

Resources

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE file for details.

Acknowledgments

  • Midnight Network Team - Official documentation
  • Contributors - See CONTRIBUTORS.md
  • Community - Feedback and testing

Made with ❤️ for the Midnight Network community

⬆ Back to top

About

No description or website provided.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages