Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 5, 2025

Configures GitHub Copilot coding agent instructions per best practices at https://gh.io/copilot-coding-agent-tips.

Changes

  • .github/copilot-instructions.md: 240-line guide covering:

    • Project structure (Rust CLI for Solana wallet management with ratatui TUI)
    • Build/test/lint processes (cargo build, cargo test, cargo fmt/clippy)
    • Security requirements for handling Solana private keys
    • CI/CD checks (build, test, coverage, clippy -D warnings, fmt)
    • Known issues:
      • Keypair::from_bytes removed in solana-sdk 3.0.0 (affects key_validator.rs:37, tui.rs:397, wallet_manager.rs:162) - migrate to Keypair::new_from_array([u8; 32]) using first 32 bytes of keypair
      • frame.size() deprecated in ratatui - use frame.area()
    • Module status: config.rs, logging.rs, transaction_handler.rs implemented but not yet imported in main.rs
  • .gitignore: Standard Rust exclusions (target/, IDE files, coverage reports)

  • Cleanup: Removed 2,083 committed build artifacts from target/

Example from instructions

// Migration for Keypair::from_bytes removal in solana-sdk 3.0.0
// Old (no longer available):
Keypair::from_bytes(&key_bytes)

// New (use first 32 bytes as seed):
let seed: [u8; 32] = key_bytes[0..32].try_into()?;
Keypair::new_from_array(seed)
Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@devloai
Copy link

devloai bot commented Nov 5, 2025

Unable to perform a code review. You have run out of credits 😔
Please upgrade your plan or buy additional credits from the subscription page.

Copilot AI changed the title [WIP] Set up instructions for Copilot coding agent Add Copilot instructions and .gitignore Nov 5, 2025
Copilot AI requested a review from 0xrinegade November 5, 2025 06:25
Copilot finished work on behalf of 0xrinegade November 5, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

2 participants