[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D1VQ1T7XYFMZK2PSFE9578":3,"skill-same:01M6D1VQ1T7XYFMZK2PSFE9578":67},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":49,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6D1VQ1T7XYFMZK2PSFE9578","devops-iac",null,"Infrastructure as code: Terraform or OpenTofu with remote state and locking, modules, one configuration per environment, plan in CI and apply with approval, drift, importing what exists, variables and secrets, naming and tagging, policy checks, and Pulumi or Ansible where they fit. Read before writing or changing infrastructure code.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fdevops-iac\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"devops iac","iac","devops","plan","drift","configuration","modules","environment","read","opentofu","writing","secrets","ansible","ci","infrastructure as code","state","terraform","code","infrastructure","policy","2026-11-10 10:12:30",false,"---\nname: devops-iac\ndescription: \"Infrastructure as code: Terraform or OpenTofu with remote state and locking, modules, one configuration per environment, plan in CI and apply with approval, drift, importing what exists, variables and secrets, naming and tagging, policy checks, and Pulumi or Ansible where they fit. Read before writing or changing infrastructure code.\"\n---\n\n# Infrastructure as code\n\nThe generated version is one `main.tf` holding every resource of every\nenvironment, local state (or a committed `terraform.tfstate` with the database\npassword inside), unpinned providers, `terraform apply -auto-approve` from a\nlaptop, a `count` list whose middle item, removed, recreates everything after\nit, and a production database one typo from deletion. This is how to lay out\ninfrastructure code so each change is small, reviewed as a plan, applied by CI\nwith approval, and cannot quietly delete data. One part of devops; the whole\nis in the `devops` skill.\n\n## 1. Choosing the tool\n\n| Tool | Choose when |\n|---|---|\n| Terraform (1.16) or OpenTofu (1.12) | The default: declarative HCL, every major provider. OpenTofu is the MPL-licensed fork and can encrypt state client-side; Terraform is BSL-licensed with HCP Terraform. One per repository. |\n| Pulumi | The team wants TypeScript, Python or Go with real loops and tests; same plan and state model |\n| CloudFormation, CDK, Bicep | The organisation standardised on one cloud's native tool |\n| Ansible | Configuring servers (packages, users, files, services), not creating cloud resources |\n| cloud-init, Packer | First-boot setup; baked machine images |\n\nA single app on a PaaS needs only the platform's config file; bring in\nTerraform when DNS, buckets, databases and several services must change\ntogether.\n\n## 2. State\n\n```hcl\nterraform {\n  required_version = \">= 1.11\"\n  required_providers {\n    aws = { source = \"hashicorp\u002Faws\", version = \"~> 6.0\" }\n  }\n  backend \"s3\" {\n    bucket       = \"acme-tfstate-prod\"\n    key          = \"network\u002Fterraform.tfstate\"\n    region       = \"eu-west-1\"\n    encrypt      = true\n    use_lockfile = true\n  }\n}\n```\n\n- Remote, locked, encrypted and versioned: S3 with `use_lockfile = true`\n  (native locking; DynamoDB locking is deprecated), GCS (locks built in),\n  `azurerm`, or HCP Terraform. The bucket has versioning, blocked public\n  access, KMS encryption, and access for the CI roles and a break-glass admin\n  only.\n- State holds every attribute of every resource, passwords included. Treat it\n  as a secret: never commit `*.tfstate`, never paste it into a chat or a PR.\n- Split it per environment (separate accounts where possible) and per\n  component (network, data, apps), so a plan covers tens of resources, not\n  thousands. Share values through data sources or read-only\n  `terraform_remote_state`.\n- The state bucket itself comes from a small bootstrap configuration,\n  documented.\n- Never edit state by hand; `terraform force-unlock \u003Cid>` only when certain no\n  run is active; refactor with `moved`, `removed` and `import` blocks\n  (section 5), not `state mv` and `state rm`.\n\n## 3. Layout\n\n```text\ninfra\u002F\n  modules\u002F\n    network\u002F          main.tf variables.tf outputs.tf versions.tf README.md\n    service\u002F\n  live\u002F\n    staging\u002Fnetwork\u002F  backend.tf main.tf terraform.tfvars\n    staging\u002Fapp\u002F\n    prod\u002Fnetwork\u002F\n    prod\u002Fapp\u002F\n```\n\n- Root modules per environment and component call shared modules;\n  environments differ by variables, never by copied code.\n- A directory per environment, not `terraform workspace`: workspaces share one\n  backend and one set of credentials, so production is one `workspace select`\n  away from a mistake.\n- Modules are small, with typed variables (descriptions and `validation`\n  blocks) and outputs, no provider blocks inside, and pinned versions:\n  `source = \"git::https:\u002F\u002Fgithub.com\u002Facme\u002Ftf-modules.git\u002F\u002Fnetwork?ref=v1.4.0\"`\n  or a registry `version`.\n- `.terraform.lock.hcl` is committed with hashes for every platform in use:\n  `terraform providers lock -platform=linux_amd64 -platform=linux_arm64 -platform=darwin_arm64`.\n- Terragrunt or Terramate only when many stacks share wiring.\n\n## 4. Plan in CI, apply with approval\n\n- On each PR that touches a stack: `fmt -check`, `validate`, `tflint`, a\n  misconfiguration scan (`trivy config .` or `checkov -d .`), then a plan\n  posted to the PR; policy on the plan JSON (`terraform show -json tfplan >\n  plan.json`, then `conftest test plan.json`); a cost diff (Infracost) where\n  money matters.\n- Apply only from CI, only the saved plan that was reviewed, after approval\n  in a protected environment, with OIDC credentials (`devops-ci`); one run\n  per state at a time (the lock and a concurrency group). The plan role is\n  read-only; the apply role is separate.\n\n```yaml\n      - run: terraform init -input=false\n      - run: terraform plan -input=false -lock-timeout=5m -out=tfplan\n      - run: terraform show -no-color tfplan > plan.txt\n```\n\n- The saved plan contains secrets: a private, short-lived artefact.\n- Read the plan. Every `destroy` and `-\u002F+` replacement is explained before\n  approval; \"forces replacement\" on a database, a volume or a bucket stops\n  the change.\n- `-target` only in an emergency, followed by a full plan. Atlantis, Digger,\n  HCP Terraform, Spacelift and env0 run this loop if the team wants a tool.\n\n## 5. Existing resources and refactoring\n\n```hcl\nimport {\n  to = aws_s3_bucket.assets\n  id = \"acme-assets-prod\"\n}\n\nmoved {\n  from = aws_instance.web\n  to   = module.web.aws_instance.this\n}\n\nremoved {\n  from = aws_instance.legacy\n  lifecycle {\n    destroy = false\n  }\n}\n```\n\n- Adopt what exists with `import` blocks (inside modules too, since Terraform\n  1.16); `terraform plan -generate-config-out=generated.tf` drafts the HCL,\n  which you then tidy until the plan shows no changes.\n- `moved` renames without destroying; `removed` with `destroy = false` stops\n  managing a resource without deleting it.\n- `for_each` over a map with stable keys, not `count` over a list: removing a\n  list item shifts every later index and replaces those resources.\n\n## 6. Variables and secrets\n\n- `terraform.tfvars` per environment holds non-secret values and is\n  committed. Secrets never go in tfvars, variable defaults or code.\n- Better still, Terraform never sees the secret: RDS\n  `manage_master_user_password = true` keeps the password in Secrets\n  Manager. Otherwise read it from a secret manager through an `ephemeral`\n  resource (Terraform 1.10 and later) into a write-only argument such as\n  `password_wo` (1.11 and later), which stays out of state.\n- `sensitive = true` hides a value in plan output only; it is still in state.\n  `random_password` values live in state too.\n\n## 7. Protecting data, and drift\n\n```hcl\nresource \"aws_db_instance\" \"main\" {\n  identifier                  = \"shop-prod\"\n  engine                      = \"postgres\"\n  instance_class              = \"db.t4g.medium\"\n  allocated_storage           = 50\n  username                    = \"shop\"\n  manage_master_user_password = true\n  storage_encrypted           = true\n  backup_retention_period     = 14\n  deletion_protection         = true\n  final_snapshot_identifier   = \"shop-prod-final\"\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}\n```\n\n- `prevent_destroy` fails any plan that would destroy the resource, but not\n  one where its block was deleted, so the provider's own protection stays on\n  as well (`deletion_protection`, bucket versioning without `force_destroy`).\n- `create_before_destroy` for things others reference (certificates, launch\n  templates), so a replacement causes no gap.\n- Drift: a scheduled plan per stack (nightly) with `-detailed-exitcode`; exit\n  code 2 means reality differs, and it opens an issue. `plan -refresh-only`\n  shows what changed outside Terraform; accept it with `apply -refresh-only`\n  or let the next apply revert it. A console change made in an emergency is\n  written back into code the same day.\n- `ignore_changes` only for attributes something else owns (an autoscaler's\n  desired count), with a comment saying what.\n\n## 8. Naming, tagging, IAM\n\n- Names `\u003Cproject>-\u003Cenv>-\u003Ccomponent>`, lowercase with hyphens\n  (`shop-prod-db`), within each service's limits (S3 bucket names are global,\n  up to 63 characters).\n- Tags on everything, set once on the provider:\n\n```hcl\nprovider \"aws\" {\n  region = \"eu-west-1\"\n  default_tags {\n    tags = {\n      Project     = \"shop\"\n      Environment = \"prod\"\n      Owner       = \"platform\"\n      ManagedBy   = \"terraform\"\n      CostCentre  = \"web\"\n    }\n  }\n}\n```\n\n- IAM in code with least privilege: `aws_iam_policy_document` data sources,\n  named actions on named resources, no `\"*\"` on `\"*\"` (`devops-security`).\n\n## 9. Pulumi and Ansible\n\n- Pulumi: a stack per environment, `pulumi preview --diff` on PRs,\n  `pulumi up` from CI after approval, state in Pulumi Cloud or a\n  self-managed backend (`pulumi login s3:\u002F\u002F...`), secrets with\n  `pulumi config set --secret` or ESC, `protect: true` on data stores.\n- Ansible: idempotent roles, an inventory per environment (from Terraform\n  outputs), `ansible-lint`, `--check --diff` before a real run, secrets in\n  Ansible Vault or SOPS, `become` only where needed.\n\n## Check it\n\n- `terraform fmt -check -recursive`,\n  `terraform init -backend=false && terraform validate` (no credentials\n  needed), `tflint --init && tflint --recursive`, `trivy config .`.\n- `terraform plan` with read-only credentials when you have them; every\n  destroy and replacement read and explained in the report.\n- `.terraform.lock.hcl` committed; no `*.tfstate`, `*.tfplan` or secret\n  values in git (`gitleaks dir infra\u002F`).\n- No `apply`, `destroy`, `import` against real state or `force-unlock` unless\n  the task says so.\n\n## Avoid\n\nLocal or committed state; one state for everything; workspaces as the\nboundary between production and staging; unpinned providers and modules;\nsecrets in tfvars, defaults or outputs without a plan for state; applies from\nlaptops or of an unreviewed plan; `-auto-approve` against production;\n`count` over lists of named things; hand edits to state; `-target` as a\nhabit; data stores without `prevent_destroy` and provider deletion\nprotection; drift left to pile up; Ansible used to create cloud resources;\napplying on your own initiative.\n","# Infrastructure as code\n\nThe generated version is one `main.tf` holding every resource of every\nenvironment, local state (or a committed `terraform.tfstate` with the database\npassword inside), unpinned providers, `terraform apply -auto-approve` from a\nlaptop, a `count` list whose middle item, removed, recreates everything after\nit, and a production database one typo from deletion. This is how to lay out\ninfrastructure code so each change is small, reviewed as a plan, applied by CI\nwith approval, and cannot quietly delete data. One part of devops; the whole\nis in the `devops` skill.\n\n## 1. Choosing the tool\n\n| Tool | Choose when |\n|---|---|\n| Terraform (1.16) or OpenTofu (1.12) | The default: declarative HCL, every major provider. OpenTofu is the MPL-licensed fork and can encrypt state client-side; Terraform is BSL-licensed with HCP Terraform. One per repository. |\n| Pulumi | The team wants TypeScript, Python or Go with real loops and tests; same plan and state model |\n| CloudFormation, CDK, Bicep | The organisation standardised on one cloud's native tool |\n| Ansible | Configuring servers (packages, users, files, services), not creating cloud resources |\n| cloud-init, Packer | First-boot setup; baked machine images |\n\nA single app on a PaaS needs only the platform's config file; bring in\nTerraform when DNS, buckets, databases and several services must change\ntogether.\n\n## 2. State\n\n```hcl\nterraform {\n  required_version = \">= 1.11\"\n  required_providers {\n    aws = { source = \"hashicorp\u002Faws\", version = \"~> 6.0\" }\n  }\n  backend \"s3\" {\n    bucket       = \"acme-tfstate-prod\"\n    key          = \"network\u002Fterraform.tfstate\"\n    region       = \"eu-west-1\"\n    encrypt      = true\n    use_lockfile = true\n  }\n}\n```\n\n- Remote, locked, encrypted and versioned: S3 with `use_lockfile = true`\n  (native locking; DynamoDB locking is deprecated), GCS (locks built in),\n  `azurerm`, or HCP Terraform. The bucket has versioning, blocked public\n  access, KMS encryption, and access for the CI roles and a break-glass admin\n  only.\n- State holds every attribute of every resource, passwords included. Treat it\n  as a secret: never commit `*.tfstate`, never paste it into a chat or a PR.\n- Split it per environment (separate accounts where possible) and per\n  component (network, data, apps), so a plan covers tens of resources, not\n  thousands. Share values through data sources or read-only\n  `terraform_remote_state`.\n- The state bucket itself comes from a small bootstrap configuration,\n  documented.\n- Never edit state by hand; `terraform force-unlock \u003Cid>` only when certain no\n  run is active; refactor with `moved`, `removed` and `import` blocks\n  (section 5), not `state mv` and `state rm`.\n\n## 3. Layout\n\n```text\ninfra\u002F\n  modules\u002F\n    network\u002F          main.tf variables.tf outputs.tf versions.tf README.md\n    service\u002F\n  live\u002F\n    staging\u002Fnetwork\u002F  backend.tf main.tf terraform.tfvars\n    staging\u002Fapp\u002F\n    prod\u002Fnetwork\u002F\n    prod\u002Fapp\u002F\n```\n\n- Root modules per environment and component call shared modules;\n  environments differ by variables, never by copied code.\n- A directory per environment, not `terraform workspace`: workspaces share one\n  backend and one set of credentials, so production is one `workspace select`\n  away from a mistake.\n- Modules are small, with typed variables (descriptions and `validation`\n  blocks) and outputs, no provider blocks inside, and pinned versions:\n  `source = \"git::https:\u002F\u002Fgithub.com\u002Facme\u002Ftf-modules.git\u002F\u002Fnetwork?ref=v1.4.0\"`\n  or a registry `version`.\n- `.terraform.lock.hcl` is committed with hashes for every platform in use:\n  `terraform providers lock -platform=linux_amd64 -platform=linux_arm64 -platform=darwin_arm64`.\n- Terragrunt or Terramate only when many stacks share wiring.\n\n## 4. Plan in CI, apply with approval\n\n- On each PR that touches a stack: `fmt -check`, `validate`, `tflint`, a\n  misconfiguration scan (`trivy config .` or `checkov -d .`), then a plan\n  posted to the PR; policy on the plan JSON (`terraform show -json tfplan >\n  plan.json`, then `conftest test plan.json`); a cost diff (Infracost) where\n  money matters.\n- Apply only from CI, only the saved plan that was reviewed, after approval\n  in a protected environment, with OIDC credentials (`devops-ci`); one run\n  per state at a time (the lock and a concurrency group). The plan role is\n  read-only; the apply role is separate.\n\n```yaml\n      - run: terraform init -input=false\n      - run: terraform plan -input=false -lock-timeout=5m -out=tfplan\n      - run: terraform show -no-color tfplan > plan.txt\n```\n\n- The saved plan contains secrets: a private, short-lived artefact.\n- Read the plan. Every `destroy` and `-\u002F+` replacement is explained before\n  approval; \"forces replacement\" on a database, a volume or a bucket stops\n  the change.\n- `-target` only in an emergency, followed by a full plan. Atlantis, Digger,\n  HCP Terraform, Spacelift and env0 run this loop if the team wants a tool.\n\n## 5. Existing resources and refactoring\n\n```hcl\nimport {\n  to = aws_s3_bucket.assets\n  id = \"acme-assets-prod\"\n}\n\nmoved {\n  from = aws_instance.web\n  to   = module.web.aws_instance.this\n}\n\nremoved {\n  from = aws_instance.legacy\n  lifecycle {\n    destroy = false\n  }\n}\n```\n\n- Adopt what exists with `import` blocks (inside modules too, since Terraform\n  1.16); `terraform plan -generate-config-out=generated.tf` drafts the HCL,\n  which you then tidy until the plan shows no changes.\n- `moved` renames without destroying; `removed` with `destroy = false` stops\n  managing a resource without deleting it.\n- `for_each` over a map with stable keys, not `count` over a list: removing a\n  list item shifts every later index and replaces those resources.\n\n## 6. Variables and secrets\n\n- `terraform.tfvars` per environment holds non-secret values and is\n  committed. Secrets never go in tfvars, variable defaults or code.\n- Better still, Terraform never sees the secret: RDS\n  `manage_master_user_password = true` keeps the password in Secrets\n  Manager. Otherwise read it from a secret manager through an `ephemeral`\n  resource (Terraform 1.10 and later) into a write-only argument such as\n  `password_wo` (1.11 and later), which stays out of state.\n- `sensitive = true` hides a value in plan output only; it is still in state.\n  `random_password` values live in state too.\n\n## 7. Protecting data, and drift\n\n```hcl\nresource \"aws_db_instance\" \"main\" {\n  identifier                  = \"shop-prod\"\n  engine                      = \"postgres\"\n  instance_class              = \"db.t4g.medium\"\n  allocated_storage           = 50\n  username                    = \"shop\"\n  manage_master_user_password = true\n  storage_encrypted           = true\n  backup_retention_period     = 14\n  deletion_protection         = true\n  final_snapshot_identifier   = \"shop-prod-final\"\n\n  lifecycle {\n    prevent_destroy = true\n  }\n}\n```\n\n- `prevent_destroy` fails any plan that would destroy the resource, but not\n  one where its block was deleted, so the provider's own protection stays on\n  as well (`deletion_protection`, bucket versioning without `force_destroy`).\n- `create_before_destroy` for things others reference (certificates, launch\n  templates), so a replacement causes no gap.\n- Drift: a scheduled plan per stack (nightly) with `-detailed-exitcode`; exit\n  code 2 means reality differs, and it opens an issue. `plan -refresh-only`\n  shows what changed outside Terraform; accept it with `apply -refresh-only`\n  or let the next apply revert it. A console change made in an emergency is\n  written back into code the same day.\n- `ignore_changes` only for attributes something else owns (an autoscaler's\n  desired count), with a comment saying what.\n\n## 8. Naming, tagging, IAM\n\n- Names `\u003Cproject>-\u003Cenv>-\u003Ccomponent>`, lowercase with hyphens\n  (`shop-prod-db`), within each service's limits (S3 bucket names are global,\n  up to 63 characters).\n- Tags on everything, set once on the provider:\n\n```hcl\nprovider \"aws\" {\n  region = \"eu-west-1\"\n  default_tags {\n    tags = {\n      Project     = \"shop\"\n      Environment = \"prod\"\n      Owner       = \"platform\"\n      ManagedBy   = \"terraform\"\n      CostCentre  = \"web\"\n    }\n  }\n}\n```\n\n- IAM in code with least privilege: `aws_iam_policy_document` data sources,\n  named actions on named resources, no `\"*\"` on `\"*\"` (`devops-security`).\n\n## 9. Pulumi and Ansible\n\n- Pulumi: a stack per environment, `pulumi preview --diff` on PRs,\n  `pulumi up` from CI after approval, state in Pulumi Cloud or a\n  self-managed backend (`pulumi login s3:\u002F\u002F...`), secrets with\n  `pulumi config set --secret` or ESC, `protect: true` on data stores.\n- Ansible: idempotent roles, an inventory per environment (from Terraform\n  outputs), `ansible-lint`, `--check --diff` before a real run, secrets in\n  Ansible Vault or SOPS, `become` only where needed.\n\n## Check it\n\n- `terraform fmt -check -recursive`,\n  `terraform init -backend=false && terraform validate` (no credentials\n  needed), `tflint --init && tflint --recursive`, `trivy config .`.\n- `terraform plan` with read-only credentials when you have them; every\n  destroy and replacement read and explained in the report.\n- `.terraform.lock.hcl` committed; no `*.tfstate`, `*.tfplan` or secret\n  values in git (`gitleaks dir infra\u002F`).\n- No `apply`, `destroy`, `import` against real state or `force-unlock` unless\n  the task says so.\n\n## Avoid\n\nLocal or committed state; one state for everything; workspaces as the\nboundary between production and staging; unpinned providers and modules;\nsecrets in tfvars, defaults or outputs without a plan for state; applies from\nlaptops or of an unreviewed plan; `-auto-approve` against production;\n`count` over lists of named things; hand edits to state; `-target` as a\nhabit; data stores without `prevent_destroy` and provider deletion\nprotection; drift left to pile up; Ansible used to create cloud resources;\napplying on your own initiative.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Fdevops-iac",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add enowdev\u002Fenowxcli --skill devops-iac",{"tool":59,"command":60},"bunx","bunx skills add enowdev\u002Fenowxcli --skill devops-iac",{"tool":62,"command":63},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill devops-iac","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fdevops-iac\u002FSKILL.md",true,[],[68,79,95,108,128,147],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":39},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[75,76,77,78,27],"demo skill","demo","tests","project",{"skillNo":80,"name":29,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":39},"01M6D2HM0GCPM0TM2HPG9HHR2R","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[],[29,85,86,87,88,89,27,90,91,92,93,94],"text","emails","empty","drop","document","page","voice","notifications","documentation","translate",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":39},"01M6D2HG07YS49NM196Q0R3AZ8","ui","Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[],[97,102,103,104,105,90,106,27,107],"icons","components","SET","responsive","layout","before building",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[],[97,115,116,117,118,119,120,121,122,27,107,123,90,36,124,125,102,126,127],"ui themes","switching","photos","tokens","drawing","focus","maps","Art","flash","Charts","content","screenshots","logo",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[],[135,97,136,103,137,138,36,139,140,141,106,118,142,143,144,27,107,90,145,146],"structure","ui structure","pricing","dashboard","Blueprint","article","anatomy","styling","primitives","list","why","how",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[],[97,154,155,156,157,158,159,160,106,78,161,162,27,163,164,165,166,167,168,169],"vue","stack","ui stack vue","forms","pages","watch","runtime","transitions","fetch","pinia","nuxt","template","server","config","directory","testing"]