[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JP9RTQMC779E27K8T2CFF5":3,"skill-same:01M6JP9RTQMC779E27K8T2CFF5":83},{"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":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6JP9RTQMC779E27K8T2CFF5","deployment-repo",null,"Design a deployment (GitOps) repo that orchestrates multiple services in a polyrepo — version pinning, environment promotion, compatibility matrices, system config. Triggers: deployment repo, GitOps repo, polyrepo, multi-repo, version pinning, compatibility matrix, environment promotion, multi-service deployment, orchestration repo, which versions work together.","SWEStash\u002Fswe-workflow-skills","SWEStash","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272895713?v=4","01M6JNRQ84JN5WFK9S1V5H4G46","SWE Stash","01M6JNRQCM45X8WPNHY30TSAB0",1,"MIT","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdevops\u002Fskills\u002Fdeployment-repo\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"deployment repo","deployment","repo","version","matrix","which","promotion","multi","triggers","matrices","gitops","compatibility","design","environment","work","multi-repo","system","services","config","orchestration","2026-11-10 10:12:30",false,"---\nname: deployment-repo\ndescription: \"Design a deployment (GitOps) repo that orchestrates multiple services in a polyrepo — version pinning, environment promotion, compatibility matrices, system config. Triggers: deployment repo, GitOps repo, polyrepo, multi-repo, version pinning, compatibility matrix, environment promotion, multi-service deployment, orchestration repo, which versions work together.\"\n---\n\n# Deployment Repository Design\n\nThe deployment repo is the single source of truth for how a distributed system is composed. Individual app repos answer \"where does service X live?\" — the deployment repo answers \"where does the system live?\"\n\n## Step 1: Assess the System\n\nBefore designing the repo, map the landscape:\n\n- **Services**: How many repos, what each service does, what language\u002Fframework\n- **Communication**: How services talk (REST, gRPC, events\u002Fqueues, shared database)\n- **Team structure**: One team owns everything vs. multiple teams with service ownership\n- **Current deployment**: How are services deployed today? Manual, CI-driven, ad hoc?\n- **Environments**: Local dev, staging, production? More?\n\n**Determine scale tier:**\n\n| Tier | Team size | Services | Recommended tooling |\n|------|-----------|----------|-------------------|\n| **Lightweight** | 1 team | 2-5 | docker-compose, Makefile, `.env` files |\n| **Standard** | 2-3 teams | 5-15 | Helm or Kustomize, CI-driven promotion |\n| **Enterprise** | Many teams | 15+ | Helm + ArgoCD\u002FFlux, automated promotion, audit trails |\n\nStart at the lightest tier that fits. You can graduate up — premature complexity is worse than growing into it.\n\n## Step 2: Design the Repo Structure\n\nThe deployment repo contains everything needed to compose, deploy, and validate the full system. See [references\u002Fdeployment-repo-patterns.md](references\u002Fdeployment-repo-patterns.md) for detailed structures per tier and [templates\u002Fdeployment-repo-structure.md](templates\u002Fdeployment-repo-structure.md) for scaffolding.\n\n**Core directories (all tiers):**\n\n```\ndeployment-repo\u002F\n├── versions.yaml              # Compatible service versions (the compatibility lock)\n├── docker-compose.yml         # Local dev orchestration\n├── .env.example               # Environment template\n├── Makefile                   # Developer-friendly commands (make up, make test)\n├── environments\u002F              # Per-environment overrides\n│   ├── dev\u002F\n│   ├── staging\u002F\n│   └── production\u002F\n├── tests\u002F\n│   └── e2e\u002F                   # Cross-service E2E tests\n├── docs\u002F\n│   ├── architecture\u002F          # ADRs, system diagrams\n│   └── runbooks\u002F              # Operational procedures\n└── scripts\u002F                   # Utility scripts (setup, seed, health checks)\n```\n\n**Standard\u002FEnterprise additions:**\n\n```\n├── infrastructure\u002F            # Shared IaC (Terraform modules, network config)\n├── helm\u002F                      # Helm umbrella chart or per-service charts\n│   ├── Chart.yaml             # Dependencies with pinned versions\n│   └── values\u002F\n│       ├── dev.yaml\n│       ├── staging.yaml\n│       └── production.yaml\n├── contracts\u002F                 # API contracts (OpenAPI specs, Pact contracts)\n└── ci\u002F                        # System-level CI\u002FCD pipelines\n```\n\n**Choose the manifest format based on tier:**\n- **Lightweight**: `docker-compose.yml` with image tags pinned in `versions.yaml` or `.env`\n- **Standard**: Helm charts with `values-\u003Cenv>.yaml` overrides, or Kustomize with base + overlays\n- **Enterprise**: Helm umbrella chart with sub-charts per service, or Kustomize with ApplicationSets\n\n## Step 3: Define the Version Pinning Strategy\n\nThis is the core mechanism. The deployment repo acts as a **compatibility lock** — analogous to `package-lock.json` but at the system level.\n\n**Semantic versioning is the contract.** Each app repo tags releases with semver (`v1.2.3`). The deployment repo's `versions.yaml` records which versions have been validated together:\n\n```yaml\n# versions.yaml — the compatibility lock\nservices:\n  api-gateway:\n    image: registry.example.com\u002Fapi-gateway\n    version: v2.3.1\n  user-service:\n    image: registry.example.com\u002Fuser-service\n    version: v1.7.0\n  billing-service:\n    image: registry.example.com\u002Fbilling-service\n    version: v3.1.2\n\nvalidated:\n  timestamp: \"2025-01-15T14:30:00Z\"\n  e2e_result: pass\n  contract_result: pass\n```\n\n**Version pinning rules:**\n\n1. **Pin exact versions, not ranges** — `v1.7.0`, not `v1.x` or `latest`. The deployment repo records what was tested, not what might work.\n2. **Promote version sets, not individual services** — When staging's version set passes validation, the entire set promotes to production. This prevents \"it worked in staging\" failures caused by version drift.\n3. **Breaking changes require coordinated bumps** — If `api-gateway` v3.0.0 requires `user-service` v2.0.0, both versions update in the same deployment repo commit.\n4. **Every version combination that reaches an environment is recorded** — The deployment repo's git history IS the audit trail of what ran where and when.\n\nSee [references\u002Fversion-compatibility.md](references\u002Fversion-compatibility.md) for semver contract details, compatibility matrices, and breaking change coordination patterns.\n\n## Step 4: Design Contract Tests\n\nVersion pinning is only trustworthy if compatibility is actually tested. Contract tests validate that pinned versions can talk to each other.\n\n**Consumer-driven contracts (recommended for HTTP APIs):**\n- Each consumer service defines its expectations of a provider's API (a \"contract\")\n- Contracts live in the deployment repo's `contracts\u002F` directory or are published to a Pact Broker\n- The deployment repo CI runs contract verification: for each service pair, verify that the pinned provider version satisfies the pinned consumer's contract\n- The **`can-i-deploy`** check (Pact Broker) answers: \"are these specific versions compatible?\"\n\n**Schema validation (recommended for event-driven systems):**\n- Event schemas (Avro, Protobuf, JSON Schema) live in the deployment repo or a schema registry\n- CI validates that producer schemas are backward-compatible with what consumers expect\n- Schema evolution rules: additive changes are safe, field removal\u002Frename is breaking\n\n**What to test in the deployment repo CI:**\n1. Contract compatibility between all pinned service versions\n2. E2E smoke tests against the composed system (docker-compose up + test suite)\n3. Database migration compatibility (if services share a database)\n\n## Step 5: Set Up Environment Promotion\n\nThe deployment repo PR is the promotion mechanism. No version reaches any environment without going through it.\n\n**Promotion flow:**\n\n```\nApp repo tags v1.8.0\n    → Automated PR to deployment repo: \"bump user-service to v1.8.0 in dev\"\n        → CI runs contract tests + E2E in dev\n            → Merge → dev deploys automatically\n                → Manual PR: \"promote dev version set to staging\"\n                    → CI runs full E2E in staging\n                        → Merge → staging deploys\n                            → Manual PR with approval gate: \"promote to production\"\n                                → Merge → production deploys (canary optional)\n```\n\n**Key design decisions:**\n- **Dev**: auto-promote on merge, fast feedback\n- **Staging**: manual promotion trigger, full E2E validation\n- **Production**: approval gate (require N reviewers), optional canary rollout\n- **Rollback**: revert the deployment repo commit — the previous version set is restored\n\nFor automated cross-repo triggers (app repo build -> deployment repo PR), see `gitops-delivery`.\n\n## Step 6: Validate and Document\n\nVerify the full lifecycle works:\n\n- [ ] A version bump in an app repo triggers an update in the deployment repo (manual or automated)\n- [ ] Contract tests catch an intentionally incompatible version combination\n- [ ] E2E tests run against the composed system in CI\n- [ ] Promotion from dev to staging works via PR\n- [ ] Rollback works by reverting a deployment repo commit\n- [ ] A new developer can `make up` and get the full system running locally\n- [ ] Adding a new service to the deployment repo is documented\n\n**Document for the team:**\n- How to add a new service to the deployment repo\n- How to bump a service version (manual process or automated trigger)\n- How to promote across environments\n- How to rollback\n- How to run E2E tests locally\n\n## Principles Applied\n\n- **Single source of truth**: The deployment repo is THE place to understand what's running where. Don't split this knowledge across wikis, Slack threads, and CI configs.\n- **KISS**: Start lightweight (docker-compose + versions.yaml). Graduate to Helm\u002FArgoCD when the pain of the simple approach exceeds the cost of the complex one.\n- **Explicit over implicit**: Pin exact versions. Record test results. Make the compatibility lock visible, not assumed.\n- **YAGNI**: Don't set up Helm umbrella charts for 3 services. Don't add ArgoCD before you have multiple environments. Scale the tooling to the problem.\n- **Promote sets, not services**: The fundamental principle — a validated version set moves together through environments.\n\n## Cross-Skill References\n\n- `test-data-strategy` — **name this handoff whenever the question is how to write the contract tests**, not which versions to pin. This skill decides the compatibility matrix and the promotion gate; that one owns the Pact consumer\u002Fprovider recipes, fixtures, and broker wiring that fill it in.\n- `gitops-delivery` — automate delivery from the deployment repo using ArgoCD\u002FFlux and cross-repo triggers\n- `containerization` — Helm chart structure, Kustomize overlays, and Dockerfile patterns for services\n- `infrastructure-as-code` — Terraform modules for shared infrastructure in the deployment repo\n- `cicd-pipeline` — system-level CI pipelines and cross-repo pipeline design\n- `dependency-impact-analysis` — map blast radius of breaking changes across services before updating version pins\n- `rollback-strategy` — rollback in a deployment repo context is a git revert of the version set\n- `architecture-design` — ADR for adopting the deployment repo pattern itself\n","# Deployment Repository Design\n\nThe deployment repo is the single source of truth for how a distributed system is composed. Individual app repos answer \"where does service X live?\" — the deployment repo answers \"where does the system live?\"\n\n## Step 1: Assess the System\n\nBefore designing the repo, map the landscape:\n\n- **Services**: How many repos, what each service does, what language\u002Fframework\n- **Communication**: How services talk (REST, gRPC, events\u002Fqueues, shared database)\n- **Team structure**: One team owns everything vs. multiple teams with service ownership\n- **Current deployment**: How are services deployed today? Manual, CI-driven, ad hoc?\n- **Environments**: Local dev, staging, production? More?\n\n**Determine scale tier:**\n\n| Tier | Team size | Services | Recommended tooling |\n|------|-----------|----------|-------------------|\n| **Lightweight** | 1 team | 2-5 | docker-compose, Makefile, `.env` files |\n| **Standard** | 2-3 teams | 5-15 | Helm or Kustomize, CI-driven promotion |\n| **Enterprise** | Many teams | 15+ | Helm + ArgoCD\u002FFlux, automated promotion, audit trails |\n\nStart at the lightest tier that fits. You can graduate up — premature complexity is worse than growing into it.\n\n## Step 2: Design the Repo Structure\n\nThe deployment repo contains everything needed to compose, deploy, and validate the full system. See [references\u002Fdeployment-repo-patterns.md](references\u002Fdeployment-repo-patterns.md) for detailed structures per tier and [templates\u002Fdeployment-repo-structure.md](templates\u002Fdeployment-repo-structure.md) for scaffolding.\n\n**Core directories (all tiers):**\n\n```\ndeployment-repo\u002F\n├── versions.yaml              # Compatible service versions (the compatibility lock)\n├── docker-compose.yml         # Local dev orchestration\n├── .env.example               # Environment template\n├── Makefile                   # Developer-friendly commands (make up, make test)\n├── environments\u002F              # Per-environment overrides\n│   ├── dev\u002F\n│   ├── staging\u002F\n│   └── production\u002F\n├── tests\u002F\n│   └── e2e\u002F                   # Cross-service E2E tests\n├── docs\u002F\n│   ├── architecture\u002F          # ADRs, system diagrams\n│   └── runbooks\u002F              # Operational procedures\n└── scripts\u002F                   # Utility scripts (setup, seed, health checks)\n```\n\n**Standard\u002FEnterprise additions:**\n\n```\n├── infrastructure\u002F            # Shared IaC (Terraform modules, network config)\n├── helm\u002F                      # Helm umbrella chart or per-service charts\n│   ├── Chart.yaml             # Dependencies with pinned versions\n│   └── values\u002F\n│       ├── dev.yaml\n│       ├── staging.yaml\n│       └── production.yaml\n├── contracts\u002F                 # API contracts (OpenAPI specs, Pact contracts)\n└── ci\u002F                        # System-level CI\u002FCD pipelines\n```\n\n**Choose the manifest format based on tier:**\n- **Lightweight**: `docker-compose.yml` with image tags pinned in `versions.yaml` or `.env`\n- **Standard**: Helm charts with `values-\u003Cenv>.yaml` overrides, or Kustomize with base + overlays\n- **Enterprise**: Helm umbrella chart with sub-charts per service, or Kustomize with ApplicationSets\n\n## Step 3: Define the Version Pinning Strategy\n\nThis is the core mechanism. The deployment repo acts as a **compatibility lock** — analogous to `package-lock.json` but at the system level.\n\n**Semantic versioning is the contract.** Each app repo tags releases with semver (`v1.2.3`). The deployment repo's `versions.yaml` records which versions have been validated together:\n\n```yaml\n# versions.yaml — the compatibility lock\nservices:\n  api-gateway:\n    image: registry.example.com\u002Fapi-gateway\n    version: v2.3.1\n  user-service:\n    image: registry.example.com\u002Fuser-service\n    version: v1.7.0\n  billing-service:\n    image: registry.example.com\u002Fbilling-service\n    version: v3.1.2\n\nvalidated:\n  timestamp: \"2025-01-15T14:30:00Z\"\n  e2e_result: pass\n  contract_result: pass\n```\n\n**Version pinning rules:**\n\n1. **Pin exact versions, not ranges** — `v1.7.0`, not `v1.x` or `latest`. The deployment repo records what was tested, not what might work.\n2. **Promote version sets, not individual services** — When staging's version set passes validation, the entire set promotes to production. This prevents \"it worked in staging\" failures caused by version drift.\n3. **Breaking changes require coordinated bumps** — If `api-gateway` v3.0.0 requires `user-service` v2.0.0, both versions update in the same deployment repo commit.\n4. **Every version combination that reaches an environment is recorded** — The deployment repo's git history IS the audit trail of what ran where and when.\n\nSee [references\u002Fversion-compatibility.md](references\u002Fversion-compatibility.md) for semver contract details, compatibility matrices, and breaking change coordination patterns.\n\n## Step 4: Design Contract Tests\n\nVersion pinning is only trustworthy if compatibility is actually tested. Contract tests validate that pinned versions can talk to each other.\n\n**Consumer-driven contracts (recommended for HTTP APIs):**\n- Each consumer service defines its expectations of a provider's API (a \"contract\")\n- Contracts live in the deployment repo's `contracts\u002F` directory or are published to a Pact Broker\n- The deployment repo CI runs contract verification: for each service pair, verify that the pinned provider version satisfies the pinned consumer's contract\n- The **`can-i-deploy`** check (Pact Broker) answers: \"are these specific versions compatible?\"\n\n**Schema validation (recommended for event-driven systems):**\n- Event schemas (Avro, Protobuf, JSON Schema) live in the deployment repo or a schema registry\n- CI validates that producer schemas are backward-compatible with what consumers expect\n- Schema evolution rules: additive changes are safe, field removal\u002Frename is breaking\n\n**What to test in the deployment repo CI:**\n1. Contract compatibility between all pinned service versions\n2. E2E smoke tests against the composed system (docker-compose up + test suite)\n3. Database migration compatibility (if services share a database)\n\n## Step 5: Set Up Environment Promotion\n\nThe deployment repo PR is the promotion mechanism. No version reaches any environment without going through it.\n\n**Promotion flow:**\n\n```\nApp repo tags v1.8.0\n    → Automated PR to deployment repo: \"bump user-service to v1.8.0 in dev\"\n        → CI runs contract tests + E2E in dev\n            → Merge → dev deploys automatically\n                → Manual PR: \"promote dev version set to staging\"\n                    → CI runs full E2E in staging\n                        → Merge → staging deploys\n                            → Manual PR with approval gate: \"promote to production\"\n                                → Merge → production deploys (canary optional)\n```\n\n**Key design decisions:**\n- **Dev**: auto-promote on merge, fast feedback\n- **Staging**: manual promotion trigger, full E2E validation\n- **Production**: approval gate (require N reviewers), optional canary rollout\n- **Rollback**: revert the deployment repo commit — the previous version set is restored\n\nFor automated cross-repo triggers (app repo build -> deployment repo PR), see `gitops-delivery`.\n\n## Step 6: Validate and Document\n\nVerify the full lifecycle works:\n\n- [ ] A version bump in an app repo triggers an update in the deployment repo (manual or automated)\n- [ ] Contract tests catch an intentionally incompatible version combination\n- [ ] E2E tests run against the composed system in CI\n- [ ] Promotion from dev to staging works via PR\n- [ ] Rollback works by reverting a deployment repo commit\n- [ ] A new developer can `make up` and get the full system running locally\n- [ ] Adding a new service to the deployment repo is documented\n\n**Document for the team:**\n- How to add a new service to the deployment repo\n- How to bump a service version (manual process or automated trigger)\n- How to promote across environments\n- How to rollback\n- How to run E2E tests locally\n\n## Principles Applied\n\n- **Single source of truth**: The deployment repo is THE place to understand what's running where. Don't split this knowledge across wikis, Slack threads, and CI configs.\n- **KISS**: Start lightweight (docker-compose + versions.yaml). Graduate to Helm\u002FArgoCD when the pain of the simple approach exceeds the cost of the complex one.\n- **Explicit over implicit**: Pin exact versions. Record test results. Make the compatibility lock visible, not assumed.\n- **YAGNI**: Don't set up Helm umbrella charts for 3 services. Don't add ArgoCD before you have multiple environments. Scale the tooling to the problem.\n- **Promote sets, not services**: The fundamental principle — a validated version set moves together through environments.\n\n## Cross-Skill References\n\n- `test-data-strategy` — **name this handoff whenever the question is how to write the contract tests**, not which versions to pin. This skill decides the compatibility matrix and the promotion gate; that one owns the Pact consumer\u002Fprovider recipes, fixtures, and broker wiring that fill it in.\n- `gitops-delivery` — automate delivery from the deployment repo using ArgoCD\u002FFlux and cross-repo triggers\n- `containerization` — Helm chart structure, Kustomize overlays, and Dockerfile patterns for services\n- `infrastructure-as-code` — Terraform modules for shared infrastructure in the deployment repo\n- `cicd-pipeline` — system-level CI pipelines and cross-repo pipeline design\n- `dependency-impact-analysis` — map blast radius of breaking changes across services before updating version pins\n- `rollback-strategy` — rollback in a deployment repo context is a git revert of the version set\n- `architecture-design` — ADR for adopting the deployment repo pattern itself\n",{"name":5,"description":7},"main","800dc9ad0ca2914d6ad15b8c5159d9b57bb104c2","plugins\u002Fdevops\u002Fskills\u002Fdeployment-repo","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills","https:\u002F\u002Fgithub.com\u002FSWEStash","A stash of things we felt like building","2026-11-12 00:14:33",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add SWEStash\u002Fswe-workflow-skills --skill deployment-repo",{"tool":57,"command":58},"bunx","bunx skills add SWEStash\u002Fswe-workflow-skills --skill deployment-repo",{"tool":60,"command":61},"pnpm","pnpm dlx skills add SWEStash\u002Fswe-workflow-skills --skill deployment-repo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdevops\u002Fskills\u002Fdeployment-repo\u002FSKILL.md",true,[65,71,75,79],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"evals\u002Fevals.json","REFERENCE","参考文档",3535,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdevops\u002Fskills\u002Fdeployment-repo\u002Fevals\u002Fevals.json",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fdeployment-repo-patterns.md",7759,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdevops\u002Fskills\u002Fdeployment-repo\u002Freferences\u002Fdeployment-repo-patterns.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fversion-compatibility.md",7852,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdevops\u002Fskills\u002Fdeployment-repo\u002Freferences\u002Fversion-compatibility.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"templates\u002Fdeployment-repo-structure.md",5736,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdevops\u002Fskills\u002Fdeployment-repo\u002Ftemplates\u002Fdeployment-repo-structure.md",[84,110,135,158,183,208],{"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":39},"01M6JQFADV3T1MS9V1BNZS1232","writing-skills","Use when authoring, editing, or reviewing a skill in this library — a new SKILL.md, one that under-triggers, or hardening an existing one. Covers description and listing-budget rules, frontmatter, progressive disclosure, the 3-eval rule, and pressure-testing against rationalizations.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[91,92,93,94,95,96,97,98,99,100,101,102,27,103,104,105,106,107,108,109],"writing","writing skills","testing","eval","write","edit","Budget","authoring","new skill","library","frontmatter","editing","use","Existing","Rules","write a skill","when","listing","progressive disclosure",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"01M6JQF5DGMXPMQQVZBP8DH9SY","working-agreement","Define and validate how a multi-session project is run — where plans, status and decisions live, session routines, new work, milestone close. README\u002FCONTRIBUTING → project-documentation.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fworking-agreement\u002FSKILL.md",[],[117,118,119,120,121,122,33,123,124,125,126,127,128,129,130,131,132,133,27,134],"working agreement","project","definition of done","done","milestone","documentation","progress","how","contributing","close","run","sync","status","live","do","README","session","routines",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":39},"01M6JQF0SMRHN82RBSWMABC4J0","verification-before-completion","Evidence gate before any claim that work is done, fixed, passing, or deployed. Route here when a message declares the work finished or asks to commit, push, merge, ship, or close it out, including a brief sign-off, and before git-workflow or release-management act on it. Writing the commit message or PR text itself → git-workflow.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[142,143,144,145,146,147,91,148,120,149,150,151,33,152,126,153,154,155,156,157],"verification","verification before completion","brief","ready","fix","claim","workflow","commit","text","route","message","merge","release","git","act","ship",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":39},"01M6JQEVGE9NJZ11DV60AE6VWC","ui-ux-design","Design user experiences from an engineer's perspective — user flows, wireframes, interaction patterns, responsive strategy, navigation, loading\u002Ferror\u002Fempty states. Triggers: design the UI, user flow, wireframe, how should this screen look, loading state, error state, empty state, responsive design, navigation, page layout, form design, mockup.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-ux-design\u002FSKILL.md",[],[31,165,166,167,168,169,170,171,172,173,174,175,124,176,177,178,179,180,181,182],"ux","ui","ui ux design","error","states","loading","flows","engineer","interaction","layout","responsive design","screen","flow","patterns","mockup","responsive","form","page",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":39},"01M6JQEN4HVFTZWQYWGTDS76K9","threat-modeling","Design-time security analysis of a system or feature before it's built — trust boundaries, attack surface, STRIDE per element, abuse cases, prioritized mitigations that become security requirements. Triggers: threat model, STRIDE, trust boundary, attack surface, what could go wrong security-wise, security design review, abuse case, secure this design, security requirements. Reviewing EXISTING code\u002Fconfig for vulnerabilities → security-audit; use this skill while the design is still on the whiteboard.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fthreat-modeling\u002FSKILL.md",[],[190,191,192,193,194,195,31,196,197,198,199,200,201,202,203,204,37,205,206,207],"modeling","threat modeling","threat","model","time","element","whiteboard","security analysis","analysis","code","review","threat model","audit","security-audit","secure","go","security","trust",{"skillNo":209,"name":210,"nameZh":6,"description":211,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":212,"categories":213,"keywords":214,"publishedAt":39},"01M6JQEFT7VT3FQM16170EG9FW","test-suite-design","Design comprehensive test suites for existing code — strategy across unit\u002Fintegration\u002Fe2e, fixtures, factories, helpers. Triggers: add tests, write tests for, increase coverage, test this module, testing strategy, test plan, what tests do I need, test infrastructure, test helpers, this has no tests. Not for TDD — use tdd-workflow.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftest-suite-design\u002FSKILL.md",[],[31,215,216,217,218,219,93,220,221,148,199,222,223,95,224,225,131,226,227,27],"test suite","test","test suite design","coverage","unit","write tests","testing strategy","across","plan","add","infrastructure","test plan","for"]