terraform-lsp
zircote/terraform-lsp/.github/copilot-instructions.md
You are working in a Claude Code plugin for Terraform development with terraform-ls LSP integration.
Copilot instructions2 starsChanged 9 months ago
What's in it
- Copilot instructions
- Priorities
- Commands
- Key Files
- Hook Patterns
# Copilot instructions You are working in a Claude Code plugin for Terraform development with terraform-ls LSP integration. ## Priorities 1. Keep changes small and reviewable. 2. Hooks must be fast - use `head -N` to limit output, `|| true` to prevent blocking. 3. Update documentation when you change developer-facing behavior. ## Commands - Setup: `/setup` (installs terraform-ls, tflint, trivy, checkov) - Validate: `/validate` (verifies plugin installation) ## Key Files - `.lsp.json` - terraform-ls LSP configuration - `hooks/hooks.json` - 17 automated hooks - `.claude/commands/*.md` - slash commands ## Hook Patterns - Use `command -v tool >/dev/null &&` for optional dependencies - Use `cd "$(dirname "$CLAUDE_FILE_PATH")"` for directory-scoped commands - All hooks trigger on `afterWrite`
More agent context in zircote/terraform-lsp
One other file this repository gives its agents.
CLAUDE.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

