Facets Modules Validate

Validate changed Facets modules by linting rules and running raptor dry-runs.

1|Updated Aug 20, 2025
One-click install
npx skills add https://github.com/Facets-cloud/facets-modules-redesign --skill facets-modules-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Facets Modules Validate
Source: https://github.com/Facets-cloud/facets-modules-redesign/tree/main/.claude/skills/facets-modules-validate
Command: npx skills add https://github.com/Facets-cloud/facets-modules-redesign --skill facets-modules-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that changes made to Facets modules adhere to project-wide validation rules and are compatible with the deployment process, preventing potential issues before they reach production.

Core Features & Use Cases

  • Automated Validation: Checks changed modules against a comprehensive set of rules defined in rules.md.
  • Dry-Run Deployment: Simulates the deployment of modules using raptor create iac-module --dry-run to catch configuration or provider errors.
  • Change Detection: Automatically identifies which modules have been modified based on git history.
  • Use Case: Before merging a pull request that modifies several infrastructure modules, run this Skill to automatically validate all changes, ensuring code quality and preventing deployment failures.

Quick Start

Validate all changed Facets modules in the current branch.

Frequently Asked Questions about Facets Modules Validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate changed Terraform IaC modules before a pull request?

To validate changed Terraform IaC modules, you can lint them against project rules and run a dry-run deployment. This automatically detects modified modules via git diff and checks files containing facets.yaml against rules.md.

What is a raptor dry-run for infrastructure modules?

A raptor dry-run simulates the deployment of infrastructure modules using 'raptor create iac-module --dry-run'. It catches configuration or provider errors by validating the module's output type schemas without actually deploying resources.

Can I skip security scans during IaC module validation if they fail?

Yes, if a security scan fails during the raptor dry-run, the validation process automatically retries the execution with the '--skip-security-scan' flag to complete the remaining validation checks.

How do I lint infrastructure code against custom rules automatically?

You can lint infrastructure code automatically by defining rules in a rules.md file. The validation process reads this file, checks every rule against the module files, and records a PASS, FAIL, or SKIP status for each.

What happens if my Terraform modules have validation rule gaps?

If your Terraform modules have validation rule gaps, the process reports the results per-module and provides a summary. It recommends creating new rules to cover any discovered gaps in the validation checks.

Does the validation process automatically detect which IaC modules changed?

Yes, the validation process automatically detects changed IaC modules by analyzing the git diff. It specifically extracts module paths that contain a facets.yaml file to determine what needs to be validated.