Skip to content

Conversation

@lgallard
Copy link
Owner

Summary

This PR implements an automated feature discovery system that runs weekly to identify new AWS ECR features, deprecations, and bug fixes from the AWS provider. The system uses Claude Code CLI with MCP (Model Context Protocol) servers to analyze provider documentation and automatically create GitHub issues for new functionality.

Key Features

🔄 Weekly Automated Discovery

  • Schedule: Every Sunday at 00:00 UTC
  • MCP Integration: Terraform and Context7 MCP servers for real-time documentation access
  • Intelligent Analysis: Compares provider capabilities with current module implementation
  • Manual Triggers: Support for on-demand scans with dry-run mode

🎯 Automated Issue Creation

  • New Features (🚀): ECR resources/arguments not yet implemented
  • Deprecations (⚠️): Features being phased out requiring action
  • Bug Fixes (🐛): Important provider fixes affecting the module
  • Structured Templates: Implementation checklists, examples, testing requirements

📊 Feature Tracking

  • Database: .github/feature-tracker/ecr-features.json maintains comprehensive discovery history
  • Implementation Status: Tracks pending, implemented, and deprecated features
  • Analytics: Scan statistics and success metrics

🔧 MCP Server Integration

  • Terraform MCP: @modelcontextprotocol/server-terraform@latest for AWS provider docs
  • Context7 MCP: @upstash/context7-mcp@latest for changelogs and community insights

Files Added

GitHub Actions Workflow

  • .github/workflows/feature-discovery.yml - Main discovery workflow with Claude Code integration

Issue Templates

  • .github/ISSUE_TEMPLATE/new-ecr-feature.md - Template for new feature discoveries
  • .github/ISSUE_TEMPLATE/ecr-deprecation.md - Template for deprecation notices
  • .github/ISSUE_TEMPLATE/ecr-bug-fix.md - Template for bug fix tracking

Feature Tracking System

  • .github/feature-tracker/ecr-features.json - Discovery database with current implementation inventory
  • .github/scripts/discovery-prompt.md - Standardized Claude Code prompts for consistent analysis

Documentation

  • README.md - Added comprehensive "Automation & Feature Discovery" section

Workflow Process

┌─────────────────┐    ┌──────────────────────┐    ┌─────────────────────┐
│                 │    │                      │    │                     │
│  Weekly Trigger │───▶│   Claude Code CLI    │───▶│   GitHub Issues     │
│  (GitHub Action)│    │   + MCP Servers      │    │   (Auto-created)    │
│                 │    │                      │    │                     │
└─────────────────┘    └──────────────────────┘    └─────────────────────┘
                                 │
                                 ▼
                       ┌──────────────────────┐
                       │                      │
                       │  Feature Tracking    │
                       │    Database          │
                       │  (.github/tracker/)  │
                       │                      │
                       └──────────────────────┘

Manual Usage

# Standard discovery
gh workflow run feature-discovery.yml

# Dry run mode (analyze without creating issues)
gh workflow run feature-discovery.yml -f dry_run=true

# Specific provider version
gh workflow run feature-discovery.yml -f provider_version=5.82.0

# Force full scan
gh workflow run feature-discovery.yml -f force_scan=true

Benefits

  • Stay Current: Never miss new AWS ECR features
  • Proactive Maintenance: Identify deprecations before they break
  • Automated Tracking: Comprehensive feature database
  • Community Value: Users benefit from latest AWS capabilities
  • Reduced Manual Work: No need for manual provider monitoring

Testing

  • Pre-commit hooks passed on all files
  • Workflow YAML validated
  • Issue templates tested for proper formatting
  • Feature tracking database structure validated

Next Steps

  1. Workflow will begin running weekly starting next Sunday
  2. Team can manually trigger discovery runs as needed
  3. Review auto-created issues and prioritize implementation
  4. Update tracking database when features are implemented

This system ensures the terraform-aws-ecr module stays current with AWS provider updates through intelligent automation.

- Add weekly GitHub Action workflow for feature discovery
- Integrate Claude Code CLI with Terraform and Context7 MCP servers
- Create structured issue templates for new features, deprecations, and bug fixes
- Implement feature tracking database with comprehensive metadata
- Add discovery prompt scripts for consistent analysis
- Update README with automation documentation

Features:
- Weekly automated scans of AWS provider ECR documentation
- Intelligent comparison against current module implementation
- Automated GitHub issue creation with proper categorization
- MCP server integration for real-time documentation access
- Comprehensive tracking of discoveries and implementation status
- Manual trigger options with dry-run support

This system ensures the module stays current with AWS ECR service updates
by automatically detecting new features, deprecations, and bug fixes.
@lgallard lgallard merged commit a8e0fbf into master Aug 21, 2025
4 checks passed
@lgallard lgallard deleted the feat/automated-feature-discovery branch August 21, 2025 18:50
This was referenced Aug 21, 2025
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.

2 participants