Open
Bug 2089016
Opened 24 days ago
Updated 23 days ago
Add agent skills for type-checking Firefox JS with TypeScript
Categories
(Developer Infrastructure :: AI for Development, task)
Developer Infrastructure
AI for Development
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(2 external files)
Add four agent skills under .claude/skills/ (mirrored in .agents/skills/) for working with TypeScript checkJs projects:
typescript-rollout: measure a directory's tsc errors, bucket them by cause, enable a project and wire the CI check.typescript-fix-errors: what an individual tsc error means and which JSDoc annotation fixes it.typescript-element-types: give tsc a type for a custom element it cannot see, such as one loaded withloadSubScript.typescript-verify-patch: check whether a patch actually type-checks, which a greentypescriptlint does not prove when a project'sexcludelist covers the changed file.
The skills cite the docs under docs/code-quality/typescript/ that bug 2088821 corrects and extends, so they land after it. The patch also adds a review-context.toml rule that loads typescript-verify-patch for patches touching a tsconfig.json, a types/*.ts file or tools/@types.
| Assignee | ||
Comment 1•23 days ago
|
||
Updated•23 days ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•23 days ago
|
||
Updated•23 days ago
|
Attachment #9675245 -
Attachment description: Bug 2089016 - Add agent skills for enabling TypeScript, fixing type errors and typing custom elements. r?#ai4dev-reviewers DONTBUILD → Bug 2089016 - Add agent skills for enabling TypeScript, fixing type errors and typing custom elements. r?#ai4dev-reviewers!,Standard8! DONTBUILD
Updated•23 days ago
|
Attachment #9675246 -
Attachment description: Bug 2089016 - Add an agent skill for checking whether a patch type-checks. r?#ai4dev-reviewers DONTBUILD → Bug 2089016 - Add an agent skill for checking whether a patch type-checks. r?#ai4dev-reviewers!,Standard8! DONTBUILD
Updated•23 days ago
|
Attachment #9675245 -
Attachment description: Bug 2089016 - Add agent skills for enabling TypeScript, fixing type errors and typing custom elements. r?#ai4dev-reviewers!,Standard8! DONTBUILD → Bug 2089016 - Add agent skills for enabling TypeScript, fixing type errors and typing custom elements. r?Standard8,#ai4dev-reviewers DONTBUILD
Updated•23 days ago
|
Attachment #9675246 -
Attachment description: Bug 2089016 - Add an agent skill for checking whether a patch type-checks. r?#ai4dev-reviewers!,Standard8! DONTBUILD → Bug 2089016 - Add an agent skill for checking whether a patch type-checks. r?Standard8,#ai4dev-reviewers DONTBUILD
You need to log in
before you can comment on or make changes to this bug.
Description
•