Skip to content

Retire frontend/cordova in favour of pluggy-cordova skill#51

Open
Gabrielpanga wants to merge 1 commit into
masterfrom
chore/replace-cordova-with-skill-pointer
Open

Retire frontend/cordova in favour of pluggy-cordova skill#51
Gabrielpanga wants to merge 1 commit into
masterfrom
chore/replace-cordova-with-skill-pointer

Conversation

@Gabrielpanga
Copy link
Copy Markdown
Member

Summary

Replaces the runnable `frontend/cordova` quickstart with a stub README pointing at the new `pluggy-cordova` skill in `pluggyai/agent-skills` (see agent-skills PR #1).

Why

The Cordova quickstart wasn't really running anywhere on its own — it was a Hello-World wrapper around the Connect Widget that pinned `cordova-ios@7.0.0` and a CDN widget version. As Cordova plugins aged, the dep tree dragged in a long tail of transitive CVEs (`lodash`, `@xmldom/xmldom`, `braces`, `minimatch`, …) for what is, at runtime, three short JS snippets.

A skill is version-agnostic. Users bring their own up-to-date Cordova project and the skill teaches the WebView config + widget initialization + token flow on top of it.

Diff

Removed

  • `frontend/cordova/.gitignore`
  • `frontend/cordova/.npmrc`
  • `frontend/cordova/config.xml`
  • `frontend/cordova/package.json`
  • `frontend/cordova/package-lock.json`
  • `frontend/cordova/www/{index.html, css/, img/, js/}`

Kept (rewritten)

  • `frontend/cordova/README.md` — short notice that this is no longer maintained as a runnable project, with the `npx skills add pluggyai/agent-skills` install command and links to the still-maintained backend examples that pair with the skill.

Root `README.md`

  • Cordova row removed from the Frontend examples table.
  • New "Integration patterns shipped as agent skills" subsection pointing at the skill.

Follow-up

If this lands well, the same pattern is the candidate for:

  • `frontend/html` (vanilla JS + CDN — already a snippet)
  • `frontend/flask` (Python Flask, low traffic, easy to wrap as a skill)
  • `frontend/react` (CRA, deprecated by the React team)
  • `frontend/react-native` (RN 0.66 bare workflow — unmaintainable)

Each one as its own PR.

Replaces the runnable Cordova quickstart with a stub README that
points at the new pluggy-cordova skill in pluggyai/agent-skills
(see pluggyai/agent-skills PR #1).

Removed
- frontend/cordova/.gitignore
- frontend/cordova/.npmrc
- frontend/cordova/config.xml
- frontend/cordova/package.json
- frontend/cordova/package-lock.json
- frontend/cordova/www/{index.html, css/, img/, js/}

Kept (rewritten)
- frontend/cordova/README.md
  Brief notice that this is no longer maintained as a runnable
  project, with a one-command install of the skill and links to
  the still-maintained backend examples that pair with it.

Why
- The example wasn't really running anywhere on its own — it was a
  Hello-World wrapper around the Connect Widget. The Cordova /
  cordova-ios pinning aged fast and pulled in transitive CVEs
  (lodash, @xmldom/xmldom, braces, minimatch, …).
- A skill is version-agnostic. Users bring their own up-to-date
  Cordova project and the skill teaches the WebView config + widget
  init + token flow on top of it.

Root README updated:
- Cordova row removed from the Frontend examples table.
- New "Integration patterns shipped as agent skills" subsection
  pointing at the skill, with the `npx skills add` snippet.
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