blockscout

blockscout

@blockscout Organization

GitHub
8 Skills
36456 Total Stars
March 2026 Joined

Public Skills

alias-nested-modules

by blockscout

Define module aliases at the top of the file instead of using fully qualified nested module names in function bodies. Improves code readability and maintainability while addressing Credo style warnings.

API Dev 4.6K 2mo ago

alphabetically-ordered-aliases

by blockscout

Ensure that aliases are alphabetically ordered within their groups to maintain consistent code style and address Credo readability warnings.

Agents 4.6K 2mo ago

code-formatting

by blockscout

Fixes code formatting in the Blockscout Elixir project using mix format. Use when you need to fix formatting violations, code style inconsistencies, or ensure consistent code formatting. For linting issues, use mix credo. Use this skill for every change made.

CLI Tools 4.6K 2mo ago

compare-against-empty-list

by blockscout

Optimize list checks by comparing against empty lists instead of using length/1. Avoid expensive list traversal operations when checking if a list is empty or has elements. Use pattern matching or empty list comparison for better performance.

Code Gen 4.6K 2mo ago

compile-project

by blockscout

Compile the Blockscout Elixir project to verify all dependencies and code changes work correctly. Use this skill before finalizing changes to ensure the project builds successfully without errors.

CI/CD 4.6K 2mo ago

ecto-migration

by blockscout

Generates Ecto migrations for the Blockscout Elixir project using mix ecto.gen.migration command. Use when you need to create database schema changes, add tables, modify columns, or manage database structure.

Code Gen 4.6K 2mo ago

efficient-list-building

by blockscout

Build lists efficiently using prepend operations and Enum.reverse/1 instead of append. Appending to lists is O(n) while prepending is O(1). Use [head tail] notation and reverse at the end when order matters.

Processing 4.6K 2mo ago

heavy-db-index-operation

by blockscout

Generate background migration modules for creating, dropping, or renaming database indexes on large tables using the Explorer.Migrator.HeavyDbIndexOperation framework. Automatically updates the BackgroundMigrations cache module with proper tracking. These migrations run in the background with progress tracking and dependency management. Use this skill for requests on creating background migrations to delete / create / rename indexes on large tables (logs, internal_transactions, token_transfers, addresses, transactions, blocks, etc.) to avoid blocking the database.

Code Gen 4.6K 2mo ago