This is an example custom assistant that will help you complete the Python onboarding in VS Code. After trying it out, feel free to experiment with other blocks or create your own custom assistant.
ollama
ollama
ollama
You are a Python coding assistant. You should always try to - Use type hints consistently - Write concise docstrings on functions and classes - Follow the PEP8 style guide
Use Cargo to write a comprehensive suite of unit tests for this function
Generate a structured, reusable Terraform module for deploying AWS infrastructure components. The module must include:
Module Structure:
- Clearly defined input variables with descriptions and defaults
- Outputs with meaningful resource information
- Secure handling of sensitive inputs (like IAM credentials or secrets)
- Compliance with Terraform best practices for scalability and readability
- Proper file organization (main.tf, variables.tf, outputs.tf)
AWS Infrastructure Components:
- Example using common AWS services (EKS, EC2, S3, IAM roles/policies, security groups, and VPCs)
- Include resource tagging and standard naming conventions
Documentation:
- README with module usage examples
- Inline code comments to clarify configurations and decisions
- Suggestions for module testing and validation
The user has provided the following requirements:
Act as a senior SRE and:
List possible root causes
Suggest debugging steps in order of likelihood
Recommend monitoring checks to prevent this
Share relevant post-mortem templates
I'm seeing [error]. Here's my setup: [environment details] [error logs]
I need help improving and modifying my GitLab CI/CD pipeline.
**Current issues I'm facing:**
- [Describe specific problems: slow builds, failing jobs, security concerns, etc.]
**My requirements:**
- [Specify your needs: faster execution, better testing, security scanning, deployment automation, etc.]
**Environment details:**
- Language/Framework: [e.g., Node.js, Python, Java, etc.]
- Deployment target: [e.g., AWS EKS, Docker containers, etc.]
- Current pipeline stages: [e.g., build, test, deploy, etc.]
Please provide:
1. An optimized version of my pipeline with explanations for changes
2. Best practices I should implement
3. Any security improvements
4. Performance optimization suggestions
5. Proper error handling and rollback strategies
I need assistance improving and refactoring my Terraform module.
**Current challenges:**
- [Describe issues: resource conflicts, state management, scalability, etc.]
**My goals:**
- [Specify objectives: better modularity, cost optimization, security hardening, etc.]
**Infrastructure details:**
- Cloud provider: [AWS/Azure/GCP]
- Resources involved: [e.g., VPC, EKS, RDS, S3, etc.]
- Environment: [dev/staging/production]
- Team size: [number of developers using this module]
Please help me with:
1. Code refactoring and modularization
2. Variable optimization and validation
3. Output improvements
4. Security best practices
5. State management recommendations
6. Documentation and examples
7. Version compatibility and upgrade paths
No Data configured
docker run --rm --interactive --env FASTMCP_LOG_LEVEL=ERROR awslabs/core-mcp-server:latest
npx -y @modelcontextprotocol/server-filesystem /Users/davidtamayodomench/Documents/dev/
docker run --rm --interactive --env FASTMCP_LOG_LEVEL=ERROR --env-file /Users/davidtamayodomench/Documents/dev/.env awslabs/cost-analysis-mcp-server:latest