Gh issue improvement

From blockscout/mcp-server · View interactive version

Gh issue improvement is an AI agent skill from the GitHub repository blockscout/mcp-server. Generate a structured improvement/enhancement proposal for GitHub issues based on conversation context

How to use this skill

Skill file

GitHub Improvement Proposal Generator Skill

This skill generates a well-structured improvement/enhancement proposal for GitHub issues based on the conversation context and saves it to .ai/gh_issues/YYMMDD-<short-issue-name>.md. This skill is specifically designed for improvements and enhancements - not for bug reports or error fixes.

Purpose

When invoked, this skill extracts improvement information from the current conversation and creates a standardized GitHub enhancement proposal document.

Use this skill for:

Do NOT use this skill for:

Workflow

1. Extract Issue Information

Review the conversation to identify:

2. Generate Filename

Create a filename using the pattern:

.ai/gh_issues/YYMMDD-<short-issue-name-with-dashes>.md

Where:

Example: .ai/gh_issues/260128-migrate-logs-to-direct-api.md

3. Create Issue Document

Write a Markdown document with the following sections:

# [Brief Title of the Improvement]

## Description

[Short description of the improvement - 2-3 sentences summarizing what is being proposed]

## Motivation

[Clear explanation of why this improvement is needed - what problems does it solve, what benefits does it provide]

## Current State

[Description of how things work currently, including any limitations or pain points]

## Proposed Changes

[High-level description of what should change conceptually. Focus on WHAT changes, not HOW to implement them. Avoid step-by-step implementation details, specific file paths, or granular action items. Keep it strategic and outcome-focused.]

## Expected Benefits

[List of concrete benefits that will result from this improvement - can include improved performance, better maintainability, reduced complexity, etc.]

Example of well-formed "Proposed Changes" section:

## Proposed Changes

- Transition the standalone tool to a handler-based architecture consistent with similar tools
- Maintain backward compatibility by preserving the REST API endpoint with deprecation notices
- Consolidate response processing logic within the dispatcher pattern
- Update all references in documentation and integration examples to reflect the new approach

4. Content Guidelines

MUST INCLUDE:

MUST NOT INCLUDE:

STYLE GUIDELINES:

PROPOSED CHANGES - GOOD EXAMPLES:

✓ "Consolidate transaction-related tools under a unified dispatcher pattern"

✓ "Deprecate the dedicated tool in favor of the generic direct_api_call interface"

✓ "Preserve existing response processing logic while relocating it to a handler"

✓ "Update documentation to reflect the new tool architecture"

PROPOSED CHANGES - BAD EXAMPLES:

✗ "Create handler module at blockscout_mcp_server/tools/direct_api/handlers/x_handler.py with @register_handler decorator"

✗ "Update REST API in api/routes.py to return deprecation response with 410 status code"

✗ "Remove import of transaction_summary function from server.py"

✗ "Migrate tests: Delete test_transaction_summary.py and create new handler tests"

5. Output Confirmation

After creating the file, confirm:

Example Usage

When the user says:

/gh-issue-improvement

You should:

  1. Review the conversation for improvement details
  2. Generate filename like .ai/gh_issues/260128-consolidate-transaction-tools.md
  3. Create the issue document with all required sections
  4. Confirm creation with: "Created GitHub improvement proposal at .ai/gh_issues/260128-consolidate-transaction-tools.md"

Example Improvements

This skill can document various types of improvements:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.