Closed Bug 2071291 Opened 2 months ago Closed 1 month ago

Move the documentation skill's API-reference and mermaid sections into bundled reference files

Categories

(Developer Infrastructure :: AI for Development, task)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 external file)

The skill is 265 lines and the two harvest-driven sections are close to half of it, so each new gotcha makes the whole file more expensive to load for someone who only wanted the build command.

The convention already exists in-tree -- perf-regression-triage, accessibility-frontend-review, js-perf-investigation and profiler-analysis each keep a references/ subdirectory -- and it keeps the always-on cost flat, since only a skill's description is resident and a reference file is read on demand. Split the API-reference and mermaid material into references/js-api-references.md and references/mermaid.md, leaving in SKILL.md the one fact that governs each -- a comment has two disagreeing readers, and the build never draws the diagram -- plus a pointer.

agent-skills-sync walks both skill trees recursively but matches *.md only, so a reference file is mirror-enforced while a support script would not be.

Blocks: 2071292

The moved bullets are unchanged apart from naming mermaid-integration.md where they said "that page". The JSDoc abort and the rule that a mermaid block always builds stay in SKILL.md.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f0d36cc1fe3b https://hg.mozilla.org/integration/autoland/rev/a4aee44c60fe Move the documentation skill's API-reference and mermaid sections into bundled reference files. r=sylvestre DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: