[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AW4HQ7RG6KWDGKC54YSW0E":3,"skill-same:01M7AW4HQ7RG6KWDGKC54YSW0E":67},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AW4HQ7RG6KWDGKC54YSW0E","yun-design-factory",null,"matiinchauspe\u002Fyunque","matiinchauspe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7861346?v=4","01M7AW106HSV1DVWJSQQBD6BYB","Matias","01M7AW107JZVCTQHZEED16N5PZ",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-design-factory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: yun-design-factory\ndescription: Shared language for designing a software factory: the tasks it runs and the services it plugs into. Call it alongside a grilling session.\ndisable-model-invocation: true\n---\n\n# yun-design-factory\n\nA **software factory** is a system of agents that turns tickets, PRs and schedules into merged code, deployed on remote infrastructure the user chooses. This skill is the language for designing one. Use these terms, and only these, when discussing or whiteboarding a factory; when the user reaches for a word under _Avoid_, name the canonical term.\n\n## In this workspace\n\n- **Design inside `yun-grill-plan`**, with this language; write the settled design up with `yun-write-spec`.\n- **A task's body is a harness skill** wherever one exists: each task in [EXAMPLE-TASKS.md](EXAMPLE-TASKS.md) names it, or says none exists yet.\n\n## Tasks and runs\n\n**Task**:\nA kind of work the factory performs, defined once and run many times: review, explore, implement, ratchet. A task may work on a ticket, a PR, or the codebase as a whole.\n_Avoid_: job, workflow, action, as names for the task. A CI vendor's workflow file and its jobs are where a task is wired up, not the task.\n\n**Trigger**:\nThe event that starts a run: a change in the ticket tracker or git host, a clock in the orchestrator, or another run.\n\n**Run**:\nOne execution of a task on one runner, from its trigger to its finish, treated as a black box. A run triggers further runs either directly, through logic in the orchestrator, or by changing the ticket tracker or git host. A run never waits for a human: it ends, and the human's later change to the ticket tracker or git host triggers a new run.\n_Avoid_: session\n\n**Runner**:\nThe disposable machine a run executes on. Nothing on it survives the run, even when the machine itself is long-lived: a run's only memory of earlier runs is the ticket tracker, the git host and the orchestrator.\n_Avoid_: server, host, box, compute, sandbox\nHere, `skills\u002F_shared\u002Fexecution-convention.md`'s isolation tiers provide one; its sandbox tier is one such way, not another name for the runner.\n\n## Services\n\n**Ticket tracker**:\nWhere tickets live, and the factory's human interface: humans schedule work by filing tickets, talk to agents in their comments, and their changes to tickets trigger runs.\n_Avoid_: issue tracker, ticket manager, project board\nHere, it is whatever `skills\u002F_shared\u002Fartifact-convention.md` resolves for the project.\n\n**Ticket source**:\nAnything outside the factory that creates tickets in the ticket tracker: a feedback button, a monitor, an error tracker, an inbox.\n_Avoid_: data source, trigger source, intake\n\n**Git host**:\nWhere branches, PRs and reviews live.\n_Avoid_: code host, repo\nHere, the harness's other skills call it the forge.\n\n**Orchestrator**:\nThe component that receives triggers, starts runs on runners, and records which runs are queued, in flight or finished.\n_Avoid_: dispatcher, scheduler, control plane\n\n**Observability platform**:\nWhere runners send logs, traces and status, so a human can see what happened inside each run. Optional: the product filling the runner or orchestrator slot often shows enough on its own. A run never decides on it until something writes it into the ticket tracker or git host.\n_Avoid_: observability, logs, monitoring, dashboard\n\n## Designing a factory\n\nA design has two halves: the **services**, each a slot filled with a product, and the **tasks** whose runs move work through them.\n\nStart from the user's problem, not the factory: untriaged tickets, PRs waiting for automated review, a stricter automated check to migrate to, bugs nobody reads. When the user names a problem or doesn't know what to build, read [EXAMPLE-TASKS.md](EXAMPLE-TASKS.md) for the tasks that solve common ones.\n\n### Start slow\n\nEvery trigger is an accelerator. Accelerators without brakes make a slop cannon. There are three brakes:\n\n- **Automated checks**: deterministic gates (types, lint, tests) that every run must pass.\n- **Automated review**: a separate run that reads the diff cold against the codebase's standards and the ticket, when there is one.\n- **Human review**: a human reads the PR before it merges; what it catches becomes new automated checks and sharper automated review.\n\nAdd one automated trigger at a time, throttled at first (one bug report in ten, a clock once a day), with human review on every PR. Open the throttle as the brakes earn trust, and cap every loop of runs at a few tries before a human.\n\n### Fill every slot\n\nEach service is a slot. One product can fill several slots, and one server can host several services. Three designs, side by side:\n\n| Service                | All on GitHub                   | Agent-native tracker           | Own tracker              |\n| ---------------------- | ------------------------------- | ------------------------------ | ------------------------ |\n| Ticket tracker         | the git host's tracker          | an agent-native tracker        | own app                  |\n| Ticket source          | feedback button                 | feedback button, monitor       | feedback button, monitor |\n| Git host               | GitHub                          | GitHub                         | GitHub                   |\n| Orchestrator           | GitHub Actions                  | own server + database          | own app                  |\n| Runner                 | Actions runner                  | Actions, E2B, Daytona or a VPS | own app, or sandboxes    |\n| Observability platform | none: Actions run pages suffice | an LLM tracing platform        | own app                  |\n\nWhen the user is choosing a product for a slot, read that slot's survey to get oriented, then research the current options yourself; each survey groups the options by type and lists the questions that decide the slot:\n\n- [TICKET-TRACKERS.md](TICKET-TRACKERS.md)\n- [GIT-HOSTS.md](GIT-HOSTS.md)\n- [RUNNERS.md](RUNNERS.md)\n- [OBSERVABILITY-PLATFORMS.md](OBSERVABILITY-PLATFORMS.md)\n\nBuy the services and build the tasks: the tasks carry the user's design, the services are generic. Favour an off-the-shelf ticket tracker: it is robust, people already know it, and outside users are easy to let in.\n\n### Question every task\n\nFor each task, answer:\n\n1. What triggers it?\n2. What does it do, and which services does it read and write?\n3. What does it trigger next?\n4. Where does a human re-enter?\n5. What stops two runs doing the same work?\n\nFor each ticket source, answer: what stops it filing the same ticket twice?\n\nA design is finished when every slot names a product (or, for the observability platform, a deliberate none) and every task and ticket source has an answer to every question.\n\n## Attribution\n\nAdapted for this workspace from **Matt Pocock's `software-factory`** (github.com\u002Fmattpocock\u002Fskills, MIT, `skills\u002Fin-progress\u002F` at `d18183fe`). Changes: renamed to the `yun-\u003Cverb>-\u003Cnoun>` harness convention; the workspace bindings added — the design settled in `yun-grill-plan` and written with `yun-write-spec`, each example task naming the harness skill that carries its body, the tracker resolved by `artifact-convention`, the runner tied to `execution-convention`'s tiers, and the git host's _Avoid_ list releasing \"forge\", the harness's own word for it; the design table's middle column named by tracker type instead of product, and `TICKET-TRACKERS.md`'s cross-reference to it renamed to match. The glossary, the brakes, the slots, the five questions and the four slot surveys are preserved.\n","# yun-design-factory\n\nA **software factory** is a system of agents that turns tickets, PRs and schedules into merged code, deployed on remote infrastructure the user chooses. This skill is the language for designing one. Use these terms, and only these, when discussing or whiteboarding a factory; when the user reaches for a word under _Avoid_, name the canonical term.\n\n## In this workspace\n\n- **Design inside `yun-grill-plan`**, with this language; write the settled design up with `yun-write-spec`.\n- **A task's body is a harness skill** wherever one exists: each task in [EXAMPLE-TASKS.md](EXAMPLE-TASKS.md) names it, or says none exists yet.\n\n## Tasks and runs\n\n**Task**:\nA kind of work the factory performs, defined once and run many times: review, explore, implement, ratchet. A task may work on a ticket, a PR, or the codebase as a whole.\n_Avoid_: job, workflow, action, as names for the task. A CI vendor's workflow file and its jobs are where a task is wired up, not the task.\n\n**Trigger**:\nThe event that starts a run: a change in the ticket tracker or git host, a clock in the orchestrator, or another run.\n\n**Run**:\nOne execution of a task on one runner, from its trigger to its finish, treated as a black box. A run triggers further runs either directly, through logic in the orchestrator, or by changing the ticket tracker or git host. A run never waits for a human: it ends, and the human's later change to the ticket tracker or git host triggers a new run.\n_Avoid_: session\n\n**Runner**:\nThe disposable machine a run executes on. Nothing on it survives the run, even when the machine itself is long-lived: a run's only memory of earlier runs is the ticket tracker, the git host and the orchestrator.\n_Avoid_: server, host, box, compute, sandbox\nHere, `skills\u002F_shared\u002Fexecution-convention.md`'s isolation tiers provide one; its sandbox tier is one such way, not another name for the runner.\n\n## Services\n\n**Ticket tracker**:\nWhere tickets live, and the factory's human interface: humans schedule work by filing tickets, talk to agents in their comments, and their changes to tickets trigger runs.\n_Avoid_: issue tracker, ticket manager, project board\nHere, it is whatever `skills\u002F_shared\u002Fartifact-convention.md` resolves for the project.\n\n**Ticket source**:\nAnything outside the factory that creates tickets in the ticket tracker: a feedback button, a monitor, an error tracker, an inbox.\n_Avoid_: data source, trigger source, intake\n\n**Git host**:\nWhere branches, PRs and reviews live.\n_Avoid_: code host, repo\nHere, the harness's other skills call it the forge.\n\n**Orchestrator**:\nThe component that receives triggers, starts runs on runners, and records which runs are queued, in flight or finished.\n_Avoid_: dispatcher, scheduler, control plane\n\n**Observability platform**:\nWhere runners send logs, traces and status, so a human can see what happened inside each run. Optional: the product filling the runner or orchestrator slot often shows enough on its own. A run never decides on it until something writes it into the ticket tracker or git host.\n_Avoid_: observability, logs, monitoring, dashboard\n\n## Designing a factory\n\nA design has two halves: the **services**, each a slot filled with a product, and the **tasks** whose runs move work through them.\n\nStart from the user's problem, not the factory: untriaged tickets, PRs waiting for automated review, a stricter automated check to migrate to, bugs nobody reads. When the user names a problem or doesn't know what to build, read [EXAMPLE-TASKS.md](EXAMPLE-TASKS.md) for the tasks that solve common ones.\n\n### Start slow\n\nEvery trigger is an accelerator. Accelerators without brakes make a slop cannon. There are three brakes:\n\n- **Automated checks**: deterministic gates (types, lint, tests) that every run must pass.\n- **Automated review**: a separate run that reads the diff cold against the codebase's standards and the ticket, when there is one.\n- **Human review**: a human reads the PR before it merges; what it catches becomes new automated checks and sharper automated review.\n\nAdd one automated trigger at a time, throttled at first (one bug report in ten, a clock once a day), with human review on every PR. Open the throttle as the brakes earn trust, and cap every loop of runs at a few tries before a human.\n\n### Fill every slot\n\nEach service is a slot. One product can fill several slots, and one server can host several services. Three designs, side by side:\n\n| Service                | All on GitHub                   | Agent-native tracker           | Own tracker              |\n| ---------------------- | ------------------------------- | ------------------------------ | ------------------------ |\n| Ticket tracker         | the git host's tracker          | an agent-native tracker        | own app                  |\n| Ticket source          | feedback button                 | feedback button, monitor       | feedback button, monitor |\n| Git host               | GitHub                          | GitHub                         | GitHub                   |\n| Orchestrator           | GitHub Actions                  | own server + database          | own app                  |\n| Runner                 | Actions runner                  | Actions, E2B, Daytona or a VPS | own app, or sandboxes    |\n| Observability platform | none: Actions run pages suffice | an LLM tracing platform        | own app                  |\n\nWhen the user is choosing a product for a slot, read that slot's survey to get oriented, then research the current options yourself; each survey groups the options by type and lists the questions that decide the slot:\n\n- [TICKET-TRACKERS.md](TICKET-TRACKERS.md)\n- [GIT-HOSTS.md](GIT-HOSTS.md)\n- [RUNNERS.md](RUNNERS.md)\n- [OBSERVABILITY-PLATFORMS.md](OBSERVABILITY-PLATFORMS.md)\n\nBuy the services and build the tasks: the tasks carry the user's design, the services are generic. Favour an off-the-shelf ticket tracker: it is robust, people already know it, and outside users are easy to let in.\n\n### Question every task\n\nFor each task, answer:\n\n1. What triggers it?\n2. What does it do, and which services does it read and write?\n3. What does it trigger next?\n4. Where does a human re-enter?\n5. What stops two runs doing the same work?\n\nFor each ticket source, answer: what stops it filing the same ticket twice?\n\nA design is finished when every slot names a product (or, for the observability platform, a deliberate none) and every task and ticket source has an answer to every question.\n\n## Attribution\n\nAdapted for this workspace from **Matt Pocock's `software-factory`** (github.com\u002Fmattpocock\u002Fskills, MIT, `skills\u002Fin-progress\u002F` at `d18183fe`). Changes: renamed to the `yun-\u003Cverb>-\u003Cnoun>` harness convention; the workspace bindings added — the design settled in `yun-grill-plan` and written with `yun-write-spec`, each example task naming the harness skill that carries its body, the tracker resolved by `artifact-convention`, the runner tied to `execution-convention`'s tiers, and the git host's _Avoid_ list releasing \"forge\", the harness's own word for it; the design table's middle column named by tracker type instead of product, and `TICKET-TRACKERS.md`'s cross-reference to it renamed to match. The glossary, the brakes, the slots, the five questions and the four slot surveys are preserved.\n",{},"main","31bfd2af63052d9bb7036b02364637ba5dc70f87","skills\u002Fyun-design-factory",0,"https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe","The fools will be invencible - \r\n\r\nDevelop developing thoughts","2026-11-13 04:14:30",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add matiinchauspe\u002Fyunque --skill yun-design-factory",{"tool":37,"command":38},"bunx","bunx skills add matiinchauspe\u002Fyunque --skill yun-design-factory",{"tool":40,"command":41},"pnpm","pnpm dlx skills add matiinchauspe\u002Fyunque --skill yun-design-factory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-design-factory\u002FSKILL.md",true,[45,51,55,59,63],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"EXAMPLE-TASKS.md","REFERENCE","参考文档",4557,"https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-design-factory\u002FEXAMPLE-TASKS.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"GIT-HOSTS.md",7706,"https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-design-factory\u002FGIT-HOSTS.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"OBSERVABILITY-PLATFORMS.md",7849,"https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-design-factory\u002FOBSERVABILITY-PLATFORMS.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"RUNNERS.md",8738,"https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-design-factory\u002FRUNNERS.md",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"TICKET-TRACKERS.md",8471,"https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-design-factory\u002FTICKET-TRACKERS.md",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7AW7HDMMJ372HG8PGM5RR0Z","yun-write-wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-write-wizard\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7AW7AX7MH2S7GSG6JAD4PQY","yun-write-spec","Write the spec — consolidate a large task's settled decisions into one durable document before it is sliced into tickets. Use when the decisions are settled and the user wants them written up, or says \"write the spec\" \u002F \"escribí el spec\". Declines small fixes that need no spec.","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-write-spec\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7AW76CY32E072H8FKE8PDQ5","yun-write-pr","Write a pull request title and body that show the change — its ticket, its shape, the evidence it works, and how dangerous it is to merge.","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-write-pr\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M7AW7291YQKHYGSJKGG1EVVX","yun-write-handoff","Compact the current session into a disposable handoff baton for the next agent, pointing at durable memory instead of duplicating it.","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-write-handoff\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M7AW6WXBGGYX7XMWYQFMNCVJ","yun-write-agent-docs","Use when authoring or editing a document an agent reads in this workspace — a skill, a `skills\u002F_shared\u002F` contract, `AGENTS.md` or `skills\u002FREADME.md` — deciding how it is invoked, what lives in it versus a linked file, naming it, or diagnosing why a skill misfires, bloats, or fires unreliably.","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-write-agent-docs\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":18},"01M7AW6Q9K91GDDWY0YJMCYSJK","yun-tdd","Test-driven development — the red → green loop, tests written only at pre-agreed seams. Use when the user wants to build a feature or fix a bug test-first, or mentions TDD or red-green. Reached by the implement flow to drive a build at a seam.","https:\u002F\u002Fgithub.com\u002Fmatiinchauspe\u002Fyunque\u002Fblob\u002Fmain\u002Fskills\u002Fyun-tdd\u002FSKILL.md",[],[]]