Repository navigation
docs(apm-guide): fix broken relative links in apm-usage skill - #5884
Open
Sihan Udayaratna (SihanUdayaratna03) wants to merge 2 commits into
Open
Sihan Udayaratna (SihanUdayaratna03) wants to merge 2 commits into
Sihan Udayaratna (SihanUdayaratna03) wants to merge 2 commits into
Conversation
Sihan Udayaratna (SihanUdayaratna03)
requested a review
from Daniel Meppiel (danielmeppiel)
as a code owner
December 5, 2026 12:33
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The surrounding text promises Cursor’s supported mappings and limitations, but the linked section only documents generic Claude and Copilot hooks. It omits Cursor event mappings, supported handler fields, and Claude-import coexistence guidance.
1 open issue
What changed in this PR
Fixes documentation links in the packaged apm-usage skill so they resolve outside the APM repository, addressing #5848.
Changes:
- Replaces 14 repository-relative links with published documentation URLs.
- Fixes the sibling authentication link and updates stale destinations.
| File | Description |
|---|---|
packages/apm-guide/.apm/skills/apm-usage/package-authoring.md |
Updates eight documentation links, including stale destinations. |
packages/apm-guide/.apm/skills/apm-usage/dependencies.md |
Converts six links to published documentation URLs. |
packages/apm-guide/.apm/skills/apm-usage/commands.md |
Links directly to the sibling authentication section. |
Review effort: Balanced
Author
|
@microsoft-github-policy-service agree |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Replaces the 14 repo-relative
docs/links in the apm-usage skill with absolutelinks to the published docs site, so they resolve once the skill is installed
via
apm install microsoft/apm/packages/apm-guide. Also fixes../authentication/in commands.md to
./authentication.md#install-validation-chain. Two links werealready stale (the Cursor hooks guide path and the
#author-the-registryanchor),so they now point at the current pages.
Issue and approved scope
Issue: Fixes #5848
Human scope-approval comment: Broken documentation links have standing preapproval
under CONTRIBUTING.md "Small corrections".
Does this PR complete the issue, or what remains?
Completes the issue. The optional CI check for relative links mentioned in the
issue is not included; it can be a separate follow-up. Also noticed
commands.md:810 uses a site-root link (/apm/enterprise/lifecycle-scripts/) with
the same problem after install; it is not in #5848's list, so it is left out of
this PR.
Type of change
Testing
Verified that every changed link target exists: the docs pages load on the
published site with the referenced anchors (package-types, registry-http-api,
install-mcp-servers, manifest-schema, openapm-v01, write-primitives,
policy-schema, canvas, publish-to-a-marketplace, targets-matrix), and the
authentication.md#install-validation-chainanchor exists in the repo. A linkcheck over the skill folder went from 16 broken relative links to 1 (the
out-of-scope one noted above).
Changelog
changelog.d/<pr>.<section>.md, holdingone line: user-visible effect first, 25 words or fewer, ending with
(#PR); breaking changes only under upgrade notes; no Highlights; nonew lines under
## [Unreleased]. Seechangelog.d/README.mdand.github/instructions/changelog.instructions.md.Changelog fragment added:
changelog.d/5884.fixed.mdSpec conformance (OpenAPM v0.1)