Agent skill

Bch Development

by hiromaily in hiromaily/go-crypto-wallet

Bitcoin Cash (BCH) API implementation rules. An agent skill from hiromaily/go-crypto-wallet.

MITAuto-check passedAI & LLM Engineering

Install Bch Development

skills CLI
$ npx skills add hiromaily/go-crypto-wallet --skill bch-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hiromaily/go-crypto-wallet bch-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hiromaily/go-crypto-wallet.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/bch-development .claude/skills/bch-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bch-development
GitHub stars
128
Token cost
~1.6k tokens
SKILL.md length
333 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Bitcoin Cash (BCH) API implementation rules. An agent skill from hiromaily/go-crypto-wallet.

  • Works in 3 steps: Create a new file in… → Implement the method with the same name… → This "overrides" the embedded Bitcoin…
  • Working on BCH-related code in internal/infrastructure/api/btc/bch/
  • SKILL.md covers 🚨 CRITICAL: Override Pattern…, Rules, Why This Pattern? and Implementation Examples, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bch Development is an agent skill from hiromaily/go-crypto-wallet. Bitcoin Cash (BCH) API implementation rules. Critical pattern for embedding Bitcoin struct and overriding BCH-specific methods. Use when working on BCH-related code in internal/infrastructure/api/btc/bch/.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Embeddings. It works with Bitcoin. The repository describes itself as: Cryptocurrency wallet for trading for Bitcoin, Bitcoin cash, Ethereum, ERC20, XRP Leger (Ripple). The licence is MIT.

When your agent uses it

  • Working on BCH-related code in internal/infrastructure/api/btc/bch/
  • Tasks that involve Embeddings

Example prompts

  • “/bch-development”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Create a new file in internal/infrastructure/api/btc/bch/
  2. Implement the method with the same name on BitcoinCash
  3. This "overrides" the embedded Bitcoin method

What it can do on your machine

Read from SKILL.md and the folder at commit 798ab10. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are go).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bch Development loads about 1.6k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 333 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hiromaily/go-crypto-wallet at commit 798ab10, republished under its MIT licence (© hiromaily). 333 words, ~1,639 tokens.

Download SKILL.mdSave it as .claude/skills/bch-development/SKILL.md (or your agent's skills folder).
name
bch-development
description
Bitcoin Cash (BCH) API implementation rules. Critical pattern for embedding Bitcoin struct and overriding BCH-specific methods. Use when working on BCH-related code in internal/infrastructure/api/btc/bch/.

BCH (Bitcoin Cash) Development Rules

🚨 CRITICAL: Override Pattern for BCH-Specific Logic

This is a non-negotiable architectural rule. BCH implementation uses struct embedding with method override pattern.

Architecture Overview
go
// internal/infrastructure/api/btc/bch/bitcoin_cash.go
type BitcoinCash struct {
    apibtcimpl.Bitcoin  // Embeds BTC implementation
}

Key Principle: BitcoinCash embeds Bitcoin, inheriting all BTC methods by default.

Rules

✅ DO: Override on BCH Side

When BCH requires different logic from BTC:

  1. Create a new file in internal/infrastructure/api/btc/bch/
  2. Implement the method with the same name on BitcoinCash
  3. This "overrides" the embedded Bitcoin method
❌ DON'T: Modify BTC Side for BCH
  • NEVER modify internal/infrastructure/api/btc/btc/ for BCH-specific requirements
  • NEVER add BCH conditionals in BTC code
  • NEVER add BCH-specific types or logic to the BTC package

Why This Pattern?

ReasonExplanation
Separation of ConcernsBTC code remains pure and focused
MaintainabilityBCH changes don't affect BTC
ClarityBCH differences are explicit in BCH directory
SafetyBTC modifications can't accidentally break BCH

Implementation Examples

Example 1: GetAddressInfo Override

BCH has a different response structure for getaddressinfo RPC:

go
// internal/infrastructure/api/btc/bch/address.go
// BCH-specific response type
type GetAddressInfoResult struct {
    Address      string `json:"address"`
    ScriptPubKey string `json:"scriptPubKey"`
    Label        string `json:"label,omitempty"`  // BCH uses Label (singular)
    Labels       []struct {                       // BCH has different Labels structure
        Name    string `json:"name"`
        Purpose string `json:"purpose"`
    } `json:"labels"`
    // ... other BCH-specific fields
}

// Override GetAddressInfo for BCH
func (b *BitcoinCash) GetAddressInfo(addr string) (*dtobtc.AddressInfo, error) {
    // BCH-specific implementation
    // ...
}
Example 2: GetAccount Override

BCH requires different logic for getting account info:

go
// internal/infrastructure/api/btc/bch/account.go
func (b *BitcoinCash) GetAccount(addr string) (string, error) {
    // BCH calls GetAddressInfo (which is also overridden)
    res, err := b.GetAddressInfo(addr)
    if err != nil {
        return "", fmt.Errorf("fail to call btc.GetAddressInfo() in bch: %w", err)
    }
    // BCH-specific label extraction
    if len(res.Labels) == 0 {
        return "", nil
    }
    return res.Labels[0], nil
}
Example 3: Chain Parameters Override

BCH has different network magic numbers:

go
// internal/infrastructure/api/btc/bch/bitcoin_cash.go
const (
    MainnetMagic wire.BitcoinNet = 0xe8f3e1e3  // BCH-specific
    TestnetMagic wire.BitcoinNet = 0xf4f3e5f4  // BCH-specific
    Regtestmagic wire.BitcoinNet = 0xfabfb5da  // BCH-specific
)

func (b *BitcoinCash) initChainParams() {
    // Override chain parameters for BCH
}

BCH vs BTC: Feature Differences

FeatureBTCBCH
SegWit✅ Supported❌ Not supported
Taproot✅ Supported❌ Not supported
Address FormatLegacy, SegWit, TaprootLegacy, CashAddr
Network MagicBTC valuesBCH-specific values

Directory Structure

internal/infrastructure/api/btc/
├── btc/                      # BTC implementation (DO NOT modify for BCH)
│   ├── bitcoin.go            # Bitcoin struct and methods
│   ├── account.go
│   ├── address.go
│   └── ...
├── bch/                      # BCH overrides (ADD new files here)
│   ├── bitcoin_cash.go       # BitcoinCash struct (embeds Bitcoin)
│   ├── account.go            # Override: GetAccount
│   ├── address.go            # Override: GetAddressInfo
│   └── ...
└── connection.go             # Shared connection logic

Checklist for BCH Changes

When implementing BCH-specific logic:

  • File created in internal/infrastructure/api/btc/bch/ (NOT in btc/)
  • Method has same signature as the BTC method being overridden
  • No changes made to internal/infrastructure/api/btc/btc/
  • BCH-specific types defined in BCH package (if needed)
  • Error messages include "bch" for traceability

Common Mistakes

❌ WRONG: Adding BCH Logic to BTC
go
// internal/infrastructure/api/btc/btc/account.go
func (b *Bitcoin) GetAccount(addr string) (string, error) {
    if b.coinTypeCode == domainCoin.BCH {  // DON'T DO THIS!
        // BCH-specific logic
    }
    // BTC logic
}
✅ CORRECT: Override in BCH Package
go
// internal/infrastructure/api/btc/bch/account.go
func (b *BitcoinCash) GetAccount(addr string) (string, error) {
    // BCH-specific logic here
}

Technical Note: How Go Embedding Works

When BitcoinCash embeds Bitcoin:

  1. All Bitcoin methods are "promoted" to BitcoinCash
  2. If BitcoinCash defines a method with the same name, it takes precedence
  3. The embedded Bitcoin methods can still be called via b.Bitcoin.MethodName()
go
// Call overridden method (uses BitcoinCash.GetAddressInfo)
info, _ := bch.GetAddressInfo(addr)

// Call embedded method directly (uses Bitcoin.GetAddressInfo)
info, _ := bch.Bitcoin.GetAddressInfo(addr)
FilePurpose
internal/infrastructure/api/btc/bch/bitcoin_cash.goBitcoinCash struct definition
internal/infrastructure/api/btc/btc/bitcoin.goBitcoin struct (embedded by BCH)
internal/application/ports/btc/interface.goBitcoiner interface

© hiromaily, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/bch-development of hiromaily/go-crypto-wallet.

Open the folder on GitHubat commit 798ab10

Compare with similar skills

Bch Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bch Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bch Development this skillhiromaily/go-crypto-wallet128—~1.6kAutomated safety check: PassMIT
Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs13k7 repos~2.3kAutomated safety check: PassMIT
SageMaker Serving Image Selectionhuggingface/skills11k1 repos~4.6kAutomated safety check: PassApache-2.0
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k7 repos~1.7kAutomated safety check: PassMIT
Sentence-Transformers Training Routerhuggingface/skills11k1 repos~2.6kAutomated safety check: PassApache-2.0

Similar skills

  • Chroma Vector Database

    Orchestra-Research/AI-Research-SKILLs

    Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.

    13k GitHub starsUsed in 7 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Chooses the right serving container and current image URI for deploying a Hugging Face model to a SageMaker endpoint, preferring Hugging Face images over generic ones.

    11k GitHub starsUsed in 1 repo~4.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 7 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Routes a sentence-transformers training task to the right model type and required reference docs and example scripts, covering bi-encoders, rerankers, sparse and multi-vector models.

    11k GitHub starsUsed in 1 repo~2.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Mashup Mods

    rehan-remade/universal-modder

    Build cross-game mashups and total conversions, the "Minecraft inside Elden Ring" or "skateboarding in MW2" kind.

    5.8k GitHub stars~3.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from hiromaily/go-crypto-wallet

All 17 skills in this repo
  • Btc Terminology

    hiromaily/go-crypto-wallet

    Critical Bitcoin terminology rules to prevent confusion between bech32m (encoding) and taproot (address type).

    128 GitHub stars~1.3k tokensUpdated 5 mo ago
    Auto-check passed
  • DB Migration

    hiromaily/go-crypto-wallet

    Database schema and migration workflow. An agent skill from hiromaily/go-crypto-wallet.

    128 GitHub stars~652 tokensUpdated 5 mo ago
    Auto-check passed
  • Devops

    hiromaily/go-crypto-wallet

    CI/CD and DevOps workflow. An agent skill from hiromaily/go-crypto-wallet.

    128 GitHub stars~435 tokensUpdated 5 mo ago
    Auto-check passed
  • Docs Update

    hiromaily/go-crypto-wallet

    Documentation update workflow. An agent skill from hiromaily/go-crypto-wallet.

    128 GitHub stars~1.3k tokensUpdated 5 mo ago
    Auto-check passed
  • Fix PR Review

    hiromaily/go-crypto-wallet

    Address PR review comments by selecting appropriate skills based on modified files.

    128 GitHub stars~919 tokensUpdated 5 mo ago
    Auto-check passed
  • Git Workflow

    hiromaily/go-crypto-wallet

    Git branch management, commit conventions, and PR creation workflow.

    128 GitHub stars~2.9k tokensUpdated 5 mo ago
    Auto-check passed

Works with

Questions about Bch Development

What does Bch Development do?

Bitcoin Cash (BCH) API implementation rules. An agent skill from hiromaily/go-crypto-wallet. Bch Development is an agent skill from hiromaily/go-crypto-wallet. Bitcoin Cash (BCH) API implementation rules.

When should I use Bch Development?

Bch Development fits situations like: working on BCH-related code in internal/infrastructure/api/btc/bch/; tasks that involve Embeddings.

How do I install Bch Development in Claude Code?

Run `npx skills add hiromaily/go-crypto-wallet --skill bch-development -a claude-code`. Or copy the skill folder (.claude/skills/bch-development in hiromaily/go-crypto-wallet) into .claude/skills/bch-development in your project. Claude Code loads it when a task matches its description.

How do I install Bch Development in Codex?

Run `npx skills add hiromaily/go-crypto-wallet --skill bch-development -a codex`. Or copy the skill folder (.claude/skills/bch-development in hiromaily/go-crypto-wallet) into .agents/skills/bch-development in your project. Codex loads it when a task matches its description.

Can I use Bch Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hiromaily/go-crypto-wallet --skill bch-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bch-development, .gemini/skills/bch-development, .github/skills/bch-development and .opencode/skills/bch-development in your project.

What does Bch Development need to run?

SKILL.md names no scripts, command-line tools or credentials: Bch Development is instructions for the agent only.

Does Bch Development access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bch Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bch Development use?

Bch Development is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bch Development use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bch Development?

Skills that share tags, products or a category with Bch Development: Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), SageMaker Serving Image Selection (huggingface/skills, 11k stars), Codebase Management (giancarloerra/SocratiCode, 3.3k stars) and CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bch Development?

hiromaily (a GitHub user) maintains it in hiromaily/go-crypto-wallet, which has 128 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on April 22, 2026.

Source: hiromaily/go-crypto-wallet on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.