administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Apply and enforce cloud resource tagging strategies across AWS, Azure, GCP, and Kubernetes for cost allocation, ownership tracking, compliance, and automation. Use when implementing cloud governance, optimizing costs, or automating infrastructure management.
$ npx -y skills add ancoleman/ai-design-components --skill resource-tagging --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/resource-taggingContext preview
The summary Claude sees to decide when to auto-load this skill.
Apply and enforce cloud resource tagging strategies across AWS, Azure, GCP, and Kubernetes for cost allocation, ownership tracking, compliance, and automation. Use when implementing cloud governance, optimizing costs, or automating infrastructure management.
name: resource-tagging description: Apply and enforce cloud resource tagging strategies across AWS, Azure, GCP, and Kubernetes for cost allocation, ownership tracking, compliance, and automation. Use when implementing cloud governance, optimizing costs, or automating infrastructure management.
Apply comprehensive cloud resource tagging strategies to enable cost allocation, ownership tracking, compliance enforcement, and infrastructure automation across multi-cloud environments.
Resource tagging provides the foundational metadata layer for cloud governance. Tags enable precise cost allocation (reducing unallocated spend by up to 80%), rapid ownership identification, compliance scope definition, and automated lifecycle management. Without proper tagging, cloud costs become untrackable, security incidents lack context, and automation policies fail to target resources effectively.
Use resource tagging when:
Start with the **"Big Six"** required tags for all cloud resources:
| Tag | Purpose | Example Value | |-----|---------|---------------| | **Name** | Human-readable identifier | `prod-api-server-01` | | **Environment** | Lifecycle stage | `prod` \| `staging` \| `dev` | | **Owner** | Responsible team contact | `platform-team@company.com` | | **CostCenter** | Finance code for billing | `CC-1234` | | **Project** | Business initiative | `ecommerce-platform` | | **ManagedBy** | Resource creation method | `terraform` \| `pulumi` \| `manual` |
**Optional tags** to add based on specific needs:
Choose ONE naming convention organization-wide and enforce consistently:
| Convention | Format | Example | Best For | |------------|--------|---------|----------| | **PascalCase** | `CostCenter`, `ProjectName` | AWS standard | AWS-first orgs | | **lowercase** | `costcenter`, `project` | GCP labels (required) | GCP-first orgs | | **kebab-case** | `cost-center`, `project-name` | Azure (case-insensitive) | Azure-first orgs | | **Namespaced** | `company:environment`, `team:owner` | Multi-org tag policies | Large enterprises |
**Critical:** Case sensitivity varies by provider:
For detailed taxonomy of all tag categories, see `references/tag-taxonomy.md`.
Operations-focused metadata: Name, Environment, Version, ManagedBy
Cost allocation metadata: Owner, CostCenter, Project, Department
Compliance metadata: Confidentiality, Compliance, DataClassification, SecurityZone
Lifecycle metadata: Backup, Monitoring, Schedule, AutoShutdown
Support metadata: SLA, ChangeManagement, CreatedBy, CreatedDate
Organization-specific metadata: Customer, Application, Component, Stack
| Provider | Tag Limit | Key Length | Value Length | Case Sensitive | Inheritance | |----------|-----------|------------|--------------|----------------|-------------| | **AWS** | 50 user-defined | 128 chars | 256 chars | Yes | Via tag policies | | **Azure** | 50 pairs | 512 chars | 256 chars | No | Via Azure Policy | | **GCP** | 64 labels | 63 chars | 63 chars | No | Via org policies | | **Kubernetes** | Unlimited | 253 prefix + 63 name | 63 chars | Yes | Via namespace |
Apply tags automatically via Terraform/Pulumi to reduce manual errors by 95%:
# Terraform: Provider-level default tags
provider "aws" {
default_tags {
tags = {
Environment = var.environment
Owner = var.owner
CostCenter = var.cost_center
Project = var.project
ManagedBy = "terraform"
}
}
}All resources automatically inherit these tags. Resource-specific tags merge with defaults.
For complete Terraform, Pulumi, and CloudFormation examples, see `examples/terraform/`, `examples/pulumi/`, and `examples/cloudformation/`.
Enforce tagging at resource creation time:
**AWS**: Use AWS Config rules to check tag compliance (alert or deny) **Azure**: Use Azure Policy for tag inheritance and enforcement **GCP**: Use Organization Policies to restrict label values **Kubernetes**: Use OPA Gatekeeper or Kyverno for admission control
For enforcement implementation patterns, see `references/enforcement-patterns.md`.
Run regular audits (weekly recommended) to identify untagged resources:
**AWS Config Query** (SQL):
SELECT resourceId, resourceType, configuration.tags
WHERE resourceType IN ('AWS::EC2::Instance', 'AWS::RDS::DBInstance')
AND (configuration.tags IS NULL OR NOT configuration.tags.Environment EXISTS)**Azure Resource Graph Query** (KQL):
Resources | where
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Repo: ancoleman/ai-design-components
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations.…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional,…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology,…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF,…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import…