[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJEEMBVZHDRDB6KYC9CX5Q":3,"skill-same:01M7EJEEMBVZHDRDB6KYC9CX5Q":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7EJEEMBVZHDRDB6KYC9CX5Q","dita-reltables",null,"Relate DITA topics with a relationship table (or topic-local related-links) — propose and author governed related links from shared subjects, reference-safely. Use when asked to relate topics, build or audit a reltable, add related links, or connect concepts to their tasks and references.","dogsbay\u002Fdogsbay-xml","dogsbay","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15303289?v=4","01M7EJCARJ0K8B8ZV0ENKD6ZK2","01M7EJCAS22NW67CK69CDSW2Q5",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fdita-reltables\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dita-reltables\ndescription: Relate DITA topics with a relationship table (or topic-local related-links) — propose and author governed related links from shared subjects, reference-safely. Use when asked to relate topics, build or audit a reltable, add related links, or connect concepts to their tasks and references.\n---\n\n# Relate topics with a relationship table\n\nA `\u003Creltable>` in a map defines relationships between topics (classically a\n**concept ↔ task ↔ reference** matrix); DITA-OT turns each row into related-links at\noutput, so related links are governed in **one place** instead of scattered\n`\u003Crelated-links>` in every topic. Tools: `reltable_audit`, `edit_reltable`, grounded\nby `keyword_audit`, `xpath_query`, `where_used`, `list_keys`.\n\n## The hard part is deciding what relates — that's the judgment\n\nThe link graph (`where_used`\u002F`check_links`) only knows links that *already* exist; it\ncan't tell you two topics *should* relate. That is the judgment this skill carries:\n\n- **Relate by subject, not by accident.** Group topics that share a subject. Use\n  `keyword_audit` (its co-occurrence output is a topic-pair relatedness signal) and\n  shared `category`\u002F`subjectref` as the clustering input — don't guess. Generating\n  keywords first (`dita-keywords`) sharpens this signal.\n- **Use the concept→task→reference idiom.** A concept relates to the tasks that use\n  it and the references that document it; put each in its typed column. Topic type\n  comes from the root element.\n- **Don't duplicate.** Skip pairs already linked inline (`where_used`) or already\n  covered by an existing reltable row (`reltable_audit`).\n- **reltable vs related-links.** Use a **reltable** for map-wide relationships; use\n  topic-local **`\u003Crelated-links>\u003Clink>`** only for genuine one-offs (author those\n  with `edit`, no command needed).\n- **Prefer keyrefs** for cell targets when the project uses keys (`list_keys`).\n\n## Process\n\n1. **Inventory** — `xpath_query \"\u002F\u002Fconcept|\u002F\u002Ftask|\u002F\u002Freference\"` (or list project\n   files) and collect title\u002Fshortdesc\u002F`category` per topic.\n2. **Cluster** — run `keyword_audit` for the co-occurrence pairs; group topics by\n   shared keywords\u002Fcategory into relationship sets with concept\u002Ftask\u002Freference roles.\n3. **De-dup** — `reltable_audit` (existing coverage + the links it already generates)\n   and `where_used`; drop pairs already related. `project_graph` lists every existing\n   relationship in one call: `reltable` edges (kept apart from TOC `topicref`s) and\n   inline `link` edges ([[dita-project-graph]]).\n4. **Propose to the user** — relatedness is an editorial call; confirm the rows\n   before writing.\n5. **Author** — `edit_reltable`: `create-table --columns concept,task,reference` (if\n   none), then `add-row` and `add-target --row R --col C --href|--keyref …`. Preview\n   with dry-run. (Or the editor's **Project ▸ Edit Relationship Tables…** grid.)\n6. **Confirm** — `reltable_audit` shows the new related-links and flags any broken \u002F\n   map-targeting \u002F type-mismatched cell; `validate` the map.\n\n## Report\n\nThe rows added (with the subject that motivated each), the related-links now\ngenerated, any pairs deliberately skipped (already linked), and audit findings.\nPairs with [[dita-keywords]] (the clustering signal) and [[dita-subject-schemes]]\n(governed categories).\n","# Relate topics with a relationship table\n\nA `\u003Creltable>` in a map defines relationships between topics (classically a\n**concept ↔ task ↔ reference** matrix); DITA-OT turns each row into related-links at\noutput, so related links are governed in **one place** instead of scattered\n`\u003Crelated-links>` in every topic. Tools: `reltable_audit`, `edit_reltable`, grounded\nby `keyword_audit`, `xpath_query`, `where_used`, `list_keys`.\n\n## The hard part is deciding what relates — that's the judgment\n\nThe link graph (`where_used`\u002F`check_links`) only knows links that *already* exist; it\ncan't tell you two topics *should* relate. That is the judgment this skill carries:\n\n- **Relate by subject, not by accident.** Group topics that share a subject. Use\n  `keyword_audit` (its co-occurrence output is a topic-pair relatedness signal) and\n  shared `category`\u002F`subjectref` as the clustering input — don't guess. Generating\n  keywords first (`dita-keywords`) sharpens this signal.\n- **Use the concept→task→reference idiom.** A concept relates to the tasks that use\n  it and the references that document it; put each in its typed column. Topic type\n  comes from the root element.\n- **Don't duplicate.** Skip pairs already linked inline (`where_used`) or already\n  covered by an existing reltable row (`reltable_audit`).\n- **reltable vs related-links.** Use a **reltable** for map-wide relationships; use\n  topic-local **`\u003Crelated-links>\u003Clink>`** only for genuine one-offs (author those\n  with `edit`, no command needed).\n- **Prefer keyrefs** for cell targets when the project uses keys (`list_keys`).\n\n## Process\n\n1. **Inventory** — `xpath_query \"\u002F\u002Fconcept|\u002F\u002Ftask|\u002F\u002Freference\"` (or list project\n   files) and collect title\u002Fshortdesc\u002F`category` per topic.\n2. **Cluster** — run `keyword_audit` for the co-occurrence pairs; group topics by\n   shared keywords\u002Fcategory into relationship sets with concept\u002Ftask\u002Freference roles.\n3. **De-dup** — `reltable_audit` (existing coverage + the links it already generates)\n   and `where_used`; drop pairs already related. `project_graph` lists every existing\n   relationship in one call: `reltable` edges (kept apart from TOC `topicref`s) and\n   inline `link` edges ([[dita-project-graph]]).\n4. **Propose to the user** — relatedness is an editorial call; confirm the rows\n   before writing.\n5. **Author** — `edit_reltable`: `create-table --columns concept,task,reference` (if\n   none), then `add-row` and `add-target --row R --col C --href|--keyref …`. Preview\n   with dry-run. (Or the editor's **Project ▸ Edit Relationship Tables…** grid.)\n6. **Confirm** — `reltable_audit` shows the new related-links and flags any broken \u002F\n   map-targeting \u002F type-mismatched cell; `validate` the map.\n\n## Report\n\nThe rows added (with the subject that motivated each), the related-links now\ngenerated, any pairs deliberately skipped (already linked), and audit findings.\nPairs with [[dita-keywords]] (the clustering signal) and [[dita-subject-schemes]]\n(governed categories).\n",{"name":5,"description":7},"main","9d490f436eab257280b114519ea447bad5626d74","xagent-core\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fdita-reltables","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml","https:\u002F\u002Fgithub.com\u002Fdogsbay","2026-10-20 06:18:01",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add dogsbay\u002Fdogsbay-xml --skill dita-reltables",{"tool":35,"command":36},"bunx","bunx skills add dogsbay\u002Fdogsbay-xml --skill dita-reltables",{"tool":38,"command":39},"pnpm","pnpm dlx skills add dogsbay\u002Fdogsbay-xml --skill dita-reltables","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fdita-reltables\u002FSKILL.md",true,[],[44,52,59,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":48,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7EJF0ZNWMH5EGRNHMGM1BH7","valid-skill","A valid test skill for unit testing.","MIT","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Ftest\u002Fresources\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7EJF017TT1WAB2F6QM5Y89W","wrong-name","Name does not match directory.","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Ftest\u002Fresources\u002Ffixtures\u002Fskills\u002Fname-mismatch\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7EJEZ301QVMP9V9R7JSY33Y","missing-description","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Ftest\u002Fresources\u002Ffixtures\u002Fskills\u002Fmissing-description\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7EJEWK86WC0CTQZ1T9RGZTJ","hidden-skill","A skill hidden from model invocation.","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Ftest\u002Fresources\u002Ffixtures\u002Fskills\u002Fhidden-skill\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7EJEQTVC29QF1E3K1KGSTRK","dita-subject-schemes","Author or repair a DITA subjectScheme that governs conditional-processing attribute values (@platform, @audience, @product, @props, @otherprops), then validate content against it. Use when introducing controlled values, governing conditional content, or when validate_conditions reports controlled-value violations.","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fdita-subject-schemes\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EJEKED7TREFSJB2J5ZW3A6","dita-shortdesc","Write SEO-friendly DITA shortdescs and abstracts — a standalone one-sentence summary that doubles as the link preview and the HTML meta description. Use when asked to add or improve a topic's description\u002Fabstract, write shortdescs, fill missing ones, or make descriptions SEO-friendly.","https:\u002F\u002Fgithub.com\u002Fdogsbay\u002Fdogsbay-xml\u002Fblob\u002Fmain\u002Fxagent-core\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fdita-shortdesc\u002FSKILL.md",[],[]]