A comprehensive collection of CLAUDE.md templates, curated prompts, automation scripts, and project configurations for using Claude Code effectively in DevOps workflows.
This toolkit provides everything you need to integrate Claude Code into your DevOps projects, from Infrastructure as Code (IaC) generation to CI/CD pipeline optimization. Whether you’re working with Terraform, Kubernetes, Python, or CI/CD pipelines, this repository offers battle-tested templates and prompts to accelerate your development workflow.
claude-code-devops-toolkit/
├── templates/ # CLAUDE.md templates for different project types
│ ├── terraform/ # Terraform-specific conventions and patterns
│ ├── kubernetes/ # K8s manifest generation and best practices
│ ├── python/ # Python DevOps tooling standards
│ └── cicd/ # CI/CD pipeline templates
├── prompts/ # Curated prompt library for common DevOps tasks
│ ├── iac-generation.md
│ ├── debugging.md
│ ├── migration.md
│ └── security-review.md
├── scripts/ # Automation scripts for Claude Code workflows
│ ├── setup-claude-project.sh
│ ├── bulk-review.sh
│ └── generate-docs.sh
├── configs/ # Example .claude/ project configurations
│ ├── terraform-project/
│ ├── k8s-project/
│ └── python-project/
└── .github/workflows/ # CI/CD for the toolkit itself
git clone https://github.com/hammadhaqqani/claude-code-devops-toolkit.git
cd claude-code-devops-toolkit
./scripts/setup-claude-project.sh terraform my-terraform-project
cp templates/terraform/CLAUDE.md /path/to/your/project/
Customize the template with your project-specific context and conventions.
CLAUDE.md templates provide project-specific context to Claude Code, ensuring consistent code generation and adherence to your team’s conventions.
Curated prompt library for common DevOps tasks:
Automation scripts to streamline Claude Code workflows:
Example .claude/settings.json configurations for different project types:
# Use the IaC generation prompt
cat prompts/iac-generation.md | claude-code generate \
--template templates/terraform/CLAUDE.md \
--input "Create an S3 bucket module with versioning and encryption"
# Review Terraform code for security issues
claude-code review \
--prompt prompts/security-review.md \
--files terraform/main.tf terraform/variables.tf
# Initialize a Kubernetes project with Claude Code
./scripts/setup-claude-project.sh kubernetes my-k8s-app
cd my-k8s-app
cp ../templates/kubernetes/CLAUDE.md .
# Review all Terraform files in a directory
./scripts/bulk-review.sh \
--directory ./infrastructure \
--prompt prompts/security-review.md \
--output review-report.md
Customize Templates: Always customize CLAUDE.md templates with your project-specific context, team conventions, and organizational standards.
Version Control: Commit your CLAUDE.md files to version control so all team members benefit from consistent AI assistance.
Iterative Refinement: Continuously refine your prompts and templates based on what works best for your team.
Security First: Use security-review prompts regularly, especially before deploying infrastructure changes.
Documentation: Keep your CLAUDE.md files updated as your project evolves and conventions change.
Contributions are welcome! Please follow these guidelines:
This project is licensed under the MIT License - see the LICENSE file for details.
For issues, questions, or suggestions, please open an issue on GitHub or reach out to the maintainers.
Maintained by: hammadhaqqani
Last Updated: February 2026
If you find this useful, consider buying me a coffee!