[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M735JH2ETNDDD623P736ZKMZ":3,"skill-same:01M735JH2ETNDDD623P736ZKMZ":50},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M735JH2ETNDDD623P736ZKMZ","design",null,"Use when generating a project's design from its PRD — the \u002Fdesign flow that turns the requirements under specs\u002Frequirements\u002F into the design under specs\u002Fdesign\u002F, a prototype for each web app included, then writes the acceptance tests. Also the flow for converging an existing design onto an amended PRD, and for addressing the design review's comments (\u002Faddress-comments).","wso2\u002Flabs-agentic-engineer","wso2","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F533043?v=4","01M6CDAFS40T9Y86DYXWE0NJES","WSO2","01M735EE4N2PP2ZR56AX7DNPNP",24,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: design\ndescription: Use when generating a project's design from its PRD — the \u002Fdesign flow that turns the requirements under specs\u002Frequirements\u002F into the design under specs\u002Fdesign\u002F, a prototype for each web app included, then writes the acceptance tests. Also the flow for converging an existing design onto an amended PRD, and for addressing the design review's comments (\u002Faddress-comments).\nmetadata:\n  aep:\n    kind: platform\n    audience: [design]\n---\n\n# Design\n\nThe design step: derive the complete design of the PRD from the requirements\nunder `specs\u002Frequirements\u002F` — the product page `prd.md`, one file per feature\nunder `features\u002F`, and `product-wide.md` (`prd-contract`). Design makes its\nartifacts in a fixed order (**The lineup**), and each artifact builds on the\nartifacts before it. The build gate checks the result mechanically — every\nstory claimed by some component's design.json, every component enriched — so\nthe way to a clean Build is to follow that order.\n\n## Which features this run designs\n\nDesign works per feature. A feature is **designable** once it has been\ninterviewed (it has stories) and no `*blocking*` question in its Open\nQuestions stops it; a stub and a blocked feature are left out, and say so in a\nline.\n\n- `\u002Fdesign F1 F2` names the features: design those, and leave every other\n  feature's part of the design as it is — shared components change only where\n  the named features need them to.\n- A bare `\u002Fdesign` designs every designable feature.\n- Lines tagged `*assumed*` are designed **as written**. Seeing an assumption in\n  a screen or a contract is the quickest way for the user to judge it; do not\n  stop to ask about one, and do not leave it out.\n\nThe build checks each feature against the requirements the run that designed\nit read: a feature whose words change after its design is out of date until a\nrun designs it again, and every other feature's design stands.\n\n## The PRD is the brief\n\nDesign FROM those files, and do not widen or narrow the scope: what the PRD\nsays is what gets designed. No `prd.md` means the user needs `\u002Fstart` first,\nand no designable feature means a feature's interview comes first\n(`\u002Finterview F\u003Cn>`) — stop and say so. The gap check (step 1) is the one step\nthat writes the requirements, and it adds only what the product needs to do\nwhat the PRD already says.\n\n**Questions do not stop the run.** Some calls only the user can make: a fact\nonly the user knows, or a choice that the PRD left open on purpose. Do not\nmake such a call, and do not stop to ask it. Write it as an open question in\nthe file that its answer changes (`prd-contract`), design the parts that do\nnot depend on it, and count it in your closing. The user answers each\nquestion on the Design card, which reads it from that file: do not ask it in\nthe chat too. The PRD's own answers are\nsettled: asking one back reads as the document being ignored. An open question\nalready in the requirements does not stop the run either, except a\n`*blocking*` one, which leaves its feature out (above). One marked \"deferred\"\nis one the user has already declined for now; leave it alone.\n\n## Reference documents ground the design\n\nThe kickoff may have attached reference documents — and for design, the ones\nthat matter most are the user's own sketches: a drawn screen sketch, a form\nscreenshot, a mockup image. They are attached to this conversation natively\n(images and PDFs) or in your workspace files (text). When any exist:\n\n- **A user-drawn sketch is the layout brief.** The web application's\n  prototype follows what the user drew — screen structure, navigation, the\n  controls they placed — refined, not reinvented. Look at the image before\n  you write a screen.\n- A form document (paper form, PDF) is the field inventory: the screens that\n  digitize it carry its fields and sections, and the data model holds them.\n- Where a sketch and the PRD disagree, the PRD's scope wins, but the sketch's\n  layout intent survives inside that scope — and the discrepancy is worth a\n  line in your closing.\n\nNo documents attached is the ordinary case: design from the PRD alone.\n\n## Say what you write, and report each artifact\n\nDesign runs long, and a reader who can only see finished files cannot tell how\nmuch is left. **Call `declare_plan` before you start writing**, naming the\nfiles that step is about to produce, and call it again each time the plan grows\n— you cannot know the per-component files until the cell fixes the component\nset, so the list arriving in waves is the real shape of the work, not a failure\nto plan. Restating a path you already declared is harmless. It does not end\nyour turn: declare, then write.\n\n**When an artifact is complete, say so in the chat in one short line**, right\nafter its write succeeds and before the next step starts: the artifact's name,\nthen what it holds, in words the user knows. Do not recap the file.\n\n- `Gap check: 3 decisions added to F1 and F2, 1 question for you.`\n- `Architecture: expense-web (web app), expense-api (service), receipt-ocr (outside service).`\n- `Data model: Employee (with manager), Claim, Expense, Receipt.`\n- `Roles and permissions: Employee, Manager, Finance.`\n- `expense-web prototype: 7 screens, 4 flows.`\n\n## The lineup\n\nEach step names the skill that governs it. Those bodies are inlined for this\nturn — apply them directly, and load one only if you find you do not have it.\nEach step reads the steps before it, so keep the order. Inside one step, write\nthe files that do not depend on each other as parallel calls.\n\n0. **Declare the first wave** — `declare_plan` with what you can already name:\n   `specs\u002Fdesign\u002Fdesign.cell`, `specs\u002Fdesign\u002Fdomain-model.md`,\n   `specs\u002Fdesign\u002Fsecurity.json` and `specs\u002Fdesign\u002Fdecisions.md`, plus each\n   requirements file the gap check changes.\n1. **Gap check** — before the architecture, find the holes in the requirements\n   of the features this run designs, and close them (**The gap check**, below).\n2. **Architecture** (`cell-design`, then `architecture`).\n   - Emit `design.cell` FIRST: every component, boundaries and edges. The\n     console streams it into the live diagram, and the platform scaffolds a\n     design.json skeleton per deployable component when it lands.\n   - Then `declare_plan` the per-component files and fill each component's\n     design.json: language (org Tech stack default first), the `stories` it\n     serves, by ID (`\"F2.3\"`; every story the feature files define must be\n     claimed by some component — the build gate checks coverage), dependencies\n     (discover before you invent), description, pinned skills.\n   - A dependency is a cell node: a database or cache you introduce here goes\n     into design.cell first (`component \u003Cid> as \"…\" database`, inside the\n     cell) — the cell is the source of truth, and a design.json naming a node\n     it lacks is refused.\n   - An external dependency is also its own definition,\n     `specs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json`, written before the\n     component that references it (`architecture` owns the shape). In this\n     step, `dependency.json` says only what the dependency is: its `name`,\n     and in `resource` its `name`, its `description`, and the `provider`\n     when the requirements name one (else `suggestions`). Write no\n     `contract`, `config` or `provenance`, no contract file and no\n     `assumptions.md`, and do not `web_search` for its interface: step 7\n     does them, when the components show what they call.\n     `{ \"name\": \"slack\", \"resource\": { \"name\": \"slack\", \"description\": \"Posts the round's messages to the team's channel.\", \"provider\": \"Slack\" } }`\n3. **Data model** — `specs\u002Fdesign\u002Fdomain-model.md`: an H1 title, one or two\n   sentences of intro, then exactly ONE mermaid `erDiagram` (entities, key\n   fields, relations). The prototype's records and the API schemas come from\n   it. Brief entity notes after the diagram are fine; keep them to a few\n   lines. Never a second erDiagram.\n4. **Roles and permissions** (`security-design`) — `specs\u002Fdesign\u002Fsecurity.json`\n   when the design has sign-in or roles. Write each role's and each\n   permission's description in plain words, with its limits: a business\n   reviewer checks them. Grant what each role's stories need; step 6 checks\n   the grants against the screens.\n5. **One artifact per component**, in this order:\n   - each `web-application`: its prototype (`prototype`),\n     `prototype.json` and `prototype.tsx` in its component directory. It is\n     built on the data model and the roles, and it is what a business reviewer\n     uses and comments on. Write it before any `openapi.yaml`, also when its\n     screens call that service: the contract serves the screens, so the\n     screens come first.\n   - each `service`: its `openapi.yaml` (`openapi-conventions`). Its\n     operations serve the screens of each prototype that calls it, and its\n     schemas come from the data model. Before you write it, walk each\n     prototype flow (`prototype.json` `flows`) that calls it to its last\n     action. After that action, each screen that shows the changed records\n     gets them from an operation: the same records, in the same states.\n     Example: in the prototype, a booking that its booker cancels stays in\n     My bookings as Cancelled, so `GET \u002Fme\u002Fbookings` returns it, and its\n     `summary` says so. Where a prototype flow and the requirements differ,\n     that is a gap: close it as **The gap check** says, and fix the\n     prototype. Report the walk in one chat line, with what each list keeps\n     after the last action: `Prototype walk: 4 flows; My bookings keeps\n     cancelled bookings.`\n   - each `ai-agent`: its `agent.afm.md` (`agent-building`), after the\n     contracts whose operations it calls.\n   A component of another kind (a scheduled task, a worker) has no artifact:\n   its design.json `description` and `dependencies` hold its behaviour.\n6. **Grants pass** (`security-design`) — re-read `specs\u002Fdesign\u002Fsecurity.json`\n   now that the screens and the operations exist. Step 4 wrote each role's\n   `grants` against a design it could only intend; the operations the screens\n   in each role's flow load are decidable only here. Walk each flow in each\n   prototype (`prototype.json` `flows`), open the contract behind each screen,\n   and make sure the role holds the handle of the operation each screen loads.\n   Make sure also that each field the screen draws (a column, a value, a name\n   in a select or a list) comes from that operation, or from one list\n   operation that each role loading the screen may call. A field that no\n   operation gives is a gap in the contract, and the build cannot change the\n   contract: add the field now to the response of the operation that the\n   screen loads (a name next to its id). Do not widen a scope to close the gap.\n   The service fills a name from its own records, never from a name that the\n   client sends. Re-emit a file only if it changes. Skip the step only when\n   step 4 wrote no security.json at all. No gate refuses a role that is one\n   handle short — the build's mock walk is what catches it, as a hidden screen\n   — so this pass is where it is cheap.\n7. **Dependencies** (`architecture`) — after the grants pass and before the\n   flows, for each external dependency, now that the components show what\n   they call: first `declare_plan` the files of this step. When its\n   provider is chosen, climb `architecture`'s contract ladder (step 3: search\n   for the published document first, then derive it from the provider's\n   reference) and derive its config keys (step 4). Edit its `dependency.json`\n   to add `contract`, `config` and `provenance`, and write the contract file\n   when you derive it. Then write `assumptions.md` beside them: the facts\n   about the service that the design relies on and nothing confirms. Only a\n   dependency with no provider, or one whose ladder found no documentation,\n   goes to **Needs your input** without a contract.\n8. **Flows** — only when a flow is worth writing (see **Flows**, below). A\n   design with one component, or with no journey across components, has none.\n9. **Acceptance tests** (`acceptance-criteria`) — LAST, because they come from\n   the prototypes: `specs\u002Fvalidation\u002Facceptance\u002FF\u003Cn>-\u003Cslug>.feature`, one per\n   feature this run designs. A design without them is unfinished — never skip\n   this step.\n\nWrite `specs\u002Fdesign\u002Fdecisions.md` after step 4 and edit it when a later step\nmakes a new decision (**Technical decisions**, below).\n\n## The gap check\n\nA gap is something the built product must do or have that no requirement\nsays. A coder who meets a gap guesses, and the user sees the guess only after\nthe build. Find the gaps now, from the requirements of the features this run\ndesigns, before any artifact exists.\n\nWalk each actor's work through the product, from an empty database. Ask these\nquestions about each story and decision:\n\n- **What must exist first?** The database starts empty, and nothing is\n  seeded. Each record or relation that a story needs must come from a story or\n  a decision that makes it through the product. Example: \"a manager approves\n  their team's claims\" needs each employee's manager, so something must set\n  it.\n- **Who can do it, and who cannot?** Each actor reaches what its stories need,\n  and no more. Example: can a manager see the claims of another team? Can a\n  manager approve their own claim?\n- **What happens at each limit?** Each amount, date, count or state change has\n  a boundary. Example: does a claim of exactly $1,000.00 need Finance's\n  approval?\n- **What does the actor see when it goes wrong?** An empty list, a refused\n  action, an outside service that fails or is slow.\n\nClose each gap that you find in one of these ways:\n\n- **The product user would notice it, and you can decide it.** Write the\n  decision as a line in the Decisions of the feature it belongs to (or of\n  `product-wide.md`, when it spans features), closed by `*assumed*`\n  (`prd-contract`). Give the work to an actor that `prd.md` defines. Example:\n  `- Finance assigns each employee's manager, on a People screen. *assumed*`.\n  Then design the line as written, like every `*assumed*` line.\n- **Only an engineer would notice it.** It is not a requirement. It is a\n  technical decision, made at the artifact it shapes (**Technical\n  decisions**).\n- **Only the user can decide it** (a fact only they know, or a choice\n  between two products, such as an actor nobody defined). Write it as an open\n  question in that feature's file (`prd-contract`; never `*blocking*`). Design\n  the rest of the feature, and count the question in your closing.\n\nThen report the gap check in one chat line, with the count of decisions per\nfeature and the count of questions. A gap that a later step finds goes the\nsame way, in that step.\n\n## Technical decisions\n\n`specs\u002Fdesign\u002Fdecisions.md` holds the technical decisions that the design\nmakes and the requirements do not state. One test decides where a decision\ngoes: **would a person who uses the product notice it?**\n\n- Yes: it is a requirement. It goes in the feature's file, as the gap check\n  writes it.\n- No: it goes in `decisions.md`.\n- It is a fact about an outside service (\"Xero accepts up to 500 lines per\n  batch\"): it goes in that dependency's `assumptions.md` (`architecture`).\n\n```markdown\n# Technical decisions\n\n- [architecture] Receipt photos are kept in object storage, not in the database. *assumed* (F1)\n- [data-model] Amounts are stored in cents. *assumed* (F1, F2)\n- [security] A manager reads the team's claims through \u002Fme\u002Fteam\u002Fclaims. *assumed* (F2)\n- [expense-api] A list returns 50 claims per page. *assumed* (F1, F2)\n```\n\n- One line per decision. The line starts with the tag of the artifact that\n  the decision shapes: `architecture`, `data-model`, `security`, `flows`, or\n  the name of a component (`expense-api`, `expense-web`). Then the decision,\n  in one sentence. Then `*assumed*`. Then, in parentheses, the IDs of the\n  features that the decision serves, or `all`.\n- Write a line only for a choice between real options that a reviewer could\n  change. Do not restate a requirement: a choice that a requirement line\n  already makes stays only in the requirements. A fact that an organization default or a skill settles (the\n  language, the stack, the sign-in provider) is not a decision.\n- Write `decisions.md` once the roles and permissions are written, with\n  every decision made so far and those you already know the later artifacts\n  will follow. Edit it when a later step makes a new decision.\n- `*assumed*` stays on the line until the user confirms or changes the\n  decision. Then the tag comes off, and the line stays.\n- On a later run, keep each line that still holds, with its words and its\n  tag. Remove a line when no artifact makes that choice now.\n\n## Flows\n\nA flow is a PRD actor's end-to-end journey across components: it starts with\nan actor, spans cell components or an outside service, and involves more than\none component interaction or a decision or async step. Plain CRUD on one entity\nis NOT a flow, and a screen-by-screen walk is the prototype's, not a flow's.\nOne file per flow: `specs\u002Fdesign\u002Fflows\u002F\u003Ckebab-slug>.md`, an H1 title, one or\ntwo sentences naming the actor and the outcome, then exactly ONE mermaid\n`sequenceDiagram`. Every participant must be a node design.cell declares (a\ncomponent, or a boundary external such as the identity server or a SaaS) or an\nactor from the PRD — never an invented name. No context\u002FC1 diagram anywhere:\nthe cell and the PRD carry that. The shape is formulaic — write it like this,\nfirst try:\n\n```mermaid\nsequenceDiagram\n    actor Employee\n    actor LineManager as Line Manager\n    participant expense-webapp\n    participant expense-api\n\n    Employee->>expense-webapp: submit claim (amount, receipt)\n    expense-webapp->>expense-api: create claim\n    alt no receipt\n        expense-api-->>expense-webapp: refused\n    else\n        expense-api-->>expense-webapp: created\n    end\n    LineManager->>expense-webapp: approve\n```\n\nNames are ONE word. A multi-word PRD actor gets an alias — `actor\nLineManager as Line Manager` — and every message uses the one-word id;\nspaces in a declared name or a message endpoint are refused. The\nplatform judges both documents (the data model and each flow) as you write\nthem: a second diagram, a statement outside plain mermaid, or an unresolved\nparticipant is refused (`INVALID_DIAGRAM`, `UNKNOWN_PARTICIPANT`) with the\noffending line and the ids you may use — fix it and re-emit the whole file\nonce.\n\n## Regeneration and the delta pass\n\nA design already exists → CONVERGE it to the current PRD, for the features\nthis run designs: update what\ndrifted, remove what the PRD no longer calls for, keep what holds. A legacy\n`specs\u002Fdesign\u002Fdesign.md` (the retired single-file overview) is not part of\nthe design any more — `removeFile` it and put its content where it now\nbelongs (domain-model.md, flows\u002F).\n\nAn amended PRD is a **delta pass with shipped parts protected**: design what\nthe new stories require and touch shipped components only where those stories\nforce it — calling out every such change. When built reality contradicts the\ndesign, surface the conflict to the user; never silently redraw shipped\narchitecture.\n\n## Addressing comments\n\n`\u002Faddress-comments` sends you the design review's comments. They are in\n`specs\u002Fdesign\u002Freview.json`: one entry per artifact `path`, each with its\n`comments`. Act on each comment whose `status` is `sent` or `reopened`, with\none exception: a `sent` comment that has your `question` and no `answer`\nwaits for the user. Do not act on it, and do not change it. A comment that\nhas an `answer` is the user's answer to your `question`: act on the comment as\nthe answer says. A `reopened` comment keeps your earlier `reply`: its author\ndid not accept that answer. Do not act on a `draft` comment, and do not change\nit. When no comment is left to act on, say so and stop.\n\n1. **Find what each comment changes.** The artifact that a comment is on\n   shows where its author saw the problem. The change can start in an earlier\n   artifact. Example: \"show the receipt on Team approvals\" is on the\n   prototype, and it also needs the contract. A comment on a prototype has an\n   `anchor`: the `screenId`, the `elementIds` (empty for the whole screen),\n   the `roleId`, the `stateId` and, if there is one, the `flowId`. Find them\n   in the prototype as it is now.\n2. **Do not guess an ambiguous comment.** A comment is ambiguous when two\n   reasonable readings give different designs, or when it needs a fact that\n   only the user knows. Do not act on it. Write your question on the comment,\n   as its `question`: one or two sentences, in the words of the reader, that\n   the user can answer in a line (\"Sort the list by the date of the expense,\n   or by the date it was sent?\"). The comment stays `sent`. Write\n   the question only there, not also in a feature file: the Design card asks\n   it from the comment. When the user's answer is a product rule, step 4\n   writes it into the requirements. If a comment that has an `answer` is still\n   ambiguous, replace its `question` with the new one and remove its\n   `answer`.\n3. **Start at the earliest artifact.** Of the comments that you act on, find\n   the change that comes first in this order: the requirements, the\n   architecture, the data model, the roles and permissions, the components'\n   artifacts (the prototypes, then the contracts, then the agents), the\n   dependencies, the flows, `decisions.md`, the acceptance tests.\n   A prototype comment is **cosmetic** when its change touches no record or\n   field, role or permission, API operation, flow step, validation rule or\n   business rule: a label, copy, the layout, the order of things, an empty or\n   an error state. A cosmetic comment stays inside the prototype: change the\n   prototype and nothing else for it. Every other prototype comment starts at\n   the earliest artifact that it touches. When you cannot tell whether a\n   comment is cosmetic, it is not.\n4. **Regenerate from there down, in that order.** Read each later artifact\n   again. Change it only where a comment asks, or where an earlier change\n   makes it wrong. Write a file only when it changes: edit it, and keep its\n   ids, keys and names. When you change one part of a file, keep every other\n   part as it is. Use `editFile` for a local change. A whole-file rewrite\n   (`removeFile`, then `addFile`) must carry the whole file: each section,\n   list and diagram that you do not change, as it was. Apply a prototype comment with the `prototype` skill\n   in this run, together with the contract change that it needs. Write the\n   acceptance tests last: rewrite each feature file whose scenarios the\n   changes make wrong.\n   - A comment that changes a product rule (who can do what, a limit, a\n     state) is a requirement. Write it in the Decisions of its feature, in\n     the comment's words, without `*assumed*`: its author decided it.\n   - A decision that you make to apply a comment goes where **Technical\n     decisions** puts it.\n   - When you change a prototype screen or a contract operation, walk again\n     each flow that reaches that screen, as step 5 of **The lineup** says\n     for a `service`.\n   - Decline a comment only when it conflicts with a requirement.\n5. **Change every place.** A comment that renames a field or a term changes\n   each line that has the old name. Before you edit a file, find each of\n   those lines in it, and change all of them. A new field goes in each\n   artifact that the change needs. In `prototype.tsx`, write a rename in\n   one write, as the `prototype` skill says.\n6. **Answer each comment in `review.json`.** It is the last file that you\n   write in the turn, in one write: write it only when every artifact write\n   has succeeded (when you rewrite the prototype, after its `addFile`),\n   because each reply tells what the artifacts now say. The same write sets the `question` of each comment that step 2 asks\n   about. Set `status` to `\"addressed\"`, `addressedAt` to the time that\n   the turn gives, `revision` to the revision of this run, and `reply` to one\n   line that tells what you did, in the words of the reader: `Renamed\n   totalAmountCents to totalCents in the data model, the contract and the\n   prototype.` The reply names no revision (\"addressed in revision 3\"): the\n   `revision` field holds it, and the console shows each file's own revision.\n   A declined comment is also addressed: its reply tells which requirement it\n   conflicts with. The revision of this run is the highest\n   `revision` in the file plus one, or 2 when no comment has one (the first\n   Design run is revision 1). All the comments of one run get the same\n   revision. Keep the `question` and the `answer` of a comment that you\n   address. Change no other field and no other comment.\n\nClose with one line for each comment that you addressed (its author and your\nreply). Write no line for a comment that you asked about. When you asked a\nquestion, write one line with the count: `1 question for you on the Design\ncard.` Do not repeat the question: the card shows it.\nEnd with one line that names the next step on the Design card, for example\n`Next on the Design card: answer 1 question, then check the 3 changed files.`\n\n## Where this stops\n\n`\u002Fdesign` ends at the design and its acceptance tests — no task planning,\nno application code. An ambiguity that the acceptance tests meet is an open\nquestion in its feature's file, as the gap check writes one. Close with these\nparts and nothing more: one line per component (name, type, one-clause role);\nwhen the run left open questions, one line with their count (`2 questions for\nyou on the Design card.`), without the questions, which the card shows;\na **\"Needs your input\"** block\nlisting only the dependencies still unresolved, each as a link to its\ndefinition (`[\u003Cname>](aep:\u002F\u002Fspec\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json)`,\nthe `architecture` skill's closing form) followed by the one thing you need,\nso the user opens it with a click; and a last line that names the next step on\nthe Design card (`Next on the Design card: answer 2 questions, then check the\n9 files.`). Name the step, never a command or a path. Leave out a part that has\nnothing in it. The artifact lines and the dependency narration during the turn\n(the `architecture` skill owns its format) already carried the play-by-play.\n","# Design\n\nThe design step: derive the complete design of the PRD from the requirements\nunder `specs\u002Frequirements\u002F` — the product page `prd.md`, one file per feature\nunder `features\u002F`, and `product-wide.md` (`prd-contract`). Design makes its\nartifacts in a fixed order (**The lineup**), and each artifact builds on the\nartifacts before it. The build gate checks the result mechanically — every\nstory claimed by some component's design.json, every component enriched — so\nthe way to a clean Build is to follow that order.\n\n## Which features this run designs\n\nDesign works per feature. A feature is **designable** once it has been\ninterviewed (it has stories) and no `*blocking*` question in its Open\nQuestions stops it; a stub and a blocked feature are left out, and say so in a\nline.\n\n- `\u002Fdesign F1 F2` names the features: design those, and leave every other\n  feature's part of the design as it is — shared components change only where\n  the named features need them to.\n- A bare `\u002Fdesign` designs every designable feature.\n- Lines tagged `*assumed*` are designed **as written**. Seeing an assumption in\n  a screen or a contract is the quickest way for the user to judge it; do not\n  stop to ask about one, and do not leave it out.\n\nThe build checks each feature against the requirements the run that designed\nit read: a feature whose words change after its design is out of date until a\nrun designs it again, and every other feature's design stands.\n\n## The PRD is the brief\n\nDesign FROM those files, and do not widen or narrow the scope: what the PRD\nsays is what gets designed. No `prd.md` means the user needs `\u002Fstart` first,\nand no designable feature means a feature's interview comes first\n(`\u002Finterview F\u003Cn>`) — stop and say so. The gap check (step 1) is the one step\nthat writes the requirements, and it adds only what the product needs to do\nwhat the PRD already says.\n\n**Questions do not stop the run.** Some calls only the user can make: a fact\nonly the user knows, or a choice that the PRD left open on purpose. Do not\nmake such a call, and do not stop to ask it. Write it as an open question in\nthe file that its answer changes (`prd-contract`), design the parts that do\nnot depend on it, and count it in your closing. The user answers each\nquestion on the Design card, which reads it from that file: do not ask it in\nthe chat too. The PRD's own answers are\nsettled: asking one back reads as the document being ignored. An open question\nalready in the requirements does not stop the run either, except a\n`*blocking*` one, which leaves its feature out (above). One marked \"deferred\"\nis one the user has already declined for now; leave it alone.\n\n## Reference documents ground the design\n\nThe kickoff may have attached reference documents — and for design, the ones\nthat matter most are the user's own sketches: a drawn screen sketch, a form\nscreenshot, a mockup image. They are attached to this conversation natively\n(images and PDFs) or in your workspace files (text). When any exist:\n\n- **A user-drawn sketch is the layout brief.** The web application's\n  prototype follows what the user drew — screen structure, navigation, the\n  controls they placed — refined, not reinvented. Look at the image before\n  you write a screen.\n- A form document (paper form, PDF) is the field inventory: the screens that\n  digitize it carry its fields and sections, and the data model holds them.\n- Where a sketch and the PRD disagree, the PRD's scope wins, but the sketch's\n  layout intent survives inside that scope — and the discrepancy is worth a\n  line in your closing.\n\nNo documents attached is the ordinary case: design from the PRD alone.\n\n## Say what you write, and report each artifact\n\nDesign runs long, and a reader who can only see finished files cannot tell how\nmuch is left. **Call `declare_plan` before you start writing**, naming the\nfiles that step is about to produce, and call it again each time the plan grows\n— you cannot know the per-component files until the cell fixes the component\nset, so the list arriving in waves is the real shape of the work, not a failure\nto plan. Restating a path you already declared is harmless. It does not end\nyour turn: declare, then write.\n\n**When an artifact is complete, say so in the chat in one short line**, right\nafter its write succeeds and before the next step starts: the artifact's name,\nthen what it holds, in words the user knows. Do not recap the file.\n\n- `Gap check: 3 decisions added to F1 and F2, 1 question for you.`\n- `Architecture: expense-web (web app), expense-api (service), receipt-ocr (outside service).`\n- `Data model: Employee (with manager), Claim, Expense, Receipt.`\n- `Roles and permissions: Employee, Manager, Finance.`\n- `expense-web prototype: 7 screens, 4 flows.`\n\n## The lineup\n\nEach step names the skill that governs it. Those bodies are inlined for this\nturn — apply them directly, and load one only if you find you do not have it.\nEach step reads the steps before it, so keep the order. Inside one step, write\nthe files that do not depend on each other as parallel calls.\n\n0. **Declare the first wave** — `declare_plan` with what you can already name:\n   `specs\u002Fdesign\u002Fdesign.cell`, `specs\u002Fdesign\u002Fdomain-model.md`,\n   `specs\u002Fdesign\u002Fsecurity.json` and `specs\u002Fdesign\u002Fdecisions.md`, plus each\n   requirements file the gap check changes.\n1. **Gap check** — before the architecture, find the holes in the requirements\n   of the features this run designs, and close them (**The gap check**, below).\n2. **Architecture** (`cell-design`, then `architecture`).\n   - Emit `design.cell` FIRST: every component, boundaries and edges. The\n     console streams it into the live diagram, and the platform scaffolds a\n     design.json skeleton per deployable component when it lands.\n   - Then `declare_plan` the per-component files and fill each component's\n     design.json: language (org Tech stack default first), the `stories` it\n     serves, by ID (`\"F2.3\"`; every story the feature files define must be\n     claimed by some component — the build gate checks coverage), dependencies\n     (discover before you invent), description, pinned skills.\n   - A dependency is a cell node: a database or cache you introduce here goes\n     into design.cell first (`component \u003Cid> as \"…\" database`, inside the\n     cell) — the cell is the source of truth, and a design.json naming a node\n     it lacks is refused.\n   - An external dependency is also its own definition,\n     `specs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json`, written before the\n     component that references it (`architecture` owns the shape). In this\n     step, `dependency.json` says only what the dependency is: its `name`,\n     and in `resource` its `name`, its `description`, and the `provider`\n     when the requirements name one (else `suggestions`). Write no\n     `contract`, `config` or `provenance`, no contract file and no\n     `assumptions.md`, and do not `web_search` for its interface: step 7\n     does them, when the components show what they call.\n     `{ \"name\": \"slack\", \"resource\": { \"name\": \"slack\", \"description\": \"Posts the round's messages to the team's channel.\", \"provider\": \"Slack\" } }`\n3. **Data model** — `specs\u002Fdesign\u002Fdomain-model.md`: an H1 title, one or two\n   sentences of intro, then exactly ONE mermaid `erDiagram` (entities, key\n   fields, relations). The prototype's records and the API schemas come from\n   it. Brief entity notes after the diagram are fine; keep them to a few\n   lines. Never a second erDiagram.\n4. **Roles and permissions** (`security-design`) — `specs\u002Fdesign\u002Fsecurity.json`\n   when the design has sign-in or roles. Write each role's and each\n   permission's description in plain words, with its limits: a business\n   reviewer checks them. Grant what each role's stories need; step 6 checks\n   the grants against the screens.\n5. **One artifact per component**, in this order:\n   - each `web-application`: its prototype (`prototype`),\n     `prototype.json` and `prototype.tsx` in its component directory. It is\n     built on the data model and the roles, and it is what a business reviewer\n     uses and comments on. Write it before any `openapi.yaml`, also when its\n     screens call that service: the contract serves the screens, so the\n     screens come first.\n   - each `service`: its `openapi.yaml` (`openapi-conventions`). Its\n     operations serve the screens of each prototype that calls it, and its\n     schemas come from the data model. Before you write it, walk each\n     prototype flow (`prototype.json` `flows`) that calls it to its last\n     action. After that action, each screen that shows the changed records\n     gets them from an operation: the same records, in the same states.\n     Example: in the prototype, a booking that its booker cancels stays in\n     My bookings as Cancelled, so `GET \u002Fme\u002Fbookings` returns it, and its\n     `summary` says so. Where a prototype flow and the requirements differ,\n     that is a gap: close it as **The gap check** says, and fix the\n     prototype. Report the walk in one chat line, with what each list keeps\n     after the last action: `Prototype walk: 4 flows; My bookings keeps\n     cancelled bookings.`\n   - each `ai-agent`: its `agent.afm.md` (`agent-building`), after the\n     contracts whose operations it calls.\n   A component of another kind (a scheduled task, a worker) has no artifact:\n   its design.json `description` and `dependencies` hold its behaviour.\n6. **Grants pass** (`security-design`) — re-read `specs\u002Fdesign\u002Fsecurity.json`\n   now that the screens and the operations exist. Step 4 wrote each role's\n   `grants` against a design it could only intend; the operations the screens\n   in each role's flow load are decidable only here. Walk each flow in each\n   prototype (`prototype.json` `flows`), open the contract behind each screen,\n   and make sure the role holds the handle of the operation each screen loads.\n   Make sure also that each field the screen draws (a column, a value, a name\n   in a select or a list) comes from that operation, or from one list\n   operation that each role loading the screen may call. A field that no\n   operation gives is a gap in the contract, and the build cannot change the\n   contract: add the field now to the response of the operation that the\n   screen loads (a name next to its id). Do not widen a scope to close the gap.\n   The service fills a name from its own records, never from a name that the\n   client sends. Re-emit a file only if it changes. Skip the step only when\n   step 4 wrote no security.json at all. No gate refuses a role that is one\n   handle short — the build's mock walk is what catches it, as a hidden screen\n   — so this pass is where it is cheap.\n7. **Dependencies** (`architecture`) — after the grants pass and before the\n   flows, for each external dependency, now that the components show what\n   they call: first `declare_plan` the files of this step. When its\n   provider is chosen, climb `architecture`'s contract ladder (step 3: search\n   for the published document first, then derive it from the provider's\n   reference) and derive its config keys (step 4). Edit its `dependency.json`\n   to add `contract`, `config` and `provenance`, and write the contract file\n   when you derive it. Then write `assumptions.md` beside them: the facts\n   about the service that the design relies on and nothing confirms. Only a\n   dependency with no provider, or one whose ladder found no documentation,\n   goes to **Needs your input** without a contract.\n8. **Flows** — only when a flow is worth writing (see **Flows**, below). A\n   design with one component, or with no journey across components, has none.\n9. **Acceptance tests** (`acceptance-criteria`) — LAST, because they come from\n   the prototypes: `specs\u002Fvalidation\u002Facceptance\u002FF\u003Cn>-\u003Cslug>.feature`, one per\n   feature this run designs. A design without them is unfinished — never skip\n   this step.\n\nWrite `specs\u002Fdesign\u002Fdecisions.md` after step 4 and edit it when a later step\nmakes a new decision (**Technical decisions**, below).\n\n## The gap check\n\nA gap is something the built product must do or have that no requirement\nsays. A coder who meets a gap guesses, and the user sees the guess only after\nthe build. Find the gaps now, from the requirements of the features this run\ndesigns, before any artifact exists.\n\nWalk each actor's work through the product, from an empty database. Ask these\nquestions about each story and decision:\n\n- **What must exist first?** The database starts empty, and nothing is\n  seeded. Each record or relation that a story needs must come from a story or\n  a decision that makes it through the product. Example: \"a manager approves\n  their team's claims\" needs each employee's manager, so something must set\n  it.\n- **Who can do it, and who cannot?** Each actor reaches what its stories need,\n  and no more. Example: can a manager see the claims of another team? Can a\n  manager approve their own claim?\n- **What happens at each limit?** Each amount, date, count or state change has\n  a boundary. Example: does a claim of exactly $1,000.00 need Finance's\n  approval?\n- **What does the actor see when it goes wrong?** An empty list, a refused\n  action, an outside service that fails or is slow.\n\nClose each gap that you find in one of these ways:\n\n- **The product user would notice it, and you can decide it.** Write the\n  decision as a line in the Decisions of the feature it belongs to (or of\n  `product-wide.md`, when it spans features), closed by `*assumed*`\n  (`prd-contract`). Give the work to an actor that `prd.md` defines. Example:\n  `- Finance assigns each employee's manager, on a People screen. *assumed*`.\n  Then design the line as written, like every `*assumed*` line.\n- **Only an engineer would notice it.** It is not a requirement. It is a\n  technical decision, made at the artifact it shapes (**Technical\n  decisions**).\n- **Only the user can decide it** (a fact only they know, or a choice\n  between two products, such as an actor nobody defined). Write it as an open\n  question in that feature's file (`prd-contract`; never `*blocking*`). Design\n  the rest of the feature, and count the question in your closing.\n\nThen report the gap check in one chat line, with the count of decisions per\nfeature and the count of questions. A gap that a later step finds goes the\nsame way, in that step.\n\n## Technical decisions\n\n`specs\u002Fdesign\u002Fdecisions.md` holds the technical decisions that the design\nmakes and the requirements do not state. One test decides where a decision\ngoes: **would a person who uses the product notice it?**\n\n- Yes: it is a requirement. It goes in the feature's file, as the gap check\n  writes it.\n- No: it goes in `decisions.md`.\n- It is a fact about an outside service (\"Xero accepts up to 500 lines per\n  batch\"): it goes in that dependency's `assumptions.md` (`architecture`).\n\n```markdown\n# Technical decisions\n\n- [architecture] Receipt photos are kept in object storage, not in the database. *assumed* (F1)\n- [data-model] Amounts are stored in cents. *assumed* (F1, F2)\n- [security] A manager reads the team's claims through \u002Fme\u002Fteam\u002Fclaims. *assumed* (F2)\n- [expense-api] A list returns 50 claims per page. *assumed* (F1, F2)\n```\n\n- One line per decision. The line starts with the tag of the artifact that\n  the decision shapes: `architecture`, `data-model`, `security`, `flows`, or\n  the name of a component (`expense-api`, `expense-web`). Then the decision,\n  in one sentence. Then `*assumed*`. Then, in parentheses, the IDs of the\n  features that the decision serves, or `all`.\n- Write a line only for a choice between real options that a reviewer could\n  change. Do not restate a requirement: a choice that a requirement line\n  already makes stays only in the requirements. A fact that an organization default or a skill settles (the\n  language, the stack, the sign-in provider) is not a decision.\n- Write `decisions.md` once the roles and permissions are written, with\n  every decision made so far and those you already know the later artifacts\n  will follow. Edit it when a later step makes a new decision.\n- `*assumed*` stays on the line until the user confirms or changes the\n  decision. Then the tag comes off, and the line stays.\n- On a later run, keep each line that still holds, with its words and its\n  tag. Remove a line when no artifact makes that choice now.\n\n## Flows\n\nA flow is a PRD actor's end-to-end journey across components: it starts with\nan actor, spans cell components or an outside service, and involves more than\none component interaction or a decision or async step. Plain CRUD on one entity\nis NOT a flow, and a screen-by-screen walk is the prototype's, not a flow's.\nOne file per flow: `specs\u002Fdesign\u002Fflows\u002F\u003Ckebab-slug>.md`, an H1 title, one or\ntwo sentences naming the actor and the outcome, then exactly ONE mermaid\n`sequenceDiagram`. Every participant must be a node design.cell declares (a\ncomponent, or a boundary external such as the identity server or a SaaS) or an\nactor from the PRD — never an invented name. No context\u002FC1 diagram anywhere:\nthe cell and the PRD carry that. The shape is formulaic — write it like this,\nfirst try:\n\n```mermaid\nsequenceDiagram\n    actor Employee\n    actor LineManager as Line Manager\n    participant expense-webapp\n    participant expense-api\n\n    Employee->>expense-webapp: submit claim (amount, receipt)\n    expense-webapp->>expense-api: create claim\n    alt no receipt\n        expense-api-->>expense-webapp: refused\n    else\n        expense-api-->>expense-webapp: created\n    end\n    LineManager->>expense-webapp: approve\n```\n\nNames are ONE word. A multi-word PRD actor gets an alias — `actor\nLineManager as Line Manager` — and every message uses the one-word id;\nspaces in a declared name or a message endpoint are refused. The\nplatform judges both documents (the data model and each flow) as you write\nthem: a second diagram, a statement outside plain mermaid, or an unresolved\nparticipant is refused (`INVALID_DIAGRAM`, `UNKNOWN_PARTICIPANT`) with the\noffending line and the ids you may use — fix it and re-emit the whole file\nonce.\n\n## Regeneration and the delta pass\n\nA design already exists → CONVERGE it to the current PRD, for the features\nthis run designs: update what\ndrifted, remove what the PRD no longer calls for, keep what holds. A legacy\n`specs\u002Fdesign\u002Fdesign.md` (the retired single-file overview) is not part of\nthe design any more — `removeFile` it and put its content where it now\nbelongs (domain-model.md, flows\u002F).\n\nAn amended PRD is a **delta pass with shipped parts protected**: design what\nthe new stories require and touch shipped components only where those stories\nforce it — calling out every such change. When built reality contradicts the\ndesign, surface the conflict to the user; never silently redraw shipped\narchitecture.\n\n## Addressing comments\n\n`\u002Faddress-comments` sends you the design review's comments. They are in\n`specs\u002Fdesign\u002Freview.json`: one entry per artifact `path`, each with its\n`comments`. Act on each comment whose `status` is `sent` or `reopened`, with\none exception: a `sent` comment that has your `question` and no `answer`\nwaits for the user. Do not act on it, and do not change it. A comment that\nhas an `answer` is the user's answer to your `question`: act on the comment as\nthe answer says. A `reopened` comment keeps your earlier `reply`: its author\ndid not accept that answer. Do not act on a `draft` comment, and do not change\nit. When no comment is left to act on, say so and stop.\n\n1. **Find what each comment changes.** The artifact that a comment is on\n   shows where its author saw the problem. The change can start in an earlier\n   artifact. Example: \"show the receipt on Team approvals\" is on the\n   prototype, and it also needs the contract. A comment on a prototype has an\n   `anchor`: the `screenId`, the `elementIds` (empty for the whole screen),\n   the `roleId`, the `stateId` and, if there is one, the `flowId`. Find them\n   in the prototype as it is now.\n2. **Do not guess an ambiguous comment.** A comment is ambiguous when two\n   reasonable readings give different designs, or when it needs a fact that\n   only the user knows. Do not act on it. Write your question on the comment,\n   as its `question`: one or two sentences, in the words of the reader, that\n   the user can answer in a line (\"Sort the list by the date of the expense,\n   or by the date it was sent?\"). The comment stays `sent`. Write\n   the question only there, not also in a feature file: the Design card asks\n   it from the comment. When the user's answer is a product rule, step 4\n   writes it into the requirements. If a comment that has an `answer` is still\n   ambiguous, replace its `question` with the new one and remove its\n   `answer`.\n3. **Start at the earliest artifact.** Of the comments that you act on, find\n   the change that comes first in this order: the requirements, the\n   architecture, the data model, the roles and permissions, the components'\n   artifacts (the prototypes, then the contracts, then the agents), the\n   dependencies, the flows, `decisions.md`, the acceptance tests.\n   A prototype comment is **cosmetic** when its change touches no record or\n   field, role or permission, API operation, flow step, validation rule or\n   business rule: a label, copy, the layout, the order of things, an empty or\n   an error state. A cosmetic comment stays inside the prototype: change the\n   prototype and nothing else for it. Every other prototype comment starts at\n   the earliest artifact that it touches. When you cannot tell whether a\n   comment is cosmetic, it is not.\n4. **Regenerate from there down, in that order.** Read each later artifact\n   again. Change it only where a comment asks, or where an earlier change\n   makes it wrong. Write a file only when it changes: edit it, and keep its\n   ids, keys and names. When you change one part of a file, keep every other\n   part as it is. Use `editFile` for a local change. A whole-file rewrite\n   (`removeFile`, then `addFile`) must carry the whole file: each section,\n   list and diagram that you do not change, as it was. Apply a prototype comment with the `prototype` skill\n   in this run, together with the contract change that it needs. Write the\n   acceptance tests last: rewrite each feature file whose scenarios the\n   changes make wrong.\n   - A comment that changes a product rule (who can do what, a limit, a\n     state) is a requirement. Write it in the Decisions of its feature, in\n     the comment's words, without `*assumed*`: its author decided it.\n   - A decision that you make to apply a comment goes where **Technical\n     decisions** puts it.\n   - When you change a prototype screen or a contract operation, walk again\n     each flow that reaches that screen, as step 5 of **The lineup** says\n     for a `service`.\n   - Decline a comment only when it conflicts with a requirement.\n5. **Change every place.** A comment that renames a field or a term changes\n   each line that has the old name. Before you edit a file, find each of\n   those lines in it, and change all of them. A new field goes in each\n   artifact that the change needs. In `prototype.tsx`, write a rename in\n   one write, as the `prototype` skill says.\n6. **Answer each comment in `review.json`.** It is the last file that you\n   write in the turn, in one write: write it only when every artifact write\n   has succeeded (when you rewrite the prototype, after its `addFile`),\n   because each reply tells what the artifacts now say. The same write sets the `question` of each comment that step 2 asks\n   about. Set `status` to `\"addressed\"`, `addressedAt` to the time that\n   the turn gives, `revision` to the revision of this run, and `reply` to one\n   line that tells what you did, in the words of the reader: `Renamed\n   totalAmountCents to totalCents in the data model, the contract and the\n   prototype.` The reply names no revision (\"addressed in revision 3\"): the\n   `revision` field holds it, and the console shows each file's own revision.\n   A declined comment is also addressed: its reply tells which requirement it\n   conflicts with. The revision of this run is the highest\n   `revision` in the file plus one, or 2 when no comment has one (the first\n   Design run is revision 1). All the comments of one run get the same\n   revision. Keep the `question` and the `answer` of a comment that you\n   address. Change no other field and no other comment.\n\nClose with one line for each comment that you addressed (its author and your\nreply). Write no line for a comment that you asked about. When you asked a\nquestion, write one line with the count: `1 question for you on the Design\ncard.` Do not repeat the question: the card shows it.\nEnd with one line that names the next step on the Design card, for example\n`Next on the Design card: answer 1 question, then check the 3 changed files.`\n\n## Where this stops\n\n`\u002Fdesign` ends at the design and its acceptance tests — no task planning,\nno application code. An ambiguity that the acceptance tests meet is an open\nquestion in its feature's file, as the gap check writes one. Close with these\nparts and nothing more: one line per component (name, type, one-clause role);\nwhen the run left open questions, one line with their count (`2 questions for\nyou on the Design card.`), without the questions, which the card shows;\na **\"Needs your input\"** block\nlisting only the dependencies still unresolved, each as a link to its\ndefinition (`[\u003Cname>](aep:\u002F\u002Fspec\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json)`,\nthe `architecture` skill's closing form) followed by the one thing you need,\nso the user opens it with a click; and a last line that names the next step on\nthe Design card (`Next on the Design card: answer 2 questions, then check the\n9 files.`). Name the step, never a command or a path. Leave out a part that has\nnothing in it. The artifact lines and the dependency narration during the turn\n(the `architecture` skill owns its format) already carried the play-by-play.\n",{"name":5,"metadata":24,"description":7},{"aep":25},{"kind":26,"audience":27},"platform",[5],"main","e3b5fc8668f26761380b2d4965719f2d8f2eb246","skills\u002Fdesign","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer","https:\u002F\u002Fgithub.com\u002Fwso2","https:\u002F\u002Fwso2.com","Welcome to the WSO2 source code! For info on working with the WSO2 repositories and contributing code, click the link below.","2026-11-11 15:36:27",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add wso2\u002Flabs-agentic-engineer --skill design",{"tool":42,"command":43},"bunx","bunx skills add wso2\u002Flabs-agentic-engineer --skill design",{"tool":45,"command":46},"pnpm","pnpm dlx skills add wso2\u002Flabs-agentic-engineer --skill design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fdesign\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M735MP9NFFRPS260G9D16JQX","validation-task","Load when working a VALIDATION task dispatched by WSO2 Labs Agentic Engineer — judging a deployed version against its acceptance criteria.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fvalidation-task\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M735MJ8ZMRZR20A57TMF7R9Q","thunder-authentication","Apply when a component sits on the project's sign-in — a SPA whose users authenticate through the auth platform-resource dependency, or a protected backend those signed-in users call.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fthunder-authentication\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M735MFQMY8DY1EM7JKS784D3","task-planning","Use when planning a version's build from a design — the plan turn that writes the build's checklist with planBuild, one item per feature the version carries in build order, after a Foundation item when the version needs one.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Ftask-planning\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M735MCJQ4EVH7G4ZFMC682Y4","start","Use when kicking off a project from its idea — the product pass that agrees the feature list and writes the product page, the product-wide page and a stub per feature — or re-running \u002Fstart on a project that already has requirements.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fstart\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M735M9R050KT3H34PVXN2MKK","security-design","Write specs\u002Fdesign\u002Fsecurity.json when a design has sign-in, permissions, roles or test users — the permission catalog every API operation is gated on.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-design\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M735M60CTW4S7XMS6XCX9A7Y","resolve-dependency","Use for taking one external dependency from open to resolved — `\u002Fresolve-dependency \u003Cname> [answer]` names it and may carry the provider the user chose; `\u002Fresolve-dependencies` walks every open one in turn. Ask which provider (their suggestions as options; never choose for them), get its interface on disk (found, uploaded from the card, or assumed under the authorization the card records), then derive the config keys.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fresolve-dependency\u002FSKILL.md",[],[]]