[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M735EY83SNFZ8GXF8T893ADN":3,"skill-same:01M735EY83SNFZ8GXF8T893ADN":87},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M735EY83SNFZ8GXF8T893ADN","code-to-spec",null,"Use when writing the AEP specs of a product that already exists as code — the pass that reads a codebase and writes specs\u002Frequirements\u002F (with a coverage file per module) and specs\u002Fdesign\u002Fdomain-model.md, so \u002Fdesign can take it from there. Runs from any developer's Claude Code, never in a platform turn.","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\u002F.agents\u002Fskills\u002Fcode-to-spec\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: code-to-spec\ndescription: Use when writing the AEP specs of a product that already exists as code — the pass that reads a codebase and writes specs\u002Frequirements\u002F (with a coverage file per module) and specs\u002Fdesign\u002Fdomain-model.md, so \u002Fdesign can take it from there. Runs from any developer's Claude Code, never in a platform turn.\nargument-hint: \u003Cproduct root> [output dir]\n---\n\n# Code to spec\n\nA product exists as code and is going to be recreated on AEP. This skill\nreplaces the two flows that would otherwise ask a human what the product\ndoes — `start` and `interview` — because the code already answers them. It\nwrites the requirements and the domain model; **`\u002Fdesign` writes everything\nelse**, exactly as it does for a product that started from an idea.\n\nIt runs in a developer's Claude Code, from any directory: the platform\ncontracts it follows travel with it under `references\u002F`. If you were loaded\ninside a platform turn — no shell, no file reads — stop and say this skill\nis run from a developer's terminal.\n\n## Read the contracts first\n\nThree files beside this one govern every line you write. Read all three now;\nthis skill restates none of them, and a rule remembered instead of read drifts.\n\n- `references\u002Fprd-contract.md` — every requirements file, the line grammar,\n  the IDs, the `sources\u002F` coverage file, what the requirements exclude.\n- `references\u002Fdomain-model-shape.md` — the shape of\n  `specs\u002Fdesign\u002Fdomain-model.md`.\n- `references\u002Fdependency-shape.md` — the shape of\n  `specs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json`.\n\nAll three are the platform's own skills copied verbatim and pinned by a test\nin the platform repository, so what you read is the contract the platform\nenforces. Never edit them here. `references\u002Fbundle-format.md` is this skill's\nown: the archive the platform seeds a project from.\n\n## What this writes, and what it never writes\n\n```\n\u003Cout>\u002Fspecs\u002Frequirements\u002Fprd.md\n\u003Cout>\u002Fspecs\u002Frequirements\u002Fproduct-wide.md          (+ product-wide\u002F\u003Ctopic>.md when a topic grows)\n\u003Cout>\u002Fspecs\u002Frequirements\u002Ffeatures\u002FF\u003Cn>-\u003Cslug>.md\n\u003Cout>\u002Fspecs\u002Frequirements\u002Fsources\u002F\u003Cmodule>.md      one per module, one per document\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdomain-model.md\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json   one per upstream the recreate keeps calling\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fschema.graphql    its derived contract (or openapi.yaml)\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fassumptions.md    what the derivation relies on\n\u003Cout>\u002F\u003Cproduct>.aespecs                           the bundle the platform seeds the project from\n\u003Cout>\u002Fregistrations\u002F\u003Cname>.md                     what a definition cannot hold: instructions, fronts, used by\n\u003Cout>\u002F.inventory\u002F*.md                             working notes; never pushed\n```\n\nNever `design.cell`, a `design.json`, `security.json`, `flows\u002F`, a\ncomponent's `openapi.yaml`, `wireframes.dsl` or acceptance criteria. Each\nencodes a decision the platform makes from the requirements with catalog\nlookups and write gates you do not have here; written from legacy code they\nwould hand the first design a topology nobody chose. The as-is engineering is\nrecorded, but in the coverage files, where it informs without becoming the\ndesign. The one exception is a dependency definition: a fact about a system\nthat exists, which the first design references rather than decides.\n\n## Arguments\n\n- **Product root** — the directory that is the product: a repository, or one\n  app inside a monorepo (`…\u002Fdigiops-finance\u002Fapps\u002Fallocation`). Everything\n  below it is the product; nothing above it is, with one exception under\n  **Read scope**.\n- **Output dir** — defaults to `\u003Cbasename of the product root>-specs\u002F` under\n  the current working directory. Refuse an output directory inside the\n  product root, and never write into the product's own repository. Someone\n  working in the platform repository may point it at the playground's\n  projects directory, which git ignores there, to run the local design phase\n  on the result. The product's name for `prd.md` comes from its documents,\n  else from the root's basename.\n\n## Read scope\n\nStories, decisions and rules come from the product root only. When a service\nthe product calls has its source in the same tree — a sibling directory, an\n`entity\u002F` or `services\u002F` folder — read **only its schema or contract files**\n(GraphQL schema, OpenAPI document, record types) to name the entities and\nfields the product uses, and cite them. Never derive a story from a\ndependency's code: the product boundary is the root, and a dependency's\nbehaviour is its own product's requirement.\n\nConfiguration files yield **key names only**. A value — a URL, a secret, an\naddress — never reaches a spec or an inventory. A `Config.toml.local` with\nreal credentials is an ordinary input; copying one line of it is a leak.\n\n## The inventory pass — before any writing\n\nNothing can be cut into features before the whole product is in view, and a\ncodebase is too large to hold in one read. Build six inventories first, each a\nmarkdown list of points in the form `- \u003Cfile>:\u003Cline or symbol> — \u003Cfact, in the\ncode's own terms>`, written to `\u003Cout>\u002F.inventory\u002F\u003Cname>.md`. The folder is\ndot-led on purpose: every turn snapshot, local or platform, drops dot-led\npaths, so a `\u002Fdesign` run never inlines the working notes.\n\n| Inventory | What it lists | Where it hides |\n|---|---|---|\n| `surfaces` | every route, page, screen, navigation entry, scheduled job, CLI verb | routers, resource functions, page components, nav menus, cron |\n| `access` | roles or groups, privileges or permissions, which surface each gates, how roles map to privileges | auth middleware, interceptors, route guards, privilege constants |\n| `data` | record types, tables, entities fetched from other services, their fields and relations, status enums | type modules, migrations, ORM models, GraphQL queries |\n| `integrations` | every outbound client: what it reaches and what that fronts, its auth style, its config key names, every operation the product calls with its request and response shapes | client constructors, config records, SDK imports, HTTP clients, mail senders |\n| `documents` | every README, ADR, doc page, inline design note, with its claims | `README*`, `docs\u002F`, `design\u002F`, long header comments |\n| `rules` | constants, validation patterns, limits, user-facing message strings that state a rule | constants modules, validators, i18n or message files |\n\nWhen the product has more source than you can read in one pass, run the six\nas **parallel subagents**, one per inventory, each told the product root, the\nread-scope rule and the point format, each returning its list. Otherwise read\ndirectly. Either way the inventory files exist before step two starts; a\nfeature cut made from a partial view puts stories in the wrong feature, and\nmoving them later retires IDs.\n\n## The feature cut\n\nA feature is a capability a user would recognise by name (`prd-contract`,\n\"What a feature is\"). Cut from the `surfaces` inventory:\n\n- **Cluster surfaces by the job a user comes to do**, not by the directory\n  that implements them. A package or module name is evidence for a source\n  tag, never a boundary; one module routinely serves three features and one\n  feature routinely spans backend and frontend.\n- **A shared concept is its own feature** for the stories about the concept\n  itself — a settings page that manages allocation types is a feature named\n  for allocation types; each use of a type stays with the feature that uses it.\n- **A grab-bag surface splits.** \"Settings\" and \"Admin\" pages are several\n  features wearing one menu entry.\n- **The documents' feature list is a seed.** Where a README names features,\n  start from its names; where the code has a capability the documents lack,\n  it is still a feature, and the gap is an open question for the product page.\n\nWrite the cut to `\u003Cout>\u002F.inventory\u002Ffeatures.md`: each feature, its one-line\npurpose, and every surface, access point and rule assigned to it. A surface\nassigned to no feature, or to two, is a defect to fix here, not later.\n\n## Writing the requirements\n\nThe contract governs the files. What the contract leaves to the author of a\ncode-derived spec is settled here, once.\n\n**Source tags.** Every line that code or a document states carries one, in\nthe contract's `[\u003Cdocument> · \u003Cplace>]` form with the module as the document\nand the file as the place:\n\n```\n- F2.3 As a manager, I approve or reject a claim with a reason. [backend · service.bal:312]\n- P1 Every household member signs in through the organization's SSO. [webapp · oauth.js] Applies to: all.\n- A claim over 1,000 in the company currency also needs Finance. [README.md · Features]\n```\n\nThe module is the path relative to the product root; a document is its file\nname. `[org default]` is the platform's tag for the organization skill's\ndefaults and is never yours to write.\n\n**Actors** come from the `access` inventory: a role or group that gates a\nsurface is an actor, named in product language (\"Manager\", not\n`CUSTOMER_ENGAGEMENT_APPROVER`). Define each once in `prd.md`.\n\n**Stories** come from surfaces: one line per thing a user does, naming its\nactor, in the user's words. A route that only serves another route's data is\nnot a story; the story is what the screen lets the user do.\n\n**Decisions** come from the `rules` inventory and from status enums: a\nvalidation pattern, a numeric limit, an email-routing rule, a status\ntransition is one Decision line each, in the feature it governs. A rule too\nlong for a line goes in that file's `## Further Notes`; a topic that spans\nfeatures and outgrows `product-wide.md` moves to `product-wide\u002F\u003Ctopic>.md`.\nThe requirements are the only route a rule has to the build — `\u002Fdesign` mints\nthe acceptance criteria from them alone — so a rule left in a coverage file\ndoes not exist to the recreate.\n\n**Translate integrations into the platform's vocabulary** rather than copying\nthe legacy construct:\n\n| The code has | The requirements say |\n|---|---|\n| a call to an LLM API for some task | a Decision naming what the agent does: \"Skill recommendations: suggested by an agent.\" No provider, no model |\n| a client to a third-party SaaS or to another in-house service | a Decision naming the capability and the resource by its proposed registered name, with what it fronts: \"Customers, opportunities and products: `sales-entity-service`, the organization's sales entity service, which fronts Salesforce.\" The name is the definition's (**Dependency definitions**). A service that fronts another system also gets an Open Question on the product page: keep calling the service, or go to the system behind it |\n| sign-in via directory groups or an IdP | a P item: \"Every user signs in through the organization's SSO.\" Roles as actors |\n| a runtime screen that edits role → privilege mappings | stories for what the screen does, and an Open Question whether editing privileges at runtime is a requirement or an artifact of the old directory, since the platform fixes scopes at design |\n| synthetic identities (pseudo-emails, service accounts standing in for people) | a Decision stating the need they serve, and an Open Question on how the recreate identifies those people |\n\n**`*assumed*`** closes every line you inferred rather than read: a feature's\nPurpose beyond naming the capability, a role's intent, an Out of Scope line\nno document states, the reading of a quirk as deliberate. A line the code or\na document states carries its source and no tag. The console draws its Settle\ncontrol on assumed lines, so the tag is how the team reviews your inferences.\n\n**Open Questions** hold what only the team knows: whether a behaviour is\nintended or a workaround, whether an undocumented capability is wanted in the\nrecreate, what a disabled or half-built path was for. Where a document and the\ncode disagree, write what the code does and raise the disagreement as the\nquestion. Use `*blocking*` only as the contract defines it, when every story\nof a feature waits on the answer; expect it rarely.\n\n**Fog, Out of Scope.** A capability behind a feature flag, a stub or an\nunreachable path is Fog with an open question, not a feature. Out of Scope\ntakes what a document states the product does not do, and what the code\nexplicitly refuses when a user would expect it; the latter is `*assumed*`.\n\n**What stays out of the requirements:** how it is built. Pagination loops,\nretry policies, connection pools, header names, the database split, the\nhand-written authorization table. The recreate decides those under the\nplatform's conventions. They go to the coverage file as `not used` points; one\nthat turns out to encode a product constraint comes back as a Decision.\n\n## Coverage files — `sources\u002F\u003Cmodule>.md`\n\nThe contract's coverage file, with a module standing where an attached\ndocument stands: how the team sees that their code was read, and the one\nplace that says what was set aside. One per module and one per document.\n\n- **A module** is a directory under the product root at the granularity that\n  gives a file of roughly twenty to eighty lines — `backend\u002F`, `webapp\u002F`, or\n  a backend's `modules\u002Femail\u002F` when the top level is too coarse. The title is\n  the module's path relative to the root. No `Pages:` line. Its second line\n  records where the code was read, so the line references can be resolved\n  later: `Read from \u003Cthe product root's git remote, or \"a local checkout\"> at\n  \u003Cshort commit>`.\n- **A document** keeps the contract's shape exactly: its file name as the\n  title, `Pages:` when it has pages, its sections as places.\n- One line per point, in file order, each ending in an arrow:\n\n```\n- service.bal:312 (patch engagements\u002F{id}): completes, reopens or cancels an engagement; cancelling cancels its allocations → F3.4, F3.5\n- service.bal:561 (get user-privileges): the caller's privileges from their roles → P2\n- jwt_interceptor.bal:67: path-by-path privilege table → not used: how it is built; roles and gates are F7\n- README.md · Features §2: \"Fetch new updated dates from salesforce\" → F2.6\n- README.md · API: documents 10 of 60 endpoints → not used: superseded by the code\n```\n\nEvery point in the six inventories appears exactly once across the coverage\nfiles. A `not used` reason is one of: *how it is built*, *superseded by the\ncode (\u003Cfile>)*, *dead path*, *test scaffolding*, *outside the product root*.\n\nThe design agent reads every `.md` under `specs\u002F` as context, so a coverage\nfile is where `\u002Fdesign` learns the as-is shape — keep each line to one point\nand resist prose.\n\n## Dependency definitions — `specs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002F`\n\nThe recreate keeps calling the systems the product calls today, and the\nfirst design settles such a system only when a definition of it already\nexists. So for every outbound client to a system the recreate must keep\ntalking to — in-house services and third-party SaaS alike — write its\ndefinition in the platform's own shape, which the `\u002Frecreate` flow references\nand never rewrites. Not the product's own databases (the design introduces\nits own), not the LLM call (an agent decision), not the IdP (a P item).\n\n- **Name** — kebab-case (`^[a-z0-9]+(?:-[a-z0-9]+)*$`); the directory,\n  `name` and `resource.name` all equal; naming the thing by its own identity\n  — the code's display label or client name, `sales-entity-service` — not\n  this product's use of it. The name becomes the cell node and the\n  component's reference, and the organization's record if it is promoted.\n- **Shape** — `references\u002Fdependency-shape.md` is the platform's own\n  definition of the file. Write `name`, `resource.name`,\n  `resource.description` (what it is and what it fronts, in the requirements'\n  words), `resource.provider` (the concrete system: \"the organization's\n  sales entity service, backed by Salesforce\"), `resource.config` and\n  `resource.contract`. Never `ref`, `suggestions`, `provenance` or\n  `consumptionInstructions`: the first three are the platform's or the design\n  turn's to write, and the last is the organization's field, refused from a\n  project. Nothing else: the platform refuses unknown keys.\n- **Keys** — `resource.config`, one `{ \"key\", \"description\", \"secret\" }` per\n  key; one set per definition even when the legacy shares one credential set\n  across services; upper snake case, prefixed with the name\n  (`SALES_ENTITY_SERVICE_CLIENT_SECRET`), because each key lands in the\n  consumer as an environment variable as-is. Every key gets a one-line \"what\n  it is\" and a secret flag. Key names come from the client's config record;\n  values are never written anywhere — the platform collects them per\n  environment after the design.\n- **Contract** — derive one when the code supports it, beside the definition,\n  under the file name the platform fixes: `schema.graphql` for a GraphQL\n  client, `openapi.yaml` for a REST client, and `resource.contract` is\n  `{ \"type\": \"graphql\" | \"openapi\", \"path\": \"\u003Cthat file name>\", \"origin\": \"derived\" }`.\n  The GraphQL file is an SDL holding only the operations and fields the\n  product uses, type names as the queries spell them, a sibling service's\n  record types read for field types only; the OpenAPI file holds only the\n  called paths and their record shapes. No `servers` entry, no URL, no\n  example value from config or test data. When nothing can be derived, omit\n  `resource.contract`; the design then asks for the document.\n- **`assumptions.md`** — beside the definition, in the platform's shape (an\n  H1 \"What the design assumes about \u003Cname>\", then one `*assumed*` line per\n  fact): that the contract was derived from the product's client code at the\n  read commit and is not the service's published schema, and any behaviour\n  the product relies on that nothing confirms. It is where the first design\n  reads what the derivation rests on.\n- **The brief** — `registrations\u002F\u003Cname>.md`, in the shape\n  `references\u002Fregistration-brief.md` fixes, holds what a definition cannot:\n  the consumption instructions a consumer follows (the auth style, the\n  operations, envelopes and quirks, what the service fronts), what it fronts,\n  and the stories that reach it. It stays out of the bundle; an organization\n  pastes the instructions when it promotes the resource.\n\nNothing is sent anywhere. The skill writes files; the platform collects the\nvalues from the person who holds them.\n\n## The bundle — `\u003Cout>\u002F\u003Cproduct>.aespecs`\n\nThe platform seeds a project from the `specs\u002F` tree packed as an `.aespecs`\nbundle (`references\u002Fbundle-format.md`). After the self-check, run\n\n```\nnode \u003Cthis skill's directory>\u002Fscripts\u002Fbundle.mjs \u003Cout> --product \"\u003Cname>\" --repository \"\u003Cthe product root's git remote, or 'local checkout'>\" --commit \u003Cshort commit>\n```\n\nIt packs `manifest.json` and only the paths the format allows, refuses a stray\nfile rather than skipping it, and prints the bundle's path. The briefs and the\nworking notes never enter it.\n\n## `specs\u002Fdesign\u002Fdomain-model.md`\n\nFrom the `data` inventory, in the shape `references\u002Fdomain-model-shape.md`\nfixes: an H1, one or two sentences, exactly one mermaid `erDiagram`, a few\nlines of entity notes. Include every entity a user would name, including\nlookup tables that are product concepts (allocation types, categories);\nexclude infrastructure (sessions, migrations, audit tables, job queues). Key\nfields only; relations with their cardinality; an entity that lives in another\nservice is still an entity here if the product's stories act on it. Status\nvalues are Decisions, not notes.\n\n## Self-check before closing\n\nRun these over `\u003Cout>\u002Fspecs\u002F`, and fix what they find:\n\n- **IDs**: no duplicate `F\u003Cn>.\u003Cm>` or `P\u003Cn>`; features numbered in creation\n  order; each feature's stories numbered from 1 with no gaps, since nothing\n  has been retired yet.\n- **Actors**: every actor a story names is defined in `prd.md`.\n- **Tails**: every story, decision and P item carries a source tag or\n  `*assumed*`; every P item carries `Applies to:`.\n- **Arrows**: every coverage line ends in `→ \u003CID>` or `→ not used: \u003Creason>`.\n- **Vocabulary**: `grep -rniwE 'http|https|sql|mysql|jwt|graphql|endpoint|token|json|regex' \u003Cout>\u002Fspecs\u002Frequirements` — each hit is rewritten in product language or moved to a coverage file.\n- **Secrets**: `grep -rniE 'secret|password|api[-_ ]?key|bearer' \u003Cout>\u002Fspecs \u003Cout>\u002Fregistrations \u003Cout>\u002F.inventory` — a hit may be a word in a sentence or a key name, never a value.\n- **Definitions**: one per client the recreate keeps calling; each `dependency.json` parses, its `name` equals its directory and `resource.name`, `resource.config` is non-empty, a `resource.contract` names an allowed file that exists beside it with `origin` `derived`, an `assumptions.md` sits beside it, and no `ref`, `suggestions`, `provenance` or `consumptionInstructions` appears; every Decision that names a resource has a definition directory of that name; `grep -rnE 'servers:|https?:\u002F\u002F' \u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies` is empty.\n- **Design files**: nothing under `\u003Cout>\u002Fspecs\u002Fdesign\u002F` but `domain-model.md` and `dependencies\u002F`.\n- **Bundle**: `scripts\u002Fbundle.mjs` ran without a refusal, and `unzip -l` on the result lists `manifest.json` and `specs\u002F` paths only.\n\n## Close\n\nReport, in a few lines: the features by name, counts of stories, decisions,\nP items, assumed lines, open questions and dependency definitions, the\nfiles written, the bundle's path, and that the output is in `\u003Cout>`. Then\npoint at `references\u002Fhandoff.md` for how the bundle enters an AEP project —\nthe order matters there, and this skill does not perform it.\n","# Code to spec\n\nA product exists as code and is going to be recreated on AEP. This skill\nreplaces the two flows that would otherwise ask a human what the product\ndoes — `start` and `interview` — because the code already answers them. It\nwrites the requirements and the domain model; **`\u002Fdesign` writes everything\nelse**, exactly as it does for a product that started from an idea.\n\nIt runs in a developer's Claude Code, from any directory: the platform\ncontracts it follows travel with it under `references\u002F`. If you were loaded\ninside a platform turn — no shell, no file reads — stop and say this skill\nis run from a developer's terminal.\n\n## Read the contracts first\n\nThree files beside this one govern every line you write. Read all three now;\nthis skill restates none of them, and a rule remembered instead of read drifts.\n\n- `references\u002Fprd-contract.md` — every requirements file, the line grammar,\n  the IDs, the `sources\u002F` coverage file, what the requirements exclude.\n- `references\u002Fdomain-model-shape.md` — the shape of\n  `specs\u002Fdesign\u002Fdomain-model.md`.\n- `references\u002Fdependency-shape.md` — the shape of\n  `specs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json`.\n\nAll three are the platform's own skills copied verbatim and pinned by a test\nin the platform repository, so what you read is the contract the platform\nenforces. Never edit them here. `references\u002Fbundle-format.md` is this skill's\nown: the archive the platform seeds a project from.\n\n## What this writes, and what it never writes\n\n```\n\u003Cout>\u002Fspecs\u002Frequirements\u002Fprd.md\n\u003Cout>\u002Fspecs\u002Frequirements\u002Fproduct-wide.md          (+ product-wide\u002F\u003Ctopic>.md when a topic grows)\n\u003Cout>\u002Fspecs\u002Frequirements\u002Ffeatures\u002FF\u003Cn>-\u003Cslug>.md\n\u003Cout>\u002Fspecs\u002Frequirements\u002Fsources\u002F\u003Cmodule>.md      one per module, one per document\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdomain-model.md\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fdependency.json   one per upstream the recreate keeps calling\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fschema.graphql    its derived contract (or openapi.yaml)\n\u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002Fassumptions.md    what the derivation relies on\n\u003Cout>\u002F\u003Cproduct>.aespecs                           the bundle the platform seeds the project from\n\u003Cout>\u002Fregistrations\u002F\u003Cname>.md                     what a definition cannot hold: instructions, fronts, used by\n\u003Cout>\u002F.inventory\u002F*.md                             working notes; never pushed\n```\n\nNever `design.cell`, a `design.json`, `security.json`, `flows\u002F`, a\ncomponent's `openapi.yaml`, `wireframes.dsl` or acceptance criteria. Each\nencodes a decision the platform makes from the requirements with catalog\nlookups and write gates you do not have here; written from legacy code they\nwould hand the first design a topology nobody chose. The as-is engineering is\nrecorded, but in the coverage files, where it informs without becoming the\ndesign. The one exception is a dependency definition: a fact about a system\nthat exists, which the first design references rather than decides.\n\n## Arguments\n\n- **Product root** — the directory that is the product: a repository, or one\n  app inside a monorepo (`…\u002Fdigiops-finance\u002Fapps\u002Fallocation`). Everything\n  below it is the product; nothing above it is, with one exception under\n  **Read scope**.\n- **Output dir** — defaults to `\u003Cbasename of the product root>-specs\u002F` under\n  the current working directory. Refuse an output directory inside the\n  product root, and never write into the product's own repository. Someone\n  working in the platform repository may point it at the playground's\n  projects directory, which git ignores there, to run the local design phase\n  on the result. The product's name for `prd.md` comes from its documents,\n  else from the root's basename.\n\n## Read scope\n\nStories, decisions and rules come from the product root only. When a service\nthe product calls has its source in the same tree — a sibling directory, an\n`entity\u002F` or `services\u002F` folder — read **only its schema or contract files**\n(GraphQL schema, OpenAPI document, record types) to name the entities and\nfields the product uses, and cite them. Never derive a story from a\ndependency's code: the product boundary is the root, and a dependency's\nbehaviour is its own product's requirement.\n\nConfiguration files yield **key names only**. A value — a URL, a secret, an\naddress — never reaches a spec or an inventory. A `Config.toml.local` with\nreal credentials is an ordinary input; copying one line of it is a leak.\n\n## The inventory pass — before any writing\n\nNothing can be cut into features before the whole product is in view, and a\ncodebase is too large to hold in one read. Build six inventories first, each a\nmarkdown list of points in the form `- \u003Cfile>:\u003Cline or symbol> — \u003Cfact, in the\ncode's own terms>`, written to `\u003Cout>\u002F.inventory\u002F\u003Cname>.md`. The folder is\ndot-led on purpose: every turn snapshot, local or platform, drops dot-led\npaths, so a `\u002Fdesign` run never inlines the working notes.\n\n| Inventory | What it lists | Where it hides |\n|---|---|---|\n| `surfaces` | every route, page, screen, navigation entry, scheduled job, CLI verb | routers, resource functions, page components, nav menus, cron |\n| `access` | roles or groups, privileges or permissions, which surface each gates, how roles map to privileges | auth middleware, interceptors, route guards, privilege constants |\n| `data` | record types, tables, entities fetched from other services, their fields and relations, status enums | type modules, migrations, ORM models, GraphQL queries |\n| `integrations` | every outbound client: what it reaches and what that fronts, its auth style, its config key names, every operation the product calls with its request and response shapes | client constructors, config records, SDK imports, HTTP clients, mail senders |\n| `documents` | every README, ADR, doc page, inline design note, with its claims | `README*`, `docs\u002F`, `design\u002F`, long header comments |\n| `rules` | constants, validation patterns, limits, user-facing message strings that state a rule | constants modules, validators, i18n or message files |\n\nWhen the product has more source than you can read in one pass, run the six\nas **parallel subagents**, one per inventory, each told the product root, the\nread-scope rule and the point format, each returning its list. Otherwise read\ndirectly. Either way the inventory files exist before step two starts; a\nfeature cut made from a partial view puts stories in the wrong feature, and\nmoving them later retires IDs.\n\n## The feature cut\n\nA feature is a capability a user would recognise by name (`prd-contract`,\n\"What a feature is\"). Cut from the `surfaces` inventory:\n\n- **Cluster surfaces by the job a user comes to do**, not by the directory\n  that implements them. A package or module name is evidence for a source\n  tag, never a boundary; one module routinely serves three features and one\n  feature routinely spans backend and frontend.\n- **A shared concept is its own feature** for the stories about the concept\n  itself — a settings page that manages allocation types is a feature named\n  for allocation types; each use of a type stays with the feature that uses it.\n- **A grab-bag surface splits.** \"Settings\" and \"Admin\" pages are several\n  features wearing one menu entry.\n- **The documents' feature list is a seed.** Where a README names features,\n  start from its names; where the code has a capability the documents lack,\n  it is still a feature, and the gap is an open question for the product page.\n\nWrite the cut to `\u003Cout>\u002F.inventory\u002Ffeatures.md`: each feature, its one-line\npurpose, and every surface, access point and rule assigned to it. A surface\nassigned to no feature, or to two, is a defect to fix here, not later.\n\n## Writing the requirements\n\nThe contract governs the files. What the contract leaves to the author of a\ncode-derived spec is settled here, once.\n\n**Source tags.** Every line that code or a document states carries one, in\nthe contract's `[\u003Cdocument> · \u003Cplace>]` form with the module as the document\nand the file as the place:\n\n```\n- F2.3 As a manager, I approve or reject a claim with a reason. [backend · service.bal:312]\n- P1 Every household member signs in through the organization's SSO. [webapp · oauth.js] Applies to: all.\n- A claim over 1,000 in the company currency also needs Finance. [README.md · Features]\n```\n\nThe module is the path relative to the product root; a document is its file\nname. `[org default]` is the platform's tag for the organization skill's\ndefaults and is never yours to write.\n\n**Actors** come from the `access` inventory: a role or group that gates a\nsurface is an actor, named in product language (\"Manager\", not\n`CUSTOMER_ENGAGEMENT_APPROVER`). Define each once in `prd.md`.\n\n**Stories** come from surfaces: one line per thing a user does, naming its\nactor, in the user's words. A route that only serves another route's data is\nnot a story; the story is what the screen lets the user do.\n\n**Decisions** come from the `rules` inventory and from status enums: a\nvalidation pattern, a numeric limit, an email-routing rule, a status\ntransition is one Decision line each, in the feature it governs. A rule too\nlong for a line goes in that file's `## Further Notes`; a topic that spans\nfeatures and outgrows `product-wide.md` moves to `product-wide\u002F\u003Ctopic>.md`.\nThe requirements are the only route a rule has to the build — `\u002Fdesign` mints\nthe acceptance criteria from them alone — so a rule left in a coverage file\ndoes not exist to the recreate.\n\n**Translate integrations into the platform's vocabulary** rather than copying\nthe legacy construct:\n\n| The code has | The requirements say |\n|---|---|\n| a call to an LLM API for some task | a Decision naming what the agent does: \"Skill recommendations: suggested by an agent.\" No provider, no model |\n| a client to a third-party SaaS or to another in-house service | a Decision naming the capability and the resource by its proposed registered name, with what it fronts: \"Customers, opportunities and products: `sales-entity-service`, the organization's sales entity service, which fronts Salesforce.\" The name is the definition's (**Dependency definitions**). A service that fronts another system also gets an Open Question on the product page: keep calling the service, or go to the system behind it |\n| sign-in via directory groups or an IdP | a P item: \"Every user signs in through the organization's SSO.\" Roles as actors |\n| a runtime screen that edits role → privilege mappings | stories for what the screen does, and an Open Question whether editing privileges at runtime is a requirement or an artifact of the old directory, since the platform fixes scopes at design |\n| synthetic identities (pseudo-emails, service accounts standing in for people) | a Decision stating the need they serve, and an Open Question on how the recreate identifies those people |\n\n**`*assumed*`** closes every line you inferred rather than read: a feature's\nPurpose beyond naming the capability, a role's intent, an Out of Scope line\nno document states, the reading of a quirk as deliberate. A line the code or\na document states carries its source and no tag. The console draws its Settle\ncontrol on assumed lines, so the tag is how the team reviews your inferences.\n\n**Open Questions** hold what only the team knows: whether a behaviour is\nintended or a workaround, whether an undocumented capability is wanted in the\nrecreate, what a disabled or half-built path was for. Where a document and the\ncode disagree, write what the code does and raise the disagreement as the\nquestion. Use `*blocking*` only as the contract defines it, when every story\nof a feature waits on the answer; expect it rarely.\n\n**Fog, Out of Scope.** A capability behind a feature flag, a stub or an\nunreachable path is Fog with an open question, not a feature. Out of Scope\ntakes what a document states the product does not do, and what the code\nexplicitly refuses when a user would expect it; the latter is `*assumed*`.\n\n**What stays out of the requirements:** how it is built. Pagination loops,\nretry policies, connection pools, header names, the database split, the\nhand-written authorization table. The recreate decides those under the\nplatform's conventions. They go to the coverage file as `not used` points; one\nthat turns out to encode a product constraint comes back as a Decision.\n\n## Coverage files — `sources\u002F\u003Cmodule>.md`\n\nThe contract's coverage file, with a module standing where an attached\ndocument stands: how the team sees that their code was read, and the one\nplace that says what was set aside. One per module and one per document.\n\n- **A module** is a directory under the product root at the granularity that\n  gives a file of roughly twenty to eighty lines — `backend\u002F`, `webapp\u002F`, or\n  a backend's `modules\u002Femail\u002F` when the top level is too coarse. The title is\n  the module's path relative to the root. No `Pages:` line. Its second line\n  records where the code was read, so the line references can be resolved\n  later: `Read from \u003Cthe product root's git remote, or \"a local checkout\"> at\n  \u003Cshort commit>`.\n- **A document** keeps the contract's shape exactly: its file name as the\n  title, `Pages:` when it has pages, its sections as places.\n- One line per point, in file order, each ending in an arrow:\n\n```\n- service.bal:312 (patch engagements\u002F{id}): completes, reopens or cancels an engagement; cancelling cancels its allocations → F3.4, F3.5\n- service.bal:561 (get user-privileges): the caller's privileges from their roles → P2\n- jwt_interceptor.bal:67: path-by-path privilege table → not used: how it is built; roles and gates are F7\n- README.md · Features §2: \"Fetch new updated dates from salesforce\" → F2.6\n- README.md · API: documents 10 of 60 endpoints → not used: superseded by the code\n```\n\nEvery point in the six inventories appears exactly once across the coverage\nfiles. A `not used` reason is one of: *how it is built*, *superseded by the\ncode (\u003Cfile>)*, *dead path*, *test scaffolding*, *outside the product root*.\n\nThe design agent reads every `.md` under `specs\u002F` as context, so a coverage\nfile is where `\u002Fdesign` learns the as-is shape — keep each line to one point\nand resist prose.\n\n## Dependency definitions — `specs\u002Fdesign\u002Fdependencies\u002F\u003Cname>\u002F`\n\nThe recreate keeps calling the systems the product calls today, and the\nfirst design settles such a system only when a definition of it already\nexists. So for every outbound client to a system the recreate must keep\ntalking to — in-house services and third-party SaaS alike — write its\ndefinition in the platform's own shape, which the `\u002Frecreate` flow references\nand never rewrites. Not the product's own databases (the design introduces\nits own), not the LLM call (an agent decision), not the IdP (a P item).\n\n- **Name** — kebab-case (`^[a-z0-9]+(?:-[a-z0-9]+)*$`); the directory,\n  `name` and `resource.name` all equal; naming the thing by its own identity\n  — the code's display label or client name, `sales-entity-service` — not\n  this product's use of it. The name becomes the cell node and the\n  component's reference, and the organization's record if it is promoted.\n- **Shape** — `references\u002Fdependency-shape.md` is the platform's own\n  definition of the file. Write `name`, `resource.name`,\n  `resource.description` (what it is and what it fronts, in the requirements'\n  words), `resource.provider` (the concrete system: \"the organization's\n  sales entity service, backed by Salesforce\"), `resource.config` and\n  `resource.contract`. Never `ref`, `suggestions`, `provenance` or\n  `consumptionInstructions`: the first three are the platform's or the design\n  turn's to write, and the last is the organization's field, refused from a\n  project. Nothing else: the platform refuses unknown keys.\n- **Keys** — `resource.config`, one `{ \"key\", \"description\", \"secret\" }` per\n  key; one set per definition even when the legacy shares one credential set\n  across services; upper snake case, prefixed with the name\n  (`SALES_ENTITY_SERVICE_CLIENT_SECRET`), because each key lands in the\n  consumer as an environment variable as-is. Every key gets a one-line \"what\n  it is\" and a secret flag. Key names come from the client's config record;\n  values are never written anywhere — the platform collects them per\n  environment after the design.\n- **Contract** — derive one when the code supports it, beside the definition,\n  under the file name the platform fixes: `schema.graphql` for a GraphQL\n  client, `openapi.yaml` for a REST client, and `resource.contract` is\n  `{ \"type\": \"graphql\" | \"openapi\", \"path\": \"\u003Cthat file name>\", \"origin\": \"derived\" }`.\n  The GraphQL file is an SDL holding only the operations and fields the\n  product uses, type names as the queries spell them, a sibling service's\n  record types read for field types only; the OpenAPI file holds only the\n  called paths and their record shapes. No `servers` entry, no URL, no\n  example value from config or test data. When nothing can be derived, omit\n  `resource.contract`; the design then asks for the document.\n- **`assumptions.md`** — beside the definition, in the platform's shape (an\n  H1 \"What the design assumes about \u003Cname>\", then one `*assumed*` line per\n  fact): that the contract was derived from the product's client code at the\n  read commit and is not the service's published schema, and any behaviour\n  the product relies on that nothing confirms. It is where the first design\n  reads what the derivation rests on.\n- **The brief** — `registrations\u002F\u003Cname>.md`, in the shape\n  `references\u002Fregistration-brief.md` fixes, holds what a definition cannot:\n  the consumption instructions a consumer follows (the auth style, the\n  operations, envelopes and quirks, what the service fronts), what it fronts,\n  and the stories that reach it. It stays out of the bundle; an organization\n  pastes the instructions when it promotes the resource.\n\nNothing is sent anywhere. The skill writes files; the platform collects the\nvalues from the person who holds them.\n\n## The bundle — `\u003Cout>\u002F\u003Cproduct>.aespecs`\n\nThe platform seeds a project from the `specs\u002F` tree packed as an `.aespecs`\nbundle (`references\u002Fbundle-format.md`). After the self-check, run\n\n```\nnode \u003Cthis skill's directory>\u002Fscripts\u002Fbundle.mjs \u003Cout> --product \"\u003Cname>\" --repository \"\u003Cthe product root's git remote, or 'local checkout'>\" --commit \u003Cshort commit>\n```\n\nIt packs `manifest.json` and only the paths the format allows, refuses a stray\nfile rather than skipping it, and prints the bundle's path. The briefs and the\nworking notes never enter it.\n\n## `specs\u002Fdesign\u002Fdomain-model.md`\n\nFrom the `data` inventory, in the shape `references\u002Fdomain-model-shape.md`\nfixes: an H1, one or two sentences, exactly one mermaid `erDiagram`, a few\nlines of entity notes. Include every entity a user would name, including\nlookup tables that are product concepts (allocation types, categories);\nexclude infrastructure (sessions, migrations, audit tables, job queues). Key\nfields only; relations with their cardinality; an entity that lives in another\nservice is still an entity here if the product's stories act on it. Status\nvalues are Decisions, not notes.\n\n## Self-check before closing\n\nRun these over `\u003Cout>\u002Fspecs\u002F`, and fix what they find:\n\n- **IDs**: no duplicate `F\u003Cn>.\u003Cm>` or `P\u003Cn>`; features numbered in creation\n  order; each feature's stories numbered from 1 with no gaps, since nothing\n  has been retired yet.\n- **Actors**: every actor a story names is defined in `prd.md`.\n- **Tails**: every story, decision and P item carries a source tag or\n  `*assumed*`; every P item carries `Applies to:`.\n- **Arrows**: every coverage line ends in `→ \u003CID>` or `→ not used: \u003Creason>`.\n- **Vocabulary**: `grep -rniwE 'http|https|sql|mysql|jwt|graphql|endpoint|token|json|regex' \u003Cout>\u002Fspecs\u002Frequirements` — each hit is rewritten in product language or moved to a coverage file.\n- **Secrets**: `grep -rniE 'secret|password|api[-_ ]?key|bearer' \u003Cout>\u002Fspecs \u003Cout>\u002Fregistrations \u003Cout>\u002F.inventory` — a hit may be a word in a sentence or a key name, never a value.\n- **Definitions**: one per client the recreate keeps calling; each `dependency.json` parses, its `name` equals its directory and `resource.name`, `resource.config` is non-empty, a `resource.contract` names an allowed file that exists beside it with `origin` `derived`, an `assumptions.md` sits beside it, and no `ref`, `suggestions`, `provenance` or `consumptionInstructions` appears; every Decision that names a resource has a definition directory of that name; `grep -rnE 'servers:|https?:\u002F\u002F' \u003Cout>\u002Fspecs\u002Fdesign\u002Fdependencies` is empty.\n- **Design files**: nothing under `\u003Cout>\u002Fspecs\u002Fdesign\u002F` but `domain-model.md` and `dependencies\u002F`.\n- **Bundle**: `scripts\u002Fbundle.mjs` ran without a refusal, and `unzip -l` on the result lists `manifest.json` and `specs\u002F` paths only.\n\n## Close\n\nReport, in a few lines: the features by name, counts of stories, decisions,\nP items, assumed lines, open questions and dependency definitions, the\nfiles written, the bundle's path, and that the output is in `\u003Cout>`. Then\npoint at `references\u002Fhandoff.md` for how the bundle enters an AEP project —\nthe order matters there, and this skill does not perform it.\n",{"name":5,"description":7,"argument-hint":24},"\u003Cproduct root> [output dir]","main","e3b5fc8668f26761380b2d4965719f2d8f2eb246",".agents\u002Fskills\u002Fcode-to-spec","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":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add wso2\u002Flabs-agentic-engineer --skill code-to-spec",{"tool":39,"command":40},"bunx","bunx skills add wso2\u002Flabs-agentic-engineer --skill code-to-spec",{"tool":42,"command":43},"pnpm","pnpm dlx skills add wso2\u002Flabs-agentic-engineer --skill code-to-spec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002FSKILL.md",true,[47,53,57,61,65,69,73,79,83],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fbundle-format.md","REFERENCE","参考文档",2394,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Freferences\u002Fbundle-format.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fdependency-shape.md",2842,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Freferences\u002Fdependency-shape.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fdomain-model-shape.md",610,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Freferences\u002Fdomain-model-shape.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fhandoff.md",3125,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Freferences\u002Fhandoff.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fprd-contract.md",14322,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Freferences\u002Fprd-contract.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fregistration-brief.md",1487,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Freferences\u002Fregistration-brief.md",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Fbundle.mjs","SCRIPT","脚本",7119,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Fscripts\u002Fbundle.mjs",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fsync-references.mjs",4885,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Fscripts\u002Fsync-references.mjs",{"path":84,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fsync-references.test.mjs",2006,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-to-spec\u002Fscripts\u002Fsync-references.test.mjs",[88,95,102,109,116,123],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"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":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"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":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"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":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"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",[],[]]