Web Share API
This specification defines an API for sharing text, links and other content to an arbitrary destination of the user's choice. The available share targets are not specified here; they are provided by the user agent. They could, for example, be apps, websites or contacts.
The publisher of the pinned text is named in Sources. With this skill the agent applies that text: when sharing data from a page to another app.
Follow the workflow below step by step. Every rule here comes from a source in Sources. Quoted requirements are sentences taken from the pinned text. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.
Inputs (fill in, or ask before starting)
- Role: producer or consumer of this specification.
- Target version: Web Share API (default). See
references/versions.md.
- Revision: the pinned revision in Sources, unless the user names another.
- Sources: when refreshing this skill, re-read every URL in Sources and check the publisher index for a newer revision or version line.
Invariants
- 2.1.2. "The user agent SHOULD show intermediary UI through which the user can verify the shared content (if the OS-level UI does not provide this functionality)."
- 3.. "However, it MUST have the ability to receive data that matches some or all of the concepts exposed in ShareData ."
- 3.. "To convert data to a format suitable for ingestion into the target , the user agent SHOULD map the members of ShareData onto equivalent concepts in the target."
- 7. Conformance. "The key words MAY , MUST , OPTIONAL , and SHOULD in this document are to be interpreted as described in BCP 14 [ RFC2119 ] [ RFC8174 ] when, and only when, they appear in all capitals, as shown here."
- 2.1.2. "Content that is previewed and authorized by a user might be safe to forward, however it is not always possible for a person to identify when information should be confidential, so forwarding any content presents a risk."
- 2.1.3. "If an object contains additional members, it should be destructured to only test the defined members individually."
Workflow
- Pick the version. Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.
->
references/versions.md
✓ The target version is recorded, and it is not a legacy line.
- Apply the pinned requirements. Walk the quotes in
references/requirements.md and implement each one that applies to the role.
-> references/requirements.md
✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the heading it came from.
- Upgrade (only when asked). Follow the upgrade section from the source line to the target.
->
references/versions.md
✓ The result cites the target line and no longer depends on a requirement that only the old line stated.
Verify before done
Reference index
references/versions.md: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.
references/requirements.md: quotes taken from the pinned specification. Load for step 2.
Related skills
Install related spec skills by name with npx skills add ScaleDockHQ/scaledock-skills --skill <name>.
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
- Web Share API: Recommendation, web-share REC-web-share-20230530 (Recommendation, 2023-05-30), checked 2026-10-06.
1---2name: web-share3description: >-4 Web Share API: This specification defines an API for sharing text, links and other content to an arbitrary destination of the user's choice. Covers Web Share API. Use when sharing data from a page to another app. Triggers: Web Share, navigator.share.5license: MIT6metadata:7 source: https://skillmd.com/skills/scaledockhq/web-share8 author: ScaleDockHQ9 version: "1.0.0"10 kind: standard11---1213# Web Share API1415This specification defines an API for sharing text, links and other content to an arbitrary destination of the user's choice. The available share targets are not specified here; they are provided by the user agent. They could, for example, be apps, websites or contacts.1617The publisher of the pinned text is named in [Sources](#sources). With this skill the agent applies that text: when sharing data from a page to another app.1819**Follow the workflow below step by step.** Every rule here comes from a source in [Sources](#sources). Quoted requirements are sentences taken from the pinned text. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.2021## Inputs (fill in, or ask before starting)2223- Role: producer or consumer of this specification.24- Target version: Web Share API (default). See [`references/versions.md`](references/versions.md).25- Revision: the pinned revision in [Sources](#sources), unless the user names another.26- Sources: when refreshing this skill, re-read every URL in [Sources](#sources) and check the publisher index for a newer revision or version line.2728## Invariants29301. **2.1.2.** "The user agent SHOULD show intermediary UI through which the user can verify the shared content (if the OS-level UI does not provide this functionality)."312. **3..** "However, it MUST have the ability to receive data that matches some or all of the concepts exposed in ShareData ."323. **3..** "To convert data to a format suitable for ingestion into the target , the user agent SHOULD map the members of ShareData onto equivalent concepts in the target."334. **7. Conformance.** "The key words MAY , MUST , OPTIONAL , and SHOULD in this document are to be interpreted as described in BCP 14 [ RFC2119 ] [ RFC8174 ] when, and only when, they appear in all capitals, as shown here."345. **2.1.2.** "Content that is previewed and authorized by a user might be safe to forward, however it is not always possible for a person to identify when information should be confidential, so forwarding any content presents a risk."356. **2.1.3.** "If an object contains additional members, it should be destructured to only test the defined members individually."3637## Workflow38391. **Pick the version.** Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.40 -> [`references/versions.md`](references/versions.md)41 ✓ The target version is recorded, and it is not a legacy line.422. **Apply the pinned requirements.** Walk the quotes in [`references/requirements.md`](references/requirements.md) and implement each one that applies to the role.43 -> [`references/requirements.md`](references/requirements.md)44 ✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the heading it came from.453. **Upgrade** (only when asked). Follow the upgrade section from the source line to the target.46 -> [`references/versions.md`](references/versions.md)47 ✓ The result cites the target line and no longer depends on a requirement that only the old line stated.4849## Verify before done5051- [ ] The artifact cites the target line's revision from [Sources](#sources).52- [ ] Every applicable quoted requirement in [`references/requirements.md`](references/requirements.md) holds.53- [ ] Nothing from a preview line is emitted unless its posture is build and the user opted in.5455## Reference index5657- **`references/versions.md`**: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.58- **`references/requirements.md`**: quotes taken from the pinned specification. Load for step 2.5960## Related skills6162Install related spec skills by name with `npx skills add ScaleDockHQ/scaledock-skills --skill <name>`.6364## Sources6566Status uses the publishing body's own maturity term. Checked is the date the source was last read.6768- [Web Share API](https://www.w3.org/TR/web-share/): Recommendation, web-share REC-web-share-20230530 (Recommendation, 2023-05-30), checked 2026-10-06.