Skip to content

docs(skill): use absolute URLs for the three inline doc references - #124

Merged
Salil Das (sadlilas) merged 1 commit into
mainfrom
fix/skill-absolute-doc-links
Aug 16, 2026
Merged

docs(skill): use absolute URLs for the three inline doc references#124
Salil Das (sadlilas) merged 1 commit into
mainfrom
fix/skill-absolute-doc-links

Conversation

@sadlilas

Copy link
Copy Markdown
Collaborator

Summary

The amplifier-agent skill is being prepared for public distribution. When installed independently from a repository checkout, relative paths in the skill body become unresolvable.

This fixes three inline prose references that used bare repo-relative paths:

  • line 97: wrappers/typescript/README.md
  • line 129: docs/spec/engine-api.md (critical — the skill instructs agents to READ this file before using the in-process library)
  • line 183: docs/spec/envelope-and-errors.md

Why it matters

Line 129 is the serious case. The skill's opening instruction explicitly warns: "do not fill gaps from memory." Then it tells agents to read the engine API spec before using the in-process library. When that file cannot be found, an agent faces a choice between stalling or guessing — and guessing is precisely what this skill was designed to prevent.

The fix

Converted all three from bare backtick paths to markdown links pointing at https://github.com/microsoft/amplifier-agent/blob/main/, keeping the filename visible in link text for readability. This matches the URL convention already used by the documentation table at lines 33-40.

Verification

  • npx skills-ref@latest validate ./skills/amplifier-agent → Valid skill (exit 0)
  • All 9 GitHub URLs in the file confirmed to resolve to real paths on main
  • No bare repo-relative paths remain in prose
  • Size within spec recommendations: 208 lines (<500), ~3,398 body tokens (<5,000)

The amplifier-agent skill is being prepared for public distribution. When
installed independently from a repository checkout, relative paths in the
skill body become unresolvable.

Three inline prose references used bare repo-relative paths:
  - line 97:  wrappers/typescript/README.md
  - line 129: docs/spec/engine-api.md (critical — the skill instructs agents
              to READ this file before using the in-process library)
  - line 183: docs/spec/envelope-and-errors.md

Line 129 is the serious case: an agent told to read a file it cannot open
will either stall or guess. This skill was written explicitly to prevent
guessing.

Convert all three from bare backtick paths to markdown links pointing at
https://github.com/microsoft/amplifier-agent/blob/main/<path>, keeping the
filename visible in link text for readability.

Validated against official Agent Skills spec:
  - npx skills-ref validate ./skills/amplifier-agent → 'Valid skill' (exit 0)
  - All 9 GitHub URLs resolve on main
  - No bare repo-relative paths remain in prose
  - Still within spec limits: 208 lines (<500), ~3,398 tokens (<5,000)

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
@sadlilas
Salil Das (sadlilas) merged commit cc5333a into main Aug 16, 2026
3 checks passed
@sadlilas
Salil Das (sadlilas) deleted the fix/skill-absolute-doc-links branch August 16, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant