go-crypto-wallet
Copilot instructions128 starsChanged 6 months agoMITView on GitHub
This is a cryptocurrency wallet implementation supporting BTC, BCH, ETH, XRP, and ERC-20 tokens. Security is paramount - this project handles private keys and cryptocurrency transactions. See docs/guidelines/security.md for full details. See docs/guidelines/testing.md for testing strategy. See docs/guidelines/coding-conventions.md for standards. See docs/guidelines/workflow.md for Git operations and PR guidelines. DO NOT EDIT files containing DO NOT EDIT comments:
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Follow Clean Architecture principles (see ARCHITECTURE.md)
- Distinctive: line 18
Follow AGENTS.md for behavior guidelines
- Distinctive: line 22
Use Go 1.25+ features where appropriate
- Very specific: line 23
Follow error wrapping pattern: fmt.Errorf("context: %w", err)
- Distinctive: line 24
Prefer interfaces for dependencies (Dependency Inversion)
- Distinctive: line 34
Always validate inputs at boundaries
- Distinctive: line 35
Consider offline wallet implications (keygen, sign)
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Instructions for go-crypto-wallet
Project Overview
This is a cryptocurrency wallet implementation supporting BTC, BCH, ETH, XRP, and ERC-20 tokens. Security is paramount - this project handles private keys and cryptocurrency transactions.
Quick Reference
- Architecture: Clean Architecture with clear layer separation
- Primary Language: Go (backend, wallet operations)
- Additional Languages: TypeScript/JavaScript (apps/), Solidity, SQL, HCL, Protobuf
General Guidelines
- Follow Clean Architecture principles (see ARCHITECTURE.md)
- Refer to docs/guidelines/ for detailed coding conventions
- Follow AGENTS.md for behavior guidelines
Code Suggestions
- Use Go 1.25+ features where appropriate
- Follow error wrapping pattern:
fmt.Errorf("context: %w", err) - Prefer interfaces for dependencies (Dependency Inversion)
- Domain layer has ZERO infrastructure dependencies
Security Requirements
See docs/guidelines/security.md for full details.
Key rules:
- NEVER log private keys or sensitive information
- Always validate inputs at boundaries
- Consider offline wallet implications (keygen, sign)
- Security-related changes must be reviewed
Testing
See docs/guidelines/testing.md for testing strategy.
Coding Conventions
See docs/guidelines/coding-conventions.md for standards.
Workflow
See docs/guidelines/workflow.md for Git operations and PR guidelines.
Auto-Generated Files
DO NOT EDIT files containing DO NOT EDIT comments:
internal/infrastructure/database/sqlc/*.gointernal/infrastructure/api/xrp/xrp/*.pb.gointernal/infrastructure/contract/token-abi.go
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- internal/AGENTS.mdAGENTS.md
- pkg/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- internal/CLAUDE.mdCLAUDE.md
- pkg/CLAUDE.mdCLAUDE.md
- .cursor/rules/agent-files.mdcCursor rule
- .cursor/rules/apps/bun.mdcCursor rule
- .cursor/rules/apps/eth-contracts.mdcCursor rule
- .cursor/rules/apps/xrp-server.mdcCursor rule
- .cursor/rules/database/atlas-hcl.mdcCursor rule
- .cursor/rules/database/sqlc.mdcCursor rule
- .cursor/rules/documentation-language.mdcCursor rule
- .cursor/rules/general.mdcCursor rule
- .cursor/rules/github-actions.mdcCursor rule
- .cursor/rules/go/conventions.mdcCursor rule
- .cursor/rules/go/di.mdcCursor rule
- .cursor/rules/go/go-path.mdcCursor rule
- .cursor/rules/go/go-test.mdcCursor rule
- .cursor/rules/internal/application-layer.mdcCursor rule
- .cursor/rules/internal/btc-shared.mdcCursor rule
- .cursor/rules/internal/clean-architecture.mdcCursor rule
- .cursor/rules/internal/cli-structure.mdcCursor rule
- .cursor/rules/internal/domain-layer.mdcCursor rule
- .cursor/rules/internal/dto.mdcCursor rule
- .cursor/rules/internal/infrastructure-layer.mdcCursor rule
- .cursor/rules/internal/interface-adapters-layer.mdcCursor rule
- .cursor/rules/internal/internal-interface.mdcCursor rule
- .cursor/rules/internal/mockery.mdcCursor rule
- .cursor/rules/internal/repository.mdcCursor rule
- .cursor/rules/internal/usecase.mdcCursor rule
- .cursor/rules/proto.mdcCursor rule
- .cursor/rules/README.mdCursor rule
- .cursor/rules/security.mdcCursor rule
- .cursor/rules/shell-script.mdcCursor rule
- .cursor/rules/ssot.mdcCursor rule
- .cursor/rules/task-context-loading.mdcCursor rule
- .cursor/rules/typescript.mdcCursor rule
- .cursor/rules/yaml.mdcCursor rule
- llms.txtllms.txt
- bch-developmentSkill
- btc-terminologySkill
- db-migrationSkill
- devopsSkill
- docs-ssotSkill
- docs-updateSkill
- fix-pr-reviewSkill
- github-issue-creationSkill
- git-workflowSkill
- go-developmentSkill
- knowledge-gapSkill
- label-context-mappingSkill
- makefile-updateSkill
- mockerySkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- shell-scriptsSkill
- solidity-developmentSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

