Skip to content

feat: add browser-polyfills skill - #41

Open
elad12390 wants to merge 2 commits into
mainfrom
feat/browser-polyfills
Open

feat: add browser-polyfills skill#41
elad12390 wants to merge 2 commits into
mainfrom
feat/browser-polyfills

Conversation

@elad12390

Copy link
Copy Markdown
Contributor

Summary

  • Adds a comprehensive Tank agent skill for diagnosing and fixing browser compatibility issues in Next.js applications
  • Focuses on Safari/iOS Safari and Firefox quirks with practical polyfill strategies and CSS workarounds
  • Includes 6 reference guides covering Safari JS polyfills, CSS workarounds, Next.js config, React bugs, polyfill delivery patterns, and Firefox-specific issues

Files Added

  • skills/browser-polyfills/SKILL.md - Main skill documentation
  • skills/browser-polyfills/skills.json - Skill metadata
  • skills/browser-polyfills/references/safari-js-polyfills.md - JavaScript polyfill patterns for Safari
  • skills/browser-polyfills/references/safari-css-workarounds.md - CSS workarounds for Safari compatibility
  • skills/browser-polyfills/references/safari-react-bugs.md - React-specific Safari bugs and fixes
  • skills/browser-polyfills/references/nextjs-polyfill-config.md - Next.js configuration for polyfill delivery
  • skills/browser-polyfills/references/polyfill-delivery.md - Polyfill delivery strategies and best practices
  • skills/browser-polyfills/references/firefox-quirks.md - Firefox-specific compatibility issues

Notes

  • No competing skills exist on skills.sh
  • Complements the existing nextjs skill with browser-specific compatibility guidance
  • All files pass quick_validate.py validation

elad12390 and others added 2 commits March 10, 2026 20:15
Covers JavaScript API polyfills (requestIdleCallback, Promise.withResolvers,
Set methods), Safari CSS workarounds (backdrop-filter, dvh, sticky bugs),
Next.js polyfill configuration (instrumentation-client.ts, browserslist, SWC),
Safari React bugs (date parsing, input zoom, scroll lock, 100vh), safe
polyfill delivery (polyfill.io replacement, feature detection, bundle impact),
and Firefox quirks (scrollbars, Houdini, FormData).
Resolve add/add conflicts: main independently added a refined browser-polyfills
skill (#150/#151) that supersedes this PR. Adopt main's canonical versions
(SKILL.md name namespaced to @tank/browser-polyfills; polyfill-delivery.md
comment wording) and drop the stale skills.json manifest in favor of main's
tank.json convention. No content from main removed; branch now matches main.
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.

2 participants