[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79E57H9VMZASYH7M55J8HVR":3,"skill-same:01M79E57H9VMZASYH7M55J8HVR":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79E57H9VMZASYH7M55J8HVR","terraform-opentofu-module-architecture",null,"Master production-grade Terraform and OpenTofu module architecture, state management, dependency injection, testing, and multi-environment orchestration.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FCloud_DevOps_and_Infrastructure\u002FInfrastructure_as_Code\u002Fterraform-opentofu-module-architecture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: terraform-opentofu-module-architecture\ndescription: Master production-grade Terraform and OpenTofu module architecture, state management, dependency injection, testing, and multi-environment orchestration.\n---\n\n# Terraform & OpenTofu Module Architecture Skill Guide\n\nThis skill provides comprehensive standards, production patterns, anti-patterns, and actionable code guidelines for designing, building, testing, and maintaining modular Infrastructure as Code (IaC) using Terraform and OpenTofu.\n\n---\n\n## 1. Core Principles & Architecture Guidelines\n\n1. **Strict Separation of Concerns**:\n   - **Root Modules (Live\u002FEnvironments)**: Instantiate reusable modules with environment-specific input values. Never contain resource declarations directly when reusable modules can be authored.\n   - **Child Modules (Reusable Component)**: Abstract infrastructure resources into logical units (e.g., VPC, EKS\u002FGKE, RDS\u002FCloud SQL). Must be environment-agnostic, parameter-driven, and highly composable.\n\n2. **Standard Module Directory Structure**:\n   ```text\n   terraform-provider-name-modulename\u002F\n   ├── main.tf              # Primary resource definitions & orchestrations\n   ├── variables.tf         # Typed input variables with defaults & validation rules\n   ├── outputs.tf           # Explicit outputs with meaningful descriptions & types\n   ├── versions.tf          # Required terraform\u002Fopentofu version & provider constraints\n   ├── dependencies.tf      # Remote state data sources, provider bindings, or internal locals\n   ├── README.md            # Auto-generated documentation (terraform-docs)\n   ├── examples\u002F            # Runnable implementations\n   │   ├── complete\u002F        # Fully featured environment setup\n   │   └── minimal\u002F         # Basic getting-started configuration\n   └── tests\u002F               # Automated unit\u002Fintegration tests (Native \u002F Terratest)\n       ├── unit_test.tftest.hcl\n       └── integration_test.tftest.hcl\n   ```\n\n3. **Immutability & State Management**:\n   - Remote backend with explicit state locking (DynamoDB \u002F S3, GCS, Cloudflare R2, or OpenTofu S3\u002FHTTP backends).\n   - Never share state files across separate environments or environments with different lifecycles; isolate by directory or repository (prefer directory-based layout over workspace-based layout for separate clouds\u002Fenvironments).\n\n---\n\n## 2. Production Code Standards & Examples\n\n### A. Defensive Variable Definition & Validations (`variables.tf`)\n\nAlways define explicit types, descriptions, and custom validation blocks.\n\n```hcl\nvariable \"environment\" {\n  type        = string\n  description = \"Deployment environment name (e.g., dev, staging, prod).\"\n\n  validation {\n    condition     = contains([\"dev\", \"staging\", \"prod\"], var.environment)\n    error_message = \"Allowed values for environment are 'dev', 'staging', or 'prod'.\"\n  }\n}\n\nvariable \"vpc_cidr\" {\n  type        = string\n  description = \"IPv4 CIDR block for the VPC network.\"\n  default     = \"10.0.0.0\u002F16\"\n\n  validation {\n    condition     = can(cidrnetmask(var.vpc_cidr))\n    error_message = \"Must be a valid IPv4 CIDR notation (e.g., 10.0.0.0\u002F16).\"\n  }\n}\n\nvariable \"subnet_configuration\" {\n  type = map(object({\n    cidr_block        = string\n    availability_zone = string\n    public            = bool\n    tags              = optional(map(string), {})\n  }))\n  description = \"Map of subnets to create within the network module.\"\n\n  validation {\n    condition = alltrue([\n      for sub in values(var.subnet_configuration) : can(cidrnetmask(sub.cidr_block))\n    ])\n    error_message = \"All subnets must specify a valid IPv4 CIDR block.\"\n  }\n}\n```\n\n### B. Clean Resource Declarations & Local Conventions (`main.tf`)\n\nUse `locals` to compute tag sets, naming conventions, and conditional configurations centrally.\n\n```hcl\nlocals {\n  name_prefix = \"${var.project_name}-${var.environment}\"\n  \n  default_tags = merge(\n    var.tags,\n    {\n      Environment = var.environment\n      ManagedBy   = \"Terraform\u002FOpenTofu\"\n      Project     = var.project_name\n    }\n  )\n}\n\nresource \"aws_s3_bucket\" \"this\" {\n  bucket        = \"${local.name_prefix}-data-store\"\n  force_destroy = var.environment == \"dev\" ? true : false\n\n  tags = local.default_tags\n}\n\nresource \"aws_s3_bucket_versioning\" \"this\" {\n  bucket = aws_s3_bucket.this.id\n\n  versioning_configuration {\n    status = var.enable_versioning ? \"Enabled\" : \"Suspended\"\n  }\n}\n\nresource \"aws_s3_bucket_server_side_encryption_configuration\" \"this\" {\n  bucket = aws_s3_bucket.this.id\n\n  rule {\n    apply_server_side_encryption_by_default {\n      kms_master_key_id = var.kms_key_arn\n      sse_algorithm     = var.kms_key_arn != null ? \"aws:kms\" : \"AES256\"\n    }\n  }\n}\n```\n\n### C. Explicit Outputs (`outputs.tf`)\n\nAlways return full object references or specific attributes with explicit descriptions. Never leak unencrypted secrets unless explicitly intended (mark `sensitive = true`).\n\n```hcl\noutput \"bucket_id\" {\n  value       = aws_s3_bucket.this.id\n  description = \"The name\u002FID of the created S3 bucket.\"\n}\n\noutput \"bucket_arn\" {\n  value       = aws_s3_bucket.this.arn\n  description = \"The Amazon Resource Name (ARN) of the S3 bucket.\"\n}\n\noutput \"database_connection_string\" {\n  value       = \"postgres:\u002F\u002F${aws_db_instance.this.username}:${aws_db_instance.this.password}@${aws_db_instance.this.endpoint}\u002F${aws_db_instance.this.db_name}\"\n  description = \"Full PostgreSQL connection string.\"\n  sensitive   = true\n}\n```\n\n---\n\n## 3. Native OpenTofu & Terraform Testing Framework (`tests\u002F`)\n\nUse native `.tftest.hcl` test suites to validate logic without third-party dependencies.\n\n```hcl\n# tests\u002Funit_test.tftest.hcl\nrun \"verify_bucket_naming_and_tags\" {\n  command = plan\n\n  variables {\n    project_name      = \"myproject\"\n    environment       = \"dev\"\n    enable_versioning = true\n    tags              = { CostCenter = \"12345\" }\n  }\n\n  assert {\n    condition     = aws_s3_bucket.this.bucket == \"myproject-dev-data-store\"\n    error_message = \"S3 bucket name generated does not match expected convention.\"\n  }\n\n  assert {\n    condition     = aws_s3_bucket.this.tags[\"ManagedBy\"] == \"Terraform\u002FOpenTofu\"\n    error_message = \"ManagedBy tag was not injected correctly.\"\n  }\n}\n\nrun \"verify_production_encryption\" {\n  command = plan\n\n  variables {\n    project_name      = \"myproject\"\n    environment       = \"prod\"\n    kms_key_arn       = \"arn:aws:kms:us-east-1:123456789012:key\u002Fabc-123\"\n    enable_versioning = true\n  }\n\n  assert {\n    condition     = aws_s3_bucket_server_side_encryption_configuration.this.rule[0].apply_server_side_encryption_by_default[0].sse_algorithm == \"aws:kms\"\n    error_message = \"KMS encryption must be applied when kms_key_arn is provided.\"\n  }\n}\n```\n\n---\n\n## 4. Anti-Patterns & Pitfalls\n\n| Anti-Pattern | Why it Fails | Production Solution |\n| :--- | :--- | :--- |\n| **Hardcoding Provider Blocks in Child Modules** | Prevents module users from configuring custom regions, multi-region aliases, or authentication credentials. | Define `required_providers` in child modules; let root module pass providers via `providers = { aws = aws.eu_west_1 }`. |\n| **Monolithic State Files** | Increases blast radius of `terraform destroy` or state corruptions; slows `terraform plan` execution down. | Break infrastructure into isolated layers (e.g., `0-network\u002F`, `1-database\u002F`, `2-apps\u002F`). |\n| **Overusing `count` for Complex Maps** | Modifying items in an array indexed by `count` causes full re-creation of subsequent resources. | Use `for_each` with maps or set expressions. |\n| **Unset or Weak Variable Constraints** | Fails late during `apply` phase rather than early during validation\u002Fplan. | Use custom `validation` blocks and explicit types (`object`, `map`, `list`). |\n| **Dynamic Provisioners (`local-exec` \u002F `remote-exec`)** | Impairs drift detection, idempotency, and portability across OS execution hosts. | Use cloud-native user-data scripts, cloud-init, Ansible, or Kubernetes controllers instead. |\n\n---\n\n## 5. Automated CI\u002FCD & Drift Detection Workflow\n\n```mermaid\ngraph TD\n    A[Git Push \u002F PR] --> B[terraform fmt -check]\n    B --> C[tflint \u002F opentofu fmt]\n    C --> D[trivy \u002F tfsec Security Scan]\n    D --> E[tftest \u002F Terratest Validation]\n    E --> F[terraform plan \u002F tofu plan]\n    F --> G{PR Merged?}\n    G -- Yes --> H[terraform apply \u002F tofu apply]\n    G -- No --> I[End PR Feedback Loop]\n```\n\n### Essential CLI Operations Matrix\n\n- **Validate Code Formatting**: `tofu fmt -recursive -check`\n- **Lint Code**: `tflint --recursive`\n- **Run Native Tests**: `tofu test`\n- **Plan targeted changes**: `tofu plan -out=tfplan -target=module.vpc`\n- **State Operations**: `tofu state mv \u003Csource> \u003Cdestination>` \u002F `tofu state rm \u003Cresource>`\n","# Terraform & OpenTofu Module Architecture Skill Guide\n\nThis skill provides comprehensive standards, production patterns, anti-patterns, and actionable code guidelines for designing, building, testing, and maintaining modular Infrastructure as Code (IaC) using Terraform and OpenTofu.\n\n---\n\n## 1. Core Principles & Architecture Guidelines\n\n1. **Strict Separation of Concerns**:\n   - **Root Modules (Live\u002FEnvironments)**: Instantiate reusable modules with environment-specific input values. Never contain resource declarations directly when reusable modules can be authored.\n   - **Child Modules (Reusable Component)**: Abstract infrastructure resources into logical units (e.g., VPC, EKS\u002FGKE, RDS\u002FCloud SQL). Must be environment-agnostic, parameter-driven, and highly composable.\n\n2. **Standard Module Directory Structure**:\n   ```text\n   terraform-provider-name-modulename\u002F\n   ├── main.tf              # Primary resource definitions & orchestrations\n   ├── variables.tf         # Typed input variables with defaults & validation rules\n   ├── outputs.tf           # Explicit outputs with meaningful descriptions & types\n   ├── versions.tf          # Required terraform\u002Fopentofu version & provider constraints\n   ├── dependencies.tf      # Remote state data sources, provider bindings, or internal locals\n   ├── README.md            # Auto-generated documentation (terraform-docs)\n   ├── examples\u002F            # Runnable implementations\n   │   ├── complete\u002F        # Fully featured environment setup\n   │   └── minimal\u002F         # Basic getting-started configuration\n   └── tests\u002F               # Automated unit\u002Fintegration tests (Native \u002F Terratest)\n       ├── unit_test.tftest.hcl\n       └── integration_test.tftest.hcl\n   ```\n\n3. **Immutability & State Management**:\n   - Remote backend with explicit state locking (DynamoDB \u002F S3, GCS, Cloudflare R2, or OpenTofu S3\u002FHTTP backends).\n   - Never share state files across separate environments or environments with different lifecycles; isolate by directory or repository (prefer directory-based layout over workspace-based layout for separate clouds\u002Fenvironments).\n\n---\n\n## 2. Production Code Standards & Examples\n\n### A. Defensive Variable Definition & Validations (`variables.tf`)\n\nAlways define explicit types, descriptions, and custom validation blocks.\n\n```hcl\nvariable \"environment\" {\n  type        = string\n  description = \"Deployment environment name (e.g., dev, staging, prod).\"\n\n  validation {\n    condition     = contains([\"dev\", \"staging\", \"prod\"], var.environment)\n    error_message = \"Allowed values for environment are 'dev', 'staging', or 'prod'.\"\n  }\n}\n\nvariable \"vpc_cidr\" {\n  type        = string\n  description = \"IPv4 CIDR block for the VPC network.\"\n  default     = \"10.0.0.0\u002F16\"\n\n  validation {\n    condition     = can(cidrnetmask(var.vpc_cidr))\n    error_message = \"Must be a valid IPv4 CIDR notation (e.g., 10.0.0.0\u002F16).\"\n  }\n}\n\nvariable \"subnet_configuration\" {\n  type = map(object({\n    cidr_block        = string\n    availability_zone = string\n    public            = bool\n    tags              = optional(map(string), {})\n  }))\n  description = \"Map of subnets to create within the network module.\"\n\n  validation {\n    condition = alltrue([\n      for sub in values(var.subnet_configuration) : can(cidrnetmask(sub.cidr_block))\n    ])\n    error_message = \"All subnets must specify a valid IPv4 CIDR block.\"\n  }\n}\n```\n\n### B. Clean Resource Declarations & Local Conventions (`main.tf`)\n\nUse `locals` to compute tag sets, naming conventions, and conditional configurations centrally.\n\n```hcl\nlocals {\n  name_prefix = \"${var.project_name}-${var.environment}\"\n  \n  default_tags = merge(\n    var.tags,\n    {\n      Environment = var.environment\n      ManagedBy   = \"Terraform\u002FOpenTofu\"\n      Project     = var.project_name\n    }\n  )\n}\n\nresource \"aws_s3_bucket\" \"this\" {\n  bucket        = \"${local.name_prefix}-data-store\"\n  force_destroy = var.environment == \"dev\" ? true : false\n\n  tags = local.default_tags\n}\n\nresource \"aws_s3_bucket_versioning\" \"this\" {\n  bucket = aws_s3_bucket.this.id\n\n  versioning_configuration {\n    status = var.enable_versioning ? \"Enabled\" : \"Suspended\"\n  }\n}\n\nresource \"aws_s3_bucket_server_side_encryption_configuration\" \"this\" {\n  bucket = aws_s3_bucket.this.id\n\n  rule {\n    apply_server_side_encryption_by_default {\n      kms_master_key_id = var.kms_key_arn\n      sse_algorithm     = var.kms_key_arn != null ? \"aws:kms\" : \"AES256\"\n    }\n  }\n}\n```\n\n### C. Explicit Outputs (`outputs.tf`)\n\nAlways return full object references or specific attributes with explicit descriptions. Never leak unencrypted secrets unless explicitly intended (mark `sensitive = true`).\n\n```hcl\noutput \"bucket_id\" {\n  value       = aws_s3_bucket.this.id\n  description = \"The name\u002FID of the created S3 bucket.\"\n}\n\noutput \"bucket_arn\" {\n  value       = aws_s3_bucket.this.arn\n  description = \"The Amazon Resource Name (ARN) of the S3 bucket.\"\n}\n\noutput \"database_connection_string\" {\n  value       = \"postgres:\u002F\u002F${aws_db_instance.this.username}:${aws_db_instance.this.password}@${aws_db_instance.this.endpoint}\u002F${aws_db_instance.this.db_name}\"\n  description = \"Full PostgreSQL connection string.\"\n  sensitive   = true\n}\n```\n\n---\n\n## 3. Native OpenTofu & Terraform Testing Framework (`tests\u002F`)\n\nUse native `.tftest.hcl` test suites to validate logic without third-party dependencies.\n\n```hcl\n# tests\u002Funit_test.tftest.hcl\nrun \"verify_bucket_naming_and_tags\" {\n  command = plan\n\n  variables {\n    project_name      = \"myproject\"\n    environment       = \"dev\"\n    enable_versioning = true\n    tags              = { CostCenter = \"12345\" }\n  }\n\n  assert {\n    condition     = aws_s3_bucket.this.bucket == \"myproject-dev-data-store\"\n    error_message = \"S3 bucket name generated does not match expected convention.\"\n  }\n\n  assert {\n    condition     = aws_s3_bucket.this.tags[\"ManagedBy\"] == \"Terraform\u002FOpenTofu\"\n    error_message = \"ManagedBy tag was not injected correctly.\"\n  }\n}\n\nrun \"verify_production_encryption\" {\n  command = plan\n\n  variables {\n    project_name      = \"myproject\"\n    environment       = \"prod\"\n    kms_key_arn       = \"arn:aws:kms:us-east-1:123456789012:key\u002Fabc-123\"\n    enable_versioning = true\n  }\n\n  assert {\n    condition     = aws_s3_bucket_server_side_encryption_configuration.this.rule[0].apply_server_side_encryption_by_default[0].sse_algorithm == \"aws:kms\"\n    error_message = \"KMS encryption must be applied when kms_key_arn is provided.\"\n  }\n}\n```\n\n---\n\n## 4. Anti-Patterns & Pitfalls\n\n| Anti-Pattern | Why it Fails | Production Solution |\n| :--- | :--- | :--- |\n| **Hardcoding Provider Blocks in Child Modules** | Prevents module users from configuring custom regions, multi-region aliases, or authentication credentials. | Define `required_providers` in child modules; let root module pass providers via `providers = { aws = aws.eu_west_1 }`. |\n| **Monolithic State Files** | Increases blast radius of `terraform destroy` or state corruptions; slows `terraform plan` execution down. | Break infrastructure into isolated layers (e.g., `0-network\u002F`, `1-database\u002F`, `2-apps\u002F`). |\n| **Overusing `count` for Complex Maps** | Modifying items in an array indexed by `count` causes full re-creation of subsequent resources. | Use `for_each` with maps or set expressions. |\n| **Unset or Weak Variable Constraints** | Fails late during `apply` phase rather than early during validation\u002Fplan. | Use custom `validation` blocks and explicit types (`object`, `map`, `list`). |\n| **Dynamic Provisioners (`local-exec` \u002F `remote-exec`)** | Impairs drift detection, idempotency, and portability across OS execution hosts. | Use cloud-native user-data scripts, cloud-init, Ansible, or Kubernetes controllers instead. |\n\n---\n\n## 5. Automated CI\u002FCD & Drift Detection Workflow\n\n```mermaid\ngraph TD\n    A[Git Push \u002F PR] --> B[terraform fmt -check]\n    B --> C[tflint \u002F opentofu fmt]\n    C --> D[trivy \u002F tfsec Security Scan]\n    D --> E[tftest \u002F Terratest Validation]\n    E --> F[terraform plan \u002F tofu plan]\n    F --> G{PR Merged?}\n    G -- Yes --> H[terraform apply \u002F tofu apply]\n    G -- No --> I[End PR Feedback Loop]\n```\n\n### Essential CLI Operations Matrix\n\n- **Validate Code Formatting**: `tofu fmt -recursive -check`\n- **Lint Code**: `tflint --recursive`\n- **Run Native Tests**: `tofu test`\n- **Plan targeted changes**: `tofu plan -out=tfplan -target=module.vpc`\n- **State Operations**: `tofu state mv \u003Csource> \u003Cdestination>` \u002F `tofu state rm \u003Cresource>`\n",{"name":5,"description":7},"main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Programming\u002FCloud_DevOps_and_Infrastructure\u002FInfrastructure_as_Code\u002Fterraform-opentofu-module-architecture",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill terraform-opentofu-module-architecture",{"tool":40,"command":41},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill terraform-opentofu-module-architecture",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill terraform-opentofu-module-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FCloud_DevOps_and_Infrastructure\u002FInfrastructure_as_Code\u002Fterraform-opentofu-module-architecture\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]