Files
mev-beta/.claude/commands/implement-feature.md
Krypto Kajun 38cce575f5 feat: Enhanced Claude Code configuration with comprehensive best practices
- Updated project CLAUDE.md with detailed commands, workflows, and guidelines
- Added environment configuration and performance monitoring commands
- Enhanced security guidelines and commit message conventions
- Created 5 custom slash commands for common MEV bot development tasks:
  * /analyze-performance - Comprehensive performance analysis
  * /debug-issue - Structured debugging workflow
  * /implement-feature - Feature implementation framework
  * /security-audit - Security audit checklist
  * /optimize-performance - Performance optimization strategy
- Updated global CLAUDE.md with universal best practices
- Improved file organization and development standards

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 07:41:04 -05:00

1.6 KiB

Implement MEV Bot Feature

Implement the following feature for the MEV bot: $ARGUMENTS

Implementation Framework:

  1. Requirements Analysis: Break down the feature requirements and acceptance criteria
  2. Architecture Design: Design the solution following existing patterns
  3. Interface Design: Define clean interfaces between components
  4. Implementation: Write the code following Go best practices
  5. Testing: Create comprehensive unit and integration tests
  6. Documentation: Update relevant documentation and examples

Implementation Standards:

  • Code Quality: Follow Go conventions and project coding standards
  • Error Handling: Implement robust error handling with context
  • Logging: Add appropriate logging with structured fields
  • Testing: Achieve >90% test coverage
  • Performance: Consider performance implications and add metrics
  • Security: Validate all inputs and handle edge cases

File Organization:

  • Core Logic: Place in appropriate pkg/ subdirectory
  • Configuration: Add to internal/config/ if needed
  • Tests: Co-locate with source files (*_test.go)
  • Documentation: Update docs/ and inline comments

Integration Points:

  • Event System: Integrate with pkg/events/ for transaction processing
  • Market Pipeline: Connect to pkg/market/pipeline.go for processing
  • Monitoring: Add metrics and health checks
  • Configuration: Add necessary environment variables

Deliverables:

  • Working implementation with tests
  • Updated documentation
  • Configuration updates
  • Performance benchmarks if applicable
  • Migration guide for existing deployments